need to set metadata_workers when using local metadata service

Bug #1707618 reported by Edward Hope-Morley
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Neutron Open vSwitch Charm
Fix Released
High
Edward Hope-Morley
OpenStack Nova Compute Charm
Fix Released
High
Edward Hope-Morley

Bug Description

We are currently not setting metadata_workers when local metadata service on nova-compute hosts which results in automatically generated values based on number of cpus in the host. This results in more workers than required for systems with large numbers of cpus so we should make this configurable like the worker settings in the api charms.

Tags: openstack sts
Changed in neutron-openvswitch (Juju Charms Collection):
status: New → Triaged
importance: Undecided → High
milestone: none → 15.04
no longer affects: neutron-openvswitch (Juju Charms Collection)
Changed in charm-neutron-openvswitch:
status: New → Triaged
importance: Undecided → High
milestone: none → 17.08
Revision history for this message
Hua Zhang (zhhuabj) wrote :

Paste this link [1] for your reference, it proposes to use the following formula:

- for controllers: min(max($::processorcount, 2), $workers_max)
- for computes (DVR): min($::processorcount / 8 + 1, $workers_max))

[1] https://bugs.launchpad.net/mos/+bug/1575724

Changed in charm-neutron-openvswitch:
assignee: nobody → Edward Hope-Morley (hopem)
Changed in charm-nova-compute:
assignee: nobody → Edward Hope-Morley (hopem)
no longer affects: charm-nova-compute
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-neutron-openvswitch (master)

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

Changed in charm-neutron-openvswitch:
status: Triaged → In Progress
Revision history for this message
Edward Hope-Morley (hopem) wrote :

I inadvertently removed the nova-compute target when this bug does actually require both neutron-openvswitch and nova=compute to support configuring the number of workers used for the metadata api/agent.

Changed in charm-nova-compute:
assignee: nobody → Edward Hope-Morley (hopem)
milestone: none → 17.08
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-nova-compute (master)

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

Changed in charm-nova-compute:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-neutron-openvswitch (master)

Reviewed: https://review.openstack.org/493090
Committed: https://git.openstack.org/cgit/openstack/charm-neutron-openvswitch/commit/?id=fbed3f3d7a9c2a0804c7c0ae862779b2144af8f4
Submitter: Jenkins
Branch: master

commit fbed3f3d7a9c2a0804c7c0ae862779b2144af8f4
Author: Edward Hope-Morley <email address hidden>
Date: Fri Aug 11 18:20:13 2017 +0100

    Support configurable metadata_workers

    Adds config option worker-multiplier to allow
    configuring the number of workers used for the
    metadata api when using local dhcp.

    Change-Id: Ie3a7d6aab0d9902a6637637fbf75b2df3ec084b1
    Closes-Bug: 1707618

Changed in charm-neutron-openvswitch:
status: In Progress → Fix Committed
Changed in charm-nova-compute:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-nova-compute (master)

Reviewed: https://review.openstack.org/493487
Committed: https://git.openstack.org/cgit/openstack/charm-nova-compute/commit/?id=7a45db6274eb37dfca69c14148dbcca135a9be4b
Submitter: Jenkins
Branch: master

commit 7a45db6274eb37dfca69c14148dbcca135a9be4b
Author: Edward Hope-Morley <email address hidden>
Date: Mon Aug 14 10:09:03 2017 +0100

    Support configurable metadata_workers

    Adds config option worker-multiplier to allow configuring
    the number of workers used for the metadata api when
    using local dhcp or dvr.

    Change-Id: I505963165f8a4fade0123c2825af00189285f168
    Closes-Bug: 1707618

James Page (james-page)
Changed in charm-neutron-openvswitch:
status: Fix Committed → Fix Released
Changed in charm-nova-compute:
status: Fix Committed → Fix Released
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.