Skip to content
This repository was archived by the owner on Mar 22, 2018. It is now read-only.

Commit 9f24133

Browse files
kiwikdims
authored andcommitted
Install k8s after OpenStack services up
In plugin.sh we install kubernetes at devstack post-config phase, at that time all of the OpenStack services are not launched yet, so plugin.sh script don't have chance to get subnet-id or floating-network-id for external cloud provider config file cloud-config, we want to get these information to make cloud-config file, then execute local-up-cluster.sh to launch kubernetes with external cloud provider.
1 parent 5cdcc93 commit 9f24133

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

devstack/plugin.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,11 +168,11 @@ if is_service_enabled k8s-cloud-provider; then
168168
install_prereqs
169169

170170
elif [[ "$1" == "stack" && "$2" == "post-config" ]]; then
171-
install_k8s_cloud_provider
172-
173-
elif [[ "$1" == "stack" && "$2" == "extra" ]]; then
174171
# no-op
175172
:
173+
elif [[ "$1" == "stack" && "$2" == "extra" ]]; then
174+
install_k8s_cloud_provider
175+
:
176176
fi
177177

178178
if [[ "$1" == "unstack" ]]; then

0 commit comments

Comments
 (0)