[Bug 1629796] [NEW] wsgi_script generated binaries listen on (incorrect) default port 8000

James Page james.page at ubuntu.com
Mon Oct 3 08:45:47 UTC 2016


Public bug reported:

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/api_paste.ini
********************************************************************************
STARTING test server aodh.api.app.build_wsgi_app
Available at http://10.5.19.209:8000/
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-0ubuntu2~cloud0 [modified: lib/systemd/system/aodh-api.service] [origin: Canonical]
ProcVersionSignature: Ubuntu 4.4.0-38.57-generic 4.4.19
Uname: Linux 4.4.0-38-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CrashDB:
 {
                "impl": "launchpad",
                "project": "cloud-archive",
                "bug_pattern_url": "http://people.canonical.com/~ubuntu-archive/bugpatterns/bugpatterns.xml",
             }
Date: Mon Oct  3 08:41:11 2016
Ec2AMI: ami-0000044a
Ec2AMIManifest: FIXME
Ec2AvailabilityZone: nova
Ec2InstanceType: m1.small.osci
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
PackageArchitecture: all
SourcePackage: aodh
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: aodh
     Importance: Undecided
         Status: New

** Affects: ceilometer
     Importance: Undecided
         Status: New

** Affects: cloud-archive
     Importance: High
         Status: Triaged

** Affects: aodh (Ubuntu)
     Importance: High
         Status: Triaged

** Affects: ceilometer (Ubuntu)
     Importance: High
         Status: Triaged


** Tags: amd64 apport-bug ec2-images third-party-packages xenial

** Summary changed:

- aodh-api process listens on incorrect port
+ wsgi_script generated binaries listen on (incorrect) default port 8000

** Also affects: aodh (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: ceilometer (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: ceilometer
   Importance: Undecided
       Status: New

** Also affects: aodh
   Importance: Undecided
       Status: New

** Changed in: cloud-archive
       Status: New => Triaged

** Changed in: aodh (Ubuntu)
       Status: New => Triaged

** Changed in: cloud-archive
   Importance: Undecided => High

** Changed in: ceilometer (Ubuntu)
       Status: New => Triaged

** Changed in: aodh (Ubuntu)
   Importance: Undecided => High

** Changed in: ceilometer (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
https://bugs.launchpad.net/bugs/1629796

Title:
  wsgi_script generated binaries listen on (incorrect) default port 8000

Status in Aodh:
  New
Status in Ceilometer:
  New
Status in Ubuntu Cloud Archive:
  Triaged
Status in aodh package in Ubuntu:
  Triaged
Status in ceilometer package in Ubuntu:
  Triaged

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/api_paste.ini
  ********************************************************************************
  STARTING test server aodh.api.app.build_wsgi_app
  Available at http://10.5.19.209:8000/
  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-0ubuntu2~cloud0 [modified: lib/systemd/system/aodh-api.service] [origin: Canonical]
  ProcVersionSignature: Ubuntu 4.4.0-38.57-generic 4.4.19
  Uname: Linux 4.4.0-38-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.1
  Architecture: amd64
  CrashDB:
   {
                  "impl": "launchpad",
                  "project": "cloud-archive",
                  "bug_pattern_url": "http://people.canonical.com/~ubuntu-archive/bugpatterns/bugpatterns.xml",
               }
  Date: Mon Oct  3 08:41:11 2016
  Ec2AMI: ami-0000044a
  Ec2AMIManifest: FIXME
  Ec2AvailabilityZone: nova
  Ec2InstanceType: m1.small.osci
  Ec2Kernel: unavailable
  Ec2Ramdisk: unavailable
  PackageArchitecture: all
  SourcePackage: aodh
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/aodh/+bug/1629796/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list