iRMC vmedia deploy fails if vmedia is already attached

Bug #1497799 reported by Naohiro Tamura
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
Undecided
Naohiro Tamura

Bug Description

In case of agent_irmc, there is a bug which doesn't detach virtual cd
and fd at the end of deploy process.
Therefor the next deploy process fails since old virtual cd and fd
images in the previous deploy process are still attached.

Even in case of iscsi_irmc, the deploy process fails if someone forgot
to detach virtual cd and fd.

A patch will be submitted shortly, please merge it into Ironic 4.2.0.
- fix agent_irmc bug which which doesn't detach virtual cd and fd at
  the end of deploy process.
- add calls detach virtual cd and fd before attach

Changed in ironic:
assignee: nobody → Naohiro Tamura (naohirot)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (master)

Fix proposed to branch: master
Review: https://review.openstack.org/225521

Changed in ironic:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

Reviewed: https://review.openstack.org/225521
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=38da9d5cbc8e5350df33300470b108c150cfde09
Submitter: Jenkins
Branch: master

commit 38da9d5cbc8e5350df33300470b108c150cfde09
Author: Naohiro Tamura <email address hidden>
Date: Sun Sep 20 16:22:20 2015 +0900

    Fix iRMC vmedia deploy failure due to already attached image

    This patch fixes an agent_irmc bug which which doesn't detach virtual
    cd and fd at the end of deploy process.
    And also this patch adds detach virtual cd and fd calls before attach
    calls so that proper images can be attached.

    Closes-Bug: #1497799
    Change-Id: Ifb975123de0f273952941e070e0a7cd9ef6925a0

Changed in ironic:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in ironic:
milestone: none → 4.2.0
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.