Merge "get-occ-config.sh: fix handling multiple nodes in a role" into stable/queens

This commit is contained in:
Zuul 2018-04-03 19:44:51 +00:00 committed by Gerrit Code Review
commit c5d9522343
2 changed files with 6 additions and 1 deletions

View File

@ -157,7 +157,7 @@ for role in $OVERCLOUD_ROLES; do
ssh $SSH_OPTIONS -i $SUBNODES_SSH_KEY $host sudo systemctl enable os-collect-config
fi
((i++))
let i+=1
done

View File

@ -0,0 +1,5 @@
---
fixes:
- When using get-occ-config.sh with a role using a count greater than 1, the
script will now configure all nodes that are of that role type instead of
exiting after only configuring the first.