Openstack config changing doesn't work with non-default deployment info
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Invalid
|
High
|
Bulat Gaifullin |
Bug Description
Steps to reproduce:
[root@nailgun ~]# fuel deployment --env 1 --default
[root@nailgun ~]# fuel deployment --env 1 -u
[root@nailgun ~]# fuel deployment --env 1 -d
[root@nailgun ~]# fuel deployment --env 1 -u
[root@nailgun ~]# cat test.yaml
configuration:
nova_config:
DEFAULT/debug:
value: True
keystone_config:
DEFAULT/
value: 6000
[root@nailgun ~]# fuel openstack-config --env 1 --upload --file test.yaml
[root@nailgun ~]# fuel deploy-changes --env 1
[root@nailgun ~]# fuel nodes
id | status | name | cluster | ip | mac | roles | pending_roles | online | group_id
---+---
3 | ready | slave-01_controller | 1 | 10.109.5.3 | 64:69:65:b5:b1:06 | controller | | 1 | 1
5 | ready | slave-05_ceph-osd | 1 | 10.109.5.7 | 64:8a:ac:b3:48:77 | ceph-osd | | 1 | 1
1 | ready | slave-04_ceph-osd | 1 | 10.109.5.6 | 64:26:c5:a2:ec:69 | ceph-osd | | 1 | 1
2 | ready | slave-03_ceph-osd | 1 | 10.109.5.5 | 64:07:d7:04:60:a7 | ceph-osd | | 1 | 1
4 | ready | slave-02_compute | 1 | 10.109.5.4 | 64:fd:85:a7:fb:45 | compute | | 1 | 1
Actual behaviour:
[root@nailgun ~]# ssh node-3 "grep -ri debug /etc/nova/nova.conf | grep -v ^#"
Warning: Permanently added 'node-3' (ECDSA) to the list of known hosts.
debug = False
[root@nailgun ~]# ssh node-3 "grep -r crypt_strength /etc/keystone/"
Warning: Permanently added 'node-3' (ECDSA) to the list of known hosts.
/etc/keystone/
Expected behaviour:
[root@nailgun ~]# ssh node-3 "grep -ri debug /etc/nova/nova.conf | grep -v ^#"
Warning: Permanently added 'node-3' (ECDSA) to the list of known hosts.
debug = True
[root@nailgun ~]# ssh node-3 "grep -r crypt_strength /etc/keystone/"
Warning: Permanently added 'node-3' (ECDSA) to the list of known hosts.
/etc/keystone/
Changed in fuel: | |
assignee: | nobody → Fuel Sustaining (fuel-sustaining-team) |
Changed in fuel: | |
status: | New → Confirmed |
Changed in fuel: | |
assignee: | Fuel Sustaining (fuel-sustaining-team) → Bulat Gaifullin (bgaifullin) |
it is expected behaviour, if deployment info was overridden, the custom deployment info will be used as is and openstack configs will not applied as well in this case.
there was bug in 8.0, which was fixed in 9.0