Open chouseknecht opened 7 years ago
From @sadsfae on February 22, 2017 23:29
I've kicked up my system-wide file limits to 818354 and the galaxy import process just seems to run forever (hours and hours) and my open file count slowly ticks upwards.
For what it's worth I'm using a Github access token.
This just repeats over and over in verbose mode:
https://galaxy.ansible.com/api/v1/imports/?id=60943
https://galaxy.ansible.com/api/v1/imports/?id=60943
https://galaxy.ansible.com/api/v1/imports/?id=60943
e.g.
-=>>time ansible-galaxy import sadsfae ansible-nagios -vvv
Using /etc/ansible/ansible.cfg as config file
Opened /home/wfoster/.ansible_galaxy
https://galaxy.ansible.com/api/v1/imports/
Successfully submitted import request 60943
https://galaxy.ansible.com/api/v1/imports/?id=60943
Starting import 60943: role_name=ansible-nagios repo=sadsfae/ansible-nagios
Accessing branch: master
https://galaxy.ansible.com/api/v1/imports/?id=60943
Parsing and validating meta data.
https://galaxy.ansible.com/api/v1/imports/?id=60943
https://galaxy.ansible.com/api/v1/imports/?id=60943
Any idea what I might be doing wrong?
From @sadsfae on February 23, 2017 0:8
Hi Folks, I was using an out-of-date main.yml format. Using the updated one worked, curious why this wouldn't have given me an error instead? Either way this issue is fixed so closing this. Thanks.
From @sadsfae on February 22, 2017 18:17
Hi Folks,
I'm trying to add a few of my ansible playbooks via github to galaxy and I keep hitting this error:
System: Fedora 24 Ansible version: ansible-2.2.1.0-1.fc24.noarch
I have even upped the open file limits on my system to 65535 and I still get the error and lsof states that I only have about 16k files open for my user.
Here's the command I am using:
This runs for a few hours then spits out the below traceback.
Here's my
../meta/main.yml
I have also set forks = 25 in my
/etc/ansible/ansible.cfg
Copied from original issue: ansible/galaxy-issues#236