Bug 1301056

Summary: In IPv6 deployments the ceilometer compute agent cannot reach the public endpoint
Product: Red Hat OpenStack Reporter: Marius Cornea <mcornea>
Component: openstack-tripleo-heat-templatesAssignee: Giulio Fidente <gfidente>
Status: CLOSED ERRATA QA Contact: Marius Cornea <mcornea>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.0 (Kilo)CC: dmacpher, gfidente, mburns, rhel-osp-director-maint
Target Milestone: y3   
Target Release: 7.0 (Kilo)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-0.8.6-112.el7ost Doc Type: Bug Fix
Doc Text:
The Ceilometer Compute Agent in IPv6-based Overclouds could not reach the public endpoint and reported errors such as: ConnectionError: ('Connection aborted.', gaierror(-2, 'Name or service not known')) This fix switches the endpoint to 'internalURL' instead of 'publicURL'.
Story Points: ---
Clone Of:
: 1301126 (view as bug list) Environment:
Last Closed: 2016-02-18 16:51:33 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: 1301126    
Bug Blocks:    

Description Marius Cornea 2016-01-22 13:13:19 UTC
Description of problem:
In IPv6 deployments the ceilometer compute agent cannot reach the public endpoint so it fails with errors like:
 ConnectionError: ('Connection aborted.', gaierror(-2, 'Name or service not known'))

Since the compute nodes can only reach the isolated network and don't have a means to reach the public endpoint we should switch the os_endpoint_type in /etc/ceilometer/ceilometer.conf to internalURL which can be reachable via the internal_api network.

Version-Release number of selected component (if applicable):
openstack-tripleo-heat-templates-0.8.6-111.el7ost.noarch

How reproducible:
100% 

Steps to Reproduce:
1. Deploy ipv6 enable overcloud
2. Check /var/log/ceilometer/compute.log

Actual results:
ConnectionError: ('Connection aborted.', gaierror(-2, 'Name or service not known'))

Expected results:
There are no errors reported.

Comment 3 errata-xmlrpc 2016-02-18 16:51:33 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-2016-0264.html