Comment 2 for bug 1117384

Revision history for this message
Jacob Godin (jacobgodin) wrote :

Hi Julie,

I'm currently running the most recent trunk versions of Horizon and Cinder.

Here is exactly what I'm doing:
# cinder create --display-name test --display-description test123 1
+----------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Property | Value |
+----------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| id | 43873abc-46e2-44dd-ae68-78605108cd9c |
| links | [{u'href': u'http://10.150.0.55:8776/v2/951f2ba7f0c44ae6a38ea7a9db3897b2/volumes/43873abc-46e2-44dd-ae68-78605108cd9c', u'rel': u'self'}, {u'href': u'http://10.150.0.55:8776/951f2ba7f0c44ae6a38ea7a9db3897b2/volumes/43873abc-46e2-44dd-ae68-78605108cd9c', u'rel': u'bookmark'}] |
| name | test |
+----------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

# cinder list
+--------------------------------------+-----------+--------------+------+-------------+----------+-------------+
| ID | Status | Display Name | Size | Volume Type | Bootable | Attached to |
+--------------------------------------+-----------+--------------+------+-------------+----------+-------------+
| 43873abc-46e2-44dd-ae68-78605108cd9c | available | | 1 | None | | |
+--------------------------------------+-----------+--------------+------+-------------+----------+-------------+

cinder-api.log from create:
2013-02-06 11:59:24 INFO cinder.api.openstack.wsgi [req-3257599a-1d7b-4dd1-b6ed-1698e2c65c24 15f9ce750c9f4c20b86c9e3e095c27ce 951f2ba7f0c44ae6a38ea7a9db3897b2] POST http://10.150.0.55:8776/v2/951f2ba7f0c44ae6a38ea7a9db3897b2/volumes
2013-02-06 11:59:24 AUDIT cinder.api.v2.volumes [req-3257599a-1d7b-4dd1-b6ed-1698e2c65c24 15f9ce750c9f4c20b86c9e3e095c27ce 951f2ba7f0c44ae6a38ea7a9db3897b2] Create volume of 1 GB
2013-02-06 11:59:24 DEBUG cinder.quota [req-3257599a-1d7b-4dd1-b6ed-1698e2c65c24 15f9ce750c9f4c20b86c9e3e095c27ce 951f2ba7f0c44ae6a38ea7a9db3897b2] Created reservations ['856d2a05-e44e-4e16-80e9-3fbf80787b14', 'd5c09d44-a75f-403a-b523-0cc63688aca4'] reserve /usr/lib/python2.7/dist-packages/cinder/quota.py:661
2013-02-06 11:59:24 28870 DEBUG cinder.openstack.common.rpc.amqp [-] Making asynchronous cast on cinder-scheduler... cast /usr/lib/python2.7/dist-packages/cinder/openstack/common/rpc/amqp.py:377
2013-02-06 11:59:24 INFO cinder.api.openstack.wsgi [req-3257599a-1d7b-4dd1-b6ed-1698e2c65c24 15f9ce750c9f4c20b86c9e3e095c27ce 951f2ba7f0c44ae6a38ea7a9db3897b2] http://10.150.0.55:8776/v2/951f2ba7f0c44ae6a38ea7a9db3897b2/volumes returned with HTTP 200

cinder-api.log from list:
2013-02-06 11:59:30 INFO cinder.api.openstack.wsgi [req-b28aa52e-4f1c-4238-a16a-0710a12595ce 15f9ce750c9f4c20b86c9e3e095c27ce 951f2ba7f0c44ae6a38ea7a9db3897b2] GET http://10.150.0.55:8776/v2/951f2ba7f0c44ae6a38ea7a9db3897b2/volumes/detail
2013-02-06 11:59:30 DEBUG cinder.api.openstack.wsgi [req-b28aa52e-4f1c-4238-a16a-0710a12595ce 15f9ce750c9f4c20b86c9e3e095c27ce 951f2ba7f0c44ae6a38ea7a9db3897b2] Unrecognized Content-Type provided in request get_body /usr/lib/python2.7/dist-packages/cinder/api/openstack/wsgi.py:696
2013-02-06 11:59:30 INFO cinder.api.openstack.wsgi [req-b28aa52e-4f1c-4238-a16a-0710a12595ce 15f9ce750c9f4c20b86c9e3e095c27ce 951f2ba7f0c44ae6a38ea7a9db3897b2] http://10.150.0.55:8776/v2/951f2ba7f0c44ae6a38ea7a9db3897b2/volumes/detail returned with HTTP 200

cinder-volume.log from create:
2013-02-06 11:59:25 28763 DEBUG cinder.openstack.common.rpc.amqp [-] received {u'_context_roles': [u'admin'], u'_context_request_id': u'req-3257599a-1d7b-4dd1-b6ed-1698e2c65c24', u'_context_quota_class': None, u'args': {u'image_id': None, u'snapshot_id': None, u'source_volid': None, u'volume_id': u'43873abc-46e2-44dd-ae68-78605108cd9c'}, u'_context_auth_token': '<SANITIZED>', u'_context_is_admin': True, u'version': u'1.1', u'_context_project_id': u'951f2ba7f0c44ae6a38ea7a9db3897b2', u'_context_timestamp': u'2013-02-06T15:59:24.772010', u'_context_read_deleted': u'no', u'_context_user_id': u'15f9ce750c9f4c20b86c9e3e095c27ce', u'method': u'create_volume', u'_context_remote_address': u'10.150.0.52'} _safe_log /usr/lib/python2.7/dist-packages/cinder/openstack/common/rpc/common.py:195
2013-02-06 11:59:25 28763 DEBUG cinder.openstack.common.rpc.amqp [-] unpacked context: {'user_id': u'15f9ce750c9f4c20b86c9e3e095c27ce', 'roles': [u'admin'], 'timestamp': u'2013-02-06T15:59:24.772010', 'auth_token': '<SANITIZED>', 'remote_address': u'10.150.0.52', 'quota_class': None, 'is_admin': True, 'request_id': u'req-3257599a-1d7b-4dd1-b6ed-1698e2c65c24', 'project_id': u'951f2ba7f0c44ae6a38ea7a9db3897b2', 'read_deleted': u'no'} _safe_log /usr/lib/python2.7/dist-packages/cinder/openstack/common/rpc/common.py:195
2013-02-06 11:59:25 INFO cinder.volume.manager [req-3257599a-1d7b-4dd1-b6ed-1698e2c65c24 15f9ce750c9f4c20b86c9e3e095c27ce 951f2ba7f0c44ae6a38ea7a9db3897b2] volume volume-43873abc-46e2-44dd-ae68-78605108cd9c: creating
2013-02-06 11:59:25 DEBUG cinder.volume.manager [req-3257599a-1d7b-4dd1-b6ed-1698e2c65c24 15f9ce750c9f4c20b86c9e3e095c27ce 951f2ba7f0c44ae6a38ea7a9db3897b2] volume volume-43873abc-46e2-44dd-ae68-78605108cd9c: creating lv of size 1G create_volume /usr/lib/python2.7/dist-packages/cinder/volume/manager.py:169
2013-02-06 11:59:25 DEBUG cinder.utils [req-3257599a-1d7b-4dd1-b6ed-1698e2c65c24 15f9ce750c9f4c20b86c9e3e095c27ce 951f2ba7f0c44ae6a38ea7a9db3897b2] Running cmd (subprocess): sudo cinder-rootwrap /etc/cinder/rootwrap.conf lvcreate -L 1G -n volume-43873abc-46e2-44dd-ae68-78605108cd9c cinder-volumes execute /usr/lib/python2.7/dist-packages/cinder/utils.py:163
2013-02-06 11:59:25 DEBUG cinder.volume.manager [req-3257599a-1d7b-4dd1-b6ed-1698e2c65c24 15f9ce750c9f4c20b86c9e3e095c27ce 951f2ba7f0c44ae6a38ea7a9db3897b2] volume volume-43873abc-46e2-44dd-ae68-78605108cd9c: creating export create_volume /usr/lib/python2.7/dist-packages/cinder/volume/manager.py:200
2013-02-06 11:59:25 INFO cinder.volume.iscsi [req-3257599a-1d7b-4dd1-b6ed-1698e2c65c24 15f9ce750c9f4c20b86c9e3e095c27ce 951f2ba7f0c44ae6a38ea7a9db3897b2] Creating volume: volume-43873abc-46e2-44dd-ae68-78605108cd9c
2013-02-06 11:59:25 DEBUG cinder.utils [req-3257599a-1d7b-4dd1-b6ed-1698e2c65c24 15f9ce750c9f4c20b86c9e3e095c27ce 951f2ba7f0c44ae6a38ea7a9db3897b2] Running cmd (subprocess): sudo cinder-rootwrap /etc/cinder/rootwrap.conf tgt-admin --update iqn.2010-10.org.openstack:volume-43873abc-46e2-44dd-ae68-78605108cd9c execute /usr/lib/python2.7/dist-packages/cinder/utils.py:163
2013-02-06 11:59:26 DEBUG cinder.utils [req-3257599a-1d7b-4dd1-b6ed-1698e2c65c24 15f9ce750c9f4c20b86c9e3e095c27ce 951f2ba7f0c44ae6a38ea7a9db3897b2] Running cmd (subprocess): sudo cinder-rootwrap /etc/cinder/rootwrap.conf tgt-admin --show execute /usr/lib/python2.7/dist-packages/cinder/utils.py:163
2013-02-06 11:59:26 DEBUG cinder.volume.manager [req-3257599a-1d7b-4dd1-b6ed-1698e2c65c24 15f9ce750c9f4c20b86c9e3e095c27ce 951f2ba7f0c44ae6a38ea7a9db3897b2] volume volume-43873abc-46e2-44dd-ae68-78605108cd9c: created successfully create_volume /usr/lib/python2.7/dist-packages/cinder/volume/manager.py:220
2013-02-06 11:59:26 INFO cinder.volume.manager [req-3257599a-1d7b-4dd1-b6ed-1698e2c65c24 15f9ce750c9f4c20b86c9e3e095c27ce 951f2ba7f0c44ae6a38ea7a9db3897b2] Clear capabilities