[RFE] Add notification support to ironic

Bug #1526408 reported by Vladyslav Drok
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
Wishlist
Mario Villaplana
OpenStack Searchlight
Confirmed
Medium
Yuriy Zveryanskyy

Bug Description

Ironic has a need for inter-service notifications. Near real-time inter-service notifications in OpenStack have a variety of use cases. At the Mitaka design summit, some of the use cases discussed for ironic included integration with billing systems, using notifications to support an operations panel to keep track of potential failures, and integration with TripleO. The linked specification outlines a general framework for a notification schema in ironic.

Tags: rfe-approved
Vladyslav Drok (vdrok)
Changed in ironic:
status: New → Confirmed
importance: Undecided → Wishlist
tags: added: rfe
Revision history for this message
Ruby Loo (rloo) wrote :
Changed in ironic:
assignee: nobody → Mario Villaplana (mario-villaplana-j)
Revision history for this message
Mario Villaplana (mario-villaplana-j) wrote :

I will have time to work on implementing starting in early to mid March 2016.

Revision history for this message
Chris Austin (jcaustin) wrote :

I've begun implementing this per the spec. I will open reviews within the week.

tags: added: rfe-approved
removed: rfe
Revision history for this message
Travis Tripp (travis-tripp) wrote :

Great to see this work in progress! Just adding a comment to let you know that we (the Searchlight team [0]) have now received a few requests to provide search support for ironic. Notifications are a pre-requisite for us to do anything and providing enough data so that we don't have to do any API callbacks to get extra information at the time we index a resource is ideal for performant indexing.

[0] https://wiki.openstack.org/wiki/Searchlight

Changed in searchlight:
status: New → Confirmed
importance: Undecided → Medium
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/298461

Changed in ironic:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/321865

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

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

commit 2cc70ea93a45933e6dc23e90638b22f5f2d0889e
Author: Mario Villaplana <email address hidden>
Date: Tue Jun 28 16:06:12 2016 +0000

    Add notification base classes and docs

    This adds base classes and documentation for creating notifications.

    Partial-Bug: 1526408

    Change-Id: Ib1b1fa819e8ff0b93afacd0b3de6e6762168e230

Revision history for this message
Travis Tripp (travis-tripp) wrote :
Changed in searchlight:
assignee: nobody → Yuriy Zveryanskyy (yzveryanskyy)
milestone: none → ocata-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

commit ff32b51bbffc566d339dbb1f7f19b3b7429a91d1
Author: Mario Villaplana <email address hidden>
Date: Wed May 4 19:08:25 2016 +0000

    Add power state change notifications

    This adds optional notifications emitted when ironic changes a node's power
    state or when ironic detects a change in a node's power state.

    These notifications can be consumed by any external service listening to the
    message bus to perform functions like tracking node power state changes over
    time or automatically responding to anomalous power states.

    The event_types of the new notifications are:

    * baremetal.node.power_set.{start,end,error}
    * baremetal.node.power_state_corrected.success

    This also adds a new NodePayload class for notification payloads related
    to nodes.

    Change-Id: I82702e7f959d666bb02b59d1fc53ab50b519cb74
    Closes-Bug: 1526408

Changed in ironic:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to ironic (master)

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

commit cb2971ba27bca79536ad257e991a6d05759108a3
Author: Mario Villaplana <email address hidden>
Date: Thu Oct 20 20:34:25 2016 +0000

    Add notification documentation to administrator's guide

    This moves the description of available notifications in ironic to the
    administrator's guide and briefly describes how to configure
    notifications. It also documents the message bus topic ironic
    notifications are emitted on, since previously that required looking at
    code to find out.

    Related-Bug: #1526408
    Change-Id: I4d5dfe92d2c2646a7cc803fa6ea7ade723aba310

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

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

commit a9804c7ef691e5cd8f47b24780f6cf5357e099bd
Author: Mario Villaplana <email address hidden>
Date: Wed Nov 9 19:43:24 2016 +0000

    Add notification documentation to install guide

    This adds documentation about notifications in ironic to the install
    guide.

    Related-Bug: #1526408
    Change-Id: I29d924633209326d2b141049f8f43a3d552c9ff4

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/ironic 7.0.0

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

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.