iscsi cinder resilience for instances

asked 2018-01-17 07:04:55 -0600

tony.pearce gravatar image

Hopefully someone can point me in the right direction. I have tripleo openstack installed using Cinder and iscsi storage. OS is centos 7. Is there anything special I need to do in terms of bringing up multipathd? Any rules I need to follow specific for openstack? Or should I just follow centos and vendor guide for centos?

I am asking because I'm getting some strange experiences where the 2nd path doesn't appear to be functional.

edit retag flag offensive close merge delete


Please run this command and show output "iscsiadm -m node -o show"

TijoV gravatar imageTijoV ( 2018-01-17 07:26:03 -0600 )edit

Thanks for the tip. In my works to get this working I had somehow affected the permissions on /etc/iscsi/initiatorname and so the iscsid service wouldnt start. I've since resolved this but now there's no iscsi connections. I already removed the config files in /var/lib/iscsi/ but they are not

tony.pearce gravatar imagetony.pearce ( 2018-01-17 07:59:47 -0600 )edit

being created automatically. I've tried removing the iscsi backend configuration from /etc/cinder/cinder.conf and restarting services; then putting the config back in again but the config is not coming back. Any ideas how to get the config auto-created again? :)

tony.pearce gravatar imagetony.pearce ( 2018-01-17 08:00:38 -0600 )edit

I understand, when you restart the service with the changes you made in the config file /etc/cinder/cinder.conf it will not reflect. I have installed Openstack using juju and if i need to make any changes for cinder config.

TijoV gravatar imageTijoV ( 2018-01-18 01:08:26 -0600 )edit

I need to edit cd /var/lib/juju/agents/unit-cinder-0/charm/templates/ocata/cinder.conf so that the changes reflect in cinder.conf. and when i restart the service it works with the changes made.

TijoV gravatar imageTijoV ( 2018-01-18 01:10:18 -0600 )edit