paunch: get_all_cpus() isn't consistent on PPC
Bug #1868135 reported by
Emilien Macchi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Emilien Macchi |
Bug Description
In Paunch, we have a method to figure out all available CPUs on a host: get_all_cpus().
The code is the following:
"0-" + str(psutil.
But it can be problematic on PPC and some servers where the CPUs numbers aren't following from each other.
e.g. 0,8,16,
The method sounds dangerous, and we should rather let Docker figuring out by itself what CPUs are online.
Changed in tripleo: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → ussuri-3 |
assignee: | nobody → Emilien Macchi (emilienm) |
tags: | added: queens-backport-potential |
tags: | added: stein-backport-potential train-backport-potential |
To post a comment you must log in.
Fix proposed to branch: master /review. opendev. org/713932
Review: https:/