Fix argparse issue for RHEL 6.5.

Since RHEL 6.5 uses Python 2.6, which lacks argparse,
they need to be installed to ensure that os-apply-config
and os-refresh-config work properly.

Change-Id: I80dcce56d00fc6f1240a5fcccd425cc2b4db29d5
This commit is contained in:
Om Kumar 2014-07-10 10:25:45 +05:30
parent 701bf0e912
commit d088fde2ea
2 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,7 @@ else
/opt/stack/venvs/os-apply-config/bin/pip install -U 'setuptools>=1.0'
# bug #1293812 : Avoid easy_install triggering on pbr.
/opt/stack/venvs/os-apply-config/bin/pip install -U 'pbr>=0.6,<1.0'
/opt/stack/venvs/os-apply-config/bin/pip install -U 'argparse'
/opt/stack/venvs/os-apply-config/bin/pip install --pre -U os-apply-config
fi

View File

@ -22,6 +22,7 @@ else
/opt/stack/venvs/os-refresh-config/bin/pip install -U 'setuptools>=1.0'
# bug #1293812 : Avoid easy_install triggering on pbr.
/opt/stack/venvs/os-refresh-config/bin/pip install -U 'pbr>=0.5.21,<1.0'
/opt/stack/venvs/os-refresh-config/bin/pip install -U 'argparse'
/opt/stack/venvs/os-refresh-config/bin/pip install --pre -U os-refresh-config
fi