iLO driver generates public tempurls for vmedia

Bug #1755164 reported by Jacek Tomasiak
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
Medium
Unassigned

Bug Description

iLO driver generates various images on the fly and uploads them to Swift. TempURLs are then used for mounting those images as vmedia in iLO. The default SwiftAPI client uses 'public' interface and it is passed on to the TempURLs (on ironic side).
The problem is that to make "iLO Scripted Media URL" work, the URLs need to be accessible from iLO. In some setups, public URLs are not accessible from iLO network.

Revision history for this message
Jacek Tomasiak (skazi) wrote :
Dmitry Tantsur (divius)
tags: added: ilo
Changed in ironic:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/552515

Revision history for this message
Jacek Tomasiak (skazi) wrote :

Pre-requisite for above change is: https://review.openstack.org/#/c/469627/
Backport requested for Pike: https://review.openstack.org/#/c/552515/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/553330

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on ironic (stable/pike)

Change abandoned by Jacek Tomasiak (<email address hidden>) on branch: stable/pike
Review: https://review.openstack.org/552515
Reason: Closing in favor of: https://review.openstack.org/#/c/553330/

Jacek Tomasiak (skazi)
tags: added: swift
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (stable/pike)

Reviewed: https://review.openstack.org/553330
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=ca4fb9b1cfe2693771e6b0d346d5923db66696e8
Submitter: Zuul
Branch: stable/pike

commit ca4fb9b1cfe2693771e6b0d346d5923db66696e8
Author: Jacek Tomasiak <email address hidden>
Date: Thu Mar 15 11:59:07 2018 +0100

    Allow Swift endpoint override

    Swiftclient uses public endpoint by default. Ironic uses the base URL
    from Swift connection to build TempURLs for generated images.
    Some drivers (e.g. iLO) use those TempURLs to mount images as vmedia.
    With public URLs it will fail if the BMC doesn't have access to the
    public network.

    This change introduces an option to explicitly set the endpoint URL
    used for Swift.

    This is a stable-only change as the problem is fixed by refactoring
    changes in later releases. This is the only version where Ironic uses
    public Swift endpoints and there is no option to override this.

    Change-Id: I639a421fa06fff7ab07b8eab557531b8f36c5ed9
    Closes-Bug: #1755164
    Related-Bug: #1699547

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/ironic 9.1.4

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

Changed in ironic:
status: Triaged → 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.