You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2020/08/05 04:06:02 UTC

[GitHub] [cloudstack] div8cn opened a new issue #4244: Attach iso failed for kvm UEFI

div8cn opened a new issue #4244:
URL: https://github.com/apache/cloudstack/issues/4244


   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and master branch are affected too.
   Always add information AFTER of these HTML comments, but no need to delete the comments.
   -->
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   KVM UEFI
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on master branch.
   -->
   
   ~~~
   4.14.0.0
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, advanced networking, etc.  N/A otherwise
   -->
   
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   OS CentOS 7.6
   Compiled against library: libvirt 4.5.0
   Using library: libvirt 4.5.0
   Using API: QEMU 4.5.0
   Running hypervisor: QEMU 2.12.0
   
   OVMF-20180508-6.gitee3198e672e2.el7.noarch
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   
   When VM is running in UEFI Secure Boot mode, the controller of CDROM is SATA,
   But when executing attach iso cmd, IDE controller is used
   So unable to complete Attache ISO
   
   Need to be modified to STAT controller
   ##### STEPS TO REPRODUCE
   <!--
   For bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.
   
   For new features, show how the feature would be used.
   -->
   
   
   <!-- Paste example playbooks or commands between quotes below -->
   ~~~
   1.Deploy VM through template, boot type select UEFI.Boot Mode select SECURE
   2.Attach iso to deploy vm
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   attache iso  to vm done
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   Failed to attach device to i-2-3148-VM: internal error: No device with bus 'ide' and target 'hdc'. cdrom and floppy device hotplug isn't supported by libvirt
   ~~~
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] DaanHoogland edited a comment on issue #4244: Attach iso failed for kvm UEFI

Posted by GitBox <gi...@apache.org>.
DaanHoogland edited a comment on issue #4244:
URL: https://github.com/apache/cloudstack/issues/4244#issuecomment-669123711


   > bus=ide if bios
   
   i guess
   so do you have resource to work on this i.e. is the milestone 4.15 or 4.16?


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] DaanHoogland commented on issue #4244: Attach iso failed for kvm UEFI

Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on issue #4244:
URL: https://github.com/apache/cloudstack/issues/4244#issuecomment-669123711


   > bus=ide if bios
   i guess
   so do you have resource to work on this i.e. is the milestone 4.15 or 4.16?


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] div8cn commented on issue #4244: Attach iso failed for kvm UEFI

Posted by GitBox <gi...@apache.org>.
div8cn commented on issue #4244:
URL: https://github.com/apache/cloudstack/issues/4244#issuecomment-669124425


   yes  bus=ide if bios
   
   I can do relevant tests, 4.15 or 4.16
   
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] DaanHoogland edited a comment on issue #4244: Attach iso failed for kvm UEFI

Posted by GitBox <gi...@apache.org>.
DaanHoogland edited a comment on issue #4244:
URL: https://github.com/apache/cloudstack/issues/4244#issuecomment-669092988


   same question @div8cn do you have resources for this?
   And also does this work properly with BIOS or is the problem not specific to UEFI?


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] div8cn commented on issue #4244: Attach iso failed for kvm UEFI

Posted by GitBox <gi...@apache.org>.
div8cn commented on issue #4244:
URL: https://github.com/apache/cloudstack/issues/4244#issuecomment-669116094


   This is a problem only under UEFI.
   
   
   
   This is CDROM XML under ueif
   
   <disk type='file' device='cdrom'>
   <driver name='qemu' type='raw'/>
   <source file='/mnt/2b9b3aaa-10ab-3fcb-987e-e8e154d4e573/232-2-843370ef-844e-329f-a901-b71462e196f0.iso'/>
   <backingStore/>
   <target dev='sdc' bus='**sata**'/>
   <readonly/>
   <alias name='sata0-0-2'/>
   <address type='drive' controller='0' bus='0' target='0' unit='2'/>
   </disk>
   
   
   
   
   
   This is CDROM XML in Bois mode
   
   <disk type='file' device='cdrom'>
   <driver name='qemu'/>
   <target dev='hdc' bus='**ide**'/>
   <readonly/>
   <alias name='ide0-1-0'/>
   <address type='drive' controller='0' bus='1' target='0' unit='0'/>
   </disk>
   
   
   
   Pay attention to their bus


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] slavkap commented on issue #4244: Attach iso failed for kvm UEFI

Posted by GitBox <gi...@apache.org>.
slavkap commented on issue #4244:
URL: https://github.com/apache/cloudstack/issues/4244#issuecomment-777387169


   Hi all, if nobody is working on this, I have a fix for attaching/detaching an ISO and deploying a VM from an ISO (because there's also a problem with this option). I'm still testing it, and when I'm ready, I could open a PR with the fix.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] rhtyd commented on issue #4244: Attach iso failed for kvm UEFI

Posted by GitBox <gi...@apache.org>.
rhtyd commented on issue #4244:
URL: https://github.com/apache/cloudstack/issues/4244#issuecomment-813976649


   @div8cn can you test the fix from #4773 and re-open if you're able to reproduce the issue again cc @slavkap @DaanHoogland 


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] div8cn edited a comment on issue #4244: Attach iso failed for kvm UEFI

Posted by GitBox <gi...@apache.org>.
div8cn edited a comment on issue #4244:
URL: https://github.com/apache/cloudstack/issues/4244#issuecomment-669116094


   This is a problem only under UEFI.
   
   bus=SATA of uefi
   bus=id  of  bois


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] DaanHoogland commented on issue #4244: Attach iso failed for kvm UEFI

Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on issue #4244:
URL: https://github.com/apache/cloudstack/issues/4244#issuecomment-669137915


   I don't think i can spare dev resource for this @div8cn so I won't put a milestone on it for now.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] DaanHoogland commented on issue #4244: Attach iso failed for kvm UEFI

Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on issue #4244:
URL: https://github.com/apache/cloudstack/issues/4244#issuecomment-669092988


   same question @div8cn do you have resources for this?
   And also does this work properly with BIOS or is the problem specific to UEFI?


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] rhtyd closed issue #4244: Attach iso failed for kvm UEFI

Posted by GitBox <gi...@apache.org>.
rhtyd closed issue #4244:
URL: https://github.com/apache/cloudstack/issues/4244


   


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] rhtyd commented on issue #4244: Attach iso failed for kvm UEFI

Posted by GitBox <gi...@apache.org>.
rhtyd commented on issue #4244:
URL: https://github.com/apache/cloudstack/issues/4244#issuecomment-813976151


   Fixed by https://github.com/apache/cloudstack/pull/4773


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org