ISER is broken in upstream

Bug #1337210 reported by Nurit Vilosny
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Committed
Medium
Ivan Kolodyazhny

Bug Description

Mellanox features:

ISER feature is broken in Upstream. attach is a patch that fix the problem.

need to repackage python-cinder with this fix.

please NOTE: the fix is the same for Ubuntu and CentOS, but the paths are different

(/usr/lib/python2.7/dist-packages/ for Ubuntu and /usr/lib/python2.6/site-packages/ for CentOS)

Tags: cinder
Revision history for this message
Nurit Vilosny (nuritv) wrote :

this is the patch.

Changed in fuel:
importance: Undecided → Medium
assignee: nobody → Fuel OSCI Team (fuel-osci)
milestone: none → 5.1
Roman Vyalov (r0mikiam)
Changed in fuel:
status: New → Triaged
Roman Vyalov (r0mikiam)
Changed in fuel:
assignee: Fuel OSCI Team (fuel-osci) → MOS Cinder (mos-cinder)
Revision history for this message
Ivan Kolodyazhny (e0ne) wrote :

Hi nuritv.
Could you, please, provide steps to reproduce this problem? It helps us for testing and fixing it in an upstream.

Ivan Kolodyazhny (e0ne)
Changed in fuel:
assignee: MOS Cinder (mos-cinder) → Ivan Kolodyazhny (e0ne)
Ivan Kolodyazhny (e0ne)
Changed in mos:
status: New → In Progress
assignee: nobody → Ivan Kolodyazhny (e0ne)
Revision history for this message
Nurit Vilosny (nuritv) wrote :
Download full text (4.5 KiB)

Hi Ivan,
please do the following:

1. attach a volume to vm and see that it works.

2. configure the cinder to work with ISER driver:
      a. in /etc/cinder/cinder.conf change or add -
       [DEFAULT]
        volume_driver=cinder.volume.drivers.lvm.LVMISERDriver

       b. in /etc/tgt/conf.d/cinder.conf uncomment the line
           include /etc/cinder/volumes/*

3. try to attach a volume and you'll get an error message.

(also in screen-c-vol.log:
2014-07-02 11:58:02.170 ERROR oslo.messaging.rpc.dispatcher [req-f81d07d1-2d81-4f42-8eca-5115680ba9a8 ed3b90ac5a304fd8ae5114a3f999c7ba 3b137a73f4ed48a2b986738b18949642] Exception during message handling: Resource could not be found.
2014-07-02 11:58:02.170 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last):
2014-07-02 11:58:02.170 TRACE oslo.messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 134, in _dispatch_and_reply
2014-07-02 11:58:02.170 TRACE oslo.messaging.rpc.dispatcher incoming.message))
2014-07-02 11:58:02.170 TRACE oslo.messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 177, in _dispatch
2014-07-02 11:58:02.170 TRACE oslo.messaging.rpc.dispatcher return self._do_dispatch(endpoint, method, ctxt, args)
2014-07-02 11:58:02.170 TRACE oslo.messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 123, in _do_dispatch
2014-07-02 11:58:02.170 TRACE oslo.messaging.rpc.dispatcher result = getattr(endpoint, method)(ctxt, **new_args)
2014-07-02 11:58:02.170 TRACE oslo.messaging.rpc.dispatcher File "/opt/stack/cinder/cinder/volume/manager.py", line 783, in initialize_connection
2014-07-02 11:58:02.170 TRACE oslo.messaging.rpc.dispatcher volume)
2014-07-02 11:58:02.170 TRACE oslo.messaging.rpc.dispatcher File "/opt/stack/cinder/cinder/volume/drivers/lvm.py", line 524, in create_export
2014-07-02 11:58:02.170 TRACE oslo.messaging.rpc.dispatcher return self._create_export(context, volume)
2014-07-02 11:58:02.170 TRACE oslo.messaging.rpc.dispatcher File "/opt/stack/cinder/cinder/volume/drivers/lvm.py", line 533, in _create_export
2014-07-02 11:58:02.170 TRACE oslo.messaging.rpc.dispatcher data = self.target_helper.create_export(context, volume, volume_path)
2014-07-02 11:58:02.170 TRACE oslo.messaging.rpc.dispatcher File "/opt/stack/cinder/cinder/volume/iscsi.py", line 53, in create_export
2014-07-02 11:58:02.170 TRACE oslo.messaging.rpc.dispatcher chap_auth)
2014-07-02 11:58:02.170 TRACE oslo.messaging.rpc.dispatcher File "/opt/stack/cinder/cinder/brick/iscsi/iscsi.py", line 227, in create_iscsi_target
2014-07-02 11:58:02.170 TRACE oslo.messaging.rpc.dispatcher raise exception.NotFound()
2014-07-02 11:58:02.170 TRACE oslo.messaging.rpc.dispatcher NotFound: Resource could not be found.
2014-07-02 11:58:02.170 TRACE oslo.messaging.rpc.dispatcher
2014-07-02 11:58:02.173 ERROR oslo.messaging._drivers.common [req-f81d07d1-2d81-4f42-8eca-5115680ba9a8 ed3b90ac5a304fd8ae5114a3f999c7ba 3b137a73f4ed48a2b986738b18949642] Returning exception Resource could not be found. to ca...

Read more...

Ivan Kolodyazhny (e0ne)
Changed in mos:
milestone: none → 5.1
importance: Undecided → Medium
Igor Marnat (imarnat)
tags: added: cinder
Revision history for this message
Ivan Kolodyazhny (e0ne) wrote :
no longer affects: fuel
Revision history for this message
Nurit Vilosny (nuritv) wrote :

an extra patch is needed for multi back-end.
attached.

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package cinder has been built from changeset: http://gerrit.mirantis.com/17867
DEB Repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-5.1-stable/ubuntu

Ivan Kolodyazhny (e0ne)
Changed in mos:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.