Code Monkey home page Code Monkey logo

Comments (6)

retspen avatar retspen commented on August 15, 2024

Need only active storage pool for create VM.

from webvirtmgr.

kimnzl avatar kimnzl commented on August 15, 2024

Does that mean you need all the pools active to create VMs?
Or just the one you plan on using for storage?

from webvirtmgr.

retspen avatar retspen commented on August 15, 2024

Need at least one where the VM images will be saved. Got to storage page and click button: "Start" or create new storage pool.

from webvirtmgr.

kimnzl avatar kimnzl commented on August 15, 2024

When I have:
storage pool 'default' online (started)
storage pool 'ubuntu1304' offline (stopped)
storage pool 'storage' online (started)
I still get the error. I would expect based on what you have said that this is not what is meant to happen.
As far as I can see from the code all pools would need to be started for it to work and allow for a new VM.
How can a storage location be refreshed 'stg.refresh(0)' if it is not started?

Traceback:
File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
  111.                         response = callback(request, *callback_args, **callback_kwargs)
File "/var/www81/webvirtmgr/newvm/views.py" in newvm
  140.         all_img = libvirt_func.images_get_storages(conn, all_storages)
File "/var/www81/webvirtmgr/libvirt_func.py" in images_get_storages
  257.         stg.refresh(0)
File "/usr/lib/python2.7/dist-packages/libvirt.py" in refresh
  2441.         if ret == -1: raise libvirtError ('virStoragePoolRefresh() failed', pool=self)

Exception Type: libvirtError at /newvm/1/
Exception Value: Requested operation is not valid: storage pool 'ubuntu1304' is not active

from webvirtmgr.

retspen avatar retspen commented on August 15, 2024

Fix this bug 86e30ac Need update

from webvirtmgr.

kimnzl avatar kimnzl commented on August 15, 2024

Thanks for all your hard work.

from webvirtmgr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.