<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Thx for your replies!!<br>
    <br>
    I've created a bug report:
    <a class="moz-txt-link-freetext" href="https://bugs.launchpad.net/cinder/+bug/1169928">https://bugs.launchpad.net/cinder/+bug/1169928</a><br>
    <br>
    I think anything is wrong with the config parser.<br>
    If i'll find a quickfix i'll let you know.<br>
    <br>
    Greetings<br>
    Heiko<br>
    <br>
    On 17.04.2013 15:50, Jérôme Gallard wrote:<br>
    <span style="white-space: pre;">> Hi,<br>
      ><br>
      > 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).<br>
      ><br>
      > Another interesting thing is that, in my case, with
      multi-backend enabled, tempest tells me everything is right:<br>
      ><br>
      > /opt/stack/tempest# nosetests -sv
      tempest.tests.volume.test_volumes_actions.py
      <a class="moz-txt-link-rfc2396E" href="http://tempest.tests.volume.test_volumes_actions.py"><http://tempest.tests.volume.test_volumes_actions.py></a><br>
      > nose.config: INFO: Ignoring files matching ['^\\.', '^_',
      '^setup\\.py$']<br>
      >
      tempest.tests.volume.test_volumes_actions.VolumesActionsTest.test_attach_detach_volume_to_instance[smoke]
      ... ok<br>
      >
      tempest.tests.volume.test_volumes_actions.VolumesActionsTest.test_get_volume_attachment
      ... ok<br>
      ><br>
      >
      ----------------------------------------------------------------------<br>
      > Ran 2 tests in 122.465s<br>
      ><br>
      > OK<br>
      ><br>
      ><br>
      > 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>
      ><br>
      > Regards,<br>
      > Jérôme<br>
      ><br>
      ><br>
      > On Wed, Apr 17, 2013 at 3:22 PM, Steve Heistand
      <<a class="moz-txt-link-abbreviated" href="mailto:steve.heistand@nasa.gov">steve.heistand@nasa.gov</a>
      <a class="moz-txt-link-rfc2396E" href="mailto:steve.heistand@nasa.gov"><mailto:steve.heistand@nasa.gov></a>> wrote:<br>
      ></span><br>
    <blockquote type="cite">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>
      <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 10.0.0.104:5672//
      <a class="moz-txt-link-rfc2396E" href="http://10.0.0.104:5672//"><http://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>
      >>> 10.0.0.104:5672// <a class="moz-txt-link-rfc2396E" href="http://10.0.0.104:5672//"><http://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>
      >>> 10.0.0.104:5672// <a class="moz-txt-link-rfc2396E" href="http://10.0.0.104:5672//"><http://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>
      >>> 10.0.0.104:5672// <a class="moz-txt-link-rfc2396E" href="http://10.0.0.104:5672//"><http://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>
    </blockquote>
    <span style="white-space: pre;">><br>
      >     _______________________________________________<br>
      >     Mailing list: <a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>
      >     Post to     : <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>
      <a class="moz-txt-link-rfc2396E" href="mailto:openstack@lists.launchpad.net"><mailto:openstack@lists.launchpad.net></a><br>
      >     Unsubscribe : <a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>
      >     More help   : <a class="moz-txt-link-freetext" href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br>
      ><br>
      ></span><br>
    <br>
    <br>
  </body>
</html>