cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-10348) VMs fail to deploy on Ubuntu 17.10/18.04 KVM host
Date Mon, 02 Apr 2018 11:07:00 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-10348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16422131#comment-16422131
] 

ASF GitHub Bot commented on CLOUDSTACK-10348:
---------------------------------------------

rhtyd commented on a change in pull request #2518: CLOUDSTACK-10348: Don't specify cache mode
for empty cdrom device
URL: https://github.com/apache/cloudstack/pull/2518#discussion_r178526000
 
 

 ##########
 File path: plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtVMDef.java
 ##########
 @@ -819,8 +819,12 @@ public String toString() {
             diskBuilder.append(" type='" + _diskType + "'");
             diskBuilder.append(">\n");
             if(qemuDriver) {
-                diskBuilder.append("<driver name='qemu'" + " type='" + _diskFmtType
-                        + "' cache='" + _diskCacheMode + "' ");
+                if (_deviceType == DeviceType.CDROM && _sourcePath == null) {
 
 Review comment:
   Please see my comments, this pr may be closed. The issue seems regression in qemu-kvm

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


> VMs fail to deploy on Ubuntu 17.10/18.04 KVM host
> -------------------------------------------------
>
>                 Key: CLOUDSTACK-10348
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10348
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>            Reporter: Rohit Yadav
>            Priority: Blocker
>             Fix For: 4.12.0.0, 4.11.1.0
>
>
> Issue observed:
> 2018-04-01 00:44:19,735 WARN [resource.wrapper.LibvirtStartCommandWrapper] (agentRequest-Handler-2:null)
(logid:29139943) LibvirtException
> org.libvirt.LibvirtException: internal error: process exited while connecting to monitor:
2018-03-31T19:14:19.559497Z qemu-system-x86_64: -chardev pty,id=charserial0: char device redirected
to /dev/pts/3 (label charserial0)
> 2018-03-31T19:14:19.560574Z qemu-system-x86_64: -drive file=/mnt/fd7d94b4-1672-3337-89f2-7dbc82e716f2/27d4b539-7dfd-4307-9d43-033d7c0a83bf,format=qcow2,if=none,id=drive-virtio-disk0,serial=27d4b5397dfd43079d43,cache=none:
'serial' is deprecated, please use the corresponding option of '-device' instead
> 2018-03-31T19:14:19.606326Z qemu-system-x86_64: -drive if=none,id=drive-ide0-1-0,readonly=on,cache=none:
Must specify either driver or file
>  at org.libvirt.ErrorHandler.processError(Unknown Source)
>  at org.libvirt.Connect.processError(Unknown Source)
>  at org.libvirt.Connect.processError(Unknown Source)
>  at org.libvirt.Connect.domainCreateXML(Unknown Source)
>  at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.startVM(LibvirtComputingResource.java:1414)
>  at com.cloud.hypervisor.kvm.resource.wrapper.LibvirtStartCommandWrapper.execute(LibvirtStartCommandWrapper.java:92)
>  at com.cloud.hypervisor.kvm.resource.wrapper.LibvirtStartCommandWrapper.execute(LibvirtStartCommandWrapper.java:47)
>  at com.cloud.hypervisor.kvm.resource.wrapper.LibvirtRequestWrapper.execute(LibvirtRequestWrapper.java:75)
>  at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1438)
>  at com.cloud.agent.Agent.processRequest(Agent.java:563)
>  at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:976)
>  at com.cloud.utils.nio.Task.call(Task.java:83)
>  at com.cloud.utils.nio.Task.call(Task.java:29)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message