Make `--teardown none` the default behavior

Bug #1647676 reported by Flavio Percoco
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Triaged
Wishlist
Unassigned

Bug Description

This can be seen as a bug, feature, or enhancement request.

The current default behavior for oooq is to teardown the undercloud every time it's run. Unfortunately, this is not an intuitive behavior and it does not reflect one of the features of the tool it's using (ansible), which is being idempotent.

I believe the default behavior should be to not destroy the undercloud, which is safer and more intuitive. That means, oooq should not treat undercloud deployments as being completely ephemeral. I've been bitten by this and other folks have too.

One more practical example for this is having to re-run quickstart to add more nodes to the undercloud, run a playbook again (or run a new playbook because one forgot to add it in the first run), etc.

I'm filing this to start the discussion and hopefully come to a wider consensus of whether this should or shouldn't be changed.

Tags: quickstart
Changed in tripleo-quickstart:
assignee: nobody → Flavio Percoco (flaper87)
Revision history for this message
Ronelle Landy (rlandy) wrote :

Moving this to RFE.
Suggestion to offer an interactive prompt to get around the defaults. (like dev-mode)

Changed in tripleo-quickstart:
status: New → Triaged
John Trowbridge (trown)
no longer affects: tripleo-quickstart
Changed in tripleo:
status: New → Triaged
importance: Undecided → Wishlist
milestone: none → pike-3
tags: added: quickstart
Revision history for this message
John Trowbridge (trown) wrote :

moved to tripleo launchpad with quickstart tag

The problem here is that there is not really a good default. In the past, we had a "teardown none" type default behavior, but this can lead to a very bad new user experience. The user could get "stuck" with a bad configuration from the first run, and fail to be able to fix things in subsequent runs because all of the bad configuration persisted.

I think there are a couple of other defaults we have that are like this as well, and it would be cool to require them instead. To keep things relatively simple for someone just getting started, we could have an interactive prompt if nothing was specified for a required option. This prompt could provide some explanation of the tradeoffs, and provide the option string at the end to skip the prompt in the future.

Changed in tripleo:
milestone: pike-3 → pike-rc1
Changed in tripleo:
milestone: pike-rc1 → queens-1
Changed in tripleo:
milestone: queens-1 → queens-2
Changed in tripleo:
milestone: queens-2 → queens-3
Changed in tripleo:
milestone: queens-3 → queens-rc1
Changed in tripleo:
milestone: queens-rc1 → rocky-1
Changed in tripleo:
milestone: rocky-1 → rocky-2
Changed in tripleo:
milestone: rocky-2 → rocky-3
Changed in tripleo:
milestone: rocky-3 → rocky-rc1
Changed in tripleo:
milestone: rocky-rc1 → stein-1
Changed in tripleo:
milestone: stein-1 → stein-2
Changed in tripleo:
milestone: stein-2 → stein-3
Changed in tripleo:
milestone: stein-3 → train-1
Changed in tripleo:
milestone: train-1 → train-2
Changed in tripleo:
milestone: train-2 → train-3
Changed in tripleo:
milestone: train-3 → ussuri-1
Changed in tripleo:
milestone: ussuri-1 → ussuri-2
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-2 → ussuri-3
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-3 → ussuri-rc3
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-rc3 → victoria-1
Changed in tripleo:
milestone: victoria-1 → victoria-3
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.