Comments (5)
Can you import this image using the lxc
command? I suspect this API is DTRT.
from pylxd.
Yes it doesnt have any problems when I try to import the image.
from pylxd.
What format is this image in? Where did you get it? Can you put it somewhere I can get to it, so I can try it out?
from pylxd.
I have been able to reproduce this issue, but when I do lxc image import <file>
, I get error: detectCompression failed, err='Unsupported compression', tarfile='/var/lib/lxd/images/lxd_build_626862389/lxd_tar_962061103'
This looks like it's acting as it should. If you have an image that causes the issue, but successfully imports to LXD, please feel free to link it here and re-open.
from pylxd.
Oh, I figured out what the issue is here. It's the combination of metadata.yaml
and the image in the same request. That's something pylxd doesn't currently do, but should. I'll have to think about what the api for that looks like.
from pylxd.
Related Issues (20)
- migration: "instances" entry already exists HOT 1
- Lxc copy for clone lxc non exsiste in pylxd HOT 1
- Support managing network forwards HOT 1
- container.execute Failed to receive data ConnectionResetError: [Errno 104] Connection reset by peer ws4py/websocket.py HOT 1
- Replace ws4py with something which is maintained
- Connection refused error when using UNIX socket HOT 2
- pylxd version conflicts HOT 3
- Instability with executing commands and file operations in LXD virtual machine. HOT 2
- Please capture/return lxd container error logs within stack traces HOT 1
- Network ACLs management HOT 1
- Rename functionalities does not actually rename but create a new object instead
- Instance status and state().status out of sync
- Unable to pass recursion to client.instances.all()
- recursive_get doesn't preserve permissions HOT 1
- Can't set or update profile description HOT 1
- instance.save() tries and fails to modify volatile key in restricted project HOT 1
- The storage pool model is missing support for snapshots of custom volumes
- Creating an instance with a bogus `source` config gives a cryptic error HOT 2
- `pylxd` broken by dependency `requests` 2.32.0 HOT 3
- pylxd.exceptions.ClientConnectionFailed: Not supported URL scheme http+unix HOT 2
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 pylxd.