Make cpuset_cpus configurable for nova_libvirt

Bug #1867357 reported by Emilien Macchi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Emilien Macchi

Bug Description

This applies on Train and backward.

We configure the nova_libvirt container to cpuset_cpus: all and it seems to be causing issues with PPC:

/usr/bin/docker-current: Error response from daemon:
Requested CPUs are not available - requested 0-19, available:
0,8,16,24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152.

Which can be workarounded by removing cpuset_cpus: all and let the operator decides which cpus are available for that container.

Changed in tripleo:
milestone: none → ussuri-3
assignee: nobody → Emilien Macchi (emilienm)
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-heat-templates (stable/train)

Related fix proposed to branch: stable/train
Review: https://review.opendev.org/712967

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to paunch (master)

Fix proposed to branch: master
Review: https://review.opendev.org/712971

Changed in tripleo:
status: Triaged → In Progress
tags: added: train-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-heat-templates (stable/train)

Reviewed: https://review.opendev.org/712967
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=85850d8af240722facdf59eea79f2523057d1e8a
Submitter: Zuul
Branch: stable/train

commit 85850d8af240722facdf59eea79f2523057d1e8a
Author: Emilien Macchi <email address hidden>
Date: Fri Mar 13 11:03:30 2020 -0400

    [TRAIN and before] Introduce ContainerCpusetCpus

    Add a role specific parameter, ContainerCpusetCpus, default to 'all', which
    allows to limit the specific CPUs or cores a container can use.
    To disable it and rely on container engine default, set it to ''.

    Change-Id: I3b669665548668423d4ce7e34262c12903fba522
    Related-Bug: #1867357

tags: added: in-stable-train
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to paunch (master)

Reviewed: https://review.opendev.org/712971
Committed: https://git.openstack.org/cgit/openstack/paunch/commit/?id=7bb9471423a350f0b1a60f67cf3eb41abaaba329
Submitter: Zuul
Branch: master

commit 7bb9471423a350f0b1a60f67cf3eb41abaaba329
Author: Emilien Macchi <email address hidden>
Date: Fri Mar 13 11:16:49 2020 -0400

    Don't set cpuset_cpus if empty

    If cpuset_cpus is set to '', we don't want to configure it, just skip
    it.

    Closes-Bug: #1867357
    Change-Id: I615c798bdbcc0115f0ca9642969193ceada9b9cd

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

Fix proposed to branch: stable/train
Review: https://review.opendev.org/713095

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-heat-templates (stable/stein)

Related fix proposed to branch: stable/stein
Review: https://review.opendev.org/713096

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to paunch (stable/stein)

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/713119

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to paunch (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.opendev.org/713120

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-heat-templates (stable/queens)

Related fix proposed to branch: stable/queens
Review: https://review.opendev.org/713121

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to paunch (stable/stein)

Reviewed: https://review.opendev.org/713119
Committed: https://git.openstack.org/cgit/openstack/paunch/commit/?id=22315435e4948f223725fe9867ce52ecdad7450c
Submitter: Zuul
Branch: stable/stein

commit 22315435e4948f223725fe9867ce52ecdad7450c
Author: Emilien Macchi <email address hidden>
Date: Fri Mar 13 11:16:49 2020 -0400

    Don't set cpuset_cpus if empty

    If cpuset_cpus is set to '', we don't want to configure it, just skip
    it.

    Closes-Bug: #1867357
    Change-Id: I615c798bdbcc0115f0ca9642969193ceada9b9cd
    (cherry picked from commit 7bb9471423a350f0b1a60f67cf3eb41abaaba329)
    (cherry picked from commit 37ac1e99a68e9f47c099effa0b6c0bc95d5cfecc)

tags: added: in-stable-stein
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-heat-templates (stable/queens)

Reviewed: https://review.opendev.org/713121
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=fec0dfb47d1fa6dfa25139992ff7291c7b9cc682
Submitter: Zuul
Branch: stable/queens

commit fec0dfb47d1fa6dfa25139992ff7291c7b9cc682
Author: Emilien Macchi <email address hidden>
Date: Fri Mar 13 11:03:30 2020 -0400

    [TRAIN and before] Introduce ContainerCpusetCpus

    Add a role specific parameter, ContainerCpusetCpus, default to 'all', which
    allows to limit the specific CPUs or cores a container can use.
    To disable it and rely on container engine default, set it to ''.

    Change-Id: I3b669665548668423d4ce7e34262c12903fba522
    Related-Bug: #1867357
    (cherry picked from commit 85850d8af240722facdf59eea79f2523057d1e8a)

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to paunch (stable/queens)

Reviewed: https://review.opendev.org/713120
Committed: https://git.openstack.org/cgit/openstack/paunch/commit/?id=811db58e98e46003ef3ebbb85fb23de4f1bdac25
Submitter: Zuul
Branch: stable/queens

commit 811db58e98e46003ef3ebbb85fb23de4f1bdac25
Author: Emilien Macchi <email address hidden>
Date: Fri Mar 13 11:16:49 2020 -0400

    Don't set cpuset_cpus if empty

    If cpuset_cpus is set to '', we don't want to configure it, just skip
    it.

    Closes-Bug: #1867357
    Change-Id: I615c798bdbcc0115f0ca9642969193ceada9b9cd
    (cherry picked from commit 7bb9471423a350f0b1a60f67cf3eb41abaaba329)
    (cherry picked from commit 37ac1e99a68e9f47c099effa0b6c0bc95d5cfecc)
    (cherry picked from commit 22315435e4948f223725fe9867ce52ecdad7450c)

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

Reviewed: https://review.opendev.org/713096
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=32aee76474bd937157377a1b44399508bbbeea0e
Submitter: Zuul
Branch: stable/stein

commit 32aee76474bd937157377a1b44399508bbbeea0e
Author: Emilien Macchi <email address hidden>
Date: Fri Mar 13 11:03:30 2020 -0400

    [TRAIN and before] Introduce ContainerCpusetCpus

    Add a role specific parameter, ContainerCpusetCpus, default to 'all', which
    allows to limit the specific CPUs or cores a container can use.
    To disable it and rely on container engine default, set it to ''.

    Change-Id: I3b669665548668423d4ce7e34262c12903fba522
    Related-Bug: #1867357
    (cherry picked from commit 85850d8af240722facdf59eea79f2523057d1e8a)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to paunch (stable/train)

Reviewed: https://review.opendev.org/713095
Committed: https://git.openstack.org/cgit/openstack/paunch/commit/?id=37ac1e99a68e9f47c099effa0b6c0bc95d5cfecc
Submitter: Zuul
Branch: stable/train

commit 37ac1e99a68e9f47c099effa0b6c0bc95d5cfecc
Author: Emilien Macchi <email address hidden>
Date: Fri Mar 13 11:16:49 2020 -0400

    Don't set cpuset_cpus if empty

    If cpuset_cpus is set to '', we don't want to configure it, just skip
    it.

    Closes-Bug: #1867357
    Change-Id: I615c798bdbcc0115f0ca9642969193ceada9b9cd
    (cherry picked from commit 7bb9471423a350f0b1a60f67cf3eb41abaaba329)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/paunch 6.0.2

This issue was fixed in the openstack/paunch 6.0.2 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/paunch queens-eol

This issue was fixed in the openstack/paunch queens-eol release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/paunch stein-eol

This issue was fixed in the openstack/paunch stein-eol release.

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.