Code Monkey home page Code Monkey logo

Comments (13)

LKaemmerling avatar LKaemmerling commented on June 6, 2024 1

Yeah give it a few more minutes :) https://dashboard.zuul.ansible.com/t/ansible/stream/9d273f508dcd411ebe1a9292520cd457?logfile=console.log

The Job is still processing

from hetzner.hcloud.

papanito avatar papanito commented on June 6, 2024 1

I removed the os-package and installed the latest package via pip install hcloud==1.12.0. Now the error is gone.
@LKaemmerling thanks a lot for your quick help!

from hetzner.hcloud.

LKaemmerling avatar LKaemmerling commented on June 6, 2024 1

@papanito yep since v1.3.0 we support our Firewalls: https://www.hetzner.com/news/03-21-firewall-beta/

The document you linked is for the collection in v1.2.1 (https://docs.ansible.com/ansible/latest/collections/hetzner/hcloud/hcloud_inventory.html#ansible-collections-hetzner-hcloud-hcloud-inventory) not for the latest 1.4.1.

As the problem is solved, I will close the issue :) Feel free to reopen if you have further questions

from hetzner.hcloud.

LKaemmerling avatar LKaemmerling commented on June 6, 2024 1

Hey @papanito,

you can use ansible-doc hetzner.hcloud.<module>

from hetzner.hcloud.

LKaemmerling avatar LKaemmerling commented on June 6, 2024

Hey @papanito,

could you please try it with the latest version (1.4.1)?

from hetzner.hcloud.

papanito avatar papanito commented on June 6, 2024

Maybe I miss something:

ERROR! Failed to find collection hetzner.hcloud:1.4.1

My requriements.yml

....
collections:
  - name: hetzner.hcloud
    version: 1.4.1
  - name: community.hrobot
  - name: community.general

from hetzner.hcloud.

papanito avatar papanito commented on June 6, 2024

Yeah just realized it. Thanks @LKaemmerling

from hetzner.hcloud.

papanito avatar papanito commented on June 6, 2024

Still the same:

Traceback (most recent call last):\n  File \"/home/aedu/.ansible/tmp/ansible-tmp-1617777252.9323785-1236366-237186456248268/AnsiballZ_hcloud_server.py\", line 102, in <module>\n    _ansiballz_main()\n  File \"/home/aedu/.ansible/tmp/ansible-tmp-1617777252.9323785-1236366-237186456248268/AnsiballZ_hcloud_server.py\", line 94, in _ansiballz_main\n    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n  File \"/home/aedu/.ansible/tmp/ansible-tmp-1617777252.9323785-1236366-237186456248268/AnsiballZ_hcloud_server.py\", line 40, in invoke_module\n    runpy.run_module(mod_name='ansible_collections.hetzner.hcloud.plugins.modules.hcloud_server', init_globals=None, run_name='__main__', alter_sys=True)\n  File \"/usr/lib/python3.9/runpy.py\", line 210, in run_module\n    return _run_module_code(code, init_globals, run_name, mod_spec)\n  File \"/usr/lib/python3.9/runpy.py\", line 97, in _run_module_code\n    _run_code(code, mod_globals, init_globals,\n  File \"/usr/lib/python3.9/runpy.py\", line 87, in _run_code\n    exec(code, run_globals)\n  File \"/tmp/ansible_hcloud_server_payload_ufhof_5p/ansible_hcloud_server_payload.zip/ansible_collections/hetzner/hcloud/plugins/modules/hcloud_server.py\", line 645, in <module>\n  File \"/tmp/ansible_hcloud_server_payload_ufhof_5p/ansible_hcloud_server_payload.zip/ansible_collections/hetzner/hcloud/plugins/modules/hcloud_server.py\", line 626, in main\n  File \"/tmp/ansible_hcloud_server_payload_ufhof_5p/ansible_hcloud_server_payload.zip/ansible_collections/hetzner/hcloud/plugins/modules/hcloud_server.py\", line 568, in present_server\n  File \"/tmp/ansible_hcloud_server_payload_ufhof_5p/ansible_hcloud_server_payload.zip/ansible_collections/hetzner/hcloud/plugins/modules/hcloud_server.py\", line 334, in _create_server\n  File \"/tmp/ansible_hcloud_server_payload_ufhof_5p/ansible_hcloud_server_payload.zip/ansible_collections/hetzner/hcloud/plugins/modules/hcloud_server.py\", line 335, in <listcomp>\nTypeError: 'NoneType' object is not callable\n"

from hetzner.hcloud.

LKaemmerling avatar LKaemmerling commented on June 6, 2024

@papanito do you have the latest hcloud-python version installed? https://github.com/hetznercloud/hcloud-python/releases/tag/v1.12.0 (or v1.11.0)

from hetzner.hcloud.

papanito avatar papanito commented on June 6, 2024

Nope I have

pacman -Q  hcloud-python
python-hcloud 1.10.0-2

from hetzner.hcloud.

LKaemmerling avatar LKaemmerling commented on June 6, 2024

Then this is the issue. The ansible integration v1.3.0+ require the hcloud-python 1.11.0+ (v1.4.0 requires hcloud-python 1.12.0+)

from hetzner.hcloud.

papanito avatar papanito commented on June 6, 2024

Two more things:

from hetzner.hcloud.

papanito avatar papanito commented on June 6, 2024

Is there a documentation available for 1.4.1?

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.