edikevich edited a comment on issue #5803:
URL: https://github.com/apache/cloudstack/issues/5803#issuecomment-1011090249
Log when Compute Offering don't contains any tags
```
2022-01-12 17:14:30,364 INFO [o.a.c.f.j.i.AsyncJobMonitor]
(API-Job-Executor-24:ctx-3fefa540 job-3832) (logid:85ae8d9d) Add job-3832 into
job monitoring
2022-01-12 17:14:30,368 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
(qtp239372207-1939856:ctx-5eab9574 ctx-c6dff037) (logid:c28fe315) submit async
job-3832, details: AsyncJobVO {id:3832, userId: 37, accountId: 34,
instanceType: VirtualMachine, instanceId: 337, cmd:
org.apache.cloudstack.api.command.user.vm.DeployVMCmd, cmdInfo:
{"iptonetworklist[0].networkid":"35d851d4-ccf2-4aaa-a372-5946aa1fd432","boottype":"BIOS","httpmethod":"POST","templateid":"445f7bc5-4d1e-4dff-a171-962adf124733","ctxAccountId":"34","uuid":"0f5625b4-f8f4-4221-9752-d119efd00e6a","cmdEventType":"VM.CREATE","startvm":"true","bootmode":"LEGACY","serviceofferingid":"d5fc1f4e-940e-4b79-ac0a-be61e9792e36","response":"json","ctxUserId":"37","zoneid":"a5a0c8c3-f4ed-48e9-b3bf-3d645c96d252","ctxStartEventId":"13167","id":"337","ctxDetails":"{\"interface
com.cloud.offering.ServiceOffering\":\"d5fc1f4e-940e-4b79-ac0a-be61e9792e36\",\"interface
com.cloud.dc.DataCenter\":\"a5a0c8c3-f4ed-48e9-b3bf-3d645c96d252\",\"interface
com
.cloud.template.VirtualMachineTemplate\":\"445f7bc5-4d1e-4dff-a171-962adf124733\",\"interface
com.cloud.vm.VirtualMachine\":\"0f5625b4-f8f4-4221-9752-d119efd00e6a\"}","affinitygroupids":""},
cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result:
null, initMsid: 172320828, completeMsid: null, lastUpdated: null, lastPolled:
null, created: null, removed: null}
2022-01-12 17:14:30,368 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
(API-Job-Executor-24:ctx-3fefa540 job-3832) (logid:c0e092ad) Executing
AsyncJobVO {id:3832, userId: 37, accountId: 34, instanceType: VirtualMachine,
instanceId: 337, cmd: org.apache.cloudstack.api.command.user.vm.DeployVMCmd,
cmdInfo:
{"iptonetworklist[0].networkid":"35d851d4-ccf2-4aaa-a372-5946aa1fd432","boottype":"BIOS","httpmethod":"POST","templateid":"445f7bc5-4d1e-4dff-a171-962adf124733","ctxAccountId":"34","uuid":"0f5625b4-f8f4-4221-9752-d119efd00e6a","cmdEventType":"VM.CREATE","startvm":"true","bootmode":"LEGACY","serviceofferingid":"d5fc1f4e-940e-4b79-ac0a-be61e9792e36","response":"json","ctxUserId":"37","zoneid":"a5a0c8c3-f4ed-48e9-b3bf-3d645c96d252","ctxStartEventId":"13167","id":"337","ctxDetails":"{\"interface
com.cloud.offering.ServiceOffering\":\"d5fc1f4e-940e-4b79-ac0a-be61e9792e36\",\"interface
com.cloud.dc.DataCenter\":\"a5a0c8c3-f4ed-48e9-b3bf-3d645c96d252\",\"interface
com.cloud.template.VirtualMach
ineTemplate\":\"445f7bc5-4d1e-4dff-a171-962adf124733\",\"interface
com.cloud.vm.VirtualMachine\":\"0f5625b4-f8f4-4221-9752-d119efd00e6a\"}","affinitygroupids":""},
cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result:
null, initMsid: 172320828, completeMsid: null, lastUpdated: null, lastPolled:
null, created: null, removed: null}
2022-01-12 17:14:30,371 DEBUG [o.a.c.a.BaseCmd]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad)
Ignoring paremeter displayvm as the caller is not authorized to pass it in
2022-01-12 17:14:30,371 DEBUG [o.a.c.a.BaseCmd]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad)
Ignoring paremeter deploymentplanner as the caller is not authorized to pass it
in
2022-01-12 17:14:30,382 DEBUG [c.c.u.AccountManagerImpl]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad)
Access to Acct[160ae17c-428d-4486-ac32-18c172a02735-esm] -- Account {"id": 34,
"name": "esm", "uuid": "160ae17c-428d-4486-ac32-18c172a02735"} granted to
Acct[160ae17c-428d-4486-ac32-18c172a02735-esm] -- Account {"id": 34, "name":
"esm", "uuid": "160ae17c-428d-4486-ac32-18c172a02735"} by DomainChecker
2022-01-12 17:14:30,388 DEBUG [c.c.u.AccountManagerImpl]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad)
Access to Acct[160ae17c-428d-4486-ac32-18c172a02735-esm] -- Account {"id": 34,
"name": "esm", "uuid": "160ae17c-428d-4486-ac32-18c172a02735"} granted to
Acct[160ae17c-428d-4486-ac32-18c172a02735-esm] -- Account {"id": 34, "name":
"esm", "uuid": "160ae17c-428d-4486-ac32-18c172a02735"} by DomainChecker
2022-01-12 17:14:30,393 DEBUG [c.c.u.AccountManagerImpl]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad)
Access to Tmpl[228-VHD-0219c594-238a-4cba-af52-65609364d5f7 granted to
Acct[160ae17c-428d-4486-ac32-18c172a02735-esm] -- Account {"id": 34, "name":
"esm", "uuid": "160ae17c-428d-4486-ac32-18c172a02735"} by DomainChecker
2022-01-12 17:14:30,393 DEBUG [o.a.c.a.BaseCmd]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad)
Ignoring paremeter displayvm as the caller is not authorized to pass it in
2022-01-12 17:14:30,393 DEBUG [o.a.c.a.BaseCmd]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad)
Ignoring paremeter deploymentplanner as the caller is not authorized to pass it
in
2022-01-12 17:14:30,409 DEBUG [c.c.u.AccountManagerImpl]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad)
Access to VM instance {id: "337", name: "i-34-337-VM", uuid:
"0f5625b4-f8f4-4221-9752-d119efd00e6a", type="User"} granted to
Acct[160ae17c-428d-4486-ac32-18c172a02735-esm] -- Account {"id": 34, "name":
"esm", "uuid": "160ae17c-428d-4486-ac32-18c172a02735"} by DomainChecker
2022-01-12 17:14:30,424 DEBUG [c.c.n.NetworkModelImpl]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad)
Service SecurityGroup is not supported in the network id=260
2022-01-12 17:14:30,429 DEBUG [c.c.n.NetworkModelImpl]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad)
Service SecurityGroup is not supported in the network id=260
2022-01-12 17:14:30,442 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad)
DeploymentPlanner allocation algorithm: null
2022-01-12 17:14:30,442 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad)
Trying to allocate a host and storage pools from dc:1, pod:null,cluster:null,
requested cpu: 4000, requested ram: (4.00 GB) 4294967296
2022-01-12 17:14:30,442 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad) Is
ROOT volume READY (pool already allocated)?: No
2022-01-12 17:14:30,449 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad)
Deploy avoids pods: [2], clusters: [], hosts: []
2022-01-12 17:14:30,450 DEBUG [c.c.d.FirstFitPlanner]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad)
Searching all possible resources under this Zone: 1
2022-01-12 17:14:30,451 DEBUG [c.c.d.FirstFitPlanner]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad)
Listing clusters in order of aggregate capacity, that have (at least one host
with) enough CPU and RAM capacity under this Zone: 1
2022-01-12 17:14:30,455 DEBUG [c.c.d.FirstFitPlanner]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad)
Removing from the clusterId list these clusters from avoid set: []
2022-01-12 17:14:30,514 INFO [c.c.d.ImplicitDedicationPlanner]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad) Host
1 found to be unsuitable for implicit dedication as it is running instances of
another account
2022-01-12 17:14:30,515 INFO [c.c.d.ImplicitDedicationPlanner]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad) Host
1 found to be running a vm created by a planner other than implicit.
2022-01-12 17:14:30,520 INFO [c.c.d.ImplicitDedicationPlanner]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad) Host
2 found to be unsuitable for implicit dedication as it is running instances of
another account
2022-01-12 17:14:30,521 INFO [c.c.d.ImplicitDedicationPlanner]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad) Host
2 found to be running a vm created by a planner other than implicit.
2022-01-12 17:14:30,525 INFO [c.c.d.ImplicitDedicationPlanner]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad) Host
3 found to be unsuitable for implicit dedication as it is running instances of
another account
2022-01-12 17:14:30,526 INFO [c.c.d.ImplicitDedicationPlanner]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad) Host
3 found to be running a vm created by a planner other than implicit.
2022-01-12 17:14:30,529 INFO [c.c.d.ImplicitDedicationPlanner]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad) Host
4 found to be unsuitable for implicit dedication as it is running instances of
another account
2022-01-12 17:14:30,530 INFO [c.c.d.ImplicitDedicationPlanner]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad) Host
4 found to be running a vm created by a planner other than implicit.
2022-01-12 17:14:30,534 INFO [c.c.d.ImplicitDedicationPlanner]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad) Host
5 found to be unsuitable for implicit dedication as it is running instances of
another account
2022-01-12 17:14:30,535 INFO [c.c.d.ImplicitDedicationPlanner]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad) Host
5 found to be running a vm created by a planner other than implicit.
2022-01-12 17:14:30,539 INFO [c.c.d.ImplicitDedicationPlanner]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad) Host
6 found to be unsuitable for implicit dedication as it is running instances of
another account
2022-01-12 17:14:30,540 INFO [c.c.d.ImplicitDedicationPlanner]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad) Host
6 found to be running a vm created by a planner other than implicit.
2022-01-12 17:14:30,544 INFO [c.c.d.ImplicitDedicationPlanner]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad) Host
7 found to be unsuitable for implicit dedication as it is running instances of
another account
2022-01-12 17:14:30,545 INFO [c.c.d.ImplicitDedicationPlanner]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad) Host
7 found to be running a vm created by a planner other than implicit.
2022-01-12 17:14:30,548 INFO [c.c.d.ImplicitDedicationPlanner]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad) Host
8 found to be unsuitable for implicit dedication as it is running instances of
another account
2022-01-12 17:14:30,549 INFO [c.c.d.ImplicitDedicationPlanner]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad) Host
8 found to be running a vm created by a planner other than implicit.
2022-01-12 17:14:30,555 INFO [c.c.d.ImplicitDedicationPlanner]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad) Host
9 found to be unsuitable for implicit dedication as it is running instances of
another account
2022-01-12 17:14:30,556 INFO [c.c.d.ImplicitDedicationPlanner]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad) Host
9 found to be running a vm created by a planner other than implicit.
2022-01-12 17:14:30,560 INFO [c.c.d.ImplicitDedicationPlanner]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad) Host
10 found to be unsuitable for implicit dedication as it is running instances of
another account
2022-01-12 17:14:30,560 INFO [c.c.d.ImplicitDedicationPlanner]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad) Host
10 found to be running a vm created by a planner other than implicit.
2022-01-12 17:14:30,564 INFO [c.c.d.ImplicitDedicationPlanner]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad) Host
11 found to be unsuitable for implicit dedication as it is running instances of
another account
2022-01-12 17:14:30,565 INFO [c.c.d.ImplicitDedicationPlanner]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad) Host
11 found to be running a vm created by a planner other than implicit.
2022-01-12 17:14:30,566 DEBUG [c.c.v.UserVmManagerImpl]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad)
Destroying vm VM instance {id: "337", name: "i-34-337-VM", uuid:
"0f5625b4-f8f4-4221-9752-d119efd00e6a", type="User"} as it failed to create on
Host with Id:null
2022-01-12 17:14:30,576 DEBUG [c.c.c.CapacityManagerImpl]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad) VM
instance {id: "337", name: "i-34-337-VM", uuid:
"0f5625b4-f8f4-4221-9752-d119efd00e6a", type="User"} state transited from
[Stopped] to [Error] with event [OperationFailedToError]. VM's original host:
null, new host: null, host before state transition: null
2022-01-12 17:14:30,596 DEBUG [c.c.r.ResourceLimitManagerImpl]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad)
Updating resource Type = volume count for Account = 34 Operation = decreasing
Amount = 1
2022-01-12 17:14:30,604 DEBUG [c.c.r.ResourceLimitManagerImpl]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad)
Updating resource Type = primary_storage count for Account = 34 Operation =
decreasing Amount = (10.00 GB) 10737418240
2022-01-12 17:14:30,618 WARN [c.c.a.AlertManagerImpl]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad)
alertType=[8] dataCenterId=[1] podId=[null] clusterId=[null] message=[Failed to
deploy Vm with Id: 337, on Host with Id: null].
2022-01-12 17:14:30,623 WARN [c.c.a.AlertManagerImpl]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad) No
recipients set in 'alert.email.addresses', skipping sending alert with subject:
Failed to deploy Vm with Id: 337, on Host with Id: null and content: Failed to
deploy Vm with Id: 337, on Host with Id: null
2022-01-12 17:14:30,625 DEBUG [c.c.r.ResourceLimitManagerImpl]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad)
Updating resource Type = user_vm count for Account = 34 Operation = decreasing
Amount = 1
2022-01-12 17:14:30,633 DEBUG [c.c.r.ResourceLimitManagerImpl]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad)
Updating resource Type = cpu count for Account = 34 Operation = decreasing
Amount = 2
2022-01-12 17:14:30,641 DEBUG [c.c.r.ResourceLimitManagerImpl]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad)
Updating resource Type = memory count for Account = 34 Operation = decreasing
Amount = 4096
2022-01-12 17:14:30,654 INFO [o.a.c.a.c.u.v.DeployVMCmd]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad)
com.cloud.exception.InsufficientServerCapacityException: Unable to create a
deployment for VM instance {id: "337", name: "i-34-337-VM", uuid:
"0f5625b4-f8f4-4221-9752-d119efd00e6a", type="User"}Scope=interface
com.cloud.dc.DataCenter; id=1
2022-01-12 17:14:30,655 INFO [o.a.c.a.c.u.v.DeployVMCmd]
(API-Job-Executor-24:ctx-3fefa540 job-3832 ctx-befc08f1) (logid:c0e092ad)
Unable to create a deployment for VM instance {id: "337", name: "i-34-337-VM",
uuid: "0f5625b4-f8f4-4221-9752-d119efd00e6a", type="User"}
2022-01-12 17:14:30,656 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
(API-Job-Executor-24:ctx-3fefa540 job-3832) (logid:c0e092ad) Complete async
job-3832, jobStatus: FAILED, resultCode: 530, result:
org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":"533","errortext":"Unable
to create a deployment for VM instance {id: "337", name: "i-34-337-VM", uuid:
"0f5625b4-f8f4-4221-9752-d119efd00e6a", type="User"}"}
2022-01-12 17:14:30,657 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
(API-Job-Executor-24:ctx-3fefa540 job-3832) (logid:c0e092ad) Publish async
job-3832 complete on message bus
2022-01-12 17:14:30,657 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
(API-Job-Executor-24:ctx-3fefa540 job-3832) (logid:c0e092ad) Wake up jobs
related to job-3832
2022-01-12 17:14:30,657 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
(API-Job-Executor-24:ctx-3fefa540 job-3832) (logid:c0e092ad) Update db status
for job-3832
2022-01-12 17:14:30,658 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
(API-Job-Executor-24:ctx-3fefa540 job-3832) (logid:c0e092ad) Wake up jobs
joined with job-3832 and disjoin all subjobs created from job- 3832
2022-01-12 17:14:30,663 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
(API-Job-Executor-24:ctx-3fefa540 job-3832) (logid:c0e092ad) Done executing
org.apache.cloudstack.api.command.user.vm.DeployVMCmd for job-3832
2022-01-12 17:14:30,663 INFO [o.a.c.f.j.i.AsyncJobMonitor]
(API-Job-Executor-24:ctx-3fefa540 job-3832) (logid:c0e092ad) Remove job-3832
from job monitoring
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]