fix variable name

This commit is contained in:
Chris MacNaughton 2016-01-22 11:10:34 -05:00
parent 8cb53237c6
commit fc714c96f4
1 changed files with 2 additions and 2 deletions

View File

@ -444,7 +444,7 @@ class CephBasicDeployment(OpenStackAmuletDeployment):
sentry_unit = self.ceph0_sentry
# action_id = self.action_do(sentry_unit, 'pause')
action_id = u.run_action(sentry, 'pause')
action_id = u.run_action(sentry_unit, 'pause')
# self.action_fetch(action_id)
assert u.wait_on_action(action_id), "Pause action failed."
@ -454,7 +454,7 @@ class CephBasicDeployment(OpenStackAmuletDeployment):
amulet.raise_status(amulet.FAIL, msg="Missing noout,nodown")
u.log.debug("Testing resume")
action_id = u.run_action(sentry, 'resume')
action_id = u.run_action(sentry_unit, 'resume')
assert u.wait_on_action(action_id), "Resume action failed."
output, code = sentry_unit.run(cmd)
if re.match('flags nodown,noout', output) is not None: