Introspection status is deleted after some time

Bug #1695858 reported by Jiri Tomasek on 2017-06-05
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic Inspector
Fix Released
Medium
Dmitry Tantsur

Bug Description

Introspection status data is removed after some time (1 week by default) [1].

Problem:
For use case when this data is used to determine whether node has been introspected or not,removing it causes node to appear as not introspected after the time expires.

Expected result:
Introspection Status is kept for the lifetime of the node, so it is possible to determine if node has been introspected or not at any point of time.

[1] https://github.com/openstack/ironic-inspector/blob/master/example.conf#L25-L28

Dmitry Tantsur (divius) wrote :

I agree. We used to do it before we were able to sync deleted nodes with ironic. Now we are, so it makes little sense.

Changed in ironic-inspector:
status: New → Triaged
importance: Undecided → Medium
tags: added: low-hanging-fruit
Dmitry Tantsur (divius) on 2017-06-09
Changed in ironic-inspector:
assignee: nobody → Dmitry Tantsur (divius)

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

Changed in ironic-inspector:
status: Triaged → In Progress

Reviewed: https://review.openstack.org/472656
Committed: https://git.openstack.org/cgit/openstack/ironic-inspector/commit/?id=dd37dbaae9db80c0791553b5077cfec5c553f253
Submitter: Jenkins
Branch: master

commit dd37dbaae9db80c0791553b5077cfec5c553f253
Author: Dmitry Tantsur <email address hidden>
Date: Fri Jun 9 14:01:21 2017 +0200

    Deprecate removing old status and disable it by default

    We no longer have to do it, now that we can remove statuses for removed nodes.

    Change-Id: Iacc546d265270983c6a360a92073acde9d9b36c7
    Closes-Bug: #1695858

Changed in ironic-inspector:
status: In Progress → Fix Released

This issue was fixed in the openstack/ironic-inspector 6.0.0 release.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers