r/openstack • • Aug 31 '24

OpenStack + OpenShift: Cinder Volume Mount to Ironic Server - What am I doing wrong?

Well. I just built my first Openshift cluster on top of Openstack platform but using Ironic to provision openshift master + workers instead using openstack compute nodes. Now I have a problem to mount Cinder volumes to my PVC. The cluster creates the volumes successfully but Im not able to attach it to nodes to use it.

Here my instances

and here my volume

error during attach

4 Upvotes

9 comments sorted by

View all comments

Show parent comment

0

u/psycocyst Sep 01 '24

Lol like it said in the beginning it can be done with iscsi which is what you just said. I guess you jumped to a conclusion too quickly.

Again you cannot do direct ceph RDB to ironic nodes!

So please don't go no it's not true blah blah because you think what you say is better.

Nothing I have said is incorrect and even said to go goggle it.

Mic drop!

1

u/The_Valyard Sep 11 '24

So I looked into this, and we are both wrong.

Cinder-csi uses os-brick to do the plumbing of storage. Therefore, every storage type os-brick can interact with is in place with the the native protocol.

https://github.com/openstack/os-brick/tree/master/os_brick/initiator/connectors

The method of interface is defined by cinder, eg ceph volumes have rbd:// uris, pure storage has iqn, etc

If it's not working, then there is something wrong with the OP setup.