diff options
author | Julia Kreger <juliaashleykreger@gmail.com> | 2017-07-25 03:59:44 +0000 |
---|---|---|
committer | Dmitry Tantsur <divius.inside@gmail.com> | 2017-07-31 14:16:11 +0000 |
commit | fb5def4ebc89ebee327a6b06ef8340903259b4c1 (patch) | |
tree | c02a060ae112d0e80acb7ecbf27bd4147e9c7046 /ironic/drivers/modules/agent.py | |
parent | b05a6a64b128ca6dc2fad2f88651d12544d30174 (diff) | |
download | ironic-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.py | 3 |
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 |