You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As we found some issue with using older version of AI stable.17.03.2021-13.18 / v1.0.18.3, we tried installing latest AI (prepare-environment role). But stable/4.7 branch code fails because it could not find the file /opt/assisted-service-ztp/default_ocp_versions.json. Also checked in the assisted-service git repo and saw this file is removed.
Then we tried deploying the latest AI using the ZTP main branch (prepare-environment role), it again failed because of same issue ( it could not find the file `/opt/assisted-service-ztp/default_ocp_versions.json).
The main branch code also has a reference to the role (install-assisted-installer) which does not exists in the main branch.
As a work around we are using sonofspike onprem AI playbooks for bringing up latest AI.
- name: Read json with image versions
shell: cat "/opt/assisted-service-ztp/default_ocp_versions.json"
register: json_content
- name: Query for the right ISO according to the version
vars:
jsondata: "{{ json_content.stdout | from_json }}"
query_version: "\"{{ cluster_version }}\".rhcos_image"
set_fact:
rhcos_base_iso: "{{ jsondata | json_query(query_version) }}"
- name: install assisted installer
include_role:
name: "{{ playbook_dir }}/../common-roles/install-assisted-installer"
vars:
onprem_vars:
- - "SUPPORT_L2=false"
- "SERVICE_BASE_URL={{ ai_url }}"
- "HW_VALIDATOR_MIN_DISK_SIZE_GIB=50"
- "PUBLIC_CONTAINER_REGISTRIES=quay.io,registry.svc.ci.openshift.org"
- "RHCOS_BASE_ISO={{ rhcos_base_iso }}"
- "AUTH_TYPE=none"
Assisted installer also has evolved,the workflow changed to integrate with ACM. In order to continue using the older workflow, you need to pin the AI images to the good known versions that were in stable branch.
As we found some issue with using older version of AI
stable.17.03.2021-13.18 / v1.0.18.3
, we tried installing latest AI (prepare-environment role). But stable/4.7 branch code fails because it could not find the file/opt/assisted-service-ztp/default_ocp_versions.json
. Also checked in the assisted-service git repo and saw this file is removed.Then we tried deploying the latest AI using the ZTP main branch (prepare-environment role), it again failed because of same issue ( it could not find the file `/opt/assisted-service-ztp/default_ocp_versions.json).
The main branch code also has a reference to the role (install-assisted-installer) which does not exists in the main branch.
As a work around we are using sonofspike onprem AI playbooks for bringing up latest AI.
Error:
The text was updated successfully, but these errors were encountered: