quickstart.sh no quickstart-extras playbook found

Bug #1754498 reported by Kent Stanwood Gordon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
wes hayutin

Bug Description

Trying to follow https://docs.openstack.org/tripleo-quickstart/latest/readme.html

Ended up with error ERROR! the playbook: /home/centos/.quickstart/playbooks/quickstart-extras.yml could not be found

Shell Output in http://paste.openstack.org/show/695787/
_quickstart.log in http://paste.openstack.org/show/695788/

Tags: quickstart
tags: added: quickstart
Changed in tripleo:
importance: Undecided → High
status: New → Triaged
milestone: none → rocky-1
Revision history for this message
Kent Stanwood Gordon (kent-gordon) wrote :

This is in a isolated environment that uses a proxy to get to the internet.
It used a base install of centos.

[centos@centos-1 ~]$ env |grep proxy
http_proxy=http://proxy:3128/
https_proxy=http://proxy:3128/
[centos@centos-1 ~]$

[centos@centos-1 ~]$ env |grep proxy
http_proxy=http://proxy:3128/
https_proxy=http://proxy:3128/
[centos@centos-1 ~]$

I needed to update setuptools and clone tripleo-quickstart-extras because I am not in a Zuul environment.

Revision history for this message
Kent Stanwood Gordon (kent-gordon) wrote :

This is in a isolated environment that uses a proxy to get to the internet.
It is with a base install of centos.

[centos@centos-1 ~]$ env |grep proxy
http_proxy=http://proxy:3128/
https_proxy=http://proxy:3128/
[centos@centos-1 ~]$

[centos@centos-1 ~]$ env |grep proxy
http_proxy=http://proxy:3128/
https_proxy=http://proxy:3128/
[centos@centos-1 ~]$

I made the following changes to quickstart

Mike Fedosin (mfedosin)
Changed in tripleo:
assignee: nobody → Mike Fedosin (mfedosin)
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/557777

Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-quickstart (master)

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

commit dad6bee340fa15b07cfddcdd79e58ab070c0549d
Author: Mike Fedosin <email address hidden>
Date: Thu Mar 29 19:03:39 2018 +0200

    Allow to clone extras if zuul cloner is not presented

    Now zuul cloner executable is required to clone quickstart-extras.
    If it's not presented the deployment fails with:
    ERROR! .quickstart/playbooks/quickstart-extras.yml could not be found

    This patch allows to clone the repository anyway with the standard git
    command.

    Change-Id: Idc7d59ecffbdaa38c35f44dfef5891b8fb6e199a
    Closes-bug: #1754498

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
wes hayutin (weshayutin) wrote :

The fix here was reverted here https://review.openstack.org/#/c/560641/

Changes to tqe were no longer incorporated into CI and this had to be reverted.
Assigning this bug to Gabriele Cerami w/ a high priority.

Changed in tripleo:
status: Fix Released → Triaged
Changed in tripleo:
assignee: Mike Fedosin (mfedosin) → nobody
assignee: nobody → Gabriele Cerami (gcerami)
Revision history for this message
wes hayutin (weshayutin) wrote :

The issue was that pip could not install pbr

http://paste.openstack.org/show/719082/

Revision history for this message
wes hayutin (weshayutin) wrote :

if [ "$OPT_BOOTSTRAP" = 1 ] || ! [ -f "$OPT_WORKDIR/bin/activate" ]; then
    bootstrap
    echo "BOOTSTRAP RETURN $?"
    exit

    if [ $? -ne 0 ]; then
        echo "ERROR: bootstrap failed; try \"$0 --install-deps\""
        echo " to install package dependencies or \"$0 --clean\""
        echo " to remove $OPT_WORKDIR and start over"
        exit 1
    fi
fi

./quickstart.sh --no-clone whayutin-testbox [.quickstart] review/ronelle_landy/bug/1754498 ✱ ⚡ thinkdoe ⌚ 15:13:42
New python executable in /home/whayutin/.quickstart/bin/python2
Also creating executable in /home/whayutin/.quickstart/bin/python
Installing setuptools, pip, wheel...done.
Requirement already up-to-date: pip in /home/whayutin/.quickstart/lib/python2.7/site-packages
~/git/RDO-CI/TRIPLEO-QUICKSTART/tripleo-quickstart ~/git/RDO-CI/TRIPLEO-QUICKSTART/tripleo-quickstart
error in setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Invalid requirement, parse error at "u'=1.1.1'"
BOOTSTRAP RETURN 0

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/561021

Changed in tripleo:
assignee: Gabriele Cerami (gcerami) → wes hayutin (weshayutin)
status: Triaged → In Progress
Revision history for this message
Gabriele Cerami (gcerami) wrote :

This bug is really two bugs

1) if you don't have zuul we want to automatically install extras. This is a wishlist bug. The proposed changes that address this automatically install extras on every quickstart.sh launch. This wasn't in the initial specifications and I'm not sure we really want to do this.
2) even with bug 1 addressed, the error will still appear because there's a problem with the proxy. The bug reporter is probably hitting something similar to

https://github.com/pypa/pip/issues/1059

Apparently it's a problem on how setuptools deals with SSL proxies.
I don't think there's much we can do for this. If the reported is able to solve this with various combination of arguments to pass to setup.py we'll consider adding them to the codebase.

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
Revision history for this message
wes hayutin (weshayutin) wrote :

RFE bug will be opened for anything we can do on the side of tripleo and quickstart to enable users that are using a http proxy.

https://github.com/pypa/pip/issues/1059

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.