← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1732199] Re: test_extend_attached_volume fails with Unexpected compute_extend_volume result 'Error'

 

Reviewed:  https://review.openstack.org/604961
Committed: https://git.openstack.org/cgit/openstack/os-brick/commit/?id=d398fa82334bbabbc4c7d5b8f1fe5a7a4465200e
Submitter: Zuul
Branch:    master

commit d398fa82334bbabbc4c7d5b8f1fe5a7a4465200e
Author: imacdonn <iain.macdonnell@xxxxxxxxxx>
Date:   Tue Sep 25 03:40:31 2018 +0000

    'iscsiadm -m session' failure handling
    
    Sometimes 'iscsiadm -m session' outputs warnings on stderr, but
    still serves its purpose (usable stdout). We should not give up on
    it when stderr is non-empty - instead, rely on the exit status, log
    the stderr as a warning, and move on.
    
    This change also removes 1 (ISCSI_ERR) from the list of acceptable
    exit codes for the iscsiadm command, to ensure that failures get
    caught.
    
    Change-Id: Id8183cf3d8baf2f8ba6a00a47fa2ad7cc2a96aa5
    Closes-Bug: #1732199


** Changed in: os-brick
       Status: Incomplete => 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/1732199

Title:
  test_extend_attached_volume fails with Unexpected
  compute_extend_volume result 'Error'

Status in OpenStack Compute (nova):
  Confirmed
Status in os-brick:
  Fix Released

Bug description:
  tempest.api.volume.test_volumes_extend.VolumesExtendAttachedTest.test_extend_attached_volume
  [id-301f5a30-1c6f-4ea0-be1a-91fd28d44354] appears to have intermittent
  failures that result in the following stack trace:

  
  2017-11-13 20:01:08.062361 | primary | ==============================
  2017-11-13 20:01:08.062378 | primary |
  2017-11-13 20:01:08.062433 | primary | tempest.api.volume.test_volumes_extend.VolumesExtendAttachedTest.test_extend_attached_volume[id-301f5a30-1c6f-4ea0-be1a-91fd28d44354]
  2017-11-13 20:01:08.062488 | primary | -------------------------------------------------------------------------------------------------------------------------------------
  2017-11-13 20:01:08.062505 | primary |
  2017-11-13 20:01:08.062527 | primary | Captured traceback:
  2017-11-13 20:01:08.062550 | primary | ~~~~~~~~~~~~~~~~~~~
  2017-11-13 20:01:08.062578 | primary |     Traceback (most recent call last):
  2017-11-13 20:01:08.062621 | primary |       File "tempest/api/volume/test_volumes_extend.py", line 184, in test_extend_attached_volume
  2017-11-13 20:01:08.062650 | primary |         'request_id': action['request_id']})
  2017-11-13 20:01:08.062701 | primary |       File "/opt/stack/new/tempest/.tox/tempest/local/lib/python2.7/site-packages/unittest2/case.py", line 702, in assertTrue
  2017-11-13 20:01:08.062730 | primary |         raise self.failureException(msg)
  2017-11-13 20:01:08.062785 | primary |     AssertionError: False is not true : Unexpected compute_extend_volume result 'Error' for request req-78ea7bec-834d-4534-8779-1e97f90a54e4.

  
  For example [1]. There appears to be 12 such failures in the past 7 days [2].

  
  [1] http://logs.openstack.org/67/518967/2/check/legacy-tempest-dsvm-neutron-dvr/1188c6c/job-output.txt.gz#_2017-11-13_20_01_08_062361
  [2] http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22Unexpected%20compute_extend_volume%20result%20'Error'%5C%22

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