Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1483456 - Ceilometer can't find nova instance because of name differences
Ceilometer can't find nova instance because of name differences
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates (Show other bugs)
10.0 (Newton)
Unspecified Unspecified
high Severity high
: rc
: 12.0 (Pike)
Assigned To: Pradeep Kilambi
Sasha Smolyak
: Triaged
: 1496388 (view as bug list)
Depends On:
Blocks: 1515969
  Show dependency treegraph
 
Reported: 2017-08-21 03:42 EDT by Sasha Smolyak
Modified: 2018-04-03 17:10 EDT (History)
25 users (show)

See Also:
Fixed In Version: openstack-tripleo-heat-templates-7.0.3-11.el7ost puppet-ceilometer-11.3.0-3.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1515969 (view as bug list)
Environment:
Last Closed: 2017-12-13 16:53:35 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 3198662 None None None 2017-09-28 05:26 EDT
OpenStack gerrit 509180 None None None 2017-10-03 11:09 EDT
OpenStack gerrit 509199 None None None 2017-10-03 11:08 EDT
OpenStack gerrit 518010 None None None 2017-11-15 13:39 EST
Red Hat Product Errata RHEA-2017:3462 normal SHIPPED_LIVE Red Hat OpenStack Platform 12.0 Enhancement Advisory 2018-02-15 20:43:25 EST

  None (edit)
Description Sasha Smolyak 2017-08-21 03:42:55 EDT
Description of problem:
Ceilometer can't find nova instance because of name differences: it appears as compute-2 for ceilometer in ceilometer.conf (host = socket.gethostname()) and as 
host=compute-2.localdomain in nova.conf.
So there are no events sent from that instance.

There are several ways of workaround, from removing host= in
nova.conf to adding it to ceilometer.conf.It should work by default so there should not be any need to add or remove host.

You can add Ceilometer DFG to this bug

Version-Release number of selected component (if applicable):
openstack-nova-conductor-14.0.7-11.el7ost.noarch
openstack-nova-scheduler-14.0.7-11.el7ost.noarch
openstack-nova-cert-14.0.7-11.el7ost.noarch
openstack-nova-api-14.0.7-11.el7ost.noarch
openstack-nova-common-14.0.7-11.el7ost.noarch
openstack-nova-compute-14.0.7-11.el7ost.noarch


openstack-ceilometer-common-7.1.0-2.el7ost.noarch
openstack-ceilometer-notification-7.1.0-2.el7ost.noarch
openstack-ceilometer-central-7.1.0-2.el7ost.noarch
openstack-ceilometer-api-7.1.0-2.el7ost.noarch
openstack-ceilometer-collector-7.1.0-2.el7ost.noarch
openstack-ceilometer-polling-7.1.0-2.el7ost.noarch


How reproducible:
100%


Steps to Reproduce:
1. Deploy puddle 2017-18-18.2
2. Create an instance
3. Observe the instance hostname

Actual results:
The names differ, no resource is found by ceilometer

Expected results:
The ceilometer must find the resource automatically

Additional info:
Comment 1 Sven Anderson 2017-08-25 11:01:57 EDT
If I'm not mistaken the nova.conf is correct, and the ceilometer.conf is wrong. So, I will move it to the Telemetry DFG for now.
Comment 2 Julien Danjou 2017-09-16 08:23:41 EDT
This is only a problem for deployment where hosts do not have fully qualified hostname, e.g. they rely on localdomain.
Comment 5 Chen 2017-09-27 11:12:49 EDT
*** Bug 1496388 has been marked as a duplicate of this bug. ***
Comment 11 Jon Schlueter 2017-11-21 16:25:44 EST
openstack-tripleo-heat-templates-7.0.3-11.el7ost
Comment 17 errata-xmlrpc 2017-12-13 16:53:35 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2017:3462

Note You need to log in before you can comment on or make changes to this bug.