cannot specify bind_host for api

Bug #1183314 reported by Darren Birkett
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ceilometer
Fix Released
Undecided
Darren Birkett

Bug Description

I want to be able to specify a different bind_host than the default of '0.0.0.0'. There is no way to do this. From bin/ceilometer-api:

    # Create the WSGI server and start it
    host, port = '0.0.0.0', int(cfg.CONF.metering_api_port)
    srv = simple_server.make_server(host, port, root)

options need to be added to ceilometer/api/__init__.py to allow specifying a host, and to bin/ceilometer-api to read it.

Changed in ceilometer:
assignee: nobody → Darren Birkett (darren-birkett)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ceilometer (master)

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

Changed in ceilometer:
status: New → In Progress
tags: added: grizzly-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (master)

Reviewed: https://review.openstack.org/30259
Committed: http://github.com/openstack/ceilometer/commit/dc939cec5cc65592e60da33cfd10bf09a2fbee47
Submitter: Jenkins
Branch: master

commit dc939cec5cc65592e60da33cfd10bf09a2fbee47
Author: Darren Birkett <email address hidden>
Date: Tue May 28 12:39:01 2013 +0100

    Allow specifying a listen IP

    Fixes: Bug #1183314

    - Update api options in ceilometer/api
    - Create 'api' option group
    - Read options in bin/ceilometer-api
    - Update sample config
    - Updated tests

    Change-Id: Ic76d95f262ac9b0675cf37698c9bcdf65aff9821

Changed in ceilometer:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in ceilometer:
milestone: none → havana-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ceilometer:
milestone: havana-1 → 2013.2
Alan Pevec (apevec)
tags: removed: grizzly-backport-potential
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.