diff options
author | Zuul <zuul@review.opendev.org> | 2021-01-21 13:29:53 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2021-01-21 13:29:53 +0000 |
commit | 777e56d2e1b2c7edcabf80b0a316d91a9f3192e7 (patch) | |
tree | e993cd147aadcb753497e7eba06c2c945cd5d3c5 | |
parent | 47bf7afe82d41e143cdd140b702e9d86e500491b (diff) | |
parent | 996884da68469e91f9e13539f53c50fe10320dc2 (diff) | |
download | heat-777e56d2e1b2c7edcabf80b0a316d91a9f3192e7.tar.gz |
Merge "Delete the default value of domain in role creation" into stable/victoria
-rw-r--r-- | heat/engine/resources/openstack/keystone/role.py | 3 | ||||
-rw-r--r-- | releasenotes/notes/remove-default-domain-from-templates-b5965242bfb78145.yaml | 13 |
2 files changed, 14 insertions, 2 deletions
diff --git a/heat/engine/resources/openstack/keystone/role.py b/heat/engine/resources/openstack/keystone/role.py index 51d1416c7..620427d32 100644 --- a/heat/engine/resources/openstack/keystone/role.py +++ b/heat/engine/resources/openstack/keystone/role.py @@ -51,9 +51,8 @@ class KeystoneRole(resource.Resource): DOMAIN: properties.Schema( properties.Schema.STRING, _('Name or id of keystone domain.'), - default='default', constraints=[constraints.CustomConstraint('keystone.domain')], - support_status=support.SupportStatus(version='10.0.0') + support_status=support.SupportStatus(version='16.0.0') ) } diff --git a/releasenotes/notes/remove-default-domain-from-templates-b5965242bfb78145.yaml b/releasenotes/notes/remove-default-domain-from-templates-b5965242bfb78145.yaml new file mode 100644 index 000000000..ca46f199f --- /dev/null +++ b/releasenotes/notes/remove-default-domain-from-templates-b5965242bfb78145.yaml @@ -0,0 +1,13 @@ +--- +prelude: > + There was a mismatch between the way heat create role behaved with the + templates or with the openstack CLI on what relates to the default domain + if the domain is not specified on both cases the CLI will not assign on + to the created new role but the heat templates will assign the "default" + domain +critical: + - | + Templates that creates roles but does not specify the domain will not get + a "default" domain from now on. To have a domain added to your new role + it needs to be assigned in the template. + |