Ask Your Question
0

Unable to attach volume due to error "InvalidInput: Invalid input received: Connector doesn't have required information: initiator"

asked 2019-01-16 05:55:12 -0500

Du Hong gravatar image

updated 2019-01-16 21:09:33 -0500

hi all,

I am deploying Openstack by MAAS/JUJU and deploy Cinder with LVM like instruction below: https://docs.openstack.org/cinder/latest/install/cinder-storage-install-ubuntu.html (https://docs.openstack.org/cinder/lat...)

After configure, I able to create volume, from cinder-volume.log it show the create successfully but when I attach to the instance it will failed with below log:

2019-01-16 11:39:06.244 66389 ERROR cinder.volume.targets.iscsi [req-a3b7f688-8d40-4389-bc5b-05ad94bf03af 79ae94d2ad1f438d958d6a2461b81073 37379f8510954c0f8c5b92da2fb7c2c0 - 8c7b9aa81d344ebaa30f3bc72acbc5d4 8c7b9aa81d344ebaa30f3bc72acbc5d4] The volume driver requires the iSCSI initiator name in the connector.
2019-01-16 11:39:06.245 66389 ERROR oslo_messaging.rpc.server [req-a3b7f688-8d40-4389-bc5b-05ad94bf03af 79ae94d2ad1f438d958d6a2461b81073 37379f8510954c0f8c5b92da2fb7c2c0 - 8c7b9aa81d344ebaa30f3bc72acbc5d4 8c7b9aa81d344ebaa30f3bc72acbc5d4] Exception during message handling: InvalidInput: Invalid input received: Connector doesn't have required information: initiator
2019-01-16 11:39:06.245 66389 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
2019-01-16 11:39:06.245 66389 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 163, in _process_incoming
2019-01-16 11:39:06.245 66389 ERROR oslo_messaging.rpc.server     res = self.dispatcher.dispatch(message)
2019-01-16 11:39:06.245 66389 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 220, in dispatch
2019-01-16 11:39:06.245 66389 ERROR oslo_messaging.rpc.server     return self._do_dispatch(endpoint, method, ctxt, args)
2019-01-16 11:39:06.245 66389 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 190, in _do_dispatch
2019-01-16 11:39:06.245 66389 ERROR oslo_messaging.rpc.server     result = func(ctxt, **new_args)
2019-01-16 11:39:06.245 66389 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py", line 4421, in attachment_update
2019-01-16 11:39:06.245 66389 ERROR oslo_messaging.rpc.server     connector)
2019-01-16 11:39:06.245 66389 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py", line 4350, in _connection_create
2019-01-16 11:39:06.245 66389 ERROR oslo_messaging.rpc.server     raise exception.InvalidInput(reason=six.text_type(err))
2019-01-16 11:39:06.245 66389 ERROR oslo_messaging.rpc.server InvalidInput: Invalid input received: Connector doesn't have required information: initiator
2019-01-16 11:39:06.245 66389 ERROR oslo_messaging.rpc.server 
2019-01-16 11:39:25.676 66389 DEBUG oslo_service.periodic_task [req-b8ef89cd-60eb-4d1f-a204-10283eeeca3d - - - - -] Running periodic task VolumeManager.publish_service_capabilities run_periodic_tasks /usr/lib/python2.7/dist-packages/oslo_service/periodic_task.py:215

The same failure when I create instance with volume.

Could you please help to show me how to fix this problem?

Thanks so much for your help.

edit retag flag offensive close merge delete

Comments

Mitaka is three years old. Why are you installing a release that has reached end of life? Also, MAAS/Juju is Ubuntu technology, yet you use the Centos installation guide?

Searching for "The volume driver requires the iSCSI initiator name in the connector" returns some results.

Bernd Bausch gravatar imageBernd Bausch ( 2019-01-16 06:19:29 -0500 )edit

Sorry that input wrong refer link (updated), actually i am using version queens, the step is also the same.

Du Hong gravatar imageDu Hong ( 2019-01-16 21:10:58 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-01-18 05:05:04 -0500

Du Hong gravatar image

issue has been fixed. Not sure why the iscsid service in nova node is stopped.

I just start it and the attach process working now.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2019-01-16 05:55:12 -0500

Seen: 390 times

Last updated: Jan 16 '19