Change checkers of config's applying order
Now for a node with multi-roles configs fot the same section are merging by ID-priority. Thus last config for cinder will be have higher priority and will rewrite compute config Change-Id: Ic35a6c5efb05974dc7ab7ae36cc175a91471c778 Closes-Bug: #1587023
This commit is contained in:
parent
628136142e
commit
44555374e7
|
@ -1268,9 +1268,10 @@ class ServicesReconfiguration(TestBasic):
|
|||
cluster_id,
|
||||
role='cinder')
|
||||
|
||||
# Configs are merging with ID-priority
|
||||
general_config = {}
|
||||
general_config.update(config_for_cinder_role)
|
||||
general_config.update(config_for_compute_role)
|
||||
general_config.update(config_for_cinder_role)
|
||||
structured_config = get_structured_config_dict(general_config)
|
||||
service_name = 'nova-compute'
|
||||
uptime = self.get_service_uptime(target_node, service_name)
|
||||
|
|
Loading…
Reference in New Issue