httpd fails to start due to nova workers (still) incorrectly set

Bug #1634213 reported by Steven Hardy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Steven Hardy

Bug Description

I deployed a new undercloud, and it has the https://review.openstack.org/#/c/385078/3/puppet/services/nova-api.yaml fix

I still see the nova httpd conf is wrong:

WSGIDaemonProcess nova-api group=nova processes=0 threads=2 user=nova

in /etc/httpd/conf.d/10-nova_api_wsgi.conf

This causes httpd to fail to start.

I suspect there may be a problem with the patch referenced above, and it's not tested in CI because we explicitly override NovaWorkers to 1 to save memory.

https://github.com/openstack/tripleo-heat-templates/blob/master/environments/low-memory-usage.yaml#L9

Revision history for this message
Steven Hardy (shardy) wrote :

[root@overcloud-controller-0 ~]# hiera nova::wsgi::apache::workers
0
[root@overcloud-controller-0 ~]# hiera nova::api::osapi_compute_workers
nil

Perhaps we set the wrong workers key?

Changed in tripleo:
status: New → Triaged
importance: Undecided → High
milestone: none → ocata-1
assignee: nobody → Steven Hardy (shardy)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

Fix proposed to branch: master
Review: https://review.openstack.org/387598

Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/387598
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=4c500c680a190466fb051c0c2209160db3c9dfcf
Submitter: Jenkins
Branch: master

commit 4c500c680a190466fb051c0c2209160db3c9dfcf
Author: Steven Hardy <email address hidden>
Date: Mon Oct 17 19:02:41 2016 +0100

    Add apache workers to nova-api conditional

    Without this httpd fails to start on deployments where the
    worker count isn't explicitly overridden via a parameter.

    Change-Id: Ie7b31bc6e022a0166af126c866994bdd019718df
    Closes-Bug: #1634213

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 6.0.0.0b1

This issue was fixed in the openstack/tripleo-heat-templates 6.0.0.0b1 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.