Giter Site home page Giter Site logo

Comments (3)

dradtke avatar dradtke commented on June 15, 2024

@displague I just pushed a commit to the apiv4 branch that almost gets it working. Unfortunately, the image seems to get cleaned up by Linode almost immediately, and my best guess is that we need to wait until the image is actually done before exiting.

Unfortunately, Linode's v4 API doesn't seem to have any concept of an image status, and the ListNotifications() call is completely broken. Any thoughts about how to solve this?

from packer-builder-linode.

displague avatar displague commented on June 15, 2024

@dradtke Sorry about that, I'll address ListNotifications.

https://github.com/terraform-providers/terraform-provider-linode/blob/master/linode/resource_linode_image.go#L154-L186

Also notice that Create also verifies that the Image still exists when the Instance status has returned to normal. This is because a failed image will be deleted and will no longer be accessible.

https://github.com/terraform-providers/terraform-provider-linode/blob/master/linode/resource_linode_image.go#L111-L124

( @akerl was the contributor behind that )

from packer-builder-linode.

displague avatar displague commented on June 15, 2024

@dradtke https://github.com/linode/linodego/releases/tag/v0.7.1 corrects the notifications bug you discovered.

It's been merged for a while but I hadn't pushed any tags/releases since before Kubecon and holidays.

from packer-builder-linode.

Related Issues (6)

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.