-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error when default storage pool is missing #8
Comments
@screeley44 what version are you using? (virt-deploy --version) Latest version on copr is 0.1.6. Can you check that you have the default pool defined in libvirt:
Thanks |
You can try to define the pool with:
|
that worked!! Thanks!! Name State Autostartdefault active yes |
Marking this as enhancement/help-wanted because adding the default storage pool when missing will improve user experience. |
Hi, So I'm not sure what is better solution, install dependendend virt-manager or create default pool + default network in own setup as workaround. So my point of view is, that it would be nice, to not use default pool and default network but be able to config own pool for disc and net. |
My mentioned solution should also solve another issue: |
Hi, |
error: Failed to define pool default Name State Autostartimages active yes $ virsh pool-destroy images $ virsh pool-undefine images Then restart the deployment |
a reference to vagrant-libvirt README storage_pool_name - Libvirt storage pool name, where box image and instance snapshots will be stored. My Solution
|
I had to define the pool using virtmanager instead of using |
dnf copr enable fsimonce/virt-deploy
dnf install virt-deploy virt-address
[root@miqbuild ~]# virt-deploy create test01 fedora-21
Traceback (most recent call last):
File "/usr/bin/virt-deploy", line 9, in
load_entry_point('virt-deploy==0.1.6', 'console_scripts', 'virt-deploy')()
File "/usr/lib/python2.7/site-packages/virtdeploy/cli.py", line 143, in main
return parse_command_line(sys.argv[1:])
File "/usr/lib/python2.7/site-packages/virtdeploy/cli.py", line 138, in parse_command_line
return COMMAND_TABLEargs.command
File "/usr/lib/python2.7/site-packages/virtdeploy/cli.py", line 41, in instance_create
instance = driver.instance_create(args.id, args.template)
File "/usr/lib/python2.7/site-packages/virtdeploy/drivers/libvirt.py", line 96, in instance_create
pool = conn.storagePoolLookupByName(kwargs['pool'])
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 4305, in storagePoolLookupByName
if ret is None:raise libvirtError('virStoragePoolLookupByName() failed', conn=self)
libvirt.libvirtError: Storage pool not found: no storage pool with matching name 'default'
Any idea what I'm missing at this point, or maybe my approach is completely wrong?
The text was updated successfully, but these errors were encountered: