Вы писали 9 октября 2013 г., 8:44:42:
я запостил баг libvirt + virtmanager - вопрос ни кто не сталкивался ?
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1235602
...
When I install a whole new system with ubuntu 12.04 disk I setup libvirt-bin and virt-manager to create a virtualization server with this software.
But later I got an error when want to manipulate with lvm libvirt pool througth virt-manager.
I deleted pool for check if an error of mispelled configuration of a pool. But this nothing to help me to resolution a problem when after I want to create a new one with an active lvm volume group.
Which is also used as system volume group.
I mean that I has a one big lvm group over raid1 mdadm, which name is bigraid.
а путь к виртуалкам нестандартный, поэтому может причина в AppArmor
он разрешает только определенный каталог.
----------------------------
And This volume group has the following logical volumes:
1. Host server root filesystem (/dev/bigraid/serverrootfs)
2. Host server /var/log filesystem (/dev/bigraid/serverroot_var_log)
3. Virtual machine 1 filesystem (/dev/bigraid/vm1)
4. Virtual machine 2 filesystem (...)
and etc.
I cannot deactivate a volume group on a production server for let libvirt using some logical volumes for its needs. I think this is not correctly behaviour.
I can create or/and delete a poll with an unactive volume group normally. I have another volume group at other mdadm raid. I can manipulate it without problems.
Therefore I decided to report an error at launchupad.
This error occurs when i want to create a pool via virt-manager:
Error creating pool: Could not start storage pool: internal error Child process (/sbin/vgchange -aln bigraid) unexpected exit status 5: Can't deactivate volume group "bigraid" with 11 open logical volume(s)
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 45, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/createpool.py", line 482, in _async_pool_create
poolobj = self._pool.install(create=True, meter=meter, build=build)
File "/usr/lib/python2.7/dist-packages/virtinst/Storage.py", line 744, in install
build=build, autostart=False)
File "/usr/lib/python2.7/dist-packages/virtinst/Storage.py", line 489, in install
raise RuntimeError(errmsg)
RuntimeError: Could not start storage pool: internal error Child process (/sbin/vgchange -aln bigraid) unexpected exit status 5: Can't deactivate volume group "bigraid" with 11 open logical volume(s)
...
-- С Уважением, специалист по техническому и программному обеспечению, системный администратор Скубриев Владимир ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Россия, Ростовская область, г. Таганрог тел. моб: +7 (918) 504 38 20 skype: v.skubriev icq: 214-800-502 www: skubriev.ru
--
С уважением,
Роман mailto:[email protected]
-- ubuntu-ru mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-ru
