-
Notifications
You must be signed in to change notification settings - Fork 54
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
Intermittent issue while trying to sync community devsec.hardening collection #773
Comments
What versions of pulpcore and pulp_ansible should we test against? |
Pulpcore 3.15.0 and pulp ansible 0.10.1 |
We should attempt to reproduce this, and then determine (if we can) if this pulpcore change resolves it. |
Actually i think this fix needs amendments: |
@newswangerd which pulpcore versions do these fixes need to go into? Just 3.15.z? |
@bmbouter just 3.15.z |
Here's a script I used to try to sync galaxy, which includes the rate limiting values galaxy_ng uses.
This is on a system where I |
The default rate limiting options we use in galaxy_ng are: |
thanks @bmclaughlin I've revised the reproducer to use those values and I'm rerunning the full mirror now. |
Well I didn't get the exception of interest, but I did get a failure. I got this:
|
I received the same exception again. I believe there is a data quality issue on galaxy.ansible.com that our code is not adequately handling. |
I moved that issue to it's own issue here to track it's fix separately. It's not the same root cause as the claim in this bug. #806 I'm going to fix 806 and then resume with this. |
Trying to install from the git tags:
How sure are you about those numbers? |
Yeah when I installed |
I will try to reproduce with this snippet now: #!/bin/bash
set -ev
for i in $(seq 100)
do
repo_name="repo$RANDOM"
remote_name="remote$RANDOM"
url="https://galaxy.ansible.com"
distribution_name="distribution$RANDOM"
base_path="$RANDOM"
requirements='collections: [devsec.hardening]'
pulp ansible remote -t collection create --name $remote_name --url $url --download-concurrency 10 --rate-limit 8 --requirements "$requirements"
pulp ansible repository create --name $repo_name --remote $remote_name
pulp ansible repository sync --name $repo_name
echo "Created and synced repo $repo_name"
pulp ansible content --type collection-version list | jq 'length'
pulp ansible repository destroy --name "$repo_name"
pulp ansible remote destroy --name "$remote_name"
pulp orphan cleanup --protection-time 0
done Versions: {
"component": "core",
"version": "3.16.0"
},
{
"component": "certguard",
"version": "1.6.0.dev"
},
{
"component": "herminig",
"version": "0.1.0a1.dev"
},
{
"component": "file",
"version": "1.10.1"
},
{
"component": "deb",
"version": "2.15.1"
},
{
"component": "container",
"version": "2.9.1"
},
{
"component": "ansible",
"version": "0.10.1"
} edit: No luck here. Seems like i ran into rate limiting. But no trace of the reported bug. |
I was able to sync all collections on galaxy.ansible.com (13488 collectionVersions) in 1 hour and 24 minutes with no errors. I have not been able to reproduce the issue. I'm going to close this issue while awaiting more info on a reproducer. |
Original issue: https://issues.redhat.com/browse/AAH-1202
The text was updated successfully, but these errors were encountered: