Task passed as argument of --tasks is not executed if --start post_deployment_start is used

Bug #1612773 reported by guillaume thouvenin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
High
Fuel Sustaining
8.0.x
Confirmed
High
guillaume thouvenin
Mitaka
Invalid
High
Fuel Sustaining

Bug Description

I tried to deploy the StackLight plugins on an MOS 8 environment that is already deploy using the Fuel CLI command. So I run the command:

# fuel nodes --env 10 --node 29,31 --tasks hiera --start post_deployment_start

but the task "hiera" is not in the list of the tasks that will be executed. Here is what is returned by the function:

Started tasks [u'openstack-network-routers-ha', u'ntp-client', u'ntp-server', u'ntp-check', u'dns-client', u'disable_keystone_service_token', u'upload_cirros', u'ironic_post_swift_key', u'ironic_upload_images', u'enable_quorum', u'lma-alerting-nagios-dashboard-url', u'lma-alerting-nagios', u'update_hosts', u'lma-cleanup-apt-config', u'lma-configure-afd-filters', u'lma-aggregator', u'lma-main-controller', u'lma-main-compute', u'lma-main-cinder', u'lma-main-ceph-osd', u'lma-backends', u'lma-base', u'lma-configure-apt', u'upload_nodes_info', u'vcenter_compute_zones_create', u'enable_nova_compute_service', u'enable_cinder_volume_service', u'public_vip_ping', u'configure_default_route', u'dump_rabbitmq_definitions', u'ceilometer-radosgw-user', u'ceph-compute', u'enable_rados', u'ceph_ready_check', u'ceph_create_pools', u'updatedb', u'elasticsearch-enable-quorum', u'elasticsearch-kibana-configuration', u'kibana-installation', u'provision-kibana-index', u'influxdb-enable-quorum', u'influxdb-configuration', u'grafana-installation', u'grafana-configuration', u'primary-grafana-installation', u'grafana-mysql-provisioning', u'lma-alerting-enable-quorum', u'lma-hiera-override'] for nodes nodes [29, 31].

To reproduce:

I'm using MOS 8,

1) install a controller and a compute
2) after the deployment add the Elasticsearch-Kibana plugin (but any hot pluggable plugin should do the same)
3) add a node with the role "elasticsearch-kibana" and deploy the changement
4) connect to the Fuel CLI and run the post deployment command on controller and compute nodes:
# fuel nodes --env 10 --node 29,31 --tasks hiera --start post_deployment_start

The expected result is that the task hiera is executed but in reality it is not.

NOTE: To achieve what I expected I did:

1) fuel nodes --env 10 --node 29,31 --tasks hiera
and once executed
2) fuel nodes --env 10 --node 29,31 --start post_deployment_start

This is working.

Tags: area-python
summary: - Task passed as argument for --tasks is not executed if --start
+ Task passed as argument of --tasks is not executed if --start
post_deployment_start is used
tags: added: area-python
Revision history for this message
Dmitry Pyzhov (dpyzhov) wrote :

Could you please check if fuel2 client works fine for you?

no longer affects: fuel/newton
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
status: Confirmed → Incomplete
Revision history for this message
guillaume thouvenin (guillaume-thouvenin) wrote :

Unfortunately I'm working with MOS 9 now and I don't have MOS 8 available for testing it. But if I have the opportunity I will.

Revision history for this message
Alexey Stupnikov (astupnikov) wrote :

@guillaume-thouvenin, please ask me to provide MOS 8.0 environment when you will have time.

Revision history for this message
Stanislaw Bogatkin (sbogatkin) wrote :

Hey, Guillaume. Would you check this bug for releases newer than a 8?

Revision history for this message
Oleksiy Molchanov (omolchanov) wrote :

Marking as Invalid for 9+ versions, seems that they are not affected.

Changed in fuel:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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