Giter VIP home page Giter VIP logo

Comments (4)

goneri avatar goneri commented on June 5, 2024

Hi @BubaVV,

Thanks for the bug report. Can you please try this fix: #219

from virt-lightning.

BubaVV avatar BubaVV commented on June 5, 2024

Tested a bit. Seems that 2.1.0, master and proposed patch sometimes fail with the same trace. Tried to manually run vl up; vl down; rm /var/lib/virt-lightning/pool/upstream/* several times in a row

from virt-lightning.

goneri avatar goneri commented on June 5, 2024

Ok, thanks @BubaVV.

from virt-lightning.

jbpratt avatar jbpratt commented on June 5, 2024

Just hit a similar error. Applying the patch in 62ce95e worked as expected.

❯ vl up
downloading image from: https://object-storage.public.mtl1.vexxhost.net/swift/v1/1dbafeefbd4f4c80864414a441e72dd2/bsd-cloud-image.org/images/openbsd/6.9/openbsd-6.9.qcow2
downloading image from: https://object-storage.public.mtl1.vexxhost.net/swift/v1/1dbafeefbd4f4c80864414a441e72dd2/bsd-cloud-image.org/images/openbsd/6.9/openbsd-6.9.yaml
Image openbsd-6.9 is ready!
Traceback (most recent call last):
  File "/home/jbpratt/.local/bin/vl", line 8, in <module>
    sys.exit(main())
  File "/home/jbpratt/.local/lib/python3.9/site-packages/virt_lightning/shell.py", line 362, in main
    action_func(configuration=configuration, **vars(args))
  File "/home/jbpratt/.local/lib/python3.9/site-packages/virt_lightning/api.py", line 206, in up
    loop.run_until_complete(deploy())
  File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
    return future.result()
  File "/home/jbpratt/.local/lib/python3.9/site-packages/virt_lightning/api.py", line 198, in deploy
    await f
  File "/usr/lib/python3.9/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/home/jbpratt/.local/lib/python3.9/site-packages/virt_lightning/api.py", line 91, in _start_domain
    domain = hv.get_domain_by_name(host["name"])
  File "/home/jbpratt/.local/lib/python3.9/site-packages/virt_lightning/virt_lightning.py", line 166, in get_domain_by_name
    dom = self.conn.lookupByName(name)
  File "/usr/lib/python3.9/site-packages/libvirt.py", line 4886, in lookupByName
    raise libvirtError('virDomainLookupByName() failed')
libvirt.libvirtError: Cannot write data: Broken pipe

Edit: not consistently working with the patch 😸

from virt-lightning.

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.