Bug 1337687

Summary: pxe_drac driver does not work with IPA
Product: Red Hat OpenStack Reporter: Andreas Karis <akaris>
Component: openstack-ironicAssignee: Imre Farkas <ifarkas>
Status: CLOSED CURRENTRELEASE QA Contact: Raviv Bar-Tal <rbartal>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.0 (Liberty)CC: athomas, lmartins, mburns, mlammon, rhel-osp-director-maint, srevivo
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-18 14:11:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andreas Karis 2016-05-19 19:53:04 UTC
From upstream: https://bugs.launchpad.net/ironic/+bug/1541858

=====================================================================

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

Comment 2 Lucas Alvares Gomes 2016-08-18 14:02:36 UTC
I believe this have been fixed already by https://code.engineering.redhat.com/gerrit/#/c/68902/