Bug 1962140
| Summary: | Ansible collection repo fails to sync with Could not find 'available_versions' | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Peter Ondrejka <pondrejk> |
| Component: | Repositories | Assignee: | James Jeffers <jjeffers> |
| Status: | CLOSED ERRATA | QA Contact: | Peter Ondrejka <pondrejk> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.10.0 | CC: | jjeffers, jsherril, osousa |
| Target Milestone: | 6.10.0 | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | tfm-rubygem-pulp_ansible_client-0.7.3-1.el7sat.noarch | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-11-16 14:11:01 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Peter Ondrejka
2021-05-19 11:41:35 UTC
Connecting redmine issue https://projects.theforeman.org/issues/31197 from this bug note that this type of url is not valid, you have to use a requirements file. James has removed this type of url from the list of suggestions Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/31197 has been resolved. Revisiting in Satelltie 6.10 snap 8 using both suggestions (https://galaxy.ansible.com/api/ and https://galaxy.ansible.com/ + requirements file) leads to the following error when submitting repo: Task 349943cd-16ac-4395-98cb-42b93c7a02a9: ArgumentError: `proxy_username` is not a valid attribute in `PulpAnsibleClient::AnsibleCollectionRemote`. Please check the name to make sure it's valid. List of attributes: [:name, :url, :ca_cert, :client_cert, :client_key, :tls_validation, :proxy_url, :username, :password, :pulp_labels, :download_concurrency, :policy, :total_timeout, :connect_timeout, :sock_connect_timeout, :sock_read_timeout, :rate_limit, :requirements_file, :auth_url, :token] Based on what I can see in ohsnap, the snap uses tfm-rubygem-pulp_ansible_client-0.7.1-1.el7sat.noarch.rpm. I think that would need to be udpated to pulp_ansible_client 0.7.3+. The very latest pulpcore client 3.14 changes will bring pulp ansible to 0.8. Verified on Satellite 6.10 sn 9, the aforementioned errors no longer occur on submitting and syncing ansible collections repo Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: Satellite 6.10 Release), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:4702 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days |