creating a keystone_domain can make it the default even though is_default is false
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
puppet-keystone |
Triaged
|
Undecided
|
Unassigned |
Bug Description
We're trying to create a new domain, for Heat, for our OpenStack deployment. In this catalog we are not defining the default_domain variable in keystone's init.pp. That seems to be relevant but is perhaps not.
Here is our manifest:
...
$heat_
$heat_
$heat_domain_name = 'heat',
$heat_
$heat_
$heat_
...
ensure_
'ensure' => 'present',
'enabled' => true,
})
ensure_
'ensure' => 'present',
'enabled' => true,
'email' => $heat_domain_
'password' => $heat_domain_
})
ensure_
'roles' => ['admin'],
})
Here is the output, note the last line warning and note how what puppet thinks the default_domain_id is:
DEBUG[default_
DEBUG[default_
DEBUG[default_
Debug: Executing '/usr/bin/openstack project list --quiet --format csv --long'
Debug: Executing '/usr/bin/openstack domain list --quiet --format csv'
Debug: Prefetching openstack resources for keystone_role
Debug: Executing '/usr/bin/openstack role list --quiet --format csv'
Debug: Prefetching openstack resources for keystone_domain
Debug: Executing '/usr/bin/openstack domain list --quiet --format csv'
DEBUG[default_
DEBUG[default_
Debug: Executing '/usr/bin/openstack domain create --format shell heat --enable'
DEBUG[default_
DEBUG[default_
Notice: /Stage[
Debug: /Stage[
Debug: Prefetching openstack resources for keystone_user
DEBUG[default_
DEBUG[default_
DEBUG[.
DEBUG[default_
DEBUG[default_
Warning: Puppet:
description: | updated |
description: | updated |
description: | updated |
summary: |
- Need to create heat domain without changing the default_domain_id + creating a keystone_domain can make it the default even though + is_default is false |
It sounds like you don't but should use this class: /github. com/openstack/ puppet- heat/blob/ master/ manifests/ keystone/ domain. pp
https:/