summaryrefslogtreecommitdiff
path: root/ironic/drivers/modules/agent.py
diff options
context:
space:
mode:
authorJulia Kreger <juliaashleykreger@gmail.com>2017-07-25 03:59:44 +0000
committerDmitry Tantsur <divius.inside@gmail.com>2017-07-31 14:16:11 +0000
commitfb5def4ebc89ebee327a6b06ef8340903259b4c1 (patch)
treec02a060ae112d0e80acb7ecbf27bd4147e9c7046 /ironic/drivers/modules/agent.py
parentb05a6a64b128ca6dc2fad2f88651d12544d30174 (diff)
downloadironic-fb5def4ebc89ebee327a6b06ef8340903259b4c1.tar.gz
Address review feedback for ipxe boot file fix
Address feedback in review Id545d6cf93227cf1fc2ff0c05dbdceb8fb6aa5b9 as all requested changes were basically limited to tests. Partial-bug: #1559691 Change-Id: Ic414581c145d0e4b94163c9bd2dd4ae160196b28
Diffstat (limited to 'ironic/drivers/modules/agent.py')
-rw-r--r--ironic/drivers/modules/agent.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ironic/drivers/modules/agent.py b/ironic/drivers/modules/agent.py
index 0c5e47a2d..a4a3b2b4c 100644
--- a/ironic/drivers/modules/agent.py
+++ b/ironic/drivers/modules/agent.py
@@ -451,7 +451,8 @@ class AgentDeploy(AgentDeployMixin, base.DeployInterface):
task.driver.storage.attach_volumes(task)
if not task.driver.storage.should_write_image(task):
# We have nothing else to do as this is handled in the
- # backend storage system.
+ # backend storage system, and we can return to the caller
+ # as we do not need to boot the agent to deploy.
return
if node.provision_state == states.ACTIVE:
# Call is due to conductor takeover