Created
September 12, 2017 17:25
-
-
Save odyssey4me/5e17ff84207109c250c35db933867123 to your computer and use it in GitHub Desktop.
OSA requirements.txt testing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Setup | |
apt-get update && \ | |
apt-get purge -y nano && \ | |
apt-get install -y git vim tmux fail2ban | |
cd /opt | |
git clone https://github.com/openstack/openstack-ansible.git | |
cd openstack-ansible | |
export ANSIBLE_ROLE_FETCH_MODE="git-clone" | |
./scripts/bootstrap-ansible.sh | |
./scripts/bootstrap-aio.sh | |
root@reqstest1:/opt/openstack-ansible# ./scripts/ansible-role-requirements-editor.py | |
Traceback (most recent call last): | |
File "./scripts/ansible-role-requirements-editor.py", line 27, in <module> | |
import yaml | |
ImportError: No module named yaml | |
root@reqstest1:/opt/openstack-ansible# ./scripts/fastest-infra-wheel-mirror.py | |
http://mirror.dfw.rax.openstack.org/wheel/ubuntu-16.04-x86_64/ | |
root@reqstest1:/opt/openstack-ansible# pip freeze --all | |
anyjson==0.3.3 | |
decorator==4.0.6 | |
ipython==2.4.1 | |
pexpect==4.0.1 | |
pip==9.0.1 | |
ptyprocess==0.5 | |
pycrypto==2.6.1 | |
python-apt==1.1.0b1 | |
python-cjson==1.1.0 | |
pyxenstore==0.0.2 | |
setuptools==36.4.0 | |
simplegeneric==0.8.1 | |
virtualenv==15.0.1 | |
wheel==0.30.0 | |
root@reqstest1:/opt/openstack-ansible# ./scripts/gen-config.py | |
Traceback (most recent call last): | |
File "./scripts/gen-config.py", line 22, in <module> | |
from osa_toolkit import tools | |
ImportError: No module named osa_toolkit | |
root@reqstest1:/opt/openstack-ansible# ./scripts/get-pypi-pkg-version.py | |
usage: get-pypi-pkg-version.py [-h] [-f {requirements,bare}] | |
[-l {vertical,horizontal}] -p PACKAGES | |
[PACKAGES ...] | |
get-pypi-pkg-version.py: error: argument -p/--packages is required | |
root@reqstest1:/opt/openstack-ansible# ./scripts/get-pypi-pkg-version.py -p pip | |
pip==9.0.1 | |
root@reqstest1:/opt/openstack-ansible# ./scripts/inventory-manage.py | |
Traceback (most recent call last): | |
File "./scripts/inventory-manage.py", line 36, in <module> | |
from osa_toolkit import manage | |
File "/opt/openstack-ansible/scripts/../osa_toolkit/manage.py", line 23, in <module> | |
import prettytable | |
ImportError: No module named prettytable | |
root@reqstest1:/opt/openstack-ansible# ./scripts/pw-token-gen.py | |
Missing Dependency, "PyYAML" | |
root@reqstest1:/opt/openstack-ansible# ./scripts/release-yaml-file-prep.py | |
Traceback (most recent call last): | |
File "./scripts/release-yaml-file-prep.py", line 36, in <module> | |
import yaml | |
ImportError: No module named yaml | |
root@reqstest1:/opt/openstack-ansible# ./scripts/upgrade-utilities/ | |
playbooks/ scripts/ | |
root@reqstest1:/opt/openstack-ansible# ./scripts/upgrade-utilities/scripts/ | |
ansible_fact_cleanup.sh make_rst_table.py migrate_openstack_vars.py test_migrate_openstack_vars.py | |
root@reqstest1:/opt/openstack-ansible# ./scripts/upgrade-utilities/scripts/make_rst_table.py | |
+------------------------------------------+------------------------------------------+ | |
| Old Value | New Value | | |
+==========================================+==========================================+ | |
| test-old | test-new | | |
+------------------------------------------+------------------------------------------+ | |
root@reqstest1:/opt/openstack-ansible# ./scripts/upgrade-utilities/scripts/migrate_openstack_vars.py | |
Filename and flag file reference required. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment