Change compute node to worker node personality
The compute personality & subfunction has been changed to worker, and compute_reserved.conf has been rename to worker_reserved.conf. Compute configuration flags have been updated to worker flags. This update changes misc dependencies to compute personality, compute_reserved.conf and configuration flag files. It aslo removed puppet-nova dependencies to compute_reserved.conf. Tests Performed: Non-containerized deployment AIO-SX: Sanity and Nightly automated test suite AIO-DX: Sanity and Nightly automated test suite 2+2 System: Sanity and Nightly automated test suite 2+2 System: Horizon Patch Orchestration Kubernetes deployment: AIO-SX: Create, delete, reboot and rebuild instances 2+2+2 System: worker nodes are unlock enable and no alarms Story: 2004022 Task: 27013 Depends-On: https://review.openstack.org/#/c/624452/ Change-Id: Iccf5584058a2154f1c4ffdb061938e76b9965861 Signed-off-by: Tao Liu <tao.liu@windriver.com>
This commit is contained in:
parent
59bf414a63
commit
30a8baba2d
|
@ -1176,7 +1176,7 @@ def getPlatformCores(node, cpe):
|
|||
logging.basicConfig(filename="/tmp/livestream.log", filemode="a", format="%(asctime)s %(levelname)s %(message)s", level=logging.INFO)
|
||||
core_list = list()
|
||||
try:
|
||||
with open("/etc/nova/compute_reserved.conf", "r") as f:
|
||||
with open("/etc/platform/worker_reserved.conf", "r") as f:
|
||||
for line in f:
|
||||
if line.startswith("PLATFORM_CPU_LIST"):
|
||||
core_list = line.split("=")[1].replace("\"", "").strip("\n").split(",")
|
||||
|
|
Loading…
Reference in New Issue