Update template and vars for ffu and minor update jobs#585
Merged
Conversation
Contributor
Author
|
testing ffu with this. minor update tests to follow. will follow up with another PR. |
Contributor
|
This seems fine to me structurally. Not sure if I can judge the value changes though. |
824a5f6 to
6f99f50
Compare
…ication
This update enables support for the new container registry structure while
maintaining compatibility with older releases, and ensures registry
authentication works correctly during minor update workflows.
Key changes:
Container registry migration:
- Added date-based logic to handle old vs new registry structure in 17.1:
* Before 20251006: uses old registry (rh-osbs namespace, rhosp17-openstack- prefix)
* After 20251006: uses new registry (rhosp-rhel9 namespace, openstack prefix)
- Updated 16.2 and 17.0 templates to support new registry structure
- Added podman-baremetal-ansible.yaml configuration files for 16.2 and
17.1 to make sure to perform registry login on update.
Auto-detection of registry from container metadata:
- removes the region based registry_proxy, since the new registry does
not have geo mirrors.
- Modified auto_dict.yaml to extract registry_proxy from downloaded
container_image_prepare.yaml namespace instead of using ansible variable
- Use regex_findall instead of regex_search to prevent NoneType errors
- Simplified quote stripping to use trim("'") filter
- Ensure name_prefix always ends with a dash for consistency
Registry authentication improvements:
- Changed authentication logic to login to ALL registries for which
credentials were provided (not just registry_proxy match)
Variable file cleanup:
- Removed redundant registry_proxy definitions from 17.1 var files
(now auto-detected from container metadata)
- Consolidated fencing var files for 16.2 releases
- Added 17.1.3_fencing.yaml for new release
- Updated FFU and older release vars to point to old registry
Jira: OSPRH-21317
Signed-off-by: Martin Schuppert <mschuppert@redhat.com>
Signed-off-by: Martin Schuppert <mschuppert@redhat.com>
olliewalsh
reviewed
Nov 11, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates containers-prepare-parameters template for the new registry, also updates var files for ffu and older releases
where images are located on the old registry.