Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mkcloud-common: add want_timescaling #1713

Merged
merged 1 commit into from Feb 22, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions scripts/lib/mkcloud-common.sh
Expand Up @@ -30,6 +30,7 @@ function wait_for
local error_cmd=${5:-'exit 11'}

local original_xstatus=${-//[^x]/}
timesleep=$((timesleep*${want_timescaling:-1}))
set +x
echo "Waiting for: $waitfor"
echo " until this condition is true: $condition"
Expand Down
2 changes: 2 additions & 0 deletions scripts/lib/qa_crowbarsetup-help.sh
Expand Up @@ -30,6 +30,8 @@ function qacrowbarsetup_help
want_node_roles=controller=1,compute=2,storage=3
want_test_updates=0 | 1 (default=1 if TESTHEAD is set, 0 otherwise)
add test update repositories
want_timescaling=2 (default 1)
increase all wait_for sleeps by this factor
want_sbd=1 (default 0)
Setup SBD over iSCSI for cluster nodes, with iSCSI target on admin node. Only usable for HA configuration.
want_devel_repos=list of Devel Projects to use for other products
Expand Down