Failed upgrades should output list of full commands to run

Bug #1506173 reported by Byron McCollum
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Invalid
Wishlist
Unassigned
Kilo
Won't Fix
Wishlist
Unassigned
Trunk
Invalid
Wishlist
Unassigned

Bug Description

Currently, a failed upgrade will output the playbooks that need to be manually run. It would be helpful to add the `openstack-ansible` command in front of these playbook names, as well as any other options being passed, such as `pip_install_options=--force-reinstall`, which is being added by the upgrade script.

I encountered a failure during the `os-nova-install.yml` playbook, and upon running the next playbook manually, `os-heat-install.yml`, there were pip install errors, as the `pip_install_options=--force-reinstall` was lost.

Revision history for this message
Byron McCollum (byron-mccollum) wrote :

The old way this was handled was by inserting the `pip_install_options` into a throwaway user variables file for the life of the upgrade.

Changed in openstack-ansible:
importance: Undecided → Wishlist
Changed in openstack-ansible:
status: New → Confirmed
assignee: nobody → Nolan Brubaker (nolan-brubaker)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible (kilo)

Fix proposed to branch: kilo
Review: https://review.openstack.org/237689

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on openstack-ansible (kilo)

Change abandoned by Nolan Brubaker (<email address hidden>) on branch: kilo
Review: https://review.openstack.org/237689
Reason: The downstream project I knew of that used the run-upgrade-old.sh has since moved off of it, and Kilo is now in a relatively stable state, with EOL not far off. Given those two things, I'm going to abandon this change, at least for Kilo.

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.