Ironic API doesn't use oslo service

Bug #1484044 reported by Anton Arefiev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
Low
aeva black

Bug Description

Ironic API should use oslo service instead of wsgiref. It brings some benefits here:

 - first of all it brings consistency with other Openstack projects(e.g. supporting HUP signal, etc);

 - here also all benefits from using common code;

 - also wsgiref is not recommend for production, it's limited in terms of concurrency because it's singlethreaded, which means it will be able to initiate websocket connections one at a time only. Also it's too buggy, related bug in ironic: https://bugs.launchpad.net/ironic/+bug/1296833

Wsgi mode under apache as alternative for high load environments could be used, but not all envs require such heavy server.

Tags: api
Anton Arefiev (aarefiev)
Changed in ironic:
assignee: nobody → Anton Arefiev (aarefiev)
Dmitry Tantsur (divius)
Changed in ironic:
status: New → Triaged
importance: Undecided → Low
tags: added: api
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/219298

Changed in ironic:
status: Triaged → In Progress
Kan (kansks)
description: updated
Changed in ironic:
assignee: Anton Arefiev (aarefiev) → Devananda van der Veen (devananda)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

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

commit c4bd20ebd4b42201bf40e00d4f0a1b2c69d2e931
Author: Anton Arefiev <email address hidden>
Date: Tue Sep 1 17:51:37 2015 +0300

    Use wsgi from oslo.service for Ironic API

    oslo.service provides a wsgi functionality for defining new long-running
    services using by OpenStack applications. It might usefull for working with SSL for example.

    Ironic has started migrate to oslo.service, this change continue this work, and consumes wsgi from it.

    Change-Id: Ic7865709cd87c45e6b7d49f15ce73354aa15401e
    Closes-Bug: #1484044

Changed in ironic:
status: In Progress → Fix Committed
Changed in ironic:
status: Fix Committed → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/ironic 4.3.0

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

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/287134

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

Change abandoned by Lucas Alvares Gomes (<email address hidden>) on branch: stable/liberty
Review: https://review.openstack.org/287134

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.