[Bug 1671509] Re: placement api configuration in apache configure CustomLog incorrectly

Chris MacNaughton 1671509 at bugs.launchpad.net
Thu Jun 18 08:47:09 UTC 2020


Given that these went fix-committed three years ago, I'm marking the
Cloud Archive task as fix-released as well

** Changed in: cloud-archive
       Status: Fix Committed => Fix Released

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

Title:
  placement api configuration in apache configure CustomLog incorrectly

Status in Ubuntu Cloud Archive:
  Fix Released
Status in keystone package in Ubuntu:
  Fix Released
Status in nova package in Ubuntu:
  Fix Released

Bug description:
  I'm using ubuntu 16.04 to verify the nova install docs being updated
  at https://review.openstack.org/#/c/438328/ using packages via add-
  apt-repository ppa:ubuntu-cloud-archive/ocata-staging

  When doing that the logs for the placement service end up looking like
  this:

  ==> nova_placement_access.log <==
  combine
  combine
  combine
  combine
  combine
  combine
  combine
  combine
  combine
  combine
  combine
  combine

  This is because in /etc/apache2/sites-available/nova-placement-
  api.conf the CustomLog directive uses a custom type of 'combine' and
  it needs to be 'combined' (with a 'd' on the end). If I make this fix
  the logs show the expected output:

  ==> nova_placement_access.log <==
  127.0.0.1 - - [09/Mar/2017:14:50:08 +0000] "GET /resource_providers/bfe7cf08-19d9-4262-b51a-a132e884346b/aggregates HTTP/1.1" 200 362 "-" "nova-compute keystoneauth1/2.18.0 python-requests/2.12.4 CPython/2.7.12"
  127.0.0.1 - - [09/Mar/2017:14:50:17 +0000] "GET /resource_providers/bfe7cf08-19d9-4262-b51a-a132e884346b/inventories HTTP/1.1" 200 739 "-" "nova-compute keystoneauth1/2.18.0 python-requests/2.12.4 CPython/2.7.12"
  127.0.0.1 - - [09/Mar/2017:14:50:20 +0000] "GET /resource_providers/bfe7cf08-19d9-4262-b51a-a132e884346b/allocations HTTP/1.1" 200 397 "-" "nova-compute keystoneauth1/2.18.0 python-requests/2.12.4 CPython/2.7.12"
  127.0.0.1 - - [09/Mar/2017:14:51:09 +0000] "GET /resource_providers/bfe7cf08-19d9-4262-b51a-a132e884346b/aggregates HTTP/1.1" 200 362 "-" "nova-compute keystoneauth1/2.18.0 python-requests/2.12.4 CPython/2.7.12"
  127.0.0.1 - - [09/Mar/2017:14:51:09 +0000] "GET /resource_providers/bfe7cf08-19d9-4262-b51a-a132e884346b/inventories HTTP/1.1" 200 739 "-" "nova-compute keystoneauth1/2.18.0 python-requests/2.12.4 CPython/2.7.12"
  127.0.0.1 - - [09/Mar/2017:14:51:09 +0000] "GET /resource_providers/bfe7cf08-19d9-4262-b51a-a132e884346b/allocations HTTP/1.1" 200 397 "-" "nova-compute keystoneauth1/2.18.0 python-requests/2.12.4 CPython/2.7.12"

  
  **Note**: this same typo is present in the CustomLog setting for the virtual host on port 5000 in keystone.conf.

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



More information about the Ubuntu-openstack-bugs mailing list