mirror of
https://github.com/retspen/webvirtmgr.git
synced 2026-04-25 15:45:51 +03:00
[GH-ISSUE #417] Lack support of disk type=volume ? #314
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 @kot1grun on GitHub (Sep 5, 2014).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/417
Hello. I have logical pool type with underlying LVM volume group:
<pool type='logical'><source><device path='/dev/md2'/><name>svg</name><format type='lvm2'/></source><target><path>/dev/svg</path><permissions><mode>0755</mode><owner>-1</owner><group>-1</group></permissions></target></pool>When I change configuration of block device of my VM from
<disk type='block' device='disk'><driver name='qemu' type='raw' cache='none' io='native'/><source dev='/dev/svg/testlv'/><target dev='vda' bus='virtio'/></disk>to
<disk type='volume' device='disk'><driver name='qemu' type='raw' cache='none' io='native'/><source pool='pool0' volume='testlv'/><target dev='vda' bus='virtio'/></disk>I get
Are storage pools with volume disk types supported?
@retspen commented on GitHub (Sep 5, 2014):
Can you show debug info?
@kot1grun commented on GitHub (Sep 5, 2014):
Sure!
Environment:
Request Method: GET
Request URL: http://192.168.57.2:80/instance/1/V-DB/
Django Version: 1.5.5
Python Version: 2.7.5
Installed Applications:
['django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.staticfiles',
'webvirtmgr',
'servers',
'instance',
'create',
'gunicorn']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware')
Traceback:
File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
Exception Type: AttributeError at /instance/1/V-DB/
Exception Value: 'NoneType' object has no attribute 'count'
@kot1grun commented on GitHub (Sep 10, 2014):
Thanks a lot!