IPA driver names cannot contain digits

Bug #1485012 reported by Mathieu Mitchell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
Undecided
Mathieu Mitchell

Bug Description

IPA ramdisk methods result in 401 if the driver name contains a digit. Historically, only "agent_[a-z]*" was supported. This was updated to "[a-z_]*" with change ID Iaabc6ada729461f18d69ee12d01b9f1465944454.

Steps to reproduce:
Create new driver called test_v1 pointing to an agent driver
Call http://<IRONIC_URL>/v1/drivers/test_v1/vendor_passthru/lookup
Get a 401 HTTP status code

Expected result:
Get a 2xx HTTP status code

Changed in ironic:
assignee: nobody → Mathieu Mitchell (mat128)
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/213213

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/213213
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=45adeedd437cb6f40be751fd0f1fcf2d1aa5d79a
Submitter: Jenkins
Branch: master

commit 45adeedd437cb6f40be751fd0f1fcf2d1aa5d79a
Author: Mathieu Mitchell <email address hidden>
Date: Fri Aug 14 11:29:15 2015 -0400

    Allow digits in IPA driver names

    Using a driver name with digits prevents unauthenticated passthru calls
    from going through.

    Change-Id: I86c596d34729345efb2609f44de8ea6dc014b670
    Closes-Bug: #1485012

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