cinder error (bugs?) [juno on F20]:could not create iscsi target

asked 2014-12-17 07:29:00 -0600

cuggiv gravatar image

updated 2014-12-17 07:38:38 -0600

Hi, I use packstack to install Openstack with one controller node and two compute node on F20. I'm sure all packets are updated. Instances can start normally without volumes, but fail to spawn when any volume is attached. After go over the nova log, I found nova can not connect the iscsi target. Further debug show there is no target exposed on controller node. Then I found the following ERROR in cinder volume.log. I don't know what to do next. Google gives no luck too. (I tried to edit cinder.conf to change "iscsi_helper=lioadm" to "iscsi_helper=lioadm", which doesn't help) Is this a Bug or is there something I messed up ? Please give me some hint. Thank you!

ERROR cinder.brick.iscsi.iscsi [req-f1c65d49-ab3c-41f4-9764-3e6321a7c6cd 29da60f9fbd34f2582ace23177bd4424 ef9857cd8c8648e7bfd13bb555e25d6c - - -] Failed to create iscsi target for volume id:volume-eacfef77-1a5f-49e0-a13f-786d0d58c214. ERROR oslo.messaging.rpc.dispatcher [req-f1c65d49-ab3c-41f4-9764-3e6321a7c6cd 29da60f9fbd34f2582ace23177bd4424 ef9857cd8c8648e7bfd13bb555e25d6c - - -] Exception during message handling: Message objects do not support str() because they may contain non-ascii characters. Please use unicode() or translate() instead.

detail log here:

  2014-12-17 20:10:42.324 1375 INFO cinder.image.image_utils [req-e9008623-7d2f-4dc6-9f0c-623f54b4e33d 29da60f9fbd34f2582ace23177bd4424 ef9857cd8c8648e7bfd13bb555e25d6c - - -] Image download 12.00 MB at 12.00 MB/s
2014-12-17 20:10:43.571 1375 INFO cinder.image.image_utils [req-e9008623-7d2f-4dc6-9f0c-623f54b4e33d 29da60f9fbd34f2582ace23177bd4424 ef9857cd8c8648e7bfd13bb555e25d6c - - -] Converted 12.00 MB image at 12.00 MB/s
2014-12-17 20:10:44.559 1375 INFO cinder.volume.flows.manager.create_volume [req-e9008623-7d2f-4dc6-9f0c-623f54b4e33d 29da60f9fbd34f2582ace23177bd4424 ef9857cd8c8648e7bfd13bb555e25d6c - - -] Volume volume-eacfef77-1a5f-49e0-a13f-786d0d58c214 (eacfef77-1a5f-49e0-a13f-786d0d58c214): created successfully
2014-12-17 20:10:45.646 1375 INFO cinder.brick.iscsi.iscsi [req-f1c65d49-ab3c-41f4-9764-3e6321a7c6cd 29da60f9fbd34f2582ace23177bd4424 ef9857cd8c8648e7bfd13bb555e25d6c - - -] Creating iscsi_target for volume: volume-eacfef77-1a5f-49e0-a13f-786d0d58c214
2014-12-17 20:10:46.423 1375 ERROR cinder.brick.iscsi.iscsi [req-f1c65d49-ab3c-41f4-9764-3e6321a7c6cd 29da60f9fbd34f2582ace23177bd4424 ef9857cd8c8648e7bfd13bb555e25d6c - - -] Failed to create iscsi target for volume id:volume-eacfef77-1a5f-49e0-a13f-786d0d58c214.
2014-12-17 20:10:46.426 1375 ERROR oslo.messaging.rpc.dispatcher [req-f1c65d49-ab3c-41f4-9764-3e6321a7c6cd 29da60f9fbd34f2582ace23177bd4424 ef9857cd8c8648e7bfd13bb555e25d6c - - -] Exception during message handling: Message objects do not support str() because they may contain non-ascii characters. Please use unicode() or translate() instead.
2014-12-17 20:10:46.426 1375 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last):
2014-12-17 20:10:46.426 1375 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 134, in _dispatch_and_reply
2014-12-17 20:10:46.426 1375 TRACE oslo.messaging.rpc.dispatcher     incoming.message))
2014-12-17 20:10:46.426 1375 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 177, in _dispatch
2014-12-17 20:10:46.426 1375 TRACE oslo.messaging.rpc.dispatcher     return self._do_dispatch(endpoint, method, ctxt, args)
2014-12-17 20:10:46.426 1375 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 123, in _do_dispatch
2014-12-17 20:10:46.426 1375 TRACE oslo.messaging.rpc.dispatcher     result = getattr(endpoint, method)(ctxt, **new_args)
2014-12-17 20:10:46.426 1375 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 105, in wrapper
2014-12-17 20:10:46.426 1375 TRACE oslo.messaging.rpc.dispatcher     return f(*args, **kwargs)
2014-12-17 20 ...
(more)
edit retag flag offensive close merge delete