Skip to content

Missing repos for 16.2 #411

@bshephar

Description

@bshephar

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions