So I've tried to setup a local controller node and run into a problem with
getting cinder to create a volume, first up the service can't find a place
to drop the volume I create.
If I disable and reenable the service, it shows as up - so I'm not sure how
to proceed on this. I'll note nothing ever shows up in /etc/cinder/volumes
Thanks in advance for any help gents/gals
--Nathan
[root@node1 cinder(openstack_admin)]# cinder service-list
+------------------+------------------+------+---------+-------+----------------------------+-----------------+
| Binary | Host | Zone | Status | State |
Updated_at | Disabled Reason |
+------------------+------------------+------+---------+-------+----------------------------+-----------------+
| cinder-scheduler | node1.local | nova | enabled | up |
2014-07-11T19:29:45.000000 | None |
| cinder-volume | node1.local@ | nova | enabled | up |
2014-07-11T19:29:46.000000 | None |
| cinder-volume | node1.local@lvm1 | nova | enabled | down |
2014-07-11T19:28:51.000000 | None |
+------------------+------------------+------+---------+-------+----------------------------+-----------------+
[root@node1 cinder(openstack_admin)]# openstack-status
== Nova services ==
openstack-nova-api: active
openstack-nova-cert: active
openstack-nova-compute: dead (disabled on boot)
openstack-nova-network: dead (disabled on boot)
openstack-nova-scheduler: active
openstack-nova-conductor: active
== Glance services ==
openstack-glance-api: active
openstack-glance-registry: active
== Keystone service ==
openstack-keystone: active
== Horizon service ==
openstack-dashboard: active
== neutron services ==
neutron-server: active
neutron-dhcp-agent: inactive (disabled on boot)
neutron-l3-agent: inactive (disabled on boot)
neutron-metadata-agent: inactive (disabled on boot)
neutron-lbaas-agent: inactive (disabled on boot)
neutron-openvswitch-agent: inactive (disabled on boot)
== Swift services ==
openstack-swift-proxy: active
openstack-swift-account: dead (disabled on boot)
openstack-swift-container: dead (disabled on boot)
openstack-swift-object: dead (disabled on boot)
== Cinder services ==
openstack-cinder-api: active
openstack-cinder-scheduler: active
openstack-cinder-volume: active
openstack-cinder-backup: inactive (disabled on boot)
== Ceilometer services ==
openstack-ceilometer-api: active
openstack-ceilometer-central: active
openstack-ceilometer-compute: dead (disabled on boot)
openstack-ceilometer-collector: active
== Heat services ==
openstack-heat-api: active
openstack-heat-api-cfn: active
openstack-heat-api-cloudwatch: inactive (disabled on boot)
openstack-heat-engine: active
== Support services ==
openvswitch: dead (disabled on boot)
messagebus: active
tgtd: active
rabbitmq-server: active
memcached: active
== Keystone users ==
+----------------------------------+------------+---------+----------------------+
| id | name | enabled | email
|
+----------------------------------+------------+---------+----------------------+
| 555e3e826c9f445c9975d0e1c6e00fc6 | admin | True | admin@local
|
| 4cbb547624004bbeb650d9f73875c1a2 | ceilometer | True |
ceilometer@localhost |
| 492d8baa1ae94e8dbf503187b5ccd0a9 | cinder | True |
cinder@localhost |
| fdcac23cb0bc4cd08712722b213d2e93 | glance | True |
glance@localhost |
| fc0d0960be5b4714b37f969fbc48d9e4 | heat | True |
heat@localhost |
| 48a6c949564d4e96b465fe670c92015c | heat-cfn | True |
heat-cfn@localhost |
| 1c531b23585e4cefb7fff7659cded687 | neutron | True |
neutron@localhost |
| 6ede5eb09ca64cdb934f6c92b20ba3b3 | nova | True |
nova@localhost |
| 6ba7e665409e4ee883e29e6def759255 | swift | True |
swift@localhost |
+----------------------------------+------------+---------+----------------------+
== Glance images ==
+--------------------------------------+--------+-------------+------------------+-----------+--------+
| ID | Name | Disk Format | Container
Format | Size | Status |
+--------------------------------------+--------+-------------+------------------+-----------+--------+
| 6019cfa8-ee46-4617-8b56-ae5dc82013a3 | cirros | qcow2 | bare
| 237896192 | active |
+--------------------------------------+--------+-------------+------------------+-----------+--------+
== Nova managed services ==
+------------------+-------------+----------+---------+-------+----------------------------+-----------------+
| Binary | Host | Zone | Status | State | Updated_at
| Disabled Reason |
+------------------+-------------+----------+---------+-------+----------------------------+-----------------+
| nova-consoleauth | node1.local | internal | enabled | up |
2014-07-11T19:31:14.000000 | - |
| nova-scheduler | node1.local | internal | enabled | up |
2014-07-11T19:31:15.000000 | - |
| nova-conductor | node1.local | internal | enabled | up |
2014-07-11T19:31:14.000000 | - |
| nova-cert | node1.local | internal | enabled | up |
2014-07-11T19:31:15.000000 | - |
+------------------+-------------+----------+---------+-------+----------------------------+-----------------+
== Nova networks ==
+--------------------------------------+-------+------+
| ID | Label | Cidr |
+--------------------------------------+-------+------+
| 9295ee23-c93b-43f6-801e-51d67e66313f | net1 | - |
+--------------------------------------+-------+------+
== Nova instance flavors ==
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs |
RXTX_Factor | Is_Public |
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
| 1 | m1.tiny | 512 | 1 | 0 | | 1 | 1.0
| True |
| 2 | m1.small | 2048 | 20 | 0 | | 1 | 1.0
| True |
| 3 | m1.medium | 4096 | 40 | 0 | | 2 | 1.0
| True |
| 4 | m1.large | 8192 | 80 | 0 | | 4 | 1.0
| True |
| 5 | m1.xlarge | 16384 | 160 | 0 | | 8 | 1.0
| True |
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
== Nova instances ==
+----+------+--------+------------+-------------+----------+
| ID | Name | Status | Task State | Power State | Networks |
+----+------+--------+------------+-------------+----------+
+----+------+--------+------------+-------------+----------+
[root@node1 cinder(openstack_admin)]# nova volume-create --volume-type lvm
--availability-zone nova 1
+---------------------+--------------------------------------+
| Property | Value |
+---------------------+--------------------------------------+
| attachments | [] |
| availability_zone | nova |
| bootable | false |
| created_at | 2014-07-11T19:34:43.064107 |
| display_description | - |
| display_name | - |
| encrypted | False |
| id | 17959681-7b63-4dd2-b856-083aef246fd9 |
| metadata | {} |
| size | 1 |
| snapshot_id | - |
| source_volid | - |
| status | creating |
| volume_type | lvm |
+---------------------+--------------------------------------+
[root@node1 cinder(openstack_admin)]# tail -5 scheduler.log
2014-07-11 12:34:43.200 8665 WARNING cinder.context [-] Arguments dropped
when creating context: {'user': u'555e3e826c9f445c9975d0e1c6e00fc6',
'tenant': u'ff6a2b534e984db58313ae194b2d908c', 'user_identity':
u'555e3e826c9f445c9975d0e1c6e00fc6 ff6a2b534e984db58313ae194b2d908c - - -'}
2014-07-11 12:34:43.275 8665 ERROR cinder.scheduler.filters.capacity_filter
[req-2acb85f1-5b7b-4b63-bf95-9037338cb52b 555e3e826c9f445c9975d0e1c6e00fc6
ff6a2b534e984db58313ae194b2d908c - - -] Free capacity not set: volume node
info collection broken.
2014-07-11 12:34:43.275 8665 WARNING
cinder.scheduler.filters.capacity_filter
[req-2acb85f1-5b7b-4b63-bf95-9037338cb52b 555e3e826c9f445c9975d0e1c6e00fc6
ff6a2b534e984db58313ae194b2d908c - - -] Insufficient free space for volume
creation (requested / avail): 1/0.0
2014-07-11 12:34:43.325 8665 ERROR cinder.scheduler.flows.create_volume
[req-2acb85f1-5b7b-4b63-bf95-9037338cb52b 555e3e826c9f445c9975d0e1c6e00fc6
ff6a2b534e984db58313ae194b2d908c - - -] Failed to schedule_create_volume:
No valid host was found.
2014-07-11 12:35:16.253 8665 WARNING cinder.context [-] Arguments dropped
when creating context: {'user': None, 'tenant': None,
'user_identity': u'-
- - - -'}
[root@node1 cinder(openstack_admin)]# cinder service-disable
node1.local@lvm1 cinder-volume
+------------------+---------------+----------+
| Host | Binary | Status |
+------------------+---------------+----------+
| node1.local@lvm1 | cinder-volume | disabled |
+------------------+---------------+----------+
[root@node1 cinder(openstack_admin)]# cinder service-enable node1.local@lvm1
cinder-volume
+------------------+---------------+---------+
| Host | Binary | Status |
+------------------+---------------+---------+
| node1.local@lvm1 | cinder-volume | enabled |
+------------------+---------------+---------+
[root@node1 cinder(openstack_admin)]# cinder service-list
+------------------+------------------+------+---------+-------+----------------------------+-----------------+
| Binary | Host | Zone | Status | State |
Updated_at | Disabled Reason |
+------------------+------------------+------+---------+-------+----------------------------+-----------------+
| cinder-scheduler | node1.local | nova | enabled | up |
2014-07-11T19:36:29.000000 | None |
| cinder-volume | node1.local@ | nova | enabled | up |
2014-07-11T19:36:30.000000 | None |
| cinder-volume | node1.local@lvm1 | nova | enabled | up |
2014-07-11T19:36:35.000000 | None |
+------------------+------------------+------+---------+-------+----------------------------+-----------------+
[root@node1 cinder(openstack_admin)]# sed -e '/^#/d' -e '/^$/d'
/etc/cinder/cinder.conf
[DEFAULT]
amqp_durable_queues=False
rabbit_host=localhost
rabbit_port=5672
rabbit_hosts=localhost:5672
rabbit_userid=openstack
rabbit_password=
rabbit_virtual_host=/
rabbit_ha_queues=False
notification_driver=cinder.openstack.common.notifier.rpc_notifier
rpc_backend=cinder.openstack.common.rpc.impl_kombu
control_exchange=openstack
osapi_volume_listen=0.0.0.0
api_paste_config=/etc/cinder/api-paste.ini
glance_host=192.168.0.6
auth_strategy=keystone
enabled_backends=
debug=False
verbose=True
log_dir=/var/log/cinder
use_syslog=False
iscsi_ip_address=192.168.0.6
volume_backend_name=DEFAULT
iscsi_helper=tgtadm
volumes_dir=/etc/cinder/volumes
volume_group=cinder-volumes
volume_driver=cinder.volume.drivers.lvm.LVMISCSIDriver
[BRCD_FABRIC_EXAMPLE]
[database]
connection=mysql://cinder:@localhost/cinder
idle_timeout=3600
[fc-zone-manager]
[keymgr]
[keystone_authtoken]
[matchmaker_ring]
[ssl]
[root@node1 cinder(openstack_admin)]# lvdisplay cinder-volumes
--- Logical volume ---
LV Path /dev/cinder-volumes/cinder-volumes
LV Name cinder-volumes
VG Name cinder-volumes
LV UUID wxnyZJ-3BM0-Dnzt-h2Pt-k6qY-1lFG-CEuwfp
LV Write Access read/write
LV Creation host, time node1.local, 2014-07-10 21:59:48 -0700
LV Status available
# open 0
LV Size 4.00 GiB
Current LE 1023
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:2