[docs] Must remove ~/.quickstart dir before re-installing

Bug #1742149 reported by Rafael Folco
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Natal Ngétal

Bug Description

*Documentation* improvement report.

MUST delete ~/.quickstart dir before re-running quickstart.sh.

If you attempt to re-run quickstart w/ an existing ~/.quickstart dir, it will fail.

Docs do not mention about it. This is request to improve docs at
https://docs.openstack.org/tripleo-quickstart/latest/readme.html and add a section about *Re-running quickstart*.

quickstart.sh's usage is helpful but it is not clear that you MUST not reuse your existing .quickstart dir:
  -X, --clean discard the working directory on start
  -b, --bootstrap force creation of the virtualenv and the installation
                      of requirements without discarding the working directory

[deployer@rdo-ci-fx2-02-s5 tripleo-quickstart]$ bash quickstart.sh --teardown all -p noop.yml 127.0.0.2
----------------------------------------------------------------------------
| , . , |
| )-_'''_-( |
| ./ o\ /o \. |
| . \__/ \__/ . |
| ... V ... |
| ... - - - ... |
| . - - . |
| `-.....-´ |
| ____ ____ ____ _ _ _ _ |
| / __ \ / __ \ / __ \ (_) | | | | | | |
| | | | | ___ | | | | | | | |_ _ _ ___| | _____| |_ __ _ _ __| |_ |
| | | | |/ _ \| | | | | | | | | | | |/ __| |/ / __| __/ _` | '__| __| |
| | |__| | |_| | |__| | | |__| | |_| | | (__| <\__ \ |_|(_| | | | |_ |
| \____/ \___/ \____/ \___\_\\__,_|_|\___|_|\_\___/\__\__,_|_| \__| |
| |
| |
----------------------------------------------------------------------------

Installing OpenStack pike on host 127.0.0.2
Using directory /home/deployer/.quickstart for a local working directory
Current run is logged in _quickstart.log file in current directory
+ activate_venv
+ . /home/deployer/.quickstart/bin/activate
++ deactivate nondestructive
++ unset pydoc
++ '[' -n '' ']'
++ '[' -n '' ']'
++ '[' -n /bin/bash -o -n '' ']'
++ hash -r
++ '[' -n '' ']'
++ unset VIRTUAL_ENV
++ '[' '!' nondestructive = nondestructive ']'
++ VIRTUAL_ENV=/home/deployer/.quickstart
++ export VIRTUAL_ENV
++ _OLD_VIRTUAL_PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/deployer/.local/bin:/home/deployer/bin
++ PATH=/home/deployer/.quickstart/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/deployer/.local/bin:/home/deployer/bin
++ export PATH
++ '[' -n '' ']'
++ '[' -z '' ']'
++ _OLD_VIRTUAL_PS1=
++ '[' x '!=' x ']'
+++ basename /home/deployer/.quickstart
++ '[' .quickstart = __ ']'
+++ basename /home/deployer/.quickstart
++ PS1='(.quickstart)'
++ export PS1
++ alias 'pydoc=python -m pydoc'
++ '[' -n /bin/bash -o -n '' ']'
++ hash -r
+ export ANSIBLE_CONFIG=/home/deployer/.quickstart/tripleo-quickstart/ansible.cfg
+ ANSIBLE_CONFIG=/home/deployer/.quickstart/tripleo-quickstart/ansible.cfg
+ export ANSIBLE_INVENTORY=/home/deployer/.quickstart/hosts
+ ANSIBLE_INVENTORY=/home/deployer/.quickstart/hosts
+ export ARA_DATABASE=sqlite:////home/deployer/.quickstart/ara.sqlite
+ ARA_DATABASE=sqlite:////home/deployer/.quickstart/ara.sqlite
+ source /home/deployer/.quickstart/tripleo-quickstart/ansible_ssh_env.sh
quickstart.sh: line 492: /home/deployer/.quickstart/tripleo-quickstart/ansible_ssh_env.sh: No such file or directory

Tags: quickstart
Changed in tripleo:
status: New → Triaged
importance: Undecided → Medium
milestone: none → rocky-1
Changed in tripleo:
milestone: rocky-1 → rocky-2
Changed in tripleo:
milestone: rocky-2 → rocky-3
Changed in tripleo:
assignee: nobody → David Sanz (morenod)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-quickstart (master)

Fix proposed to branch: master
Review: https://review.openstack.org/581693

Changed in tripleo:
status: Triaged → In Progress
Changed in tripleo:
milestone: rocky-3 → rocky-rc1
Changed in tripleo:
milestone: rocky-rc1 → stein-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-quickstart (master)

Change abandoned by David Sanz Moreno (<email address hidden>) on branch: master
Review: https://review.openstack.org/581693

Changed in tripleo:
assignee: David Sanz Moreno (morenod) → nobody
Changed in tripleo:
milestone: stein-1 → stein-2
Changed in tripleo:
milestone: stein-2 → stein-3
Revision history for this message
Natal Ngétal (hobbestigrou) wrote :

Why the patch was abandoned? The modification seems good.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-quickstart (master)

Fix proposed to branch: master
Review: https://review.openstack.org/631232

Changed in tripleo:
assignee: nobody → Natal Ngétal (hobbestigrou)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-quickstart (master)

Reviewed: https://review.openstack.org/631232
Committed: https://git.openstack.org/cgit/openstack/tripleo-quickstart/commit/?id=2cd3d6c2231d68641a9de53b5c07fee89b86a55e
Submitter: Zuul
Branch: master

commit 2cd3d6c2231d68641a9de53b5c07fee89b86a55e
Author: Natal Ngétal <email address hidden>
Date: Wed Jan 16 15:47:13 2019 +0100

    [Documentation] Must remove quickstart directory.

    The quickstart directory must be remove before try to deploying. Use the
    -X flag to automatically delete the directory.

    Change-Id: I65eced4a56897ab4ca64f7f42bf981708eb60ab0
    Closes-Bug: #1742149

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-quickstart 2.1.1

This issue was fixed in the openstack/tripleo-quickstart 2.1.1 release.

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.