AlexanderKgr edited a comment on issue #5535:
URL: https://github.com/apache/cloudstack/issues/5535#issuecomment-931315756
> @AlexanderKgr nevermind `cloudstack-sccs`. Last highlighted logs indicate
that you are having packages with the earlier fix. It should be present in
`/usr/bin/cloudstack-sccs`. Not sure if on Ubuntu it is at some other place.
>
> Can you please confirm the reproduction steps:
>
> 1. Deploy a VM using a template from UI and select boot options for UEFI
there.
> 2. Stop the VM from stop VM action in UI or stopVirtualMachine API
> 3. Start VM again once stopped from UI action or using startVirtualMachine
API
> VM fails to boot with this.
>
> Sorry for this basic check but for some reason StartCommand params in your
logs are missing some details so wanted to confirm. StartCommand in my env
looks like,
>
> ```
> 2021-09-30 12:01:49,069 DEBUG [c.c.a.t.Request]
(Work-Job-Executor-158:ctx-409989d0 job-306/job-307 ctx-e9ee5ebb)
(logid:b1cdc387) Seq 1-7118783635989203134: Sending { Cmd , MgmtId:
32987194327951, via: 1(pr5201-t2249-xcpng82-xs1), Ver: v1, Flags: 100011,
[{"com.cloud.agent.api.StartCommand":{"vm":{"id":"25","name":"i-2-25-VM","bootloader":"PyGrub","state":"Starting","type":"User","cpus":"1","minSpeed":"250","maxSpeed":"500","minRam":"(512.00
MB) 536870912","maxRam":"(512.00 MB) 536870912","arch":"x86_64","os":"Amazon
Linux 2 (64
bit)","bootArgs":"","enableHA":"false","limitCpuUse":"false","enableDynamicallyScaleVm":"false","vncPassword":"LQ0tja8DSoXbHpCSjryFFA","params":{"hypervisortoolsversion":"xenserver56","cpuOvercommitRatio":"2.0","UEFI":"SECURE","platform":"device-model:qemu-upstream-uefi;apic:true;viridian:true;timeoffset:0;pae:true;acpi:1;hpet:true;secureboot:true;nx:true","memoryOvercommitRatio":"1.0","Message.ReservedCapacityFreed.Flag":"false"},"uuid":"3d196004-94c2
-4de9-98a9-15205d9dd64d","bootType":"UEFI","bootMode":"SECURE","enterHardwareSetup":"false","disks":[{"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"b0ad3853-94d5-4fa6-88ee-0e8ac8c1d249","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"52972655-e07e-3449-99c5-d4bcfd546511","name":"pr5201-t2249-xcpng82-xs-pri1","id":"1","poolType":"NetworkFilesystem","host":"10.0.32.4","path":"/acs/primary/pr5201-t2249-xcpng82/pr5201-t2249-xcpng82-xs-pri1","port":"2049","url":"NetworkFilesystem://10.0.32.4/acs/primary/pr5201-t2249-xcpng82/pr5201-t2249-xcpng82-xs-pri1/?ROLE=Primary&STOREUUID=52972655-e07e-3449-99c5-d4bcfd546511","isManaged":"false"}},"name":"ROOT-25","size":"(50.00
MB)
52428800","path":"aa93fb19-398b-4878-adb4-3e512cf84e30","volumeId":"25","vmName":"i-2-25-VM","accountId":"2","format":"VHD","provisioningType":"THIN","poolId":"1","id":"25","deviceId":"0","bytesReadRate":"(0
bytes) 0","bytesWriteRate":"(0 bytes) 0","iops
ReadRate":"(0 bytes) 0","iopsWriteRate":"(0 bytes)
0","hypervisorType":"XenServer","directDownload":"false","deployAsIs":"false"}},"diskSeq":"0","path":"aa93fb19-398b-4878-adb4-3e512cf84e30","type":"ROOT","_details":{"storageHost":"10.0.32.4","managed":"false","storagePort":"2049","storage.pool.disk.wait":"60","volumeSize":"(50.00
MB)
52428800"}},{"data":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"id":"0","format":"ISO","accountId":"0","hvm":"false","bootable":"false","directDownload":"false","deployAsIs":"false"}},"diskSeq":"3","type":"ISO"}],"nics":[{"deviceId":"0","networkRateMbps":"200","defaultNic":"true","pxeDisable":"false","nicUuid":"129a8857-495c-4bff-bc56-a19141fe12cc","details":{"PromiscuousMode":"false","MacAddressChanges":"true","ForgedTransmits":"true"},"dpdkEnabled":"false","uuid":"26eb1922-f7da-4ca8-8706-1015ed13ca2d","ip":"10.1.1.182","netmask":"255.255.255.0","gateway":"10.1.1.1","mac":"02:00:68:31:00:16","dns1":"10.0.32.1","dns2":"8.8.8.8","broadcastTyp
e":"Vlan","type":"Guest","broadcastUri":"vlan://2133","isolationUri":"vlan://2133","isSecurityGroupEnabled":"false","name":"Network1"}],"vcpuMaxLimit":"3","configDriveLocation":"SECONDARY","guestOsDetails":{},"extraConfig":{}},"hostIp":"10.0.34.197","executeInSequence":"false","wait":"0","bypassHostMaintenance":"false"}}]
}
> ```
>
> ^^ It has `bootType` and `bootMode` after VM UUI which seems to be not
present in the logs you shared.
cloudstack-sccs not available in ubuntu i suppose. Couldn't locate it
Reproduction Steps
1. Deploy a VM using a template from UI and select boot options for UEFI
there.
2. Stop the VM from stop VM action in UI
3. Start VM again once stopped from UI action
4. VM fails to boot with this.
I suppose this is the StartCommand
[startcommand.txt](https://github.com/apache/cloudstack/files/7259810/startcommand.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]