[
https://issues.apache.org/jira/browse/CLOUDSTACK-8743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14704306#comment-14704306
]
Nagaraju commented on CLOUDSTACK-8743:
--------------------------------------
[root@cstkvm1 ~]# virsh dumpxml v-1-VM
<domain type='kvm' id='51'>
<name>v-1-VM</name>
<uuid>d0ad00bd-e38a-4a36-a52c-20f4c36fdb76</uuid>
<description>Debian GNU/Linux 5.0 (64-bit)</description>
<memory unit='KiB'>524288</memory>
<currentMemory unit='KiB'>524288</currentMemory>
<vcpu placement='static'>1</vcpu>
<cputune>
<shares>500</shares>
</cputune>
<os>
<type arch='x86_64' machine='rhel6.6.0'>hvm</type>
<boot dev='cdrom'/>
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
<pae/>
</features>
<cpu>
</cpu>
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<emulator>/usr/libexec/qemu-kvm</emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2' cache='none'/>
<source
file='/mnt/561bffb4-6ddf-32d5-a1a7-d08fe31d96c0/f839e24a-47f3-40e0-9b91-3a0a9f1f0321'/>
<target dev='vda' bus='virtio'/>
<alias name='virtio-disk0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x08'
function='0x0'/>
</disk>
<disk type='file' device='cdrom'>
<driver name='qemu' type='raw' cache='none'/>
<source file='/usr/share/cloudstack-common/vms/systemvm.iso'/>
<target dev='hdc' bus='ide'/>
<readonly/>
<alias name='ide0-1-0'/>
<address type='drive' controller='0' bus='1' target='0' unit='0'/>
</disk>
<controller type='usb' index='0'>
<alias name='usb0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01'
function='0x2'/>
</controller>
<controller type='ide' index='0'>
<alias name='ide0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01'
function='0x1'/>
</controller>
<controller type='virtio-serial' index='0'>
<alias name='virtio-serial0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x07'
function='0x0'/>
</controller>
<interface type='bridge'>
<mac address='0e:00:a9:fe:00:27'/>
<source bridge='cloud0'/>
<virtualport type='openvswitch'>
<parameters interfaceid='1bf092f1-c76f-5c51-a7a8-a032466e8a1d'/>
</virtualport>
<target dev='vnet5'/>
<model type='virtio'/>
<alias name='net0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03'
function='0x0'/>
</interface>
<interface type='bridge'>
<mac address='06:cd:bc:00:00:aa'/>
<source bridge='cloudbr0'/>
<virtualport type='openvswitch'>
<parameters interfaceid='9b2b0b75-fae1-ae55-4715-334e7dcc339d'/>
</virtualport>
<target dev='vnet6'/>
<model type='virtio'/>
<alias name='net1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x04'
function='0x0'/>
</interface>
<interface type='bridge'>
<mac address='06:50:a8:00:00:ff'/>
<source bridge='cloudbr0'/>
<virtualport type='openvswitch'>
<parameters interfaceid='e318a98e-2dc2-4d97-90e1-93f991071812'/>
</virtualport>
<target dev='vnet7'/>
<model type='virtio'/>
<alias name='net2'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x05'
function='0x0'/>
</interface>
<interface type='bridge'>
<mac address='06:ac:94:00:00:7f'/>
<source bridge='cloudbr0'/>
<virtualport type='openvswitch'>
<parameters interfaceid='374395f7-bd15-4d2f-6569-dd6885eea0ee'/>
</virtualport>
<target dev='vnet8'/>
<model type='virtio'/>
<alias name='net3'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x06'
function='0x0'/>
</interface>
<serial type='pty'>
<source path='/dev/pts/2'/>
<target port='0'/>
<alias name='serial0'/>
</serial>
<console type='pty' tty='/dev/pts/2'>
<source path='/dev/pts/2'/>
<target type='serial' port='0'/>
<alias name='serial0'/>
</console>
<channel type='unix'>
<source mode='bind' path='/var/lib/libvirt/qemu/s-35-VM.agent'/>
<target type='virtio' name='s-35-VM.vport'/>
<alias name='channel0'/>
<address type='virtio-serial' controller='0' bus='0' port='1'/>
</channel>
<input type='tablet' bus='usb'>
<alias name='input0'/>
</input>
<input type='mouse' bus='ps2'/>
<graphics type='vnc' port='5902' autoport='yes' listen='10.204.206.7'>
<listen type='address' address='10.204.206.7'/>
</graphics>
<video>
<model type='cirrus' vram='9216' heads='1'/>
<alias name='video0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02'
function='0x0'/>
</video>
<memballoon model='none'>
<alias name='balloon0'/>
</memballoon>
</devices>
</domain>
[root@cstkvm1 ~]#
[root@cstkvm1 ~]# virsh dumpxml s-35-VM
<domain type='kvm' id='51'>
<name>s-35-VM</name>
<uuid>d0ad00bd-e38a-4a36-a52c-20f4c36fdb76</uuid>
<description>Debian GNU/Linux 5.0 (64-bit)</description>
<memory unit='KiB'>524288</memory>
<currentMemory unit='KiB'>524288</currentMemory>
<vcpu placement='static'>1</vcpu>
<cputune>
<shares>500</shares>
</cputune>
<os>
<type arch='x86_64' machine='rhel6.6.0'>hvm</type>
<boot dev='cdrom'/>
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
<pae/>
</features>
<cpu>
</cpu>
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<emulator>/usr/libexec/qemu-kvm</emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2' cache='none'/>
<source
file='/mnt/561bffb4-6ddf-32d5-a1a7-d08fe31d96c0/f839e24a-47f3-40e0-9b91-3a0a9f1f0321'/>
<target dev='vda' bus='virtio'/>
<alias name='virtio-disk0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x08'
function='0x0'/>
</disk>
<disk type='file' device='cdrom'>
<driver name='qemu' type='raw' cache='none'/>
<source file='/usr/share/cloudstack-common/vms/systemvm.iso'/>
<target dev='hdc' bus='ide'/>
<readonly/>
<alias name='ide0-1-0'/>
<address type='drive' controller='0' bus='1' target='0' unit='0'/>
</disk>
<controller type='usb' index='0'>
<alias name='usb0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01'
function='0x2'/>
</controller>
<controller type='ide' index='0'>
<alias name='ide0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01'
function='0x1'/>
</controller>
<controller type='virtio-serial' index='0'>
<alias name='virtio-serial0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x07'
function='0x0'/>
</controller>
<interface type='bridge'>
<mac address='0e:00:a9:fe:00:27'/>
<source bridge='cloud0'/>
<virtualport type='openvswitch'>
<parameters interfaceid='1bf092f1-c76f-5c51-a7a8-a032466e8a1d'/>
</virtualport>
<target dev='vnet5'/>
<model type='virtio'/>
<alias name='net0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03'
function='0x0'/>
</interface>
<interface type='bridge'>
<mac address='06:cd:bc:00:00:aa'/>
<source bridge='cloudbr0'/>
<virtualport type='openvswitch'>
<parameters interfaceid='9b2b0b75-fae1-ae55-4715-334e7dcc339d'/>
</virtualport>
<target dev='vnet6'/>
<model type='virtio'/>
<alias name='net1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x04'
function='0x0'/>
</interface>
<interface type='bridge'>
<mac address='06:50:a8:00:00:ff'/>
<source bridge='cloudbr0'/>
<virtualport type='openvswitch'>
<parameters interfaceid='e318a98e-2dc2-4d97-90e1-93f991071812'/>
</virtualport>
<target dev='vnet7'/>
<model type='virtio'/>
<alias name='net2'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x05'
function='0x0'/>
</interface>
<interface type='bridge'>
<mac address='06:ac:94:00:00:7f'/>
<source bridge='cloudbr0'/>
<virtualport type='openvswitch'>
<parameters interfaceid='374395f7-bd15-4d2f-6569-dd6885eea0ee'/>
</virtualport>
<target dev='vnet8'/>
<model type='virtio'/>
<alias name='net3'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x06'
function='0x0'/>
</interface>
<serial type='pty'>
<source path='/dev/pts/2'/>
<target port='0'/>
<alias name='serial0'/>
</serial>
<console type='pty' tty='/dev/pts/2'>
<source path='/dev/pts/2'/>
<target type='serial' port='0'/>
<alias name='serial0'/>
</console>
<channel type='unix'>
<source mode='bind' path='/var/lib/libvirt/qemu/s-35-VM.agent'/>
<target type='virtio' name='s-35-VM.vport'/>
<alias name='channel0'/>
<address type='virtio-serial' controller='0' bus='0' port='1'/>
</channel>
<input type='tablet' bus='usb'>
<alias name='input0'/>
</input>
<input type='mouse' bus='ps2'/>
<graphics type='vnc' port='5902' autoport='yes' listen='10.204.206.7'>
<listen type='address' address='10.204.206.7'/>
</graphics>
<video>
<model type='cirrus' vram='9216' heads='1'/>
<alias name='video0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02'
function='0x0'/>
</video>
<memballoon model='none'>
<alias name='balloon0'/>
</memballoon>
</devices>
</domain>
[root@cstkvm1 ~]#
> Getting the below in KVM hypervisor
> -----------------------------------
>
> Key: CLOUDSTACK-8743
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8743
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Reporter: Nagaraju
>
> 2015-08-18 15:35:51,153 WARN [kvm.resource.LibvirtComputingResource]
> (Script-7:null) Interrupting script.
> 2015-08-18 15:35:51,153 WARN [kvm.resource.LibvirtComputingResource]
> (agentRequest-Handler-2:null) Timed out:
> /usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/patchviasocket.pl -n
> v-1-VM -p
> %template=domP%type=consoleproxy%host=10.204.207.166%port=8250%name=v-1-VM%zone=1%pod=1%guid=Proxy.1%proxy_vm=1%disable_rp_filter=true%eth2ip=10.204.195.1%eth2mask=255.255.240.0%gateway=10.204.207.254%eth0ip=169.254.3.148%eth0mask=255.255.0.0%eth1ip=10.204.196.119%eth1mask=255.255.240.0%mgmtcidr=10.204.192.0/20%localgw=10.204.207.254%internaldns1=10.206.66.14%dns1=172.21.0.15
> . Output is:
> 2015-08-18 15:35:55,210 WARN [kvm.resource.LibvirtComputingResource]
> (Script-9:null) Interrupting script.
> 2015-08-18 15:35:55,210 WARN [kvm.resource.LibvirtComputingResource]
> (agentRequest-Handler-4:null) Timed out:
> /usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/patchviasocket.pl -n
> s-2-VM -p
> %template=domP%type=secstorage%host=10.204.207.166%port=8250%name=s-2-VM%zone=1%pod=1%guid=s-2-VM%resource=com.cloud.storage.resource.PremiumSecondaryStorageResource%instance=SecStorage%sslcopy=false%role=templateProcessor%mtu=1500%eth2ip=10.204.195.2%eth2mask=255.255.240.0%gateway=10.204.207.254%public.network.device=eth2%eth0ip=169.254.1.253%eth0mask=255.255.0.0%eth1ip=10.204.196.16%eth1mask=255.255.240.0%mgmtcidr=10.204.192.0/20%localgw=10.204.207.254%private.network.device=eth1%eth3ip=10.204.196.178%eth3mask=255.255.240.0%storageip=10.204.196.178%storagenetmask=255.255.240.0%storagegateway=10.204.207.254%internaldns1=10.206.66.14%dns1=172.21.0.15
> . Output is:
> 2015-08-18 15:36:12,157 WARN [kvm.resource.LibvirtComputingResource]
> (Script-10:null) Interrupting script.
> 2015-08-18 15:36:12,157 WARN [kvm.resource.LibvirtComputingResource]
> (agentRequest-Handler-2:null) Timed out:
> /usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/patchviasocket.pl -n
> v-1-VM -p
> %template=domP%type=consoleproxy%host=10.204.207.166%port=8250%name=v-1-VM%zone=1%pod=1%guid=Proxy.1%proxy_vm=1%disable_rp_filter=true%eth2ip=10.204.195.1%eth2mask=255.255.240.0%gateway=10.204.207.254%eth0ip=169.254.3.148%eth0mask=255.255.0.0%eth1ip=10.204.196.119%eth1mask=255.255.240.0%mgmtcidr=10.204.192.0/20%localgw=10.204.207.254%internaldns1=10.206.66.14%dns1=172.21.0.15
> . Output is:
> 2015-08-18 15:36:16,214 WARN [kvm.resource.LibvirtComputingResource]
> (Script-5:null) Interrupting script.
> 2015-08-18 15:36:16,215 WARN [kvm.resource.LibvirtComputingResource]
> (agentRequest-Handler-4:null) Timed out:
> /usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/patchviasocket.pl -n
> s-2-VM -p
> %template=domP%type=secstorage%host=10.204.207.166%port=8250%name=s-2-VM%zone=1%pod=1%guid=s-2-VM%resource=com.cloud.storage.resource.PremiumSecondaryStorageResource%instance=SecStorage%sslcopy=false%role=templateProcessor%mtu=1500%eth2ip=10.204.195.2%eth2mask=255.255.240.0%gateway=10.204.207.254%public.network.device=eth2%eth0ip=169.254.1.253%eth0mask=255.255.0.0%eth1ip=10.204.196.16%eth1mask=255.255.240.0%mgmtcidr=10.204.192.0/20%localgw=10.204.207.254%private.network.device=eth1%eth3ip=10.204.196.178%eth3mask=255.255.240.0%storageip=10.204.196.178%storagenetmask=255.255.240.0%storagegateway=10.204.207.254%internaldns1=10.206.66.14%dns1=172.21.0.15
> . Output is:
> 2015-08-18 15:36:33,161 WARN [kvm.resource.LibvirtComputingResource]
> (Script-7:null) Interrupting script.
> 2015-08-18 15:36:33,161 WARN [kvm.resource.LibvirtComputingResource]
> (agentRequest-Handler-2:null) Timed out:
> /usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/patchviasocket.pl -n
> v-1-VM -p
> %template=domP%type=consoleproxy%host=10.204.207.166%port=8250%name=v-1-VM%zone=1%pod=1%guid=Proxy.1%proxy_vm=1%disable_rp_filter=true%eth2ip=10.204.195.1%eth2mask=255.255.240.0%gateway=10.204.207.254%eth0ip=169.254.3.148%eth0mask=255.255.0.0%eth1ip=10.204.196.119%eth1mask=255.255.240.0%mgmtcidr=10.204.192.0/20%localgw=10.204.207.254%internaldns1=10.206.66.14%dns1=172.21.0.15
> . Output is:
> 2015-08-18 15:36:37,218 WARN [kvm.resource.LibvirtComputingResource]
> (Script-9:null) Interrupting script.
> 2015-08-18 15:36:37,218 WARN [kvm.resource.LibvirtComputingResource]
> (agentRequest-Handler-4:null) Timed out:
> /usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/patchviasocket.pl -n
> s-2-VM -p
> %template=domP%type=secstorage%host=10.204.207.166%port=8250%name=s-2-VM%zone=1%pod=1%guid=s-2-VM%resource=com.cloud.storage.resource.PremiumSecondaryStorageResource%instance=SecStorage%sslcopy=false%role=templateProcessor%mtu=1500%eth2ip=10.204.195.2%eth2mask=255.255.240.0%gateway=10.204.207.254%public.network.device=eth2%eth0ip=169.254.1.253%eth0mask=255.255.0.0%eth1ip=10.204.196.16%eth1mask=255.255.240.0%mgmtcidr=10.204.192.0/20%localgw=10.204.207.254%private.network.device=eth1%eth3ip=10.204.196.178%eth3mask=255.255.240.0%storageip=10.204.196.178%storagenetmask=255.255.240.0%storagegateway=10.204.207.254%internaldns1=10.206.66.14%dns1=172.21.0.15
> . Output is:
> 2015-08-18 15:36:54,165 WARN [kvm.resource.LibvirtComputingResource]
> (Script-1:null) Interrupting script.
> 2015-08-18 15:36:54,165 WARN [kvm.resource.LibvirtComputingResource]
> (agentRequest-Handler-2:null) Timed out:
> /usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/patchviasocket.pl -n
> v-1-VM -p
> %template=domP%type=consoleproxy%host=10.204.207.166%port=8250%name=v-1-VM%zone=1%pod=1%guid=Proxy.1%proxy_vm=1%disable_rp_filter=true%eth2ip=10.204.195.1%eth2mask=255.255.240.0%gateway=10.204.207.254%eth0ip=169.254.3.148%eth0mask=255.255.0.0%eth1ip=10.204.196.119%eth1mask=255.255.240.0%mgmtcidr=10.204.192.0/20%localgw=10.204.207.254%internaldns1=10.206.66.14%dns1=172.21.0.15
> . Output is:
> 2015-08-18 15:36:58,221 WARN [kvm.resource.LibvirtComputingResource]
> (Script-3:null) Interrupting script.
> 2015-08-18 15:36:58,222 WARN [kvm.resource.LibvirtComputingResource]
> (agentRequest-Handler-4:null) Timed out:
> /usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/patchviasocket.pl -n
> s-2-VM -p
> %template=domP%type=secstorage%host=10.204.207.166%port=8250%name=s-2-VM%zone=1%pod=1%guid=s-2-VM%resource=com.cloud.storage.resource.PremiumSecondaryStorageResource%instance=SecStorage%sslcopy=false%role=templateProcessor%mtu=1500%eth2ip=10.204.195.2%eth2mask=255.255.240.0%gateway=10.204.207.254%public.network.device=eth2%eth0ip=169.254.1.253%eth0mask=255.255.0.0%eth1ip=10.204.196.16%eth1mask=255.255.240.0%mgmtcidr=10.204.192.0/20%localgw=10.204.207.254%private.network.device=eth1%eth3ip=10.204.196.178%eth3mask=255.255.240.0%storageip=10.204.196.178%storagenetmask=255.255.240.0%storagegateway=10.204.207.254%internaldns1=10.206.66.14%dns1=172.21.0.15
> . Output is:
> 2015-08-18 15:37:15,169 WARN [kvm.resource.LibvirtComputingResource]
> (Script-7:null) Interrupting script.
> 2015-08-18 15:37:15,169 WARN [kvm.resource.LibvirtComputingResource]
> (agentRequest-Handler-2:null) Timed out:
> /usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/patchviasocket.pl -n
> v-1-VM -p
> %template=domP%type=consoleproxy%host=10.204.207.166%port=8250%name=v-1-VM%zone=1%pod=1%guid=Proxy.1%proxy_vm=1%disable_rp_filter=true%eth2ip=10.204.195.1%eth2mask=255.255.240.0%gateway=10.204.207.254%eth0ip=169.254.3.148%eth0mask=255.255.0.0%eth1ip=10.204.196.119%eth1mask=255.255.240.0%mgmtcidr=10.204.192.0/20%localgw=10.204.207.254%internaldns1=10.206.66.14%dns1=172.21.0.15
> . Output is:
> 2015-08-18 15:37:19,227 WARN [kvm.resource.LibvirtComputingResource]
> (Script-9:null) Interrupting script.
> 2015-08-18 15:37:19,227 WARN [kvm.resource.LibvirtComputingResource]
> (agentRequest-Handler-4:null) Timed out:
> /usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/patchviasocket.pl -n
> s-2-VM -p
> %template=domP%type=secstorage%host=10.204.207.166%port=8250%name=s-2-VM%zone=1%pod=1%guid=s-2-VM%resource=com.cloud.storage.resource.PremiumSecondaryStorageResource%instance=SecStorage%sslcopy=false%role=templateProcessor%mtu=1500%eth2ip=10.204.195.2%eth2mask=255.255.240.0%gateway=10.204.207.254%public.network.device=eth2%eth0ip=169.254.1.253%eth0mask=255.255.0.0%eth1ip=10.204.196.16%eth1mask=255.255.240.0%mgmtcidr=10.204.192.0/20%localgw=10.204.207.254%private.network.device=eth1%eth3ip=10.204.196.178%eth3mask=255.255.240.0%storageip=10.204.196.178%storagenetmask=255.255.240.0%storagegateway=10.204.207.254%internaldns1=10.206.66.14%dns1=172.21.0.15
> . Output is:
> 2015-08-18 15:37:36,172 WARN [kvm.resource.LibvirtComputingResource]
> (Script-3:null) Interrupting script.
> 2015-08-18 15:37:36,173 WARN [kvm.resource.LibvirtComputingResource]
> (agentRequest-Handler-2:null) Timed out:
> /usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/patchviasocket.pl -n
> v-1-VM -p
> %template=domP%type=consoleproxy%host=10.204.207.166%port=8250%name=v-1-VM%zone=1%pod=1%guid=Proxy.1%proxy_vm=1%disable_rp_filter=true%eth2ip=10.204.195.1%eth2mask=255.255.240.0%gateway=10.204.207.254%eth0ip=169.254.3.148%eth0mask=255.255.0.0%eth1ip=10.204.196.119%eth1mask=255.255.240.0%mgmtcidr=10.204.192.0/20%localgw=10.204.207.254%internaldns1=10.206.66.14%dns1=172.21.0.15
> . Output is:
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)