Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ansible 2.10 support #731

Closed
opoplawski opened this issue Jul 9, 2020 · 10 comments · Fixed by #715
Closed

ansible 2.10 support #731

opoplawski opened this issue Jul 9, 2020 · 10 comments · Fixed by #715

Comments

@opoplawski
Copy link
Contributor

There doesn't seem to be an existing issue referencing ansible 2.10 issues yet, so here goes :)

ansible 2.10.0b1.post0
  config file = /export/home/orion-admin/ansible-boulder/ansible.cfg
  configured module search path = [u'/export/home/orion-admin/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /export/home/orion-admin/ansible/lib/ansible
  executable location = /export/home/orion-admin/ansible/bin/ansible
  python version = 2.7.5 (default, Apr  1 2020, 10:09:19) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]
Using /export/home/orion-admin/ansible-boulder/ansible.cfg as config file
Parsed /export/home/orion-admin/ansible-boulder/inventory/boulder.cobbler.yml inventory source with cobbler plugin
Skipping due to inventory source not ending in "cobbler.yaml" nor "cobbler.yml"
cobbler declined parsing /export/home/orion-admin/ansible-boulder/inventory/hosts as it did not pass its verify_file() method
Parsed /export/home/orion-admin/ansible-boulder/inventory/hosts inventory source with ini plugin
Parsed /export/home/orion-admin/ansible-boulder/inventory/monterey.cobbler.yml inventory source with cobbler plugin
Parsed /export/home/orion-admin/ansible-boulder/inventory/seattle.cobbler.yml inventory source with cobbler plugin
[top  4317] 10:19:00.884328 D ansible_mitogen.affinity: CPU mask for Ansible top-level process: 0x000002
[top  4317] 10:19:00.884631 D ansible_mitogen.process: inherited open file limits: soft=1024 hard=4096
[top  4317] 10:19:00.884730 D ansible_mitogen.process: raised soft open file limit from 1024 to 4096
[mux  4327] 10:19:00.887142 D ansible_mitogen.affinity: CPU mask for MuxProcess 0: 0x000001
[mux  4327] 10:19:00.902435 D mitogen.service: Pool(a110, size=32, th='MainThread'): initialized
[mux  4327] 10:19:00.902749 D ansible_mitogen.process: Service pool configured: size=32
META: ran handlers
[task 4361] 10:19:00.934268 D ansible_mitogen.affinity: CPU mask for WorkerProcess: 0x000004
The full traceback is:
Traceback (most recent call last):
  File "/export/home/orion-admin/ansible/lib/ansible/executor/task_executor.py", line 155, in run
    res = self._execute()
  File "/export/home/orion-admin/ansible/lib/ansible/executor/task_executor.py", line 610, in _execute
    self._handler = self._get_action_handler(connection=self._connection, templar=templar)
  File "/export/home/orion-admin/ansible/lib/ansible/executor/task_executor.py", line 1063, in _get_action_handler
    collection_list=collections
  File "/export/home/orion-admin/ansible-boulder/mitogen/ansible_mitogen/strategy.py", line 144, in wrap_action_loader__get
    return adorned_klass(*args, **kwargs)
  File "/export/home/orion-admin/ansible-boulder/mitogen/ansible_mitogen/mixins.py", line 118, in __init__
    super(ActionModuleMixin, self).__init__(task, connection, *args, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'collection_list'
barry.cora.nwra.com | FAILED! => {
    "msg": "Unexpected failure during module execution.",
    "stdout": ""
}
[mux  4327] 10:19:00.980813 D mitogen: Waker(fd=6/8): disconnecting
@s1113950
Copy link
Collaborator

s1113950 commented Jul 9, 2020

Thanks for the ticket! :)

I was sorta doing this in this PR here: #715 (the error you reported I started to fix in that branch),
until I got distracted by sudden failing tests here: #723

I like a dedicated ticket for 2.10 support though since there will probably be other things other than collections that need to change for 2.10.

@s1113950
Copy link
Collaborator

s1113950 commented Sep 3, 2020

@opoplawski please give #715 a try and let me know if it fixes your issue 😄 It should work with ansible 2.10 installed from github via pip install git+https://github.com/ansible/ansible.git@v2.10.0 since ansible==2.10 isn't out yet.

@vincentbernat
Copy link

vincentbernat commented Sep 3, 2020 via email

@s1113950
Copy link
Collaborator

s1113950 commented Sep 4, 2020

I tried it, and ansible-core doesn't exist 🤔 https://pypi.org/project/ansible-base/ does, but that won't come with collections. Eventually ansible==2.10 will release with some collections inside it, see https://github.com/ansible-community/ansible-build-data/blob/main/2.10/ansible.in

@vincentbernat
Copy link

vincentbernat commented Sep 4, 2020 via email

@ghost
Copy link

ghost commented Dec 22, 2020

How is the status for the the 2.10 support? Is there any ETA for a new release?

@goldyfruit
Copy link

How is the status for the the 2.10 support? Is there any ETA for a new release?

Same question here.

@DaVince
Copy link

DaVince commented Dec 23, 2020

I'd suggest subscribing to the pull request linked above to stay updated. 😃

@jn-itiviti
Copy link

How is the status for the the 2.10 support? Is there any ETA for a new release?

Hello! what's the status for the 2.10+ support? I see mitogen is still under active development but no news on this front :(
Thanks in advance 🙏

@DaVince
Copy link

DaVince commented Sep 13, 2022

How is the status for the the 2.10 support? Is there any ETA for a new release?

Hello! what's the status for the 2.10+ support? I see mitogen is still under active development but no news on this front :( Thanks in advance 🙏

" closed this as completed" means it's been implemented and I can confirm this. I think a better question to ask at this point is support for newer versions than that, since Red Hat has been quite busy reworking a lot of things in Ansible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants