BUG for deploying multiple compute nodes
When Deployment of compute nodes is not on all nodes (e.g.Total 5 nodes,but 3 compute nodes),The original method counts all nodes instead of compute nodes,This can result in less than 100% and the process will get stuck,this is a bug! Change-Id: I39c5d2014146925afe7fd896123a705c19005ff9
This commit is contained in:
parent
ca47e3c974
commit
aa5e622b47
@ -14,7 +14,7 @@ apiVersion: v1
|
||||
appVersion: v1.0.0
|
||||
description: OpenStack-Helm Nova
|
||||
name: nova
|
||||
version: 0.1.13
|
||||
version: 0.1.14
|
||||
home: https://docs.openstack.org/nova/latest/
|
||||
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Nova/OpenStack_Project_Nova_vertical.png
|
||||
sources:
|
||||
|
@ -161,7 +161,7 @@ bootstrap:
|
||||
scripts:
|
||||
init_script: |
|
||||
# This runs in a bootstrap init container. It counts the number of compute nodes.
|
||||
COMPUTE_NODES=$(kubectl get nodes -o custom-columns=NAME:.metadata.name --no-headers | sort)
|
||||
COMPUTE_NODES=$(kubectl get nodes -o custom-columns=NAME:.metadata.name -l openstack-compute-node=enabled --no-headers | sort)
|
||||
/bin/echo $COMPUTE_NODES > /tmp/compute_nodes.txt
|
||||
wait_script: |
|
||||
# This script runs in the main bootstrap container just before the
|
||||
|
@ -14,3 +14,4 @@ nova:
|
||||
- 0.1.11 Secure libvirt connection from using 127.0.0.1 to use unix socket
|
||||
- 0.1.12 Update RBAC apiVersion from /v1beta1 to /v1
|
||||
- 0.1.13 Change Issuer to ClusterIssuer
|
||||
- 0.1.14 BUG for deploying multiple compute nodes
|
||||
|
Loading…
Reference in New Issue
Block a user