Description of problem: ======================= I used packstack[1] to deploy openstack. cinder fails to create volumes with several errors: 1. IOError: Socket closed --> Seems related to AMQP 2. Stderr: u' Volume group "cinder-volumes" not found\n Skipping volume group cinder-volumes\n' [1] openstack-packstack-2014.2-0.4.dev1266.g63d9c50.el7.centos.noarch Version-Release number of selected component (if applicable): ============================================================= RDO-Juno openstack-cinder-2014.2-1.el7.centos.noarch How reproducible: ================= 2/2 Steps to Reproduce: =================== 1. Post installation, Try to create a volume with cinder # cinder create 2 Actual results: =============== # cinder show 9f1f7a2e-df2d-4649-8085-073cad8a0de2 +---------------------------------------+--------------------------------------+ | Property | Value | +---------------------------------------+--------------------------------------+ | attachments | [] | | availability_zone | nova | | bootable | false | | created_at | 2014-10-28T09:07:07.000000 | | display_description | None | | display_name | Test_Vol | | encrypted | False | | id | 9f1f7a2e-df2d-4649-8085-073cad8a0de2 | | metadata | {} | | os-vol-host-attr:host | None | | os-vol-mig-status-attr:migstat | None | | os-vol-mig-status-attr:name_id | None | | os-vol-tenant-attr:tenant_id | 0975bd5a342145bba55e8b8d20495881 | | os-volume-replication:driver_data | None | | os-volume-replication:extended_status | None | | size | 1 | | snapshot_id | None | | source_volid | None | | status | error | | volume_type | None | +---------------------------------------+--------------------------------------+ Expected results: ================= Cinder should be able to function with no issues. Additional info: ================ Cinder related configs from packstack answer file (used defaults): CONFIG_CINDER_INSTALL=y CONFIG_CINDER_DB_PW=123456 CONFIG_CINDER_KS_PW=123456 CONFIG_CINDER_BACKEND=lvm CONFIG_CINDER_VOLUMES_CREATE=y CONFIG_CINDER_VOLUMES_SIZE=20G CONFIG_CINDER_GLUSTER_MOUNTS= CONFIG_CINDER_NFS_MOUNTS= CONFIG_CINDER_NETAPP_LOGIN= CONFIG_CINDER_NETAPP_PASSWORD= CONFIG_CINDER_NETAPP_HOSTNAME= CONFIG_CINDER_NETAPP_SERVER_PORT=80 CONFIG_CINDER_NETAPP_STORAGE_FAMILY=ontap_cluster CONFIG_CINDER_NETAPP_TRANSPORT_TYPE=http CONFIG_CINDER_NETAPP_STORAGE_PROTOCOL=nfs CONFIG_CINDER_NETAPP_SIZE_MULTIPLIER=1.0 CONFIG_CINDER_NETAPP_EXPIRY_THRES_MINUTES=720 CONFIG_CINDER_NETAPP_THRES_AVL_SIZE_PERC_START=20 CONFIG_CINDER_NETAPP_THRES_AVL_SIZE_PERC_STOP=60 CONFIG_CINDER_NETAPP_NFS_SHARES_CONFIG= CONFIG_CINDER_NETAPP_VOLUME_LIST= CONFIG_CINDER_NETAPP_VFILER= CONFIG_CINDER_NETAPP_VSERVER= CONFIG_CINDER_NETAPP_CONTROLLER_IPS= CONFIG_CINDER_NETAPP_SA_PASSWORD= CONFIG_CINDER_NETAPP_WEBSERVICE_PATH=/devmgr/v2 CONFIG_CINDER_NETAPP_STORAGE_POOLS=
Workaround: restarting cinder services seems to resolve it.
Created attachment 951345 [details] cinder traces
> 2. Stderr: u' Volume group "cinder-volumes" not found\n Skipping volume > group cinder-volumes\n' When does that happen, during installation or later i.e is this bug 1148552 or different issue?
(In reply to Alan Pevec from comment #5) > > 2. Stderr: u' Volume group "cinder-volumes" not found\n Skipping volume > > group cinder-volumes\n' > > When does that happen, during installation or later i.e is this bug 1148552 > or different issue? it happens after installation. it Does not seem like bug #1148552, Comment #4 workaround solves it.
If cinder-volumes isn't found, that will cause the volume driver to be uninitialized at startup time, which is why the create volume request fails later. If the cinder-volumes VG isn't present when the volume service starts, that sounds like a packstack issue -- it shouldn't start the service before creating the VG.
This bug is against a Version which has reached End of Life. If it's still present in supported release (http://releases.openstack.org), please update Version and reopen.