Comment 2 for bug 1438649

Revision history for this message
Patrick Petit (patrick-michel-petit) wrote : Re: [Bug 1438649] Re: MOS deployment fails because astute mixes up hooks and tasks from different plugins

Vladimir,

The bug as astute log snippet. Sorry I don't have more logs anymore because
I crashed my environment. I have a demo to prepare and had to move on with
an older ISO version which doesn't have this problem.

Patrick

On Wed, Apr 1, 2015 at 12:19 PM, Vladimir Sharshov <email address hidden>
wrote:

> Hi. Please attach logs to bug. It will be very helpful.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1438649
>
> Title:
> MOS deployment fails because astute mixes up hooks and tasks from
> different plugins
>
> Status in Fuel: OpenStack installer that works:
> In Progress
>
> Bug description:
> When trying to deploy more than one base-os role plugins on an node I
> get the following error:
>
> [555] Error running RPC method granular_deploy: Failed to execute hook
> lma_collector-6.1.0.
> ---
> uids:
> - '18'
> parameters:
> puppet_modules: "puppet/modules"
> puppet_manifest: "puppet/manifests/setup_disks.pp"
> timeout: 600
> cwd: "/etc/fuel/plugins/lma_collector-6.1/"
> priority: 700
> fail_on_error: true
> type: puppet
> diagnostic_name: lma_collector-6.1.0
> , trace:
>
> Only the problem is that setup_disks.pp is not a task defined in
> lma_collector-6.1.0 hook as shown below but a task of
> elasticsearch_kibana-6.1 hook!
>
> Astute mixes up hooks and tasks from two different plugins.
>
> [root@fuel lma_collector-6.1]# cat tasks.yaml
> - role: '*'
> stage: post_deployment
> type: puppet
> parameters:
> puppet_manifest: puppet/manifests/base.pp
> puppet_modules: puppet/modules
> timeout: 600
>
> - role: ['controller', 'primary-controller']
> stage: post_deployment
> type: puppet
> parameters:
> puppet_manifest: puppet/manifests/controller.pp
> puppet_modules: puppet/modules
> timeout: 600
>
> - role: [ 'compute' ]
> stage: post_deployment
> type: puppet
> parameters:
> puppet_manifest: puppet/manifests/compute.pp
> puppet_modules: puppet/modules
> timeout: 600
>
> - role: ['cinder']
> stage: post_deployment
> type: puppet
> parameters:
> puppet_manifest: puppet/manifests/cinder.pp
> puppet_modules: puppet/modules
> timeout: 600
>
>
> [root@fuel elasticsearch_kibana-6.1]# cat tasks.yaml
>
> - role: ['base-os']
> stage: post_deployment
> type: puppet
> parameters:
> puppet_manifest: puppet/manifests/setup_disks.pp
> puppet_modules: puppet/modules
> timeout: 600
>
> [....]
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/fuel/+bug/1438649/+subscriptions
>