wsgi_script generated binaries listen on (incorrect) default port 8000
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Aodh |
Invalid
|
Undecided
|
Unassigned | ||
Ceilometer |
Invalid
|
Undecided
|
Unassigned | ||
OpenStack AODH Charm |
Fix Released
|
High
|
Unassigned | ||
Ubuntu Cloud Archive |
Fix Released
|
High
|
Unassigned | ||
aodh (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
ceilometer (Juju Charms Collection) |
Fix Released
|
High
|
Unassigned | ||
ceilometer (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
As a result of the switch in aodh and ceilometer to using pbr's wsgi_script to generate the <pkg>-api binary, the API daemons now listen on port 8000 (the default as provided by this capability), rather than the port specified in the relevant projects configuration file:
$ /usr/bin/aodh-api
2016-10-03 08:40:49.162 26809 INFO aodh.api.app [-] Full WSGI config used: /etc/aodh/
*******
STARTING test server aodh.api.
Available at http://
DANGER! For testing only, do not use in production
*******
snip from /etc/aodh/aodh.conf
[api]
port = 8032
this is fixable in packaging via the systemd unit configuration file, but it does mean that currently the process will never listen on the port as specified in the projects configuration file.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: aodh-api 3.0.0~rc1-
ProcVersionSign
Uname: Linux 4.4.0-38-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CrashDB:
{
}
Date: Mon Oct 3 08:41:11 2016
Ec2AMI: ami-0000044a
Ec2AMIManifest: FIXME
Ec2Availability
Ec2InstanceType: m1.small.osci
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
PackageArchitec
SourcePackage: aodh
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in ceilometer (Juju Charms Collection): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in charm-aodh: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in cloud-archive: | |
status: | Triaged → Fix Committed |
Changed in charm-aodh: | |
status: | Triaged → Fix Released |
Changed in ceilometer (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
The options have been removed from the projects, so they're now used.