<div dir="ltr">Hi,<div><br></div><div style>Yes, it's very surprising. I manage to obtain your error by doing the operations manually (compute and guest are ubuntu 12.04 and devstack deployment).</div><div style><br></div>

<div style>Another interesting thing is that, in my case, with multi-backend enabled, tempest tells me everything is right:</div><div style><div><br></div><div>/opt/stack/tempest# nosetests -sv <a href="http://tempest.tests.volume.test_volumes_actions.py">tempest.tests.volume.test_volumes_actions.py</a></div>

<div>nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$']</div><div>tempest.tests.volume.test_volumes_actions.VolumesActionsTest.test_attach_detach_volume_to_instance[smoke] ... ok</div>

<div>tempest.tests.volume.test_volumes_actions.VolumesActionsTest.test_get_volume_attachment ... ok</div><div><br></div><div>----------------------------------------------------------------------</div><div>Ran 2 tests in 122.465s</div>

<div><br></div><div>OK</div></div><div style><br></div><div style><br></div><div style>I don't think that error is linked to the distribution. With my configuration, if I remove the multi-backend option, attachment is possible.<br>

</div><div style><br></div><div style>Regards,</div><div style>Jérôme</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 17, 2013 at 3:22 PM, Steve Heistand <span dir="ltr"><<a href="mailto:steve.heistand@nasa.gov" target="_blank">steve.heistand@nasa.gov</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
in my case (as near as I can tell) its something to do with the inability<br>
for ubuntu 12.04 (as a vm) to do hot plug pci stuff.<br>
the node itself in as 12.04 just the vm part that doesnt work as ubuntu.<br>
havent tried 12.10 or rarring as a vm.<br>
<br>
steve<br>
<div><div class="h5"><br>
On 04/17/2013 05:42 AM, Heiko Krämer wrote:<br>
> Hi Steve,<br>
><br>
> yeah it's running ubuntu 12.04 on the nodes and on the vm.<br>
><br>
> But configuration parsing error should have normally nothing todo with a distribution<br>
> ?! Maybe the oslo version or something like that.<br>
><br>
> But thanks for your hint.<br>
><br>
> Greetings Heiko<br>
><br>
> On 17.04.2013 14:36, Steve Heistand wrote:<br>
>> what OS Are you running in the VM? I had similar issues with ubuntu 12.04 but<br>
>> things worked great with centos 6.4<br>
>><br>
>><br>
>> On 04/17/2013 01:15 AM, Heiko Krämer wrote:<br>
>>> Hi Guys,<br>
>>><br>
>>> I'm running in a strange config issue with cinder-volume service. I try to use<br>
>>> the multi backend feature in grizzly and the scheduler works fine but the volume<br>
>>> service are not running correctly. I can create/delete volumes but not attach.<br>
>>><br>
>>> My cinder.conf (abstract): / //#### Backend Configuration//<br>
>>> //scheduler_driver=cinder.scheduler.filter_scheduler.FilterScheduler//<br>
>>> //scheduler_host_manager=cinder.scheduler.host_manager.HostManager// //<br>
>>> //enabled_backends=storage1,storage2// //[storage1]//<br>
>>> //volume_group=nova-volumes//<br>
>>> //volume_driver=cinder.volume.drivers.lvm.LVMISCSIDriver//<br>
>>> //volume_backend_name=LVM_ISCSI// //iscsi_helper=tgtadm// // // //[storage2]//<br>
>>> //volume_group=nova-volumes//<br>
>>> //volume_driver=cinder.volume.drivers.lvm.LVMISCSIDriver//<br>
>>> //volume_backend_name=LVM_ISCSI// //iscsi_helper=tgtadm/<br>
>>><br>
>>><br>
>>><br>
>>> this section is on each host the same. If i try to attach an existing volume to<br>
>>> an instance i'll get the following error on cinder-volume:<br>
>>><br>
>>> /2013-04-16 17:18:13    AUDIT [cinder.service] Starting cinder-volume node<br>
>>> (version 2013.1)// //2013-04-16 17:18:13     INFO [cinder.volume.manager]<br>
>>> Updating volume status// //2013-04-16 17:18:13     INFO [cinder.volume.iscsi]<br>
>>> Creating iscsi_target for: volume-b83ff42b-9a58-4bf9-8d95-945829d3ee9d//<br>
>>> //2013-04-16 17:18:13     INFO [cinder.openstack.common.rpc.common] Connected to<br>
>>>  AMQP server on <a href="http://10.0.0.104:5672//" target="_blank">10.0.0.104:5672//</a> //2013-04-16 17:18:13     INFO<br>
>>> [cinder.openstack.common.rpc.common] Connected to AMQP server on<br>
>>> <a href="http://10.0.0.104:5672//" target="_blank">10.0.0.104:5672//</a> //2013-04-16 17:18:14     INFO [cinder.volume.manager] Updating<br>
>>> volume status// //2013-04-16 17:18:14     INFO<br>
>>> [cinder.openstack.common.rpc.common] Connected to AMQP server on<br>
>>> <a href="http://10.0.0.104:5672//" target="_blank">10.0.0.104:5672//</a> //2013-04-16 17:18:14     INFO<br>
>>> [cinder.openstack.common.rpc.common] Connected to AMQP server on<br>
>>> <a href="http://10.0.0.104:5672//" target="_blank">10.0.0.104:5672//</a> //2013-04-16 17:18:26    ERROR<br>
>>> [cinder.openstack.common.rpc.amqp] Exception during message handling//<br>
>>> //Traceback (most recent call last):// //  File<br>
>>> "/usr/lib/python2.7/dist-packages/cinder/openstack/common/rpc/amqp.py", line 430,<br>
>>> in _process_data// //    rval = self.proxy.dispatch(ctxt, version, method,<br>
>>> **args)// //  File<br>
>>> "/usr/lib/python2.7/dist-packages/cinder/openstack/common/rpc/dispatcher.py",<br>
>>> line 133, in dispatch// //    return getattr(proxyobj, method)(ctxt, **kwargs)//<br>
>>> //  File "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py", line 665,<br>
>>> in initialize_connection// //    return<br>
>>> self.driver.initialize_connection(volume_ref, connector)// //  File<br>
>>> "/usr/lib/python2.7/dist-packages/cinder/volume/driver.py", line 336, in<br>
>>> initialize_connection// //    if self.configuration.iscsi_helper == 'lioadm'://<br>
>>> //  File "/usr/lib/python2.7/dist-packages/cinder/volume/configuration.py", line<br>
>>>  83, in __getattr__// //    return getattr(self.local_conf, value)// //  File<br>
>>> "/usr/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1708, in<br>
>>> __getattr__// //    return self._conf._get(name, self._group)// //  File<br>
>>> "/usr/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1513, in _get// //<br>
>>> value = self._substitute(self._do_get(name, group))// //  File<br>
>>> "/usr/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1529, in _do_get// //<br>
>>> info = self._get_opt_info(name, group)// //  File<br>
>>> "/usr/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1629, in<br>
>>> _get_opt_info// //    raise NoSuchOptError(opt_name, group)// //NoSuchOptError:<br>
>>> no such option in group storage1: iscsi_helper/<br>
>>><br>
>>><br>
>>> It's very strange the<br>
>>> '/volume_driver=cinder.volume.drivers.lvm.LVMISCSIDriver//'/ option should set<br>
>>> the iscsi_helper=tgtadm per default.<br>
>>><br>
>>><br>
>>> Anyone have an idea or the same issue, otherwise i'll create a bug report.<br>
>>><br>
>>> Greetings from Berlin Heiko<br>
>>><br>
><br>
<br>
</div></div>- --<br>
<div class="im">************************************************************************<br>
 Steve Heistand                          NASA Ames Research Center<br>
</div> email: <a href="mailto:steve.heistand@nasa.gov">steve.heistand@nasa.gov</a>          Steve Heistand/Mail Stop 258-6<br>
 ph: (650) 604-4369                      Bldg. 258, Rm. 232-5<br>
 Scientific & HPC Application            P.O. Box 1<br>
 Development/Optimization                Moffett Field, CA 94035-0001<br>
<div class="im">************************************************************************<br>
 "Any opinions expressed are those of our alien overlords, not my own."<br>
<br>
# For Remedy                        #<br>
#Action: Resolve                    #<br>
#Resolution: Resolved               #<br>
#Reason: No Further Action Required #<br>
#Tier1: User Code                   #<br>
#Tier2: Other                       #<br>
#Tier3: Assistance                  #<br>
#Notification: None                 #<br>
</div>-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v2.0.14 (GNU/Linux)<br>
<br>
iEYEARECAAYFAlFuoiwACgkQoBCTJSAkVrGGegCg12Mo9vZo5jwy+xAWgfS4ZATb<br>
4n8AnRbcWjT38AO2y7sJALnMzXogfujP<br>
=0Y10<br>
-----END PGP SIGNATURE-----<br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
</div></div></blockquote></div><br></div>