Skip to content

localrepo upgrade migration#4239

Open
pullan1 wants to merge 1 commit intodell:pub/q2_devfrom
pullan1:pub/q2_dev
Open

localrepo upgrade migration#4239
pullan1 wants to merge 1 commit intodell:pub/q2_devfrom
pullan1:pub/q2_dev

Conversation

@pullan1
Copy link
Copy Markdown
Contributor

@pullan1 pullan1 commented Mar 26, 2026

A new Ansible module pulp_repo_name_migration.py (~1430 lines) has been introduced to automatically migrate Pulp repository names from the old format
to the new
<os_type><os_version> format (e.g. x86_64_baseos becomes x86_64_rhel_10.0_baseos). It handles RPM, File, and Python repo types — creating
new-format repos, copying content, updating distributions and status CSVs, and cleaning up stale old-format entities, all with dry-run support and partial-migration
recovery.

In local_repo_config.yml and all per-software .json config files, repo entries now use short names only (e.g. baseos, docker-ce) without the architecture prefix —
the full Pulp name is constructed automatically at runtime by build_repo_name() using the arch, OS type, and OS version from software_config.json.

Signed-off-by: pullan1 <sudha.pullalaravu@dell.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant