Add Disk Capacity in cluster-data-model

Bug #1553124 reported by Jean-Emile DARTOIS
2
Affects Status Importance Assigned to Milestone
watcher
Fix Released
High
Bruno Grazioli

Bug Description

Even if the blueprint cluster-model-objects-wrapper will add the possibility to fetch the information need by the strategies through the openstack clients. The strategy "ZHAW" is approved in the next watcher release and needs the disk capacity of a compute node.
This information is not available in the current version of watcher. ( no capacity but free_disk_gb)

We need to fetch this information from nova and add this attribute in the watcher-cluster-data-model.

https://github.com/openstack/watcher/blob/master/watcher/metrics_engine/cluster_model_collector/nova.py#L57

description: updated
description: updated
tags: removed: low-hanging-fruit
description: updated
Changed in watcher:
importance: High → Critical
importance: Critical → High
milestone: none → mitaka-3
Changed in watcher:
status: New → Triaged
Changed in watcher:
assignee: nobody → Bruno Grazioli (bwg-bruno)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to watcher (master)

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

Changed in watcher:
milestone: mitaka-3 → mitaka-rc-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to watcher (master)

Reviewed: https://review.openstack.org/288465
Committed: https://git.openstack.org/cgit/openstack/watcher/commit/?id=681536c8c7156c8326dbabbe21c9a4129ec38f32
Submitter: Jenkins
Branch: master

commit 681536c8c7156c8326dbabbe21c9a4129ec38f32
Author: Bruno Grazioli <email address hidden>
Date: Fri Mar 4 14:50:07 2016 +0100

    Added Disk Capacity in cluster-data-model

    Fetched information of total disk capacity from nova and added a new
    resource 'disk_capacity' to NovaClusterModelCollector cluster. Also a
    new resource type 'disk_capacity' was added to ResourceType.
    https://bugs.launchpad.net/watcher/+bug/1553124

    Change-Id: I85750f25c6d2693432da8e5e3a3d0861320f4787
    Closes-Bug: #1553124

Changed in watcher:
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.