Bug 1174997 - rubygem-staypuft: "Failed to record metering data: not master" errors in /var/log/ceilometer/collector.log on all controllers.
Summary: rubygem-staypuft: "Failed to record metering data: not master" errors in /var...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-foreman-installer
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ga
: Installer
Assignee: Jason Guiditta
QA Contact: Leonid Natapov
URL:
Whiteboard:
Depends On:
Blocks: 1177026
TreeView+ depends on / blocked
 
Reported: 2014-12-16 22:53 UTC by Alexander Chuzhoy
Modified: 2015-02-09 15:18 UTC (History)
8 users (show)

Fixed In Version: openstack-foreman-installer-3.0.8-1.el7ost
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-09 15:18:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
logs from controllers (437.74 KB, application/x-gzip)
2014-12-16 22:57 UTC, Alexander Chuzhoy
no flags Details
log (25.05 KB, text/plain)
2015-01-05 08:47 UTC, Leonid Natapov
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0156 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform Installer Bug Fix Advisory 2015-02-09 20:13:39 UTC

Description Alexander Chuzhoy 2014-12-16 22:53:32 UTC
rubygem-staypuft: "Failed to record metering data: not master" errors in /var/log/ceilometer/collector.log on all controllers.


Environment:
openstack-foreman-installer-3.0.6-1.el7ost.noarch
ruby193-rubygem-staypuft-0.5.6-1.el7ost.noarch
ruby193-rubygem-foreman_openstack_simplify-0.0.6-8.el7ost.noarch
rhel-osp-installer-client-0.5.3-1.el7ost.noarch
openstack-puppet-modules-2014.2.7-2.el7ost.noarch
rhel-osp-installer-0.5.3-1.el7ost.noarch


Steps to reproduce:
1. install rhel-osp-installer.
2. Create/run haneutron deployment with 3 controllers+2 computes.

Result:
Checking the /var/log/ceilometer/collector.log file, found these errors on all controllers:

2014-12-16 17:36:15.067 7237 ERROR ceilometer.dispatcher.database [-] Failed to record metering data: not master
2014-12-16 17:36:15.067 7237 TRACE ceilometer.dispatcher.database     msg, allowable_errors)
2014-12-16 17:36:15.476 7237 ERROR ceilometer.dispatcher.database [-] Failed to record metering data: not master
2014-12-16 17:36:15.476 7237 TRACE ceilometer.dispatcher.database     msg, allowable_errors)

Expected result: no error in the log.

Comment 1 Alexander Chuzhoy 2014-12-16 22:57:49 UTC
Created attachment 969786 [details]
logs from controllers

Comment 4 Crag Wolfe 2014-12-18 01:42:11 UTC
I have not seen this issue yet with a fresh install which includes 3 controllers and a compute node with a launched VM.  I am seeing another (most likely unrelated) keystone error:

2014-12-17 14:04:08.454 10817 WARNING keystonemiddleware.auth_token [-] Authorization failed for token
2014-12-17 15:04:08.813 10817 WARNING keystonemiddleware.auth_token [-] Authorization failed for token
2014-12-17 16:04:09.184 10817 WARNING keystonemiddleware.auth_token [-] Authorization failed for token
2014-12-17 17:04:09.813 10817 WARNING keystonemiddleware.auth_token [-] Authorization failed for token

Comment 5 Mike Burns 2014-12-18 13:57:36 UTC
Fixed in latest build by other patches.

Comment 8 Leonid Natapov 2015-01-05 08:43:55 UTC
1.tested on openstack-foreman-installer-3.0.8-1.el7ost.

2.Still see Failed to record messages in /var/log/ceilometer/collector.log

But this time those are different messages.

Instead of 2014-12-16 17:36:15.067 7237 ERROR ceilometer.dispatcher.database [-] Failed to record metering data: not master

I see

2015-01-04 11:07:48.977 57134 ERROR ceilometer.dispatcher.database [-] Failed to record metering data: could not connect to 10.35.173.181:27017: [Errno 113] EHOSTUNREACH

 
log attached

Comment 9 Leonid Natapov 2015-01-05 08:47:04 UTC
Created attachment 976256 [details]
log

Comment 10 Mike Burns 2015-01-05 16:17:17 UTC
(In reply to Leonid Natapov from comment #8)
> 1.tested on openstack-foreman-installer-3.0.8-1.el7ost.
> 
> 2.Still see Failed to record messages in /var/log/ceilometer/collector.log
> 
> But this time those are different messages.
> 
> Instead of 2014-12-16 17:36:15.067 7237 ERROR ceilometer.dispatcher.database
> [-] Failed to record metering data: not master
> 
> I see
> 
> 2015-01-04 11:07:48.977 57134 ERROR ceilometer.dispatcher.database [-]
> Failed to record metering data: could not connect to 10.35.173.181:27017:
> [Errno 113] EHOSTUNREACH
> 
>  
> log attached

This should be filed separately.  Different error messages generally mean different root causes.  

That being said, this appears to be an environmental issue.  If it couldn't connect to the ceilometer host, that appears environmental.

Comment 11 Leonid Natapov 2015-01-11 14:33:11 UTC
The messages described in  the bug don't appear on openstack-foreman-installer-3.0.8-1.el7ost.
Verifying this bz.

Comment 14 errata-xmlrpc 2015-02-09 15:18:23 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://rhn.redhat.com/errata/RHBA-2015-0156.html


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