PBR

No way to specify a default port rather than 8000

Bug #1632682 reported by Yurii Prokulevych
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Invalid
Undecided
Unassigned
PBR
Confirmed
Wishlist
Unassigned

Bug Description

/usr/bin/ceilometer-api has a default value for '--port' argument set to 8000 and not 8777.

This causes api to fail on undercloud with error: """ Address already in use """

Package:
--------
openstack-ceilometer-api-7.0.0-0.20160928024313.67bbd3f.el7ost.noarch

Regards,
Yurii

Revision history for this message
Julien Danjou (jdanjou) wrote :

This comes from pbr. Just pass the --port option to change it.

Changed in ceilometer:
status: New → Invalid
Revision history for this message
Julien Danjou (jdanjou) wrote :

Added pbr to the bug which should provide a way to change the default?

summary: - ceilometer api has default port set to 8000 instead of 8777
+ No way to specify a default port rather than 8000
Revision history for this message
Ben Nemec (bnemec) wrote :

I don't see how pbr would be changing the default for a config opt. We would need more details on exactly what is happening in order to figure out how to fix this.

Changed in pbr:
status: New → Incomplete
Revision history for this message
Ben Nemec (bnemec) wrote :

My mistake. I just ran across https://bugs.launchpad.net/pbr/+bug/1494524 which explains how this works (and how it shouldn't work that way). I missed it in the grep because I was looking for oslo.config Opts, not argparse.

The relevant code is https://github.com/openstack-dev/pbr/blob/7767c44ab1289ed7d1cc4f9e12986bef07865d5c/pbr/packaging.py#L295

Changed in pbr:
status: Incomplete → Confirmed
importance: Undecided → Wishlist
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.