Primary-mongo role changes to mongo after upload_nodes_info task
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
High
|
Sebastian Kalinowski | ||
6.1.x |
Fix Committed
|
High
|
Sebastian Kalinowski |
Bug Description
Roles from astute.yaml:
root@node-5:~# grep ' role:' /etc/hiera/
role: controller
role: controller
role: controller
role: compute
role: primary-mongo
Roles from nodes.yaml
root@node-5:~# grep role: /etc/hiera/
name: node-1, public_address: 10.109.1.4, public_netmask: 255.255.255.0, role: controller,
name: node-2, public_address: 10.109.1.5, public_netmask: 255.255.255.0, role: controller,
name: node-3, public_address: 10.109.1.6, public_netmask: 255.255.255.0, role: controller,
name: node-4, public_address: 10.109.1.7, public_netmask: 255.255.255.0, role: compute,
name: node-5, public_address: 10.109.1.8, public_netmask: 255.255.255.0, role: mongo,
As you can see 'primary-mongo' became 'mongo'.
We need to assign primary-mongo same way it is done for controller