[Plugins] Wrong tasks priority in case of deploy additional nodes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
In Progress
|
Critical
|
MOS Maintenance |
Bug Description
Detailed bug description:
Fuel failed with wrong tasks order in fuel 8.0 with installed
plugin fuel-plugin-
installed plugin
Core reason: Nailgun process tasks with wrong priority. Task lma-base
should run before lma-main-controller https:/
It works in case of main deploy, but failed second time.
Steps to reproduce:
1. Create new cluster with activated LMA plugin
2. Deploy cluster with controllers and computes
3. Add new compute and run deploy
Expected results:
Deploy succeed. LMA works
Actual result:
Deploy succeed. LMA was not worked on new compute nodes
Reproducibility:
Always
Workaround:
No
Impact:
Such error is a sign of problem with tasks manager in 8.0. In 9.0 or higher we use new task deployment action which is why this bug assigned only for 8.0.
Description of the environment:
Versions of components: Fuel 8.0
Related projects installed: LMA plugin
Additional information:
Example of wrong priority. Task with less priority field run early.
parameters:
puppet_modules: puppet/
puppet_manifest: puppet/
timeout: 600
cwd: /etc/fuel/
priority: 1600
fail_on_error: true
type: puppet
id: lma-base
parameters:
puppet_modules: puppet/
puppet_manifest: puppet/
timeout: 600
cwd: /etc/fuel/
priority: 1100
fail_on_error: true
type: puppet
id: lma-main-controller
description: | updated |
description: | updated |
tags: | added: customer-found |
description: | updated |
Changed in fuel: | |
assignee: | Vladimir Sharshov (vsharshov) → Alexander Kislitsky (akislitsky) |
Changed in fuel: | |
status: | Incomplete → In Progress |
Changed in fuel: | |
assignee: | Alexander Kislitsky (akislitsky) → MOS Maintenance (mos-maintenance) |
I had tried to reproduce this bug with nailgun integration tests and on the test env. Bug wasn't reproduced. I can't find the root cause without access to the env with reproduced bug.
May be there are some customisations in the deployment tasks files on the problem env.
Could you please provide all *tasks.yaml from all installed plugins.
Run on master-node the following:
cd /var/www/plugins
find . -name '*tasks.yaml' | xargs tar -czvf tasks_files.tar.gz