Fedora Core 18 - Cannot create volumes [closed]

asked 2013-07-03 13:51:42 -0600

RW gravatar image

updated 2014-06-11 15:11:17 -0600

rbowen gravatar image

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

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by rbowen
close date 2015-05-27 14:56:21.455279

Comments

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?

sgordon gravatar imagesgordon ( 2013-07-03 21:44:15 -0600 )edit

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)

RW gravatar imageRW ( 2013-07-04 11:20:23 -0600 )edit

I have the same version of the package and the services are definitely there:

$ rpm -q openstack-cinder
openstack-cinder-2012.2.4-1.fc18.noarch

$ systemctl status openstack-cinder-scheduler
openstack-cinder-scheduler.service - OpenStack Cinder Scheduler Server
sgordon gravatar imagesgordon ( 2013-07-04 11:51:04 -0600 )edit
$ rpm -q --whatprovides /usr/lib/systemd/system/openstack-cinder-scheduler.service
openstack-cinder-2012.2.4-1.fc18.noarch
$ rpm -q --whatprovides /usr/lib/systemd/system/openstack-cinder-api.service
openstack-cinder-2012.2.4-1.fc18.noarch
sgordon gravatar imagesgordon ( 2013-07-04 11:57:31 -0600 )edit

[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

RW gravatar imageRW ( 2013-07-04 16:41:54 -0600 )edit