pxe_drac driver do not work with IPA

Bug #1541858 reported by Lucas Alvares Gomes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
High
Lucas Alvares Gomes

Bug Description

The pxe_drac driver do not work with the IPA ramdisk because in the vendor passthru mapping [0] the method "lookup" is not exposed.

LOGS from the Ironic API service:

    2016-02-04 08:48:13.237 45693 DEBUG oslo_messaging._drivers.amqpdriver [req-0e3fa1b6-3672-45b7-8edb-ad08a8320111 ] MSG_ID is e020055bca6c4a678c2a837f713e63a5 _send /usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py:423
    2016-02-04 08:48:13.255 45693 DEBUG wsme.api [req-0e3fa1b6-3672-45b7-8edb-ad08a8320111 ] Client-side error: No handler for method lookup
    Traceback (most recent call last):

      File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 142, in inner
        return func(*args, **kwargs)

      File "/usr/lib/python2.7/site-packages/ironic/conductor/manager.py", line 590, in driver_vendor_passthru
        _('No handler for method %s') % driver_method)

    InvalidParameterValue: No handler for method lookup
     format_exception /usr/lib/python2.7/site-packages/wsme/api.py:221
    2016-02-04 08:48:13.351 45693 DEBUG keystonemiddleware.auth_token [-] Authenticating user token process_request /usr/lib/python2.7/site-packages/keystonemiddleware/auth_token/__init__.py:480
    2016-02-04 08:48:13.353 45693 DEBUG keystonemiddleware

[0] https://github.com/openstack/ironic/blob/master/ironic/drivers/drac.py#L47-L54

Revision history for this message
Lucas Alvares Gomes (lucasagomes) wrote :

Marking as high because the IPA ramdisk is the default ramdisk for the ironic deployment

Changed in ironic:
assignee: nobody → Lucas Alvares Gomes (lucasagomes)
importance: Undecided → High
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/276256

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

Reviewed: https://review.openstack.org/276256
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=3afbfaf40a80972d824f0aed7bb649a27755b323
Submitter: Jenkins
Branch: master

commit 3afbfaf40a80972d824f0aed7bb649a27755b323
Author: Lucas Alvares Gomes <email address hidden>
Date: Thu Feb 4 14:11:57 2016 +0000

    Fix missing lookup() vendor method error for pxe_drac

    In order to the pxe_drac to work with IPA ramdisks, the vendor interface
    should expose the lookup() method. This patch is adding it to the list
    of mapped vendor methods for that driver.

    Closes-Bug: #1541858
    Change-Id: I0cc13550bbf980ee48579d750120d4c33d1fe6a1

Changed in ironic:
status: In Progress → Fix Released
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/276692

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

Reviewed: https://review.openstack.org/276692
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=16bf69c79529bf8c9c32c91895e799b0365f1b7a
Submitter: Jenkins
Branch: stable/liberty

commit 16bf69c79529bf8c9c32c91895e799b0365f1b7a
Author: Lucas Alvares Gomes <email address hidden>
Date: Thu Feb 4 14:11:57 2016 +0000

    Fix missing lookup() vendor method error for pxe_drac

    In order to the pxe_drac to work with IPA ramdisks, the vendor interface
    should expose the lookup() method. This patch is adding it to the list
    of mapped vendor methods for that driver.

    (cherry picked from commit 3afbfaf40a80972d824f0aed7bb649a27755b323)

    Closes-Bug: #1541858
    Change-Id: I0cc13550bbf980ee48579d750120d4c33d1fe6a1

tags: added: in-stable-liberty
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/ironic 5.0.0

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

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

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

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.