Can't deny ipv6 access rule
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
Critical
|
Ben Swartzlander | ||
python-manilaclient |
Fix Released
|
High
|
Goutham Pacha Ravi |
Bug Description
Steps to reproduce:
* Create a manila share with any driver that doesn't support ipv6 access rules (ex: Dummy)
* Allow access with an ipv6 access rule
* Wait for rule to become active (Will become active almost immediately, we ignore ipv6 rules by design on backends that don't support ipv6)
* Deny the rule
Expected Outcome:
* Rule is deleted, share's access_rules_status is back to "active"
Actual Outcome:
* Rule is stuck "denying", share's access_rules_status is stuck in "syncing"
Sample test that does this in python-manilaclient fails with this error:
2017-07-27 19:36:02.029458 | 2017-07-27 19:36:02.029 | =======
2017-07-27 19:36:02.030833 | 2017-07-27 19:36:02.030 | FAIL: manilaclient.
2017-07-27 19:36:02.032168 | 2017-07-27 19:36:02.031 | tags: worker-2
2017-07-27 19:36:02.034695 | 2017-07-27 19:36:02.033 | -------
2017-07-27 19:36:02.035418 | 2017-07-27 19:36:02.035 | Traceback (most recent call last):
2017-07-27 19:36:02.036912 | 2017-07-27 19:36:02.036 | File "/opt/stack/
2017-07-27 19:36:02.038414 | 2017-07-27 19:36:02.038 | return func(self, *args, **kwargs)
2017-07-27 19:36:02.058815 | 2017-07-27 19:36:02.054 | File "manilaclient/
2017-07-27 19:36:02.060852 | 2017-07-27 19:36:02.060 | self.share_id, 'ip', self.access_
2017-07-27 19:36:02.062717 | 2017-07-27 19:36:02.062 | File "manilaclient/
2017-07-27 19:36:02.064544 | 2017-07-27 19:36:02.064 | self.user_
2017-07-27 19:36:02.066402 | 2017-07-27 19:36:02.065 | File "manilaclient/
2017-07-27 19:36:02.068541 | 2017-07-27 19:36:02.067 | time.sleep(
2017-07-27 19:36:02.070476 | 2017-07-27 19:36:02.069 | File "/opt/stack/
2017-07-27 19:36:02.072534 | 2017-07-27 19:36:02.072 | raise TimeoutException()
2017-07-27 19:36:02.074268 | 2017-07-27 19:36:02.073 | fixtures.
2017-07-27 19:36:02.075814 | 2017-07-27 19:36:02.075 | =======
2017-07-27 19:36:02.077679 | 2017-07-27 19:36:02.077 | FAIL: manilaclient.
2017-07-27 19:36:02.079181 | 2017-07-27 19:36:02.078 | tags: worker-5
2017-07-27 19:36:02.080662 | 2017-07-27 19:36:02.080 | -------
2017-07-27 19:36:02.081892 | 2017-07-27 19:36:02.081 | Traceback (most recent call last):
2017-07-27 19:36:02.083221 | 2017-07-27 19:36:02.082 | File "/opt/stack/
2017-07-27 19:36:02.085506 | 2017-07-27 19:36:02.085 | return func(self, *args, **kwargs)
2017-07-27 19:36:02.089005 | 2017-07-27 19:36:02.086 | File "manilaclient/
2017-07-27 19:41:44.825184 | 2017-07-27 19:41:44.824 | self.share_id, 'ip', self.access_
2017-07-27 19:41:44.828353 | 2017-07-27 19:41:44.828 | File "manilaclient/
2017-07-27 19:41:44.831001 | 2017-07-27 19:41:44.829 | self.user_
2017-07-27 19:41:44.835559 | 2017-07-27 19:41:44.835 | File "manilaclient/
2017-07-27 19:41:44.837070 | 2017-07-27 19:41:44.836 | is_snapshot=
2017-07-27 19:41:44.838875 | 2017-07-27 19:41:44.838 | File "manilaclient/
2017-07-27 19:41:44.840729 | 2017-07-27 19:41:44.840 | return f(self, *args, **kwargs)
2017-07-27 19:41:44.842302 | 2017-07-27 19:41:44.841 | File "manilaclient/
2017-07-27 19:41:44.843840 | 2017-07-27 19:41:44.843 | is_snapshot=
2017-07-27 19:41:44.845459 | 2017-07-27 19:41:44.844 | File "manilaclient/
2017-07-27 19:41:44.851656 | 2017-07-27 19:41:44.847 | return f(self, *args, **kwargs)
2017-07-27 19:41:44.853220 | 2017-07-27 19:41:44.852 | File "manilaclient/
2017-07-27 19:41:44.854631 | 2017-07-27 19:41:44.854 | access_list_raw = self.manila(cmd, microversion=
2017-07-27 19:41:44.856220 | 2017-07-27 19:41:44.855 | File "manilaclient/
2017-07-27 19:41:44.857631 | 2017-07-27 19:41:44.857 | 'manila', action, flags, params, fail_ok, merge_stderr)
2017-07-27 19:41:44.859272 | 2017-07-27 19:41:44.858 | File "/opt/stack/
2017-07-27 19:41:44.860627 | 2017-07-27 19:41:44.860 | self.cli_dir, prefix=self.prefix)
2017-07-27 19:41:44.862067 | 2017-07-27 19:41:44.861 | File "/opt/stack/
2017-07-27 19:41:44.863410 | 2017-07-27 19:41:44.863 | result, result_err = proc.communicate()
2017-07-27 19:41:44.864800 | 2017-07-27 19:41:44.864 | File "/usr/lib/
2017-07-27 19:41:44.866310 | 2017-07-27 19:41:44.865 | return self._communica
2017-07-27 19:41:44.867702 | 2017-07-27 19:41:44.867 | File "/usr/lib/
2017-07-27 19:41:44.869265 | 2017-07-27 19:41:44.868 | stdout, stderr = self._communica
2017-07-27 19:41:44.871012 | 2017-07-27 19:41:44.870 | File "/usr/lib/
2017-07-27 19:41:44.872501 | 2017-07-27 19:41:44.872 | ready = poller.poll()
2017-07-27 19:41:44.874045 | 2017-07-27 19:41:44.873 | File "/opt/stack/
2017-07-27 19:41:44.879486 | 2017-07-27 19:41:44.878 | raise TimeoutException()
2017-07-27 19:41:44.881953 | 2017-07-27 19:41:44.881 | fixtures.
2017-07-27 19:41:44.883947 | 2017-07-27 19:41:44.883 | =======
2017-07-27 19:41:44.885540 | 2017-07-27 19:41:44.885 | FAIL: manilaclient.
2017-07-27 19:41:44.887031 | 2017-07-27 19:41:44.886 | tags: worker-2
2017-07-27 19:41:44.888511 | 2017-07-27 19:41:44.888 | -------
2017-07-27 19:41:44.890121 | 2017-07-27 19:41:44.889 | Traceback (most recent call last):
2017-07-27 19:41:44.891637 | 2017-07-27 19:41:44.891 | File "/opt/stack/
2017-07-27 19:41:44.895454 | 2017-07-27 19:41:44.894 | return func(self, *args, **kwargs)
2017-07-27 19:41:44.898565 | 2017-07-27 19:41:44.897 | File "manilaclient/
2017-07-27 19:41:44.900347 | 2017-07-27 19:41:44.899 | self.share_id, 'ip', self.access_
2017-07-27 19:41:44.901902 | 2017-07-27 19:41:44.901 | File "manilaclient/
2017-07-27 19:41:44.903367 | 2017-07-27 19:41:44.902 | self.user_
2017-07-27 19:41:44.905028 | 2017-07-27 19:41:44.904 | File "manilaclient/
2017-07-27 19:41:44.906792 | 2017-07-27 19:41:44.906 | is_snapshot=
2017-07-27 19:41:44.908465 | 2017-07-27 19:41:44.907 | File "manilaclient/
2017-07-27 19:41:44.909808 | 2017-07-27 19:41:44.909 | return f(self, *args, **kwargs)
2017-07-27 19:41:44.911306 | 2017-07-27 19:41:44.910 | File "manilaclient/
2017-07-27 19:41:44.913003 | 2017-07-27 19:41:44.912 | is_snapshot=
2017-07-27 19:41:44.914470 | 2017-07-27 19:41:44.914 | File "manilaclient/
2017-07-27 19:41:44.915867 | 2017-07-27 19:41:44.915 | return f(self, *args, **kwargs)
2017-07-27 19:41:44.917341 | 2017-07-27 19:41:44.916 | File "manilaclient/
2017-07-27 19:41:44.918714 | 2017-07-27 19:41:44.918 | access_list_raw = self.manila(cmd, microversion=
2017-07-27 19:41:44.920180 | 2017-07-27 19:41:44.919 | File "manilaclient/
2017-07-27 19:41:44.921460 | 2017-07-27 19:41:44.921 | 'manila', action, flags, params, fail_ok, merge_stderr)
2017-07-27 19:41:44.922827 | 2017-07-27 19:41:44.922 | File "/opt/stack/
2017-07-27 19:41:44.924117 | 2017-07-27 19:41:44.923 | self.cli_dir, prefix=self.prefix)
2017-07-27 19:41:44.925524 | 2017-07-27 19:41:44.925 | File "/opt/stack/
2017-07-27 19:41:44.926924 | 2017-07-27 19:41:44.926 | result, result_err = proc.communicate()
2017-07-27 19:41:44.928359 | 2017-07-27 19:41:44.928 | File "/usr/lib/
2017-07-27 19:41:44.929654 | 2017-07-27 19:41:44.929 | return self._communica
2017-07-27 19:41:44.931601 | 2017-07-27 19:41:44.931 | File "/usr/lib/
2017-07-27 19:41:44.932930 | 2017-07-27 19:41:44.932 | stdout, stderr = self._communica
2017-07-27 19:41:44.935176 | 2017-07-27 19:41:44.934 | File "/usr/lib/
2017-07-27 19:48:12.197642 | 2017-07-27 19:48:12.197 | No handlers could be found for logger "manilaclient.
2017-07-27 19:59:43.389075 | /home/jenkins/
2017-07-27 19:59:43.389166 | Cleaning up host
Changed in manila: | |
importance: | Undecided → Critical |
Changed in python-manilaclient: | |
importance: | Undecided → High |
Changed in manila: | |
milestone: | none → pike-rc1 |
Changed in manila: | |
assignee: | zhongjun (jun-zhongjun) → Ben Swartzlander (bswartz) |
Changed in python-manilaclient: | |
assignee: | Tom Barron (tpb) → Goutham Pacha Ravi (gouthamr) |
Fix proposed to branch: master /review. openstack. org/488938
Review: https:/