[RFE] Host ipxe static assets in devstack on :80

Bug #1593510 reported by Jay Faulkner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Triaged
Wishlist
Unassigned

Bug Description

Currently, we use a different port to serve up assets to ipxe. This can cause pain (see: 1590139) because there's no good system in devstack to prevent port ninja'ing.

I don't know why we initially put this on another port, but we should make this work in devstack on the default http port of :80, and live peacefully alongside the other services using the apache service in order to completely prevent this failure case in the future.

Changed in ironic:
status: New → Confirmed
importance: Undecided → Wishlist
tags: added: rfe-approved
removed: rfe
Changed in ironic:
assignee: nobody → Varun Gadiraju (varun-gadiraju)
Revision history for this message
Jay Faulkner (jason-oldos) wrote :

I think after more research, the saner thing to do is to convert ironic-api to run as a wsgi app, and setup a separate directory/alias for static assets, similar to what horizon does here; https://github.com/openstack-dev/devstack/blob/dec121114c3ea6f9e515a452700e5015d1e34704/files/apache-horizon.template

I don't think it's reasonable for us to try and live alongside horizon on port :80 because it gets very complicated trying to make it work for both the horizon-enabled and horizon-disabled case.

Changed in ironic:
assignee: Varun Gadiraju (varun-gadiraju) → nobody
Joanna Taryma (jtaryma)
Changed in ironic:
assignee: nobody → Joanna Taryma (jtaryma)
Joanna Taryma (jtaryma)
Changed in ironic:
status: Confirmed → In Progress
Revision history for this message
Oksana Voshchana (ovoshchana) wrote :

I suppose we don't need to change port for ipxe
I propose another version with two separate configuration files for ironic-api and ipxe
https://review.openstack.org/#/c/430851/

Revision history for this message
Vladyslav Drok (vdrok) wrote :

I don't think it is in progress, but suppose it should be pretty easy, knowing that we have that support already for ironic api.

Changed in ironic:
assignee: Joanna Taryma (jtaryma) → nobody
status: In Progress → Triaged
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.