Public bug reported:

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.

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)

** Affects: libvirt (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1235602

Title:
  virt-manager cannot create pool with active logical volumes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1235602/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to