[Bug 1671509] Re: placement api configuration in apache configure CustomLog incorrectly
Launchpad Bug Tracker
1671509 at bugs.launchpad.net
Thu Mar 9 22:35:55 UTC 2017
This bug was fixed in the package nova - 2:15.0.0-0ubuntu1.1
---------------
nova (2:15.0.0-0ubuntu1.1) zesty; urgency=medium
* d/nova-placement-api.conf: Fix typo in combined log format (LP:
#1671509).
-- Corey Bryant <corey.bryant at canonical.com> Thu, 09 Mar 2017 15:28:19
-0500
** Changed in: nova (Ubuntu)
Status: Fix Committed => Fix Released
** Changed in: keystone (Ubuntu)
Status: Fix Committed => Fix Released
--
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/1671509
Title:
placement api configuration in apache configure CustomLog incorrectly
Status in Ubuntu Cloud Archive:
Fix Committed
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