Should not reset 'os_distro' property for every collect period

Bug #1599308 reported by Lingxian Kong
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Billing Service (Distil)
Fix Released
Undecided
Lingxian Kong

Bug Description

Affected: refactoring code

In every collection period, distil will get os_distro property of instance resource type. However, vm may be deleted in the middle of the period, the os_distro property could be reset to 'unknown' because of the NotFound exception.

Lingxian Kong (kong)
Changed in distil:
assignee: nobody → Lingxian Kong (kong)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to distil (master)

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

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

Reviewed: https://review.openstack.org/337910
Committed: https://git.openstack.org/cgit/openstack/distil/commit/?id=834765a2d762068fba0e081d1b1b71227c6aa376
Submitter: Jenkins
Branch: master

commit 834765a2d762068fba0e081d1b1b71227c6aa376
Author: Lingxian Kong <email address hidden>
Date: Wed Jul 6 10:42:16 2016 +1200

    Dn not update some resource properties for each period

    Change-Id: I2f27dd11c516d34d8c914191f72034c91fe7d517
    Closes-Bug: #1599308

Changed in distil:
status: In Progress → 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.