Missing repos for 16.2
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 70/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- ansible
- Domain
- devops
Research direction
Open infrared/common/roles/cdn_registery/defaults/main.yml around line 19 and inspect the subscriptions dictionary used by the CDN registration task. Add the missing RHOSP 16.2 repository mapping, then verify that a deployment using --cdn no longer fails with the undefined-variable error.
Written by the indexing model from the issue text.
Description
Issue:
While it is possible to deploy RHOSP16.2, if you do so with the --cdn option, it fails to lookup the repos since they are missing from the subscriptions dictionary:
Error:
TASK [cdn_registery : register to openstack repos for OSP >= 15] ***********************************************************************************************************************************************
fatal: [undercloud-0]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: {{ repo_list | map('regex_replace', '^(.*)$', '--enable=\\1') | join(' ') }}: {{ (subscription
s.common_8) + (subscriptions[(repo_version|float)] if not cdn_skip_openstack_repos | default(false) else []) + (subscriptions.ceph_4 if install.storage is defined and install.storage.backend is defined and in
stall.storage.backend == 'ceph' else []) }}: dict object has no element 16.2\n\nThe error appears to be in '/home/fedora/Documents/Code/OpenStack/infrared/.venv/lib/python3.10/site-packages/infrared/common/ro
les/cdn_registery/tasks/main.yml': line 17, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - name: register to openstack repos
for OSP >= 15\n ^ here\n"}
They will need to be added here:
https://github.com/redhat-openstack/infrared/blob/master/infrared/common/roles/cdn_registery/defaults/main.yml#L19
- Dominant language
- Jinja
- Stars
- 105
- Forks
- 100
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from redhat-openstack/infrared
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
redhat-openstack/infrared#417 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
redhat-openstack/infrared#416 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
redhat-openstack/infrared#410 · 2 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
redhat-openstack/infrared#409 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 55/100
redhat-openstack/infrared#408 ·
All issues in redhat-openstack/infrared
Similar issues
-
kind/bug Ubuntu 24
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
kubernetes-sigs/kubespray#13532 ·
-
Needs Design Priority: Wishlist
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
elementary/flatpak-platform#253 ·
-
tagbot-manual
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100