iRMC vmedia deploy failed when bare metal has multiple CD/FD drives

Bug #1561852 reported by Naohiro Tamura
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
Undecided
Naohiro Tamura
python-scciclient
Fix Released
High
Naohiro Tamura

Bug Description

If PRIMERGY bare metal server has multiple CD/FD drives including both physical and virtual, iRMC vmedia deploy sometimes fails depending on bare metal's PCI device status.

The failure would happen one of the following three cases:
1. ipmitool sets bootdev boot option to wrong CD drive.
2. SCCI attaches wrong virtual CD drive
3. SCCI attaches wrong virtual FD drive.

In order to fix this problem, the following three changes are necessary:
1. use 'ipmitool raw' command to specify virtual cdrom as boot device instead of 'ipmitool chassis bootdev cdrom'
2. change the number of virtual cd drive to 1 instead of 2
3. change the number of virtual fd drive to 1 instead of 2

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

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

Changed in python-scciclient:
status: New → In Progress
Changed in ironic:
status: New → In Progress
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/297541

Changed in python-scciclient:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-scciclient (master)

Reviewed: https://review.openstack.org/297540
Committed: https://git.openstack.org/cgit/openstack/python-scciclient/commit/?id=e2f032b71aa4f9fde9fc38a349bd4e7556903909
Submitter: Jenkins
Branch: master

commit e2f032b71aa4f9fde9fc38a349bd4e7556903909
Author: Naohiro Tamura <email address hidden>
Date: Sun Mar 20 03:35:54 2016 +0900

    Change the number of CD/FD drive to 1 instead of 2

    This patch changes the number of CD/FD drive to 1 instead of 2
    respectively.

    Partial-Bug: #1561852

    Change-Id: I3f0ce87d9b88fea5f2388c23b882fa1c33c7faf2

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

Reviewed: https://review.openstack.org/297541
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=03fe93abfe5779f27c0eee5495f189e0104a5184
Submitter: Jenkins
Branch: master

commit 03fe93abfe5779f27c0eee5495f189e0104a5184
Author: Naohiro Tamura <email address hidden>
Date: Sat Mar 19 19:06:01 2016 +0900

    Force iRMC vmedia boot from remotely connected CD/DVD

    This patch forces iRMC vmedia boot from remotely connected
    (redirected) CD/DVD using 'ipmitool raw' command instead of 'ipmitool
    chassis bootdev cdrom'.

    Closes-Bug: #1561852
    Change-Id: I606e4d3a630ddc4eed071773afcb5274ee64a439

Changed in ironic:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/304959

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (stable/liberty)

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/304960

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (stable/liberty)

Reviewed: https://review.openstack.org/304960
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=06f6830c14291db6de2ab83aac6049481c62ef33
Submitter: Jenkins
Branch: stable/liberty

commit 06f6830c14291db6de2ab83aac6049481c62ef33
Author: Naohiro Tamura <email address hidden>
Date: Sat Mar 19 19:06:01 2016 +0900

    Force iRMC vmedia boot from remotely connected CD/DVD

    This patch forces iRMC vmedia boot from remotely connected
    (redirected) CD/DVD using 'ipmitool raw' command instead of 'ipmitool
    chassis bootdev cdrom'.

    Closes-Bug: #1561852
    Change-Id: I606e4d3a630ddc4eed071773afcb5274ee64a439
    (cherry picked from commit 03fe93abfe5779f27c0eee5495f189e0104a5184)

tags: added: in-stable-liberty
tags: added: in-stable-mitaka
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (stable/mitaka)

Reviewed: https://review.openstack.org/304959
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=d18e2f36dd54616db8d853b340d564a5ca96749d
Submitter: Jenkins
Branch: stable/mitaka

commit d18e2f36dd54616db8d853b340d564a5ca96749d
Author: Naohiro Tamura <email address hidden>
Date: Sat Mar 19 19:06:01 2016 +0900

    Force iRMC vmedia boot from remotely connected CD/DVD

    This patch forces iRMC vmedia boot from remotely connected
    (redirected) CD/DVD using 'ipmitool raw' command instead of 'ipmitool
    chassis bootdev cdrom'.

    Closes-Bug: #1561852
    Change-Id: I606e4d3a630ddc4eed071773afcb5274ee64a439
    (cherry picked from commit 03fe93abfe5779f27c0eee5495f189e0104a5184)

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/ironic 5.1.1

This issue was fixed in the openstack/ironic 5.1.1 release.

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/ironic 4.2.4

This issue was fixed in the openstack/ironic 4.2.4 release.

Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/ironic 6.0.0

This issue was fixed in the openstack/ironic 6.0.0 release.

Changed in python-scciclient:
status: In Progress → 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.