Resources_available.ncpus odd behaviour

Hello,

When CycleCloud create a new VM (Standard_D2ds_v5), pcpus = 2, resources_available.ncpus = 2 and later resources_available.ncpus = 1:

ip-0A582E86
Mom = ip-0a582e86
Port = 15002
pbs_version = 22.05.11
ntype = PBS
state = free
pcpus = 2
resources_available.arch = linux
resources_available.ccnodeid = adf91639-4645-4717-bd88-fa515b6b276d
resources_available.disk = 20gb
resources_available.group_id = Standard_D2ds_v5_pg0
resources_available.host = ip-0a582e86
resources_available.mem = 8gb
resources_available.ncpus = 2
resources_available.ngpus = 0
resources_available.nodearray = execute
resources_available.slot_type = execute
resources_available.ungrouped = false
resources_available.vm_size = Standard_D2ds_v5
resources_available.vnode = ip-0A582E86
resources_assigned.accelerator_memory = 0kb
resources_assigned.hbmem = 0kb
resources_assigned.mem = 0kb
resources_assigned.naccelerators = 0
resources_assigned.ncpus = 0
resources_assigned.vmem = 0kb
comment = cyclecloud restored
resv_enable = True
sharing = default_shared
license = l
last_state_change_time = Wed May 29 13:47:40 2024

ip-0A582E86
Mom = ip-0a582e86
Port = 15002
pbs_version = 22.05.11
ntype = PBS
state = free
pcpus = 2
resources_available.arch = linux
resources_available.ccnodeid = adf91639-4645-4717-bd88-fa515b6b276d
resources_available.disk = 20gb
resources_available.group_id = Standard_D2ds_v5_pg0
resources_available.host = ip-0a582e86
resources_available.hpmem = 0b
resources_available.mem = 6928mb
resources_available.ncpus = 1
resources_available.ngpus = 0
resources_available.nodearray = execute
resources_available.slot_type = execute
resources_available.ungrouped = false
resources_available.vm_size = Standard_D2ds_v5
resources_available.vmem = 6928mb
resources_available.vnode = ip-0A582E86
resources_assigned.accelerator_memory = 0kb
resources_assigned.hbmem = 0kb
resources_assigned.mem = 0kb
resources_assigned.naccelerators = 0
resources_assigned.ncpus = 0
resources_assigned.vmem = 0kb
resv_enable = True
sharing = default_shared
license = l
last_state_change_time = Wed May 29 14:23:14 2024

Any idea?

Reference: RG-322 PBS Professional 2022.1 Reference Guide, RG-322

resources_available. : The list of resources and the amounts
available on this vnode. If not explicitly set, the amount shown is that reported by
the pbs_mom running on this vnode. If a resource value is explicitly set, that value
is retained across restarts

pcpus: Deprecated. The number of physical CPUs on thisvnode. This is set to the number of CPUs
available when MoM starts. For a multiple-vnode MoM, only the parent vnode has pcpus.

You can always set the resources_available.ncpus= using qmgr command.
If in case this has been explicity set using qmgr command, then please check the server logs.

Please check the script or command , that creates the compute node