Merge "Convert resource_name to number" into stable/queens
This commit is contained in:
commit
d060c8abf9
@ -106,7 +106,7 @@ for role in $OVERCLOUD_ROLES; do
|
|||||||
stacks=$(with_backoff fail_if_empty openstack stack resource list $rg_stack -c resource_name -c physical_resource_id -f json | jq -r "sort_by(.resource_name) | .[] | .physical_resource_id")
|
stacks=$(with_backoff fail_if_empty openstack stack resource list $rg_stack -c resource_name -c physical_resource_id -f json | jq -r "sort_by(.resource_name) | .[] | .physical_resource_id")
|
||||||
rc=${?}
|
rc=${?}
|
||||||
while [ ${rc} -ne 0 ]; do
|
while [ ${rc} -ne 0 ]; do
|
||||||
stacks=$(with_backoff fail_if_empty openstack stack resource list $rg_stack -c resource_name -c physical_resource_id -f json | jq -r "sort_by(.resource_name) | .[] | .physical_resource_id")
|
stacks=$(with_backoff fail_if_empty openstack stack resource list $rg_stack -c resource_name -c physical_resource_id -f json | jq -r "sort_by(.resource_name | tonumber) | .[] | .physical_resource_id")
|
||||||
done
|
done
|
||||||
|
|
||||||
i=0
|
i=0
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- Previously, get-occ-config.sh could configure nodes out of order when
|
||||||
|
deploying with more than 10 nodes. The script has been updated to properly
|
||||||
|
sort the node resource names by first converting the names to a number.
|
Loading…
Reference in New Issue
Block a user