You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Star Guo <st...@ceph.me> on 2015/03/09 10:01:48 UTC
Add vdisk to kvm guest vm but console fail
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'>
<name>lvm-pool-sdb</name>
<uuid>229dee22-af67-4a11-be61-a664676afdce</uuid>
<capacity unit='bytes'>1999839952896</capacity>
<allocation unit='bytes'>10737418240</allocation>
<available unit='bytes'>1989102534656</available>
<source>
<device path='/dev/sdb1'/>
<name>lvm-pool-sdb</name>
<format type='lvm2'/>
</source>
<target>
<path>/dev/lvm-pool-sdb</path>
<permissions>
<mode>0755</mode>
<owner>-1</owner>
<group>-1</group>
</permissions>
</target>
</pool>
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