Code Monkey home page Code Monkey logo

Comments (7)

LKaemmerling avatar LKaemmerling commented on May 23, 2024 2

@ssauriera you could now use the released version fo this collection where the bug was fixed. I will close the issue as the bug itself is fixed.

from hetzner.hcloud.

ssauriera avatar ssauriera commented on May 23, 2024

Same issue, do you have any update?

from hetzner.hcloud.

ssauriera avatar ssauriera commented on May 23, 2024

Finally I found my problem.

My servers are from snapshot and in my file located in :

/usr/lib/python2.7/dist-packages/ansible/plugins/inventory/hcloud.py

I comment de following lines:
image

from hetzner.hcloud.

LKaemmerling avatar LKaemmerling commented on May 23, 2024

This is already fixed in the master branch of the new collection (https://github.com/ansible-collections/hetzner.hcloud/blob/master/plugins/inventory/hcloud.py). You could try to use this instead of the ansible build in, as this was planned to be released with Ansible 2.10. As Ansible 2.10 will no longer contain the "non-core" modules we have the new place here. We plan to publish the first stable version of the collection in the next few weeks.

@ssauriera could you test if the file I linked above fixes your issue?

from hetzner.hcloud.

ssauriera avatar ssauriera commented on May 23, 2024

@LKaemmerling changing the file you propose makes the inventory faild again. I'm going to work with the old one.

from hetzner.hcloud.

ktomk avatar ktomk commented on May 23, 2024

just a little bit of feedback from a users perspective: this was biting me yesterday at a not so good time.

no complaints: can confirm that removing ansible, installing it at 2.10.x (ansible-base on ubuntu), then installing hcloud-python via pip on python3 (python3 -m pip install hcloud) and getting hetzner.hcloud from galaxy (ansible-galaxy collection install hetzner.hcloud) did the job for me, the error went away.

Also I've found out that hcloud CLI is a good and stable intermediate fall-back if all things go down (it might be good you have it in path already when trouble-shooting).

If I may suggest, if the hetzner account on ansible galaxy website would show the hetzner logo in the profile picture this would have given me a better impression (not your fault that with ansible galaxy it's not possible to re-install (remove + install) (at least on previous versions, there is a feature request for that)).

from hetzner.hcloud.

LKaemmerling avatar LKaemmerling commented on May 23, 2024

@ktomk thank you for your feedback!

If I may suggest, if the hetzner account on ansible galaxy website would show the hetzner logo in the profile picture this would have given me a better impression (not your fault that with ansible galaxy it's not possible to re-install (remove + install) (at least on previous versions, there is a feature request for that)).

I added the Hetzner Logo to Galaxy, good idea, thank you!

from hetzner.hcloud.

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.