Public bug reported:

[Impact]

After installing octavia-api the systemd unit fails to start:

Failed 'systemctl status octavia-api' output shows:

error: unrecognized arguments: --http-socket [::]:9876 --ini
/etc/octavia/octavia-api-uwsgi.ini

[Test Case]
1) sudo apt install octavia-api
2) watch systemctl status octavia-api  # watch for about 10 seconds and ensure 
it doesn't fail
3) curl 127.0.0.1:9876 # should return something like [1], not [2]

[1] {"versions": [{"id": "v1", "status": "DEPRECATED", "updated":
"2014-12-11T00:00:00Z", "links": [{"href": "http://127.0.0.1:9876/v1";,
"rel": "self"}]}, {"id": "v2.0", "status": "SUPPORTED", "updated":
"2016-12-11T00:00:00Z", "links": [{"href": "http://127.0.0.1:9876/v2";,
"rel": "self"}]}, {"id": "v2.1", "status": "SUPPORTED", "updated":
"2018-04-20T00:00:00Z", "links": [{"href": "http://127.0.0.1:9876/v2";,
"rel": "self"}]}, {"id": "v2.2", "status": "CURRENT", "updated":
"2018-07-31T00:00:00Z", "links": [{"href": "http://127.0.0.1:9876/v2";,
"rel": "self"}]}]}

[2] curl: (7) Failed to connect to 127.0.0.1 port 9876: Connection
refused

[Regression Potential]
Low. This is just allowing use of the default or configured port from octavia's 
config file.

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

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

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

** Affects: octavia (Ubuntu Cosmic)
     Importance: High
         Status: Triaged

** Affects: octavia (Ubuntu Dd-series)
     Importance: High
         Status: Triaged

** Also affects: octavia (Ubuntu Dd-series)
   Importance: Undecided
       Status: New

** Also affects: octavia (Ubuntu Cosmic)
   Importance: Undecided
       Status: New

** Also affects: cloud-archive
   Importance: Undecided
       Status: New

** Also affects: cloud-archive/rocky
   Importance: Undecided
       Status: New

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

** Changed in: cloud-archive/rocky
   Importance: Undecided => Critical

** Changed in: cloud-archive/rocky
   Importance: Critical => High

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

** Changed in: octavia (Ubuntu Dd-series)
   Importance: Undecided => High

** Changed in: octavia (Ubuntu Dd-series)
       Status: New => Triaged

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

** Description changed:

  [Impact]
  
- After installing octavia-api the systemd unit file fails to start:
+ After installing octavia-api the systemd unit fails to start:
  
  Failed 'systemctl status octavia-api' output shows:
  
- octavia-api from uca/rocky doesn't start, octavia-api: error:
- unrecognized arguments: --http-socket [::]:9876 --ini /etc/octavia
- /octavia-api-uwsgi.ini
+ error: unrecognized arguments: --http-socket [::]:9876 --ini
+ /etc/octavia/octavia-api-uwsgi.ini
  
  [Test Case]
  1) sudo apt install octavia-api
  2) watch systemctl status octavia-api  # watch for about 10 seconds and 
ensure it doesn't fail
  3) curl 127.0.0.1:9876 # should return something like [1], not [2]
  
  [1] {"versions": [{"id": "v1", "status": "DEPRECATED", "updated":
  "2014-12-11T00:00:00Z", "links": [{"href": "http://127.0.0.1:9876/v1";,
  "rel": "self"}]}, {"id": "v2.0", "status": "SUPPORTED", "updated":
  "2016-12-11T00:00:00Z", "links": [{"href": "http://127.0.0.1:9876/v2";,
  "rel": "self"}]}, {"id": "v2.1", "status": "SUPPORTED", "updated":
  "2018-04-20T00:00:00Z", "links": [{"href": "http://127.0.0.1:9876/v2";,
  "rel": "self"}]}, {"id": "v2.2", "status": "CURRENT", "updated":
  "2018-07-31T00:00:00Z", "links": [{"href": "http://127.0.0.1:9876/v2";,
  "rel": "self"}]}]}
  
  [2] curl: (7) Failed to connect to 127.0.0.1 port 9876: Connection
  refused
  
  [Regression Potential]
- Low. This is just allowing use of the default port.
+ Low. This is just allowing use of the default or configured port from 
octavia's config file.

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

Title:
  [SRU] octavia-api won't start by default

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1798891/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to