Error while changing the CPU cores value on ODA

Error received while changing the CPU cores value on ODA machine.

Note: For changing CPU core values reboot is required

 [root@ODA_SRVR ~]# odacli update-cpucore -c 6

Modifying the enabled number of CPU requires a reboot of all nodes in the ODA system. Are you sure you want to proceed with this operation? (Y/N): y

DCS-10045:Validation error encountered: reduction in number of cores is not supported.

Troubleshooting:

[root@ODA_SRVR ~]# odacli list-cpucores

 

Node  Cores  Modified                                     Job Status

0             32             December 4, 2022 7:53:49 PM EST    CONFIGURED

0             2               January 22, 2023 9:32:38 AM EST    CONFIGURED

0             4              January 22, 2023 9:58:15 AM EST      CONFIGURED

0             6              January 22, 2023 10:58:11 AM EST    CONFIGURED

0             12            January 22, 2023 11:22:39 AM EST    CONFIGURED

 

Root cause for Error:

From the above commands output ,Means you have already increased value from 6 to 12 , now again you are giving  value 6 ,hence you are getting error

Solution:

Need to use force key word at the end.

[root@ODA_SRVR ~]# odacli update-cpucore -c 6 –force

Modifying the enabled number of CPU requires a reboot of all nodes in the ODA system. Are you sure you want to proceed with this operation? (Y/N): y

{

“jobId” : “97989eff-b175-442f-9a5d-23f4d794fd91”,

“status” : “Created”,

“message” : null,

“reports” : [ ],

“createTimestamp” : “January 22, 2023 11:35:24 AM EST”,

“resourceList” : [ ],

“description” : “CPU cores  service update”,

“updatedTime” : “January 22, 2023 11:35:24 AM EST”,

“jobType” : null

}

WARNING: Reducing the number of enabled cores may set offline any of the CPUs used by a CPU Pool. Thus, please review the status of all the CPU Pools after this operation using the ‘describe-cpupool’ command. In case of any CPU from a CPU Pool was offline please run ‘remap-cpupools -f’ to update the list of CPUs and use only online CPUs.

WARNING: All the nodes in this ODA system will reboot after this operation has completed.

[root@ODA_SRVR ~]# odacli describe-job -i “97989eff-b175-442f-9a5d-23f4d794fd91”

Job details

ID:  97989eff-b175-442f-9a5d-23f4d794fd91

Description:  CPU cores  service update

Status:  Running

Created:  January 22, 2023 11:35:24 AM EST

Message:

Task Name                                Start Time                          End Time                            Status

Enable CPU cores                         January 22, 2023 11:35:24 AM EST    January 22, 2023 11:35:24 AM EST    Running

Result:

[root@ODA_SRVR ~]# lscpu

Architecture:          x86_64

CPU op-mode(s):        32-bit, 64-bit

Byte Order:            Little Endian

CPU(s):                12

On-line CPU(s) list:   0-11

Thread(s) per core:    2

Core(s) per socket:    3

Socket(s):             2

NUMA node(s):          2

Vendor ID:             GenuineIntel

CPU family:            6

Model:                 106

 

See Also: