Actions
Bug #37455
closedCreate Katello push repositories as needed at container push time
Difficulty:
medium
Triaged:
Yes
Description
This issue is a clone of https://issues.redhat.com/browse/SAT-18582 and is a component of https://issues.redhat.com/browse/SAT-23846
There is a decent amount of discussion on this card on JIRA, I have summarized the issue below:
- When using podman to push containers to Katello, ensure that the container name is of a valid format:
- <org_label>/<product_label>/<container_name>[:tag] (downcase all letters)
- id/<org_id>/<product_id>/<container_name>[:tag] - Create a new push repository matching the container name under the appropriate product where required.
- Update existing push repos where required.
- Run content indexing after completion of the container upload.
- Ensure the root repository fields are correct after upload:
- name: matches container_name
- label: matches container_name
- content_type: docker
- product_id: matches product - Ensure that the repository fields are correct after upload:
- relative_path: matches the uploaded container name (exactly what the user entered to podman, either format)
- environment_id: correct for product
- content_view_version_id: correct for product
- version_href: pulp container href
- container_repository_name: <org_label>/<product_label>/<container_name> with proper capitalization OR follows LE pattern (further discussion needed) - Ensure the repository is pushed to a capsule if a user has "Sync Smart Proxies after content view promotion" enabled.
Updated by Quinn James 7 months ago
- Subject changed from Create Katello models as needed at container push time to Create Katello push repositories as needed at container push time
Updated by The Foreman Bot 7 months ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/10995 added
Updated by Anonymous 6 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|1e82cd48a76e58eaf26026b29770353a52de0c2e.
Updated by The Foreman Bot 6 months ago
- Pull request https://github.com/Katello/katello/pull/11051 added
Actions