GithubHelp home page GithubHelp logo

Comments (5)

rockstar avatar rockstar commented on May 29, 2024

Can you import this image using the lxc command? I suspect this API is DTRT.

from pylxd.

zulcss avatar zulcss commented on May 29, 2024

Yes it doesnt have any problems when I try to import the image.

from pylxd.

rockstar avatar rockstar commented on May 29, 2024

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.

rockstar avatar rockstar commented on May 29, 2024

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.

rockstar avatar rockstar commented on May 29, 2024

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)

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.