Reviewed: https://review.opendev.org/737549 Committed: https://git.openstack.org/cgit/openstack/paunch/commit/?id=c8661e0505f905dbdc96a680b81c0e7edb968d3e Submitter: Zuul Branch: stable/train
commit c8661e0505f905dbdc96a680b81c0e7edb968d3e Author: Emilien Macchi <email address hidden> Date: Tue Jun 23 08:51:03 2020 -0400
podman: get cpus allowed list only when isolcpus in cmdline
When building the podman command, only get cpus allowed list when there is isolcpus in the /proc/cmdline otherwise skip the argument.
Note: re-working the Mocks for cpu affinity so we can properly test the /proc/cmdline reads.
Change-Id: I270c90d3adc8824991896443c6074f8f7357c942 Related-Bug: #1884765 Co-Authored-By: Alex Schultz <email address hidden> (cherry picked from commit 7ea9455221148bfdbfcda83fad95a7eca760807b)
Reviewed: https:/ /review. opendev. org/737549 /git.openstack. org/cgit/ openstack/ paunch/ commit/ ?id=c8661e0505f 905dbdc96a680b8 1c0e7edb968d3e
Committed: https:/
Submitter: Zuul
Branch: stable/train
commit c8661e0505f905d bdc96a680b81c0e 7edb968d3e
Author: Emilien Macchi <email address hidden>
Date: Tue Jun 23 08:51:03 2020 -0400
podman: get cpus allowed list only when isolcpus in cmdline
When building the podman command, only get cpus allowed list when there
is isolcpus in the /proc/cmdline otherwise skip the argument.
Note: re-working the Mocks for cpu affinity so we can properly test the
/proc/cmdline reads.
Change-Id: I270c90d3adc882 4991896443c6074 f8f7357c942 dbfcda83fad95a7 eca760807b)
Related-Bug: #1884765
Co-Authored-By: Alex Schultz <email address hidden>
(cherry picked from commit 7ea9455221148bf