diff options
author | Devananda van der Veen <devananda.vdv@gmail.com> | 2014-06-25 08:39:17 -0700 |
---|---|---|
committer | Devananda van der Veen <devananda.vdv@gmail.com> | 2014-06-26 14:16:36 -0700 |
commit | dbd96f3f2c1e95d7bfdd33fe155e43a383383a93 (patch) | |
tree | f8cf76952ebcf1ed7cc7ade0482d03d63abee93c /ironic/drivers/modules/fake.py | |
parent | fa9a0d05717b11c8646753662c061549c56e8411 (diff) | |
download | ironic-dbd96f3f2c1e95d7bfdd33fe155e43a383383a93.tar.gz |
Fix 'fake' driver unable to finish a deploy
The 'fake' driver is not returning any status from driver.deploy or
driver.tear_down, which prevents the completion of a provision state
transition with this driver.
Change-Id: I844dc03f35da23eb81235abdc16a79afc9835235
Diffstat (limited to 'ironic/drivers/modules/fake.py')
-rw-r--r-- | ironic/drivers/modules/fake.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ironic/drivers/modules/fake.py b/ironic/drivers/modules/fake.py index a6632f387..fbc710592 100644 --- a/ironic/drivers/modules/fake.py +++ b/ironic/drivers/modules/fake.py @@ -67,10 +67,10 @@ class FakeDeploy(base.DeployInterface): pass def deploy(self, task): - pass + return states.DEPLOYDONE def tear_down(self, task): - pass + return states.DELETED def prepare(self, task): pass |