ceilometer-agent-compute should reach endpoints via internal URL instead of public

Bug #1388745 reported by Bogdan Dobrelya
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Bogdan Dobrelya
5.1.x
Fix Released
Medium
Bogdan Dobrelya
6.0.x
Fix Released
Medium
Bogdan Dobrelya

Bug Description

Disabled br-ex mappings for compute nodes to allow them do not use additional public IP addresses make ceilometer-agent-compute cannot reach API endpoints via public VIP. The solution is to use os_endpoint_type = internalURL in ceilometer.conf at compute nodes.

See http://docs.openstack.org/developer/ceilometer/configuration.html

Changed in fuel:
importance: Undecided → Medium
milestone: none → 6.0
assignee: nobody → Bogdan Dobrelya (bogdando)
status: New → Triaged
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

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

Changed in fuel:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/5.1)

Fix proposed to branch: stable/5.1
Review: https://review.openstack.org/132519

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/132518
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=5ddba42b35edc3fd18cf1dbdb511c1ce68637c39
Submitter: Jenkins
Branch: master

commit 5ddba42b35edc3fd18cf1dbdb511c1ce68637c39
Author: Bogdan Dobrelya <email address hidden>
Date: Mon Nov 3 09:48:10 2014 +0100

    Use internalURL for ceilometer-agent-compute

    Compute nodes cannot reach public VIP w/o
    br-ex mappings configured. In order to allow
    ceilometer compute agent to communicate with
    API endpoints, use internalURL.

    Closes-bug: #1388745

    Change-Id: Id32f551ffb79f8e32660cee7b167176c800ac54d
    Signed-off-by: Bogdan Dobrelya <email address hidden>

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (stable/5.1)

Reviewed: https://review.openstack.org/132519
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=64f32aa0d1c5d49e635b83b38d2bbad50cdbf686
Submitter: Jenkins
Branch: stable/5.1

commit 64f32aa0d1c5d49e635b83b38d2bbad50cdbf686
Author: Bogdan Dobrelya <email address hidden>
Date: Mon Nov 3 09:48:10 2014 +0100

    Use internalURL for ceilometer-agent-compute

    Compute nodes cannot reach public VIP w/o
    br-ex mappings configured. In order to allow
    ceilometer compute agent to communicate with
    API endpoints, use internalURL.

    Closes-bug: #1388745

    Change-Id: Id32f551ffb79f8e32660cee7b167176c800ac54d
    Signed-off-by: Bogdan Dobrelya <email address hidden>

Revision history for this message
Anastasia Palkina (apalkina) wrote :

Verified on ISO #19

"build_id": "2014-11-17_21-00-23", "ostf_sha": "64cb59c681658a7a55cc2c09d079072a41beb346", "build_number": "19", "auth_required": true, "api": "1.0", "nailgun_sha": "2fcab95dc43a248ba867065e96ab764ee73882d1", "production": "docker", "fuelmain_sha": "ff22ca819e6eb7c63b6d7978fdd80ef9b84457d9", "astute_sha": "fce051a6d013b1c30aa07320d225f9af734545de", "feature_groups": ["mirantis"], "release": "5.1.1", "release_versions": {"2014.1.3-5.1.1": {"VERSION": {"build_id": "2014-11-17_21-00-23", "ostf_sha": "64cb59c681658a7a55cc2c09d079072a41beb346", "build_number": "19", "api": "1.0", "nailgun_sha": "2fcab95dc43a248ba867065e96ab764ee73882d1", "production": "docker", "fuelmain_sha": "ff22ca819e6eb7c63b6d7978fdd80ef9b84457d9", "astute_sha": "fce051a6d013b1c30aa07320d225f9af734545de", "feature_groups": ["mirantis"], "release": "5.1.1", "fuellib_sha": "add3fdd3e2af57b20dbb73a6bc53a9ccc4701c9a"}}}, "fuellib_sha": "add3fdd3e2af57b20dbb73a6bc53a9ccc4701c9a"

On compute node:

[root@node-2 ~]# less /etc/ceilometer/ceilometer.conf | grep os_endpoint_type
#os_endpoint_type=publicURL
os_endpoint_type=internalURL

Revision history for this message
Anastasia Palkina (apalkina) wrote :

Verified on ISO #122 for 6.0

"build_id": "2014-11-20_22-01-01", "ostf_sha": "8be702d5cafcb78ac1d93e5fc27d9272cce4773e", "build_number": "122", "auth_required": true, "api": "1.0", "nailgun_sha": "e4c59607c852f1b3761ef06c9c348994c98a7269", "production": "docker", "fuelmain_sha": "3a6833b3e5223c8eacadb1a0a22600813419e9a9", "astute_sha": "46d23177f9c0e53fb7a4729f394d9841b1bae338", "feature_groups": ["mirantis"], "release": "6.0", "release_versions": {"2014.2-6.0": {"VERSION": {"build_id": "2014-11-20_22-01-01", "ostf_sha": "8be702d5cafcb78ac1d93e5fc27d9272cce4773e", "build_number": "122", "api": "1.0", "nailgun_sha": "e4c59607c852f1b3761ef06c9c348994c98a7269", "production": "docker", "fuelmain_sha": "3a6833b3e5223c8eacadb1a0a22600813419e9a9", "astute_sha": "46d23177f9c0e53fb7a4729f394d9841b1bae338", "feature_groups": ["mirantis"], "release": "6.0", "fuellib_sha": "666c40d0f5c0bb3dbeaa02b7ba62d038453bae0f"}}}, "fuellib_sha": "666c40d0f5c0bb3dbeaa02b7ba62d038453bae0f"

root@node-4:~# less /etc/ceilometer/ceilometer.conf | grep os_endpoint_type
#os_endpoint_type=publicURL
os_endpoint_type=internalURL

Revision history for this message
Stepan Rogov (srogov) wrote :

Guys, please reopen to 6.1/7.0
Fix the same

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.