Openstack config changing doesn't work with non-default deployment info

Bug #1628436 reported by Dmitry Kalashnik
6
This bug affects 1 person
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/crypt_strength:
      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/keystone.conf:#crypt_strength = 10000

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/keystone.conf:crypt_strength = 6000

Tags: area-python
Changed in fuel:
assignee: nobody → Fuel Sustaining (fuel-sustaining-team)
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
status: New → Confirmed
Changed in fuel:
assignee: Fuel Sustaining (fuel-sustaining-team) → Bulat Gaifullin (bgaifullin)
Revision history for this message
Bulat Gaifullin (bulat.gaifullin) wrote :

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

Revision history for this message
Bulat Gaifullin (bulat.gaifullin) wrote :

Please file new bug for fuelclient, that it should warn about changes will not be applied since custom deployment info is used.

Changed in fuel:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.