[RFE] Test ipmitool drivers in gate

Bug #1544642 reported by Lucas Alvares Gomes
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
Wishlist
Lucas Alvares Gomes

Bug Description

Despite being our reference drivers the pxe_ipmitool and agent_ipmitool drivers are not tested in gate, currently Ironic uses a "ssh" power interface for power controlling and managing virtual machines that are deployed as part of the tests in gate.

That's not required anymore, we could use a virtual BMC [0] which is basically a wrap around the pyghmi BMC and libvirt python binds for translating IPMI commands to hypervisor commands.

This RFE is proposing using this technology by adapting the DevStack scripts to create and test nodes loaded with the {pxe, agent}_ipmitool drivers in gate.

[0] https://github.com/umago/virtualbmc

Tags: rfe-approved
Dmitry Tantsur (divius)
Changed in ironic:
status: New → Confirmed
importance: Undecided → Wishlist
description: updated
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/280267

Changed in ironic:
status: Confirmed → In Progress
tags: added: rfe-approved
removed: rfe
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

Reviewed: https://review.openstack.org/280267
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=7ffa1d58ce9fd9e32cdab142a1f12feae38c3097
Submitter: Jenkins
Branch: master

commit 7ffa1d58ce9fd9e32cdab142a1f12feae38c3097
Author: Lucas Alvares Gomes <email address hidden>
Date: Mon Feb 15 12:33:19 2016 +0000

    DevStack: Add support for deploying nodes with pxe_ipmitool

    This patch is adding support for deploying nodes with the pxe_ipmitool
    driver and VMs.

    The patch adds a dependency on the "virtualbmc" utility which is
    responsible for creating a virtual/fake BMC that handles the IPMI
    commands (using pyghmi.bmc) and convert it to calls to the
    python-libvirt library.

    The function "is_ironic_hardware" was converted into a variable called
    "IRONIC_IS_HARDWARE" which can be set to True/False to indicate whether
    DevStack is being setup for baremetal or VMs.

    Partial-Bug: #1544642
    Change-Id: I5edc51c7fc8b6f0bb7fe4ca129596709a32eb93e

Changed in ironic:
status: In Progress → Fix Committed
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.