mirror of
https://github.com/retspen/webvirtmgr.git
synced 2026-04-25 23:55:57 +03:00
[GH-ISSUE #252] create storage pool from webvirtmgr interface #201
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 @Hemo1234 on GitHub (Mar 2, 2014).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/252
I have tried to create new pool, but there is no way i can add my OS image
in DIR the path is : /var/lib/libvirt/images
and IOS : /var/www/webvirtmgr/images
when i tired to create ISO it says " cannot open path '/var/www/webvirtmgr/images': No such file or directory"
please how to slove this issue.
Thank you
@camjac251 commented on GitHub (Mar 2, 2014):
/var/www/webvirtmgr/images doesnt exist.... its that simple.
@Hemo1234 commented on GitHub (Mar 2, 2014):
so please, do i need to create directory /var/www/webvirtmgr/images? and how? i am not really good at Linux. thanks
@camjac251 commented on GitHub (Mar 2, 2014):
you really wont get far with using webvirtmgr if you dont know linux
@Hemo1234 commented on GitHub (Mar 2, 2014):
thanks, i am in a learning process and will get help from my colleagues, but for this one, what i have to do to create /var/www/webvirtmgr/images?
@Hemo1234 commented on GitHub (Mar 2, 2014):
Hi, I managed to create /var/www/webvirtmgr/images it is working now,
but i have a problem after i created new instance and tried to install new os on VM via console VNC, the process went well till i select install Ubuntu then, i went dark, then display " Server disconnected (code: 1006)" , in the terminal this what is saw " requested operation is not valid domain is not running",.
@retspen commented on GitHub (Mar 2, 2014):
$ netstat -atn | grep 6080
@Hemo1234 commented on GitHub (Mar 3, 2014):
tcp 0 0.0.0.0:6080 0.0.0.0:* listen
@Hemo1234 commented on GitHub (Mar 3, 2014):
@Hemo1234 commented on GitHub (Mar 3, 2014):
after i selected the language the next screen is to select os which in my case Ubuntu 12.4 server, after i hit enter, nothing will show accept dark screen and in a few seconds the above messages will show up.
is it something to do with storage configuration?
thanks
@trendzetter commented on GitHub (Mar 4, 2014):
What happens if you try to create the pool using virt-manager?
@camjac251 commented on GitHub (Mar 7, 2014):
WebVirtMgr Host didn't work for me on Centos 6.5 64-bit.
Also selecting LVMs is broken on webvirtmgr as well.
@retspen commented on GitHub (Mar 7, 2014):
Could you show error message or logs, what is problems with LVM?
@camjac251 commented on GitHub (Mar 7, 2014):
I try to add the path and it say its not in the correct format, and when I add the name of the volumegroup as the name in webvirtmgr, it gives me an error that it doesnt exist.
@retspen commented on GitHub (Mar 7, 2014):
You need create device for LVM, for example: pvcreate /dev/sdb5 and then in webvirtmgr add LVM pool input name and device /dev/sdb5. Waring device must be without any groups only pv
@camjac251 commented on GitHub (Mar 7, 2014):
Ok I see. Is it possible to create vms off of os templates instead of mounting isos?
I want to use this in a commercial area offering OS options, and it will require no install process done by the end user. Kinda similar to DigitalOcean. Did you guys make the new design before or after digitalocean released their design. Did they base their design off yours?
@captain4dmin commented on GitHub (Feb 11, 2015):
I try to create lvm storage and when I test with
Name --> Data
Device --> /dev/sda5 (or just sda5 where sda5 is my pv)
I have this message:
The target must not contain any special characters
@rgombash commented on GitHub (Feb 12, 2015):
@captain4dmin : you have to define storage pool first in libvirt on your host and than you will be able to add new LV's from webvirtmg. To create pool on your host run:
virsh pool-define-as lv_guest_vm logical --source-name [your VG name] --target [your path to VG location on disk]
After this you will see your VG listed in storages and you can add new LV's manually or by instancing new vm's to this pool (this will create LV that is same name as new virtual machine)
@captain4dmin commented on GitHub (Feb 12, 2015):
All is ok,
pvremove /dev/sda5
Then I create the lvm space via web interface and it's ok
thanks