cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Star Guo" <>
Subject Add virtual disk to kvm guest vm but the console fail
Date Wed, 11 Mar 2015 00:57:47 GMT

I hope to get some advise to debug this issus. Thanks :) .

Best Regards,
Star Guo


Hi, Dev Team

I play with cloudstack 4.4.2 + centos 7 kvm. It is ok that I deploy an
instance to kvm host, and the console is ok too. 
When I directly add a vdisk via virsh command to this instance, it is ok and
the disk is recongnised but the console in CS UI is fail.
After I remove the vdisk via virsh command from this instance, the console
in CS UI is ok.
How to debug this issue ? Thanks.

My Env:

virsh # pool-list --all
 Name                 State      Autostart 
 797914bf-50ae-328e-9530-cf379313b216 active     no        
 bcf4214b-059d-4017-861c-17d6d9306e2b active     no        
 lvm-pool-sdb         active     no        

virsh # pool-dumpxml lvm-pool-sdb
<pool type='logical'>
  <capacity unit='bytes'>1999839952896</capacity>
  <allocation unit='bytes'>10737418240</allocation>
  <available unit='bytes'>1989102534656</available>
    <device path='/dev/sdb1'/>
    <format type='lvm2'/>

virsh # vol-list lvm-pool-sdb
 Name                 Path                                    
 vol1                 /dev/lvm-pool-sdb/vol1

I attache disk to i-3-132-VM:
"virsh attach-disk --domain i-3-132-VM --source /dev/lvm-pool-sdb/vol1
--target vdb --targetbus virtio"

And then I open the console of this instance but fail with notice: "Server
Internal Error ".

Best Regards,
Star Guo

View raw message