Commit Graph

7 Commits

Author SHA1 Message Date
Zack Cerza
158f9ba1ff Revert "Lines formerly of the form '(remote,) = ctx.cluster.only(role).remotes.keys()'"
This reverts commit d693b3f895.
2014-03-27 11:35:28 -05:00
Warren Usui
d693b3f895 Lines formerly of the form '(remote,) = ctx.cluster.only(role).remotes.keys()'
and '(remote,) = ctx.cluster.only(role).remotes.iterkeys()' would fail with
ValueError and no message if there were less than 0 or more than 1 key.
Now a new function, get_single_remote_value() is called which prints out
more understandable messages.

Fixes: 7510
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Signed-off-by: Warren Usui <warren.usui@inktank.com>
2014-03-26 18:43:48 -07:00
Dan Mick
a6eee01fa0 Review: switch to selecting remotes by roles in the 'normal' way
This buys us, also, the ability to select remotes by rule, i.e.
"any osd or mon gets calamari-agent installed"

Signed-off-by: Dan Mick <dan.mick@inktank.com>
2014-02-14 11:28:08 -08:00
Dan Mick
006428c5ce Review: refactor packaging routines to common file
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2014-02-14 11:28:01 -08:00
Dan Mick
12b79044f4 Review: Rename calamari_testdir/ to calamari/ 2014-02-13 20:00:50 -08:00
Dan Mick
f06551097e Fix flake8 failures
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2014-02-12 13:25:54 -08:00
Dan Mick
e26bb35649 Add calamari setup/test tasks
Signed-off-by: Warren Usui <warren.usui@inktank.com>
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2014-02-11 13:34:31 -08:00