mirror of
https://github.com/retspen/webvirtmgr.git
synced 2026-04-25 23:55:57 +03:00
[GH-ISSUE #42] Adding 'image' to LVM Storage Pool Problems #31
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 @ghost on GitHub (Mar 16, 2013).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/42
Hello.
I have a volume group setup for KVM to use called
kvmspace. From the UI, I try adding a new image calledcentos123and the following is the output from webvirtmgr:Any ideas to correcting this?
@ghost commented on GitHub (Mar 16, 2013):
Some additional information:
Volume Group is at
/dev/kvmspaceSounds like this is simply a matter of the logical volume not being created before
lvchangeis trying to be ran on it?@retspen commented on GitHub (Mar 16, 2013):
You add VG in through WebVirtMgr ?
@ghost commented on GitHub (Mar 16, 2013):
No, the volume group was created prior to WebVirtMgr being installed on the server as other data was/is on this VG before I decided to give this a spin and see how I liked it.
The pool is showing up within virsh and WebVirtManager fine, it's showing the correct space used, free space, etc.
@retspen commented on GitHub (Mar 16, 2013):
$ virsh pool-dumpxml kvmspace
???
@ghost commented on GitHub (Mar 16, 2013):
As requested
@retspen commented on GitHub (Mar 16, 2013):
Must be like this:
@ghost commented on GitHub (Mar 16, 2013):
I'm able to manually create the logical volume from the command line and use it in WebVirtMgr, so I guess I'll do it that way.
Then set the new VM to use vm0003 for the disk.
@retspen commented on GitHub (Mar 16, 2013):
Ok. Do this manual. Or change xml for the storage pool:
$ virsh pool-edit kvmspace
to
where sdx - your PV device for lvm
@ghost commented on GitHub (Mar 16, 2013):
Sorry, another update on this.
This actually looks to be a bug that RedHat has "confirmed", but doesn't appear to be resolved 100% as of yet.
https://bugzilla.redhat.com/show_bug.cgi?id=888118
Command That Fails:
Command That Works:
@retspen commented on GitHub (Mar 16, 2013):
Resolv, but not for web ui.