Sporadic share type cleanup failure in tests in ShareIpRulesForNFSNegativeTest
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
Medium
|
Goutham Pacha Ravi |
Bug Description
Share type failures are occurring randomly on the CI:
Dummy Driver failure:
http://
2017-02-02 20:28:27.592648 | 2017-02-02 20:28:27.592 | =======
2017-02-02 20:28:27.594770 | 2017-02-02 20:28:27.594 | Failed 1 tests - output below:
2017-02-02 20:28:27.596459 | 2017-02-02 20:28:27.596 | =======
2017-02-02 20:28:27.598547 | 2017-02-02 20:28:27.598 |
2017-02-02 20:28:27.600783 | 2017-02-02 20:28:27.600 | tearDownClass (manila_
2017-02-02 20:28:27.602993 | 2017-02-02 20:28:27.602 | -------
2017-02-02 20:28:27.605258 | 2017-02-02 20:28:27.604 |
2017-02-02 20:28:27.607614 | 2017-02-02 20:28:27.607 | Captured traceback:
2017-02-02 20:28:27.610262 | 2017-02-02 20:28:27.609 | ~~~~~~~~~~~~~~~~~~~
2017-02-02 20:28:27.612734 | 2017-02-02 20:28:27.612 | Traceback (most recent call last):
2017-02-02 20:28:27.615194 | 2017-02-02 20:28:27.614 | File "tempest/test.py", line 311, in tearDownClass
2017-02-02 20:28:27.617565 | 2017-02-02 20:28:27.617 | six.reraise(etype, value, trace)
2017-02-02 20:28:27.619953 | 2017-02-02 20:28:27.619 | File "tempest/test.py", line 294, in tearDownClass
2017-02-02 20:28:27.622183 | 2017-02-02 20:28:27.621 | teardown()
2017-02-02 20:28:27.624300 | 2017-02-02 20:28:27.623 | File "/opt/stack/
2017-02-02 20:28:27.626489 | 2017-02-02 20:28:27.626 | cls.clear_
2017-02-02 20:28:27.628426 | 2017-02-02 20:28:27.628 | File "/opt/stack/
2017-02-02 20:28:27.630769 | 2017-02-02 20:28:27.630 | client.
2017-02-02 20:28:27.633144 | 2017-02-02 20:28:27.632 | File "/opt/stack/
2017-02-02 20:28:27.634430 | 2017-02-02 20:28:27.634 | resp, body = self.delete(
2017-02-02 20:28:27.636178 | 2017-02-02 20:28:27.635 | File "/opt/stack/
2017-02-02 20:28:27.637759 | 2017-02-02 20:28:27.637 | body=body)
2017-02-02 20:28:27.639618 | 2017-02-02 20:28:27.639 | File "tempest/
2017-02-02 20:28:27.641557 | 2017-02-02 20:28:27.641 | return self.request(
2017-02-02 20:28:27.643179 | 2017-02-02 20:28:27.642 | File "tempest/
2017-02-02 20:28:27.645504 | 2017-02-02 20:28:27.645 | resp, resp_body)
2017-02-02 20:28:27.647390 | 2017-02-02 20:28:27.646 | File "tempest/
2017-02-02 20:28:27.649163 | 2017-02-02 20:28:27.648 | raise exceptions.
2017-02-02 20:28:27.651156 | 2017-02-02 20:28:27.650 | tempest.
2017-02-02 20:28:27.653464 | 2017-02-02 20:28:27.652 | Details: {u'message': u'Target share type is still in use.', u'code': 400}
Drilling down into the tempest log:
We're trying to cleanup the share when it's still in "creating" state:
Response - Headers: {'x-openstack-
Body: {"forbidden": {"message": "Invalid share: Share status must be one of ('available', 'error', 'inactive').", "code": 403}} _log_request_full tempest/
2017-02-02 20:20:21.830 18443 ERROR manila_
Traceback (most recent call last):
File "/opt/stack/
client.
File "/opt/stack/
resp, body = self.delete(uri, version=version)
File "/opt/stack/
body=body)
File "tempest/
return self.request(
File "tempest/
resp, resp_body)
File "tempest/
raise exceptions.
Forbidden: Forbidden
Details: {u'message': u"Invalid share: Share status must be one of ('available', 'error', 'inactive').", u'code': 403}
This isn't the intent of the test "test_add_
Changed in manila: | |
importance: | Undecided → High |
assignee: | nobody → Goutham Pacha Ravi (gouthamr) |
milestone: | none → ocata-rc1 |
description: | updated |
Changed in manila: | |
importance: | High → Medium |
Fix proposed to branch: master /review. openstack. org/428771
Review: https:/