Fedora Core 18 - Cannot create volumes [closed]
Following: https://fedoraproject.org/wiki/Getting_started_with_OpenStack_on_Fedora_18 There are some missing steps:
Need to allocate floating IP + set interface (defaults to eth0) nova-manage floating create --pool=nova --ip_range=192.168.100.1/24 --interface=demonetbr0
Need to manually change this python script and restart: https://review.openstack.org/#/c/30373/
But currently, volumes cannot be added:
[root@c1d cinder]# cinder list
+--------------------------------------+--------+--------------+------+-------------+----------+-------------+
| ID | Status | Display Name | Size | Volume Type | Bootable | Attached to |
+--------------------------------------+--------+--------------+------+-------------+----------+-------------+
| 73b0caa4-c5a4-4657-9f4c-390663de87af | **error** | myvolume | 1 | None | | |
+--------------------------------------+--------+--------------+------+-------------+----------+-------------+
they only show error. I am not finding anything in the cinder logs and cannot debug. Note - A variety of installs say to install openstack-cinder-scheduler and openstack-cinder-api. These do not exist for Fedora. Additionally, adding this to nova.conf will cause cinder problems:
volume_api_class=nova.volume.cinder.API enabled_apis=ec2,osapi_compute,metadata
tgtd and iscsi seem to start fine. No errors in /var/log/messages
The openstack-cinder-api, openstack-cinder-scheduler, and openstack-cinder-volume services are all provided by the one package in Fedora. Can you confirm all three are running? Additionally which version of Fedora are you running and are you using the included OpenStack packages or RDO?
The only service I see through systemctl is openstack-cinder-volume.service. The rpm is openstack-cinder-2012.2.4-1.fc18.noarch. cinder-api and cinder-schedulre binaries exist and can be ran, but no service though. Fedora release 18 (Spherical Cow)
I have the same version of the package and the services are definitely there:
[root@c1d ~]# rpm -q --whatprovides /usr/lib/systemd/system/openstack-cinder-scheduler.service openstack-cinder-2012.2.4-1.fc18.noarch [root@c1d ~]# rpm -q --whatprovides /usr/lib/systemd/system/openstack-cinder-api.service openstack-cinder-2012.2.4-1.fc18.noarch