This commit will move all default policies to code for:
- zone
- zone_export
- zone_import
- zone_transfer_accept
- zone_transfer_request
Change-Id: I9945fe66d127696907695c73ecef77a6f07acd38
Co-authored-By: Nam Nguyen Hoai <namnh@vn.fujitsu.com>
Implements: blueprint policy-in-code
This commit will move all default policies to code for:
- blacklist
- context
- diagnostics
- pool
Change-Id: I0c94ecaadba21b69b1fe4c0cd924e2b9b12c4782
Co-authored-By: Nam Nguyen Hoai <namnh@vn.fujitsu.com>
Implements: blueprint policy-in-code
This commit will prepare for implementing policies in code.
- https://governance.openstack.org/tc/goals/queens/policy-in-code.html
Change-Id: Iea587cb6f4281b950eaca6bdaac3a8ea5de76c67
Co-authored-By: Nam Nguyen Hoai <namnh@vn.fujitsu.com>
Implements: blueprint policy-in-code
Screen support has been completely removed from devstack[1]
[1] I8c27182f60b0f5310b3a8bf5feb02beb7ffbb26a
and cdba1b371628aa0e8bc5b687351c5ee9b39e9bc6
Change-Id: I363e140ab6ea9b7ac8f422146e70e203d6265e5b
Remove code which allowed designate-manage to attempt to escalate
privileges so that configuration files can be read by users who
normally wouldn't have access, but do have sudo access.
Simpler version of [1].
[1] I03063d2af14015e6506f1b6e958f5ff219aa4a87
Closes-Bug: 1611171
Change-Id: I013754da27e9dd13493bee1abfada3fbc2a004c0
With the previous patch to change the from_dict override, it should
no longer be necessary to take this dummy parameter in the
constructor.
Change-Id: I2dd0dcfb9e74257c90cc9014b91eae36300cf91d
This changes the from_dict override to call the base class
implementation with the Designate-specific keys passed as kwargs.
It should prevent issues where a new key is added to the base to_dict
function that is not an accepted parameter on the constructor.
Change-Id: If75b26bf5a95ae1be679d43a939621037311d2dc
Closes-Bug: 1721432
python-subunit is not used directly anywhere
and it is dependency of both testrepository
and os-testr
(probably was used by some tox wrapper script before)
Change-Id: I7c373f9b7441c80a9fe008b66a2817659d66d8d7
A few minor issues I noticed as I was going through the development
environment setup. Fixes a typo and replaces deprecated config opt
references with the new ones.
Change-Id: Ib094595153e9b74706304f8328de74d07649b817
The current method of specifying each rootwrap filter
in the file list is prone to errors when adding or
removing filters. Instead of relying on a manually
maintained list this patch just includes all the files
of the correct naming convention from the applicable
folder. This is simpler and easier to maintain.
Change-Id: I116efd3ff1799965bb46da785b2ad96c7f5b97c5
Closes-Bug: #1718356
When being run within __init__() the rpc.init() call sees an empty
config, leading to errors when doing RPC call later. So we move it to a
later stage where we have read the config and can setup RPC properly.
Change-Id: I195b57bf9c001883764dc160ced40272c5eb4fd3
Closes-Bug: 1651576
The newest olso.messaging release introduces a type test that fails when
the parameter is mocked. [1]
Skip the failing test in order to unblock the gate until there is a
proper fix.
[1] I0bbf9fca0ecbe71efa87c9613ffd32eb718f2c0e
Partial-Bug: 1716119
Change-Id: I414badd42f02fd6fc99957e0c72b42c26b354517