placement api configuration in apache configure CustomLog incorrectly

Bug #1671509 reported by Chris Dent on 2017-03-09
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Cloud Archive
High
Corey Bryant
keystone (Ubuntu)
High
Corey Bryant
nova (Ubuntu)
High
Corey Bryant

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.

Corey Bryant (corey.bryant) wrote :

Hi Chris, thanks for reporting this. I'm uploading a fix right now.

Changed in keystone (Ubuntu):
status: New → Triaged
Changed in nova (Ubuntu):
status: New → In Progress
Changed in keystone (Ubuntu):
importance: Undecided → High
Changed in nova (Ubuntu):
importance: Undecided → High
Changed in keystone (Ubuntu):
assignee: nobody → Corey Bryant (corey.bryant)
Changed in nova (Ubuntu):
assignee: nobody → Corey Bryant (corey.bryant)
Changed in keystone (Ubuntu):
status: Triaged → In Progress
status: In Progress → Fix Committed
Changed in nova (Ubuntu):
status: In Progress → Fix Committed
Changed in cloud-archive:
importance: Undecided → High
assignee: nobody → Corey Bryant (corey.bryant)
status: New → Fix Committed
Corey Bryant (corey.bryant) wrote :

Updated packages for keystone and nova have been uploaded to zesty and will work their way back to the ocata cloud archive.

Launchpad Janitor (janitor) wrote :

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 <email address hidden> Thu, 09 Mar 2017 15:28:19 -0500

Changed in nova (Ubuntu):
status: Fix Committed → Fix Released
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package keystone - 2:11.0.0-0ubuntu1.1

---------------
keystone (2:11.0.0-0ubuntu1.1) zesty; urgency=medium

  * d/keystone.conf: Fix typo in combined log format (LP: #1671509).

 -- Corey Bryant <email address hidden> Thu, 09 Mar 2017 15:24:46 -0500

Changed in keystone (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers