Remove workaround for openstack complete

This reverts commit 6930ba312f.

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
This commit is contained in:
Steve Martinelli 2016-09-06 19:10:22 +00:00
parent 6930ba312f
commit 5ff77d6a2a

View File

@ -1383,12 +1383,7 @@ check_libs_from_git
# ===============
# Prepare bash completion for OSC
#
# BUG: https://bugs.launchpad.net/python-openstackclient/+bug/1619274
# the os-cloud param should not be required but if we don't provide it
# then this command hangs indefinitely if something is wrong with
# default environment credentials.
openstack --os-cloud=devstack complete | sudo tee /etc/bash_completion.d/osc.bash_completion > /dev/null
openstack complete | sudo tee /etc/bash_completion.d/osc.bash_completion > /dev/null
# If cinder is configured, set global_filter for PV devices
if is_service_enabled cinder; then