Comments (4)
Hi @BubaVV,
Thanks for the bug report. Can you please try this fix: #219
from virt-lightning.
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.
Ok, thanks @BubaVV.
from virt-lightning.
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)
- Add delete function HOT 2
- CLI confusion HOT 1
- Snapshots / restore? HOT 2
- Use python2 in inventory for Trusty VM HOT 2
- Allow specifiying the video model HOT 7
- Libvirt network config doesn't handle DHCP section HOT 1
- Failed to connect socket to '/opt/homebrew/var/run/libvirt/virtqemud-sock' HOT 2
- Mounts ? HOT 1
- setting staitc ip with ivp4 dosen't work HOT 3
- New release on pypi HOT 1
- testing the app locally without installing it each time HOT 1
- wrong resolve.conf values when using new libvirt network HOT 2
- 'vl start' has no option for disk configuration HOT 2
- vl doesn't seem to work with Python 3.10 HOT 1
- Live snapshot is not supported
- asyncio.Event loop parameter removal in Python 3.10 HOT 1
- pip3 install --user virt-lightning error: externally-managed-environment Debian-12 HOT 3
- better support VM image file extensions for config.ini private_hub= HOT 2
- How do I add my own images ? or better yet can we get debian-13 on the list ? HOT 3
- Enable Flake8-pyproject
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from virt-lightning.