[detach-database] and [detach-keystone] fail to deploy when primary controller node has more than one role
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel Plugins |
New
|
Undecided
|
Unassigned |
Bug Description
Basically due to hiera-override.pp in both [detached keystone] and [detached database] primary controller becomes not-primary in case it has some other roles which leads to fails in l3/dhcp agent pacemaker manifests.
This is where the magic happens:
$roles = join(hiera(
case $roles {
/primary-
$
$
}
/^primary/: {
$
$
}
default: {
$
$
}
}
In my case:
hiera roles
["ceph-osd", "primary-
so after override is done:
hiera primary_controller
false
Description of the environment:
{"release": "9.0", "auth_required": true, "api": "1", "openstack_
detach-database 1.1.0 3.0.0 ubuntu (mitaka-9.0)
detach-keystone 1.0.2 3.0.0 ubuntu (mitaka-9.0)
nodes:
3 keystone + database
1 controller + ceph-osd
1 compute
Impact:
Deployment cannot be completed though it's easy work it around
Workaround:
Fix hiera-override.pp case model
description: | updated |