[Openstack] Create instance fails on creating block device - Block Device Mapping is Invalid
Eugen Block
eblock at nde.ag
Mon Jun 20 12:01:51 UTC 2016
Is it possible to create an empty volume? Without nova or glance, just
a volume. If that works and the volume is not deleted immediately, you
could try to attach it to a running instance to see if nova can handle
it.
Do you see the iscsi session on your compute node?
Then you could try to create a volume from an image, that way you see
if glance and cinder are working properly together. If that also works
it could be an issue with nova, maybe come misconfiguration.
Zitat von Turbo Fredriksson <turbo at bayour.com>:
> On Jun 17, 2016, at 2:38 PM, Eugen Block wrote:
>
>> I don't even see the attempt to attach it. If it works, these steps
>> should be processed:
>
> Neither can I! And running with debugging doesn't
> show anything either :(
>
> The log literally say (no changes, no additions or removal!):
>
> ----- s n i p -----
> 2016-06-17 15:12:39.335 8046 DEBUG cinder.volume.manager
> [req-b9a6a699-c178-427b-b1f2-bf62dce2578e
> 067a3363c5984f81a7cfa2eda5d1ebf3 d524c8dfd9e9449798ebac9b025f8de6 -
> - -] Task
> 'cinder.volume.flows.manager.create_volume.CreateVolumeOnFinishTask;volume:create, create.end' (54ad7ada-38eb-4fe1-9efd-53e6f2d35f26) transitioned into state 'RUNNING' from state 'PENDING' _task_receiver
> /usr/lib/python2.7/dist-packages/taskflow/listeners/logging.py:189
> 2016-06-17 15:12:39.583 8046 INFO
> cinder.volume.flows.manager.create_volume
> [req-b9a6a699-c178-427b-b1f2-bf62dce2578e
> 067a3363c5984f81a7cfa2eda5d1ebf3 d524c8dfd9e9449798ebac9b025f8de6 -
> - -] Volume 8892642a-6e12-48ae-ba94-8cc897a4acd5
> (8892642a-6e12-48ae-ba94-8cc897a4acd5): created successfully
> 2016-06-17 15:12:39.585 8046 DEBUG cinder.volume.manager
> [req-b9a6a699-c178-427b-b1f2-bf62dce2578e
> 067a3363c5984f81a7cfa2eda5d1ebf3 d524c8dfd9e9449798ebac9b025f8de6 -
> - -] Task
> 'cinder.volume.flows.manager.create_volume.CreateVolumeOnFinishTask;volume:create, create.end' (54ad7ada-38eb-4fe1-9efd-53e6f2d35f26) transitioned into state 'SUCCESS' from state 'RUNNING' with result 'None' _task_receiver
> /usr/lib/python2.7/dist-packages/taskflow/listeners/logging.py:178
> 2016-06-17 15:12:39.589 8046 DEBUG cinder.volume.manager
> [req-b9a6a699-c178-427b-b1f2-bf62dce2578e
> 067a3363c5984f81a7cfa2eda5d1ebf3 d524c8dfd9e9449798ebac9b025f8de6 -
> - -] Flow 'volume_create_manager'
> (45f829ab-d4bd-480a-a78f-c5e8eaa38598) transitioned into state
> 'SUCCESS' from state 'RUNNING' _flow_receiver
> /usr/lib/python2.7/dist-packages/taskflow/listeners/logging.py:140
> 2016-06-17 15:12:39.591 8046 INFO cinder.volume.manager
> [req-b9a6a699-c178-427b-b1f2-bf62dce2578e
> 067a3363c5984f81a7cfa2eda5d1ebf3 d524c8dfd9e9449798ebac9b025f8de6 -
> - -] Created volume successfully.
> [NOTE: Here everything was a-ok!!]
> 2016-06-17 15:12:43.378 8046 DEBUG
> oslo_messaging._drivers.amqpdriver [-] received message msg_id: None
> reply to None __call__
> /usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:201
> [NOTE: And here it starts deleting the volume!]
> 2016-06-17 15:12:43.383 8046 DEBUG oslo_concurrency.lockutils
> [req-661beca9-723a-4565-99b2-70b5ed862eca
> 067a3363c5984f81a7cfa2eda5d1ebf3 d524c8dfd9e9449798ebac9b025f8de6 -
> - -] Lock "8892642a-6e12-48ae-ba94-8cc897a4acd5-delete_volume"
> acquired by "cinder.volume.manager.lvo_inner2" :: waited 0.001s
> inner
> /usr/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py:273
> 2016-06-17 15:12:43.614 8046 INFO cinder.volume.targets.iscsi
> [req-661beca9-723a-4565-99b2-70b5ed862eca
> 067a3363c5984f81a7cfa2eda5d1ebf3 d524c8dfd9e9449798ebac9b025f8de6 -
> - -] Skipping remove_export. No iscsi_target is presently exported
> for volume: 8892642a-6e12-48ae-ba94-8cc897a4acd5
> 2016-06-17 15:12:43.615 8046 DEBUG oslo_concurrency.processutils
> [req-661beca9-723a-4565-99b2-70b5ed862eca
> 067a3363c5984f81a7cfa2eda5d1ebf3 d524c8dfd9e9449798ebac9b025f8de6 -
> - -] Running cmd (subprocess): sudo cinder-rootwrap
> /etc/cinder/rootwrap.conf env LC_ALL=C lvs --noheadings --unit=g -o
> vg_name,name,size --nosuffix
> blade_center/8892642a-6e12-48ae-ba94-8cc897a4acd5 execute
> /usr/lib/python2.7/dist-packages/oslo_concurrency/processutils.py:326
> 2016-06-17 15:12:43.780 8046 DEBUG oslo_concurrency.processutils
> [req-661beca9-723a-4565-99b2-70b5ed862eca
> 067a3363c5984f81a7cfa2eda5d1ebf3 d524c8dfd9e9449798ebac9b025f8de6 -
> - -] CMD "sudo cinder-rootwrap /etc/cinder/rootwrap.conf env
> LC_ALL=C lvs --noheadings --unit=g -o vg_name,name,size --nosuffix
> blade_center/8892642a-6e12-48ae-ba94-8cc897a4acd5" returned: 0 in
> 0.166s execute
> /usr/lib/python2.7/dist-packages/oslo_concurrency/processutils.py:356
> 2016-06-17 15:12:43.783 8046 DEBUG oslo_concurrency.processutils
> [req-661beca9-723a-4565-99b2-70b5ed862eca
> 067a3363c5984f81a7cfa2eda5d1ebf3 d524c8dfd9e9449798ebac9b025f8de6 -
> - -] Running cmd (subprocess): sudo cinder-rootwrap
> /etc/cinder/rootwrap.conf env LC_ALL=C lvdisplay --noheading -C -o
> Attr blade_center/8892642a-6e12-48ae-ba94-8cc897a4acd5 execute
> /usr/lib/python2.7/dist-packages/oslo_concurrency/processutils.py:326
> 2016-06-17 15:12:43.948 8046 DEBUG oslo_concurrency.processutils
> [req-661beca9-723a-4565-99b2-70b5ed862eca
> 067a3363c5984f81a7cfa2eda5d1ebf3 d524c8dfd9e9449798ebac9b025f8de6 -
> - -] CMD "sudo cinder-rootwrap /etc/cinder/rootwrap.conf env
> LC_ALL=C lvdisplay --noheading -C -o Attr
> blade_center/8892642a-6e12-48ae-ba94-8cc897a4acd5" returned: 0 in
> 0.165s execute
> /usr/lib/python2.7/dist-packages/oslo_concurrency/processutils.py:356
> 2016-06-17 15:12:43.950 8046 INFO cinder.volume.utils
> [req-661beca9-723a-4565-99b2-70b5ed862eca
> 067a3363c5984f81a7cfa2eda5d1ebf3 d524c8dfd9e9449798ebac9b025f8de6 -
> - -] Performing secure delete on volume:
> /dev/mapper/blade_center-8892642a--6e12--48ae--ba94--8cc897a4acd5
> ----- s n i p -----
> --
> Imagine you're an idiot and then imagine you're in
> the government. Oh, sorry. Now I'm repeating myself
> - Mark Twain
>
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
--
Eugen Block voice : +49-40-559 51 75
NDE Netzdesign und -entwicklung AG fax : +49-40-559 51 77
Postfach 61 03 15
D-22423 Hamburg e-mail : eblock at nde.ag
Vorsitzende des Aufsichtsrates: Angelika Mozdzen
Sitz und Registergericht: Hamburg, HRB 90934
Vorstand: Jens-U. Mozdzen
USt-IdNr. DE 814 013 983
More information about the Openstack
mailing list