Skip to content

Commit

Permalink
Merge pull request #538 from ceph/wip-12758
Browse files Browse the repository at this point in the history
ceph_deploy: if a branch is given, use it when installing rgw
  • Loading branch information
zmc committed Aug 24, 2015
2 parents b2daae6 + 766da54 commit 9063eaa
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions tasks/ceph_deploy.py
Expand Up @@ -529,15 +529,18 @@ def cli_test(ctx, config):
if out.split(None, 1)[0] == 'HEALTH_WARN':
log.info('All ceph-deploy cli tests passed')
else:
raise RuntimeError ( "Failed to reach HEALTH_WARN State")
raise RuntimeError ( "Failed to reach HEALTH_WARN State")

#test rgw cli
rgw_install = 'install --rgw ' + nodename
rgw_install = 'install {branch} --rgw {node}'.format(
branch=test_branch,
node=nodename,
)
rgw_create = 'rgw create ' + nodename
execute_cdeploy(admin,rgw_install,path)
execute_cdeploy(admin,rgw_create,path)
try:
yield
try:
yield
finally:
log.info("cleaning up")
if system_type == 'deb':
Expand Down

0 comments on commit 9063eaa

Please sign in to comment.