kolla-ansible start at a particular task

Bug #1862649 reported by admin0
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Won't Fix
Undecided
Unassigned

Bug Description

Hi,

ansible ha this feature:

ansible-playbook playbook.yml --start-at-task="task A"

Checking if similar feature can be implemented to kolla-ansible.

This is during the deploy phase when things go wrong, and you have to fix (something in the global or in the environment) and start again. This will help save time so that all roles/systems that have been deployed does not need to be re-run. and it can start from the role it failed.

For example, if cinder failed, no need to wait for it to redo database, rabbit, keystone, nova, neutron, glance etc before reaching cinder.

If a similar feature or step exists to do the same, please let us know how to achieve it.

Revision history for this message
Mark Goddard (mgoddard) wrote :

Hi. You can specify additional options for ansible-playbook via the EXTRA_OPTS environment variable. We should document this.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to kolla-ansible (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/707358

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to kolla-ansible (master)

Reviewed: https://review.opendev.org/707358
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=9b484c25e41697985ae687db2d34c2bb2b113c47
Submitter: Zuul
Branch: master

commit 9b484c25e41697985ae687db2d34c2bb2b113c47
Author: Mark Goddard <email address hidden>
Date: Wed Feb 12 10:42:42 2020 +0000

    Docs: Document EXTRA_OPTS

    Also better organise the 'tips and tricks' section.

    Change-Id: If20a89ae93b64b5a1b5895bb9dc73c4e70adaba7
    Related-Bug: #1862649

Revision history for this message
Mark Goddard (mgoddard) wrote :

I'd also say that in general you can't assume that tasks are not interdependent, especially within a role. I would suggest using --tags and occasionally --limit instead.

Changed in kolla-ansible:
status: New → Won't Fix
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.