[10.0] fuel2 graph execute -t update_plugin is finished but nodes aren't updated
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Invalid
|
High
|
Georgy Kibardin |
Bug Description
newton-10.0 #1451
I've got an example_plugin_v4 from fuel-plugins and created a simple task named update_stub to check possibility of update by graph related to the feature https:/
so, I've 2 versions of example plugin
[root@nailgun deployment_
id | name | version | package_version | releases
---+---
1 | fuel_plugin_stub | 0.1 | 4.0.0 | ubuntu (newton-10.0)
2 | fuel_plugin_stub | 0.2 | 5.0.0 | ubuntu (newton-10.0)
the first version has been successfully deployed and then I've just
added the task
- id: update_stub
type: group
role: [update_stub]
tasks: [hiera, globals, setup_repositories, tools, logging, netconfig, hosts, deploy_start]
parameters:
strategy:
type: one_by_one
and executed the task by the command (with fuel plugin --sync)
fuel2 graph execute --env 1 --trace -t update_stub
the task has been finished successfully, but in the history was empty and nodes have been freezed at the deploying state
[root@nailgun fuel_plugin_
id | status | name | cluster | ip | mac | roles | pending_roles | online | group_id
---+---
4 | deploying | slave-01_controller | 1 | 10.109.13.4 | 64:81:55:70:43:39 | controller | | 1 | 1
6 | deploying | slave-02_controller | 1 | 10.109.13.5 | 64:a2:ca:62:ab:ea | controller | | 1 | 1
1 | deploying | slave-04_
5 | deploying | slave-06_
2 | deploying | slave-03_controller | 1 | 10.109.13.6 | 64:94:bd:70:99:69 | controller | | 1 | 1
3 | deploying | slave-05_
=======
steps to reproduce:
1. deploy fuel env from fuel-10 iso
2. install v0.1 of the plugin (plugin SHOULD NOT contain a special update_plugin_task) http://
3. deploy changes
4. install v0.2 of the plugin (that version SHOULD contain a special update_plugin_task) http://
Note: in our case plugin versions differ only in a special update task
5. fuel2 graph execute --env 1 --trace -t default -T <update_
Changed in fuel: | |
importance: | Undecided → High |
Changed in fuel: | |
assignee: | Fuel Sustaining (fuel-sustaining-team) → Ruslan Khozinov (rkhozinov) |
tags: | added: blocker-for-qa |
Changed in fuel: | |
assignee: | nobody → Fuel Sustaining (fuel-sustaining-team) |
Changed in fuel: | |
status: | Invalid → Incomplete |
status: | Incomplete → New |
description: | updated |
description: | updated |
Changed in fuel: | |
assignee: | Fuel Sustaining (fuel-sustaining-team) → Georgy Kibardin (gkibardin) |
[root@nailgun fuel_plugin_ stub-0. 2]# cat deployment_ tasks.yaml
- id: fuel_plugin_stub
type: group
role: [fuel_plugin_stub]
tasks:
- hiera
- globals
required_for: [deploy_end]
requires: [deploy_start]
parameters:
strategy:
type: parallel
- id: fuel_plugin_ stub-controller -deployment controller, controller] tests, deploy_end] manifest: "deploy.pp"
type: puppet
version: 2.0.0
groups: [primary-
required_for: [connectivity_
requires: [netconfig, deploy_start]
parameters:
puppet_
puppet_modules: "."
timeout: 3600
- id: fuel_plugin_ stub-deployment manifest: "deploy.pp"
type: puppet
version: 2.0.0
groups: [fuel_plugin_stub, update_stub]
required_for: [deploy_end]
requires: [deploy_start]
parameters:
puppet_
puppet_modules: "."
timeout: 3600
retries: 10
- id: fuel_plugin_ stub-post- deployment- sh t_end] t_start]
type: shell
version: 2.0.0
role: [fuel_plugin_stub]
groups: [fuel_plugin_stub, update_stub]
required_for: [post_deploymen
requires: [post_deploymen
parameters:
cmd: bash deploy.sh
retries: 3
interval: 20
timeout: 180
- id: update_stub
type: group
role: [update_stub]
tasks: [hiera, globals, setup_repositories, tools, logging, netconfig, hosts, deploy_start]
parameters:
strategy:
type: one_by_one