nova's osapi_compute_workers is not valid (must be greater than 1)

Bug #1631133 reported by Dan Prince
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Won't Fix
High
Dan Prince
tripleo
Fix Released
High
Dan Prince

Bug Description

As of Nova e8436283e45b6716fb61d6f6590fadb5fb4ba45c commit TripleO now fails to deploy nova-api correctly. This is because our default value set osapi_compute_workers=0 and metadata_workers=0 and this is no longer valid. Nova now requires an integer greater than 0, or an empty string.

Dan Prince (dan-prince)
Changed in tripleo:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

Changed in nova:
assignee: nobody → Dan Prince (dan-prince)
status: New → In Progress
Dan Prince (dan-prince)
Changed in nova:
importance: Undecided → High
Changed in tripleo:
assignee: nobody → Dan Prince (dan-prince)
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/385058

Changed in tripleo:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Changed in tripleo:
assignee: Dan Prince (dan-prince) → Alex Schultz (alex-schultz)
Dan Prince (dan-prince)
Changed in tripleo:
assignee: Alex Schultz (alex-schultz) → Dan Prince (dan-prince)
Revision history for this message
Dan Prince (dan-prince) wrote :

Fixed in: https://review.openstack.org/#/c/385078/ (Only set NovaWorkers in the non-default case)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-heat-templates (master)

Change abandoned by Alex Schultz (<email address hidden>) on branch: master
Review: https://review.openstack.org/383478
Reason: https://review.openstack.org/#/c/385078/ is better

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

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

commit a80d13b6e168c59d9860898063cf2c7067a65532
Author: Dan Prince <email address hidden>
Date: Tue Oct 11 11:38:38 2016 -0400

    Remove duplicate metadata keys from nova-api.yaml

    These keys are already specified in nova-metadata.yaml
    where they get set correctly per the network management
    local IP (based on 'service_name' list).

    Depends-On: I94f985e719a3bf7408655fbbb5ab1aeaf15e994e

    Change-Id: I5d57561b732783118efd2a637aa137f5f7bcddbc
    Partial-bug: #1631133

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.openstack.org/385078
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=38f98383d396d89b8f6047e57e5e606615ee5a16
Submitter: Jenkins
Branch: master

commit 38f98383d396d89b8f6047e57e5e606615ee5a16
Author: Dan Prince <email address hidden>
Date: Tue Oct 11 12:09:43 2016 -0400

    Only set NovaWorkers in the non-default case

    This patch updates the t-h-t templates for
    nova services so that we only set the value of workers in
    the non-default case. TripleO has always defaulted the
    workers count to 0 and there was recently a regression in
    nova where they treat the default of 0 as invalid (a bug
    that may get fixed in nova but we don't want to wait on it)

    This patch avoids the issue by allowing the default value
    to be unset if the TripleO default of 0 is configured.

    Change-Id: I175977b88129d87caeb32332d47eb14816a6d5d4
    Closes-bug: #1631133

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/393327

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/newton)

Reviewed: https://review.openstack.org/393327
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=9f4f57b61aca560dee4a4f3af98b8c127e08e0d3
Submitter: Jenkins
Branch: stable/newton

commit 9f4f57b61aca560dee4a4f3af98b8c127e08e0d3
Author: Dan Prince <email address hidden>
Date: Tue Oct 11 11:38:38 2016 -0400

    Remove duplicate metadata keys from nova-api.yaml

    These keys are already specified in nova-metadata.yaml
    where they get set correctly per the network management
    local IP (based on 'service_name' list).

    Conflicts:
     puppet/services/nova-api.yaml

    Depends-On: I94f985e719a3bf7408655fbbb5ab1aeaf15e994e

    Change-Id: I5d57561b732783118efd2a637aa137f5f7bcddbc
    Partial-bug: #1631133
    (cherry picked from commit a80d13b6e168c59d9860898063cf2c7067a65532)

tags: added: in-stable-newton
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (master)

Change abandoned by Dan Prince (<email address hidden>) on branch: master
Review: https://review.openstack.org/383440

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.

Dan Prince (dan-prince)
Changed in nova:
status: In Progress → Triaged
Sean Dague (sdague)
Changed in nova:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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