mirror of
https://github.com/retspen/webvirtmgr.git
synced 2026-04-25 23:55:57 +03:00
[GH-ISSUE #20] lvm2 storage pools are not supported #14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @WhiteWind on GitHub (Feb 7, 2013).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/20
When I try to view virtual machine I got error 500.
Log shows:
libvir: error : invalid argument: virStorageVolLookupByPathDisk defined as follows:
@retspen commented on GitHub (Feb 7, 2013):
/dev/kvmguests/yate - the path must be defined as a storage pool in WebVirtMgr
@WhiteWind commented on GitHub (Feb 7, 2013):
http://127.0.0.1/storage/1/kvmguests/ is present and has pool path /dev/kvmguests
@retspen commented on GitHub (Feb 7, 2013):
Add symbol # at beginning of line in file webvirtmgr/polls/view.py, line 1145:
hdd_image = get_dom_hdd(storages) to #hdd_image = get_dom_hdd(storages)
@WhiteWind commented on GitHub (Feb 7, 2013):
It works now, but does not show HDD
@retspen commented on GitHub (Feb 7, 2013):
sudo virsh vol-list 'pool name' - where 'pool name' when contains /dev/kvmguests device. What show ?
@WhiteWind commented on GitHub (Feb 7, 2013):
@retspen commented on GitHub (Feb 7, 2013):
You create VM and pool in WebVirtMgr ?
@WhiteWind commented on GitHub (Feb 7, 2013):
Нет, я их вручную через XML и virsh создавал.
Or should we continue in English?
@retspen commented on GitHub (Feb 7, 2013):
Проблема заключается в том что у webvirtmgr при создании xml свои параметры и если они не стандартные они просто не парсяться.
@retspen commented on GitHub (Feb 7, 2013):
У вас пулы хранилища еще есть ?
@WhiteWind commented on GitHub (Feb 7, 2013):
Есть, дефолтный и NFS'ный. Оба корректно обрабатываются в webvirtmgr.
Вот так объявлен LMV'ный:
@retspen commented on GitHub (Feb 7, 2013):
Скинте еще xml виртуалки
@WhiteWind commented on GitHub (Feb 7, 2013):
@retspen commented on GitHub (Feb 7, 2013):
Обновил
@WhiteWind commented on GitHub (Feb 7, 2013):
Да, теперь всё правильно