[Bug 1671509] Re: placement api configuration in apache configure CustomLog incorrectly
Corey Bryant
corey.bryant at canonical.com
Thu Mar 9 21:33:01 UTC 2017
Updated packages for keystone and nova have been uploaded to zesty and
will work their way back to the ocata cloud archive.
--
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 Committed
Status in nova package in Ubuntu:
Fix Committed
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