Malformed host field in instance resources

Bug #1506610 reported by nubeliu_dev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Fix Released
Undecided
Liusheng

Bug Description

The host field is formed using a hash between the project id and the hypervisor name.

This field is useless if you want to filter by hypervisor, add/replace by the hostname instead would be better for that purpose.

Revision history for this message
Julien Danjou (jdanjou) wrote :

Not sure I understand how this is a Gnocchi bug. We don't set anything to host, that's more Ceilometer I imagine you refer to?

affects: gnocchi → ceilometer
Revision history for this message
nubeliu_dev (o-dev-7) wrote :

You're right! It's ceilometer collector.

Liusheng (liusheng)
Changed in ceilometer:
assignee: nobody → Liusheng (liusheng)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ceilometer (master)

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

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

Reviewed: https://review.openstack.org/235702
Committed: https://git.openstack.org/cgit/openstack/ceilometer/commit/?id=de5ff7303d6f278ef37149297bbb7d2e77f45a0d
Submitter: Jenkins
Branch: master

commit de5ff7303d6f278ef37149297bbb7d2e77f45a0d
Author: liusheng <email address hidden>
Date: Fri Oct 16 09:48:41 2015 +0800

    Correct the host field of instance metadata

    Fow now, the 'host' field of instance resource medata is instance.hostId,
    which is a hash string based on project id and hypervisor name, it is
    hard to indicate which host the instance running on. This change add a new
    instance metadata field "instance_host" to indicate the hostname of the
    host the instance running on.

    Change-Id: Iaa6fa9ef099f617da30cc7af74aa74a845064489
    Closes-Bug: #1506610

Changed in ceilometer:
status: In Progress → Fix Released
Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/ceilometer 6.0.0.0b2

This issue was fixed in the openstack/ceilometer 6.0.0.0b2 development milestone.

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.