Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1438743

Summary: Error 404 in ceilometer collector logs when shutting down compute nodes
Product: Red Hat OpenStack Reporter: Sasha Smolyak <ssmolyak>
Component: openstack-ceilometerAssignee: Mehdi ABAAKOUK <mabaakou>
Status: CLOSED ERRATA QA Contact: Sasha Smolyak <ssmolyak>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 11.0 (Ocata)CC: jdanjou, jruzicka, mabaakou, slinaber, srevivo
Target Milestone: z2Keywords: Triaged, ZStream
Target Release: 11.0 (Ocata)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-ceilometer-8.1.0-2.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-13 21:40:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1471914    
Bug Blocks:    

Description Sasha Smolyak 2017-04-04 10:39:17 UTC
Description of problem:
When shutting down compute nodes, get 404 error about resources connected to them in ceilometer/collector.log on undercloud

Version-Release number of selected component (if applicable):
openstack-ceilometer-notification-8.0.1-1.el7ost.noarch
openstack-ceilometer-polling-8.0.1-1.el7ost.noarch
openstack-ceilometer-collector-8.0.1-1.el7ost.noarch
openstack-ceilometer-central-8.0.1-1.el7ost.noarch
openstack-ceilometer-common-8.0.1-1.el7ost.noarch


How reproducible:
Always

Steps to Reproduce:
1. Deploy undercloud with enable_telemetry = True, enable_legacy_ceilometer_api  = False
2. Restart ceilometer services on undercloud, observe the full list of resources in openstack metric resource list

3. Shut down a compute node openstack server stop <vmId>

4. Observe /var/log/ceilometer/collector.log on undercloud

Actual results:
2017-04-04 06:24:31.611 29946 ERROR ceilometer.dispatcher.gnocchi [-] Resource 8a097776-7a3f-4b11-9d9c-59d57f62618b does not exist (HTTP 404)
2017-04-04 06:24:31.639 29946 ERROR ceilometer.dispatcher.gnocchi [-] Resource 823a40fb-b40a-46cc-b3b2-d448c4e89fe1 does not exist (HTTP 404)
2017-04-04 06:24:31.665 29946 ERROR ceilometer.dispatcher.gnocchi [-] Resource 107c03f6-9a9b-4b2d-895e-bf0047f736b8 does not exist (HTTP 404)
2017-04-04 06:24:31.704 29946 ERROR ceilometer.dispatcher.gnocchi [-] Resource d1790243-5c76-4b15-9513-eebbad9181aa does not exist (HTTP 404)


Expected results:
No errors

Additional info:

Comment 1 Mehdi ABAAKOUK 2017-05-18 07:07:53 UTC
Fix will be part of Ceilometer 8.0.2 upstream release.

Comment 5 Sasha Smolyak 2017-08-31 09:03:38 UTC
No 404 error after restart. But We do have the errors on startup, before the first restart of the services. Is it a known issue? Do we have in our notes "Restart the services after first installation" or smth like that?
Anyway, verified.

Comment 7 errata-xmlrpc 2017-09-13 21:40:17 UTC
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/RHBA-2017:2724