Skip to content

error when default storage pool is missing #8

@screeley44

Description

@screeley44
  1. my work laptop is rhel 6.5
  2. I have created f21 VM (named miqbuild.rhs)
  3. from the f21 VM I have successfully performed these commands:
    dnf copr enable fsimonce/virt-deploy
    dnf install virt-deploy virt-address
  4. Now when I try to create the instance, I get this:

[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?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions