quickstart.sh - Script fails to configure the local ENV and does not deply the underlay. Need to manually install GCC and GIT.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Description
===========
I am trying to use Quickstart for a TripleO POC. I have a basic Centos 7.6 acting as the deployer and another host acting as the VIRTHOST for the Underlay.
I am following the instructions provided in the official documentation regarding the Quickstart method.
Steps to reproduce
==================
Basic Centos 7.6 system.
[remote-
total 4.0K
drwxr-xr-x. 2 remote-ldumont remote-ldumont 4.0K Mar 20 01:35 tripleo-ssh
Confirmation that the deployment machine can connect to the VIRTHOST without a password and as the ROOT user.
[remote-
Linux tripleo.
Start of the install-deps step.
[[remote-
Running install_deps
sudo-1.
Installing RPM packages libselinux-python python-setuptools python-virtualenv python-pip
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.calgah.com
* epel: epel.mirror.
* extras: centos.
* updates: centos.
Package libselinux-
Package python-
Package python-
Package python2-
Nothing to do
pip:8.1.2 virtualenv:15.1.0 setuptools:0.9.8 install-deps succeeded.
Running install_virtual_env
New python executable in /home/remote-
Also creating executable in /home/remote-
Installing setuptools, pip, wheel...done.
Collecting pip
Using cached https:/
Installing collected packages: pip
Found existing installation: pip 9.0.1
Uninstalling pip-9.0.1:
Successfully uninstalled pip-9.0.1
Successfully installed pip-19.0.3
Installing bindep
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting bindep
Using cached https:/
Collecting pbr>=2.0.0 (from bindep)
Using cached https:/
Collecting Parsley (from bindep)
Using cached https:/
Collecting distro (from bindep)
Using cached https:/
Installing collected packages: pbr, Parsley, distro, bindep
Successfully installed Parsley-1.3 bindep-2.8.1 distro-1.4.0 pbr-5.1.3
['', '/home/
selinux.
install_
Neither file bindep.txt nor file other-requireme
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.calgah.com
* epel: epel.mirror.
* extras: centos.
* updates: centos.
No package Neither available.
Package file-5.
No package bindep.txt available.
No package nor available.
Package file-5.
No package other-requireme
No package exist. available.
Nothing to do
/home/remote-
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.calgah.com
* epel: epel.mirror.
* extras: centos.
* updates: centos.
No Match for argument: Neither
No package Neither available.
No Match for argument: bindep.txt
No package bindep.txt available.
No Match for argument: nor
No package nor available.
No Match for argument: other-requireme
No package other-requireme
No Match for argument: exist.
No package exist. available.
No packages marked for update
Cloning tripleo-quickstart repository...
[remote-
The following issues are seen :
Neither file bindep.txt nor file other-requireme
/home/remote-
[remote-
The flow that seems to be broken.
1) User calls quickstart.sh
2) quickstart.sh curls for install-deps.sh and sources the file.
3) install-deps.sh is used for the "install_deps" function which in turns uses BinDep to install a list of file from bindep.txt.
4) This causes the packages requirements on the local machine to not be enformed - yum-utils, gcc and git will be missing.
It seems to break because bindep.txt is not curled before install_deps is called. It is part of the GIT repository but the Bindep is never acquired before bindep itself is called.
Adding the following to lines 50:51 of quickstart.sh does allow the script to progress.
echo "Downloading the requirement file for bindep."
curl -o ${ABSDIR}
Manually adding gcc, yum-utils and git does allow the deployment to start.
Let me know if anything else is required.
Thanks!
Changed in tripleo: | |
milestone: | none → train-1 |
importance: | Undecided → Medium |
status: | New → Fix Released |
AFAICT... this should resolve the issue you are hitting atm /review. opendev. org/#/c/ 658449/
https:/
Sorry for the problems, patch is in progress