← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1130718] Re: Volumes fail to boot: iscsiadm exit code 21

 

** Changed in: nova
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1130718

Title:
  Volumes fail to boot: iscsiadm exit code 21

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  In Grizzly 933365a ( Enable multipath for libvirt iSCSI Volume Driver)
  we broke Volume support on Fedora.

  I'm not getting the following exceptions when running volume tests:

  2013-02-20 09:18:55.309 1288 TRACE nova.compute.manager [instance: a489fbfc-62b6-430c-809d-c51f6b82464b]   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/volume.py", line 409, in _run_iscsiadm_bare
  2013-02-20 09:18:55.309 1288 TRACE nova.compute.manager [instance: a489fbfc-62b6-430c-809d-c51f6b82464b]     check_exit_code=check_exit_code)
  2013-02-20 09:18:55.309 1288 TRACE nova.compute.manager [instance: a489fbfc-62b6-430c-809d-c51f6b82464b]   File "/usr/lib/python2.7/site-packages/nova/utils.py", line 243, in execute
  2013-02-20 09:18:55.309 1288 TRACE nova.compute.manager [instance: a489fbfc-62b6-430c-809d-c51f6b82464b]     cmd=' '.join(cmd))
  2013-02-20 09:18:55.309 1288 TRACE nova.compute.manager [instance: a489fbfc-62b6-430c-809d-c51f6b82464b] ProcessExecutionError: Unexpected error while running command.
  2013-02-20 09:18:55.309 1288 TRACE nova.compute.manager [instance: a489fbfc-62b6-430c-809d-c51f6b82464b] Command: sudo nova-rootwrap /etc/nova/rootwrap.conf iscsiadm -m session
  2013-02-20 09:18:55.309 1288 TRACE nova.compute.manager [instance: a489fbfc-62b6-430c-809d-c51f6b82464b] Exit code: 21

  ----

  The issue is we need to support exit code 21 explicitly in the
  _run_iscsiadm_bare exit code checks.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1130718/+subscriptions