top-secrett commented on issue #7536:
URL: https://github.com/apache/cloudstack/issues/7536#issuecomment-1559589223
@kiranchavala we checked all steps agaian and after CS restarting almosts
all problems were resolved by themselves. Strange things...
But we could find only one. When you create VM from ISO its volume has path
like "7e3ad920079a4bcab94e4a79c4a87c15". Then volume is migrated via vShpere
(automated DRS) within storage cluster and VM cannot start after shutdown.
~~~
"2023-05-23 17:42:06,569 INFO [c.c.h.v.r.VmwareResource]
(DirectAgent-249:ctx-7c1e4808 esx-sr184-u2324.aisrp.local, job-38749/job-38751,
cmd: StartCommand) (logid:bae69e4e) Found existing disk from from chain device
bus information: scsi0:0
2023-05-23 17:42:06,569 INFO [c.c.h.v.r.VmwareResource]
(DirectAgent-249:ctx-7c1e4808 esx-sr184-u2324.aisrp.local, job-38749/job-38751,
cmd: StartCommand) (logid:bae69e4e) Chose disk controller for vol ROOT ->
lsilogic, based on root disk controller settings at global configuration
setting.
2023-05-23 17:42:06,574 INFO [c.c.h.v.r.VmwareResource]
(DirectAgent-249:ctx-7c1e4808 esx-sr184-u2324.aisrp.local, job-38749/job-38751,
cmd: StartCommand) (logid:bae69e4e) Detected disk-chain top file change on
volume: 3416 7e3ad920079a4bcab94e4a79c4a87c15 -> i-60-3262-VM
2023-05-23 17:42:06,578 INFO [c.c.h.v.r.VmwareResource]
(DirectAgent-249:ctx-7c1e4808 esx-sr184-u2324.aisrp.local, job-38749/job-38751,
cmd: StartCommand) (logid:bae69e4e) Found existing disk info from volume path:
i-60-3262-VM
2023-05-23 17:42:06,588 INFO [c.c.h.v.r.VmwareResource]
(DirectAgent-249:ctx-7c1e4808 esx-sr184-u2324.aisrp.local, job-38749/job-38751,
cmd: StartCommand) (logid:bae69e4e) Detected datastore uuid change on volume:
3416 26a5b88a-6956-3439-aebc-6baac89549ba ->
aeb66841-98b1-3dff-bb31-c1035474ee95
2023-05-23 17:42:06,598 DEBUG [c.c.u.LogUtils] (DirectAgent-249:ctx-7c1e4808
esx-sr184-u2324.aisrp.local, job-38749/job-38751, cmd: StartCommand)
(logid:bae69e4e) Failed to log object [VirtualMachineMO] using GSON.
2023-05-23 17:42:06,598 DEBUG [c.c.h.v.u.VmwareHelper]
(DirectAgent-249:ctx-7c1e4808 esx-sr184-u2324.aisrp.local, job-38749/job-38751,
cmd: StartCommand) (logid:bae69e4e) Trying to prepare disk device to virtual
machine [error to decode], using the following details: Virtual device [],
ManagedObjectReference [{"value":"datastore-344","type":"Datastore"}],
ControllerKey [1000], VMDK path chain [["[ds-sr183_185_os5500-nlsas-1]
i-60-3262-VM/i-60-3262-VM.vmdk"]], DeviceNumber [0], ContextNumber [2] and max
IOPS [0].
2023-05-23 17:42:06,603 DEBUG [c.c.u.LogUtils] (DirectAgent-249:ctx-7c1e4808
esx-sr184-u2324.aisrp.local, job-38749/job-38751, cmd: StartCommand)
(logid:bae69e4e) Failed to log object [VirtualMachineMO] using GSON.
2023-05-23 17:42:06,603 DEBUG [c.c.h.v.u.VmwareHelper]
(DirectAgent-249:ctx-7c1e4808 esx-sr184-u2324.aisrp.local, job-38749/job-38751,
cmd: StartCommand) (logid:bae69e4e) Prepared disk device, to attach to virtual
machine [error to decode], has the following details: Virtual device [],
ManagedObjectReference [{"value":"datastore-344","type":"Datastore"}],
ControllerKey [1000], VMDK path chain [["[ds-sr183_185_os5500-nlsas-1]
i-60-3262-VM/i-60-3262-VM.vmdk"]], DeviceNumber [0], ContextNumber [2] and max
IOPS [0], is:
[{"capacityInKB":0,"key":-2,"backing":{"diskMode":"persistent","fileName":"[ds-sr183_185_os5500-nlsas-1]
i-60-3262-VM/i-60-3262-VM.vmdk","datastore":{"value":"datastore-344","type":"Datastore"}},"connectable":{"startConnected":true,"allowGuestControl":false,"connected":true},"controllerKey":1000,"unitNumber":0}].
"
~~~


LOG:
[vm-from-iso.txt](https://github.com/apache/cloudstack/files/11545429/vm-from-iso.txt)
--
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]