there is a bug in openstackclient that is causing a password prompt
Related-Bug: 1619274
here.
Change-Id: I3aee25845ece846ed2b35aa242dc684b55ac2381
... | ... |
@@ -1383,7 +1383,12 @@ check_libs_from_git |
1383 | 1383 |
# =============== |
1384 | 1384 |
|
1385 | 1385 |
# Prepare bash completion for OSC |
1386 |
-openstack complete | sudo tee /etc/bash_completion.d/osc.bash_completion > /dev/null |
|
1386 |
+# |
|
1387 |
+# BUG: https://bugs.launchpad.net/python-openstackclient/+bug/1619274 |
|
1388 |
+# the os-cloud param should not be required but if we don't provide it |
|
1389 |
+# then this command hangs indefinitely if something is wrong with |
|
1390 |
+# default environment credentials. |
|
1391 |
+openstack --os-cloud=devstack complete | sudo tee /etc/bash_completion.d/osc.bash_completion > /dev/null |
|
1387 | 1392 |
|
1388 | 1393 |
# If cinder is configured, set global_filter for PV devices |
1389 | 1394 |
if is_service_enabled cinder; then |