This reverts commit 6930ba312f787e0459f7455ac6ba2a70b3c7c37d.
By reverting this patch we are no longer using the bandaid fix mentioned
in the code. The latest openstackclient release (3.3.0) fixes the bug.
Related-Bug: 1619274
Change-Id: I20e3c5a92b97bf46c8d2318cd37044f0f36e1745
| ... | ... |
@@ -1383,12 +1383,7 @@ check_libs_from_git |
| 1383 | 1383 |
# =============== |
| 1384 | 1384 |
|
| 1385 | 1385 |
# Prepare bash completion for OSC |
| 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 |
|
| 1386 |
+openstack complete | sudo tee /etc/bash_completion.d/osc.bash_completion > /dev/null |
|
| 1392 | 1387 |
|
| 1393 | 1388 |
# If cinder is configured, set global_filter for PV devices |
| 1394 | 1389 |
if is_service_enabled cinder; then |