[Plugins] Wrong tasks priority in case of deploy additional nodes

Bug #1644871 reported by Vladimir Sharshov
26
This bug affects 3 people
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-lma-collector when try to add new node in already
  installed plugin

  Core reason: Nailgun process tasks with wrong priority. Task lma-base
  should run before lma-main-controller https://github.com/openstack/fuel-plugin-lma-collector/blob/0.10.1/deployment_tasks.yaml#L32-L66

  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/modules:/etc/puppet/modules
  puppet_manifest: puppet/manifests/base.pp
  timeout: 600
  cwd: /etc/fuel/plugins/lma_collector-0.10/
priority: 1600
fail_on_error: true
type: puppet
id: lma-base

parameters:
  puppet_modules: puppet/modules:/etc/puppet/modules
  puppet_manifest: puppet/manifests/controller.pp
  timeout: 600
  cwd: /etc/fuel/plugins/lma_collector-0.10/
priority: 1100
fail_on_error: true
type: puppet
id: lma-main-controller

description: updated
description: updated
tags: added: customer-found
description: updated
Revision history for this message
Fabrizio Soppelsa (fsoppelsa) wrote :
Changed in fuel:
assignee: Vladimir Sharshov (vsharshov) → Alexander Kislitsky (akislitsky)
Revision history for this message
Alexander Kislitsky (akislitsky) wrote :

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

Changed in fuel:
status: Confirmed → Incomplete
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (stable/8.0)

Fix proposed to branch: stable/8.0
Review: https://review.openstack.org/408535

Changed in fuel:
status: Incomplete → In Progress
Revision history for this message
Alexander Kislitsky (akislitsky) wrote :

Fix was provided. Waiting for merge from the Maintenance team.

Changed in fuel:
assignee: Alexander Kislitsky (akislitsky) → MOS Maintenance (mos-maintenance)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-web (stable/8.0)

Change abandoned by Andreas Jaeger (<email address hidden>) on branch: stable/8.0
Review: https://review.opendev.org/408535
Reason: This repo is retired now, no further work will get merged.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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