[regression] Deployment enviroment was failed after update fuel deployment yaml files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
Critical
|
Arthur Svechnikov | ||
Mitaka |
Fix Released
|
Critical
|
Arthur Svechnikov |
Bug Description
Detailed bug description:
Fuel can't deploy enviroment after update deployment facts via CLI.
Steps to reproduce:
1. Create new enviroment with config:
[cluster]
env_name=
deploy_timeout=7200
virt_type=kvm
config_
release_name=ubuntu
net_provider=
net_segment_
debug=true
nova_quota=true
settings:
"objects_ceph": false, "osd_pool_size": "2", "sahara": false, "murano": false, "ceilometer": false}
node_roles={
"node_
"node_
"node_
"node_
# Neutron network settings
interfaces=
networks:
"cidr": "172.18.163.64/27", "gateway"
"management"
"storage"
"networking_
2. Get fuel nodes list:
[root@fuel ~]# fuel nodes
id | status | name | cluster | ip | mac | roles | pending_roles | online | group_id
---|---
6 | discover | node_1_controller | 3 | 10.20.0.6 | 52:54:00:ed:b0:af | | controller | True | 3
7 | discover | node_4_compute | 3 | 10.20.0.4 | 52:54:00:c1:21:3c | | compute | True | 3
8 | discover | node_2_controller | 3 | 10.20.0.5 | 52:54:00:76:3b:7b | | controller | True | 3
5 | discover | node_3_compute | 3 | 10.20.0.3 | 52:54:00:15:e7:88 | | compute | True | 3
3. Get default deployment info:
[root@fuel ~]# fuel deployment --env 3 --default
Default deployment info was downloaded to /root/deployment_3
4. Update deployment info:
[root@fuel ~]# for i in {5..8}; do echo "kombu_compression: gzip" >> deployment_
5. Upload changed info:
[root@fuel ~]# fuel deployment --env 3 --upload
deployment facts were uploaded.
6. Verify that the changes are applied:
[root@fuel ~]# rm -rf /root/deployment_3
[root@fuel ~]# fuel deployment --env 3 --download
Current deployment info was downloaded to /root/deployment_3
[root@fuel ~]# for i in {5..8}; do cat /root/deploymen
kombu_compression: gzip
kombu_compression: gzip
kombu_compression: gzip
kombu_compression: gzip
7. Make deploy changes:
[root@fuel ~]# fuel --debug deploy-changes --env 3
PUT http://
GET http://
GET http://
GET http://
GET http://
'role'
Expected result:
Successful environment deployment
Actual result:
Error 'role' with staring deploy (but provisioning was successful).
WebUI Screenshot with error: http://
Reproducibility:
Always
Workaround:
-
Impact:
It's a very important feature and was often used
Description of the environment:
Operation system: Linux fuel.domain.tld 3.10.0-
Version of components(Shotgun2 report): http://
Fuel: 9.0-220
Additional information:
Here is what I've found in the "/var/log/
2016-04-21 10:08:42.252 ERROR [7fbec8582880] (manager) Traceback (most recent call last):
File "/usr/lib/
to_return = method(task, *args, **kwargs)
File "/usr/lib/
events=
File "/usr/lib/
args = getattr(cls, method)
File "/usr/lib/
transaction
File "/usr/lib/
DeploymentL
File "/usr/lib/
cluster, nodes, ignore_
File "/usr/lib/
self.
File "/usr/lib/
roles.
KeyError: 'role'
tags: |
added: area-python removed: area-library |
no longer affects: | fuel/newton |
summary: |
- Deployment enviroment was failed after update fuel deployment yaml files + [regression] Deployment enviroment was failed after update fuel + deployment yaml files |
tags: | added: on-verification |
Set tag "blocker-for-qa" because this bug prevents 'Oslo.messaging message payload compression' feature verification.