Activity log for bug #1541377

Date Who What changed Old value New value Message
2016-02-03 12:44:54 Ramana Raja bug added bug
2016-02-03 12:45:03 Ramana Raja devstack-plugin-ceph: assignee Ramana Raja (rraja)
2016-02-03 12:47:59 Ramana Raja description A tempest test fails in Manila's cephfs-native CI currently as follows, | setUpClass (manila_tempest_tests.tests.api.test_rules.ShareRulesTest) | --------------------------------------------------------------------- | | Captured traceback: | ~~~~~~~~~~~~~~~~~~~ | Traceback (most recent call last): | File "tempest/test.py", line 262, in setUpClass | six.reraise(etype, value, trace) | File "tempest/test.py", line 255, in setUpClass | cls.resource_setup() | File "/opt/stack/new/manila/manila_tempest_tests/tests/api/test_rules.py", line 320, in resource_setup | cls.share = cls.create_share() | File "/opt/stack/new/manila/manila_tempest_tests/tests/api/base.py", line 348, in create_share | result = cls.create_shares([{"args": args, "kwargs": kwargs}]) | File "/opt/stack/new/manila/manila_tempest_tests/tests/api/base.py", line 383, in create_shares | d["share"] = cls._create_share(*d["args"], **d["kwargs"]) | File "/opt/stack/new/manila/manila_tempest_tests/tests/api/base.py", line 329, in _create_share | share = client.create_share(**kwargs) | File "/opt/stack/new/manila/manila_tempest_tests/services/share/v2/json/shares_client.py", line 218, in create_share | resp, body = self.post("shares", body, version=version) | File "/opt/stack/new/manila/manila_tempest_tests/services/share/v2/json/shares_client.py", line 60, in post | return super(SharesV2Client, self).post(url, body, headers=headers) | File "/usr/local/lib/python2.7/dist-packages/tempest_lib/common/rest_client.py", line 259, in post | return self.request('POST', url, extra_headers, headers, body) | File "/usr/local/lib/python2.7/dist-packages/tempest_lib/common/rest_client.py", line 640, in request | resp, resp_body) | File "/usr/local/lib/python2.7/dist-packages/tempest_lib/common/rest_client.py", line 698, in _error_checker | raise exceptions.BadRequest(resp_body, resp=resp) | tempest_lib.exceptions.BadRequest: Bad request | Details: {u'code': 400, u'message': u"Invalid input received: Invalid share protocol provided: GLUSTERFS. It is either disabled or unsupported. Available protocols: ['CEPHFS']."} This is because the CI hook script, post_test_hook, fails to disable the GLUSTERFS protocol, enabled by default by a config option 'enable_cert_rules_for_protocols'. A tempest test fails in Manila's cephfs-native CI currently as follows,  | setUpClass (manila_tempest_tests.tests.api.test_rules.ShareRulesTest)  | ---------------------------------------------------------------------  |  | Captured traceback:  | ~~~~~~~~~~~~~~~~~~~  | Traceback (most recent call last):  | File "tempest/test.py", line 262, in setUpClass  | six.reraise(etype, value, trace)  | File "tempest/test.py", line 255, in setUpClass  | cls.resource_setup()  | File "/opt/stack/new/manila/manila_tempest_tests/tests/api/test_rules.py", line 320, in resource_setup  | cls.share = cls.create_share()  | File "/opt/stack/new/manila/manila_tempest_tests/tests/api/base.py", line 348, in create_share  | result = cls.create_shares([{"args": args, "kwargs": kwargs}])  | File "/opt/stack/new/manila/manila_tempest_tests/tests/api/base.py", line 383, in create_shares  | d["share"] = cls._create_share(*d["args"], **d["kwargs"])  | File "/opt/stack/new/manila/manila_tempest_tests/tests/api/base.py", line 329, in _create_share  | share = client.create_share(**kwargs)  | File "/opt/stack/new/manila/manila_tempest_tests/services/share/v2/json/shares_client.py", line 218, in create_share  | resp, body = self.post("shares", body, version=version)  | File "/opt/stack/new/manila/manila_tempest_tests/services/share/v2/json/shares_client.py", line 60, in post  | return super(SharesV2Client, self).post(url, body, headers=headers)  | File "/usr/local/lib/python2.7/dist-packages/tempest_lib/common/rest_client.py", line 259, in post  | return self.request('POST', url, extra_headers, headers, body)  | File "/usr/local/lib/python2.7/dist-packages/tempest_lib/common/rest_client.py", line 640, in request  | resp, resp_body)  | File "/usr/local/lib/python2.7/dist-packages/tempest_lib/common/rest_client.py", line 698, in _error_checker  | raise exceptions.BadRequest(resp_body, resp=resp)  | tempest_lib.exceptions.BadRequest: Bad request  | Details: {u'code': 400, u'message': u"Invalid input received: Invalid share protocol provided: GLUSTERFS. It is either disabled or unsupported. Available protocols: ['CEPHFS']."} This is because the CI hook script, post_test_hook, fails to disable the GLUSTERFS protocol in the above tempest test method. The protocol is enabled by default by a config option 'enable_cert_rules_for_protocols'.
2016-02-03 12:57:56 OpenStack Infra devstack-plugin-ceph: status New In Progress
2016-02-03 16:42:50 OpenStack Infra devstack-plugin-ceph: status In Progress Fix Released