diff --git a/doc/source/user/troubleshooting.rst b/doc/source/user/troubleshooting.rst index 0a542a9f5..12cc625c4 100644 --- a/doc/source/user/troubleshooting.rst +++ b/doc/source/user/troubleshooting.rst @@ -170,9 +170,9 @@ DIB-based or any other IPA image, you will need to take the following steps: file and update the ``ipa_kernel_upstream_url`` and ``ipa_kernel_upstream_url`` settings to a new URL. For DIB-based images, these urls would be, - ``https://tarballs.openstack.org/ironic-python-agent/dib/files/ipa-centos8-master.kernel`` + ``https://tarballs.opendev.org/openstack/ironic-python-agent/dib/files/ipa-centos8-master.kernel`` and - ``https://tarballs.openstack.org/ironic-python-agent/dib/files/ipa-centos8-master.initramfs`` + ``https://tarballs.opendev.org/openstack/ironic-python-agent/dib/files/ipa-centos8-master.initramfs`` respectively. #. Execute the installation playbook, and the set files will be automatically downloaded again. If the files are not removed prior to (re)installation, diff --git a/playbooks/roles/bifrost-ironic-install/defaults/main.yml b/playbooks/roles/bifrost-ironic-install/defaults/main.yml index 1a82d2ebb..9be303170 100644 --- a/playbooks/roles/bifrost-ironic-install/defaults/main.yml +++ b/playbooks/roles/bifrost-ironic-install/defaults/main.yml @@ -75,28 +75,29 @@ use_tinyipa: true enable_uefi_ipxe: true ipxe_efi_binary: ipxe.efi +tarballs_base_url: "https://tarballs.opendev.org/openstack/ironic-python-agent" ipa_download_headers: {} ipa_kernel: "{{http_boot_folder}}/ipa.kernel" ipa_ramdisk: "{{http_boot_folder}}/ipa.initramfs" ipa_kernel_url: "{{ ipa_file_protocol }}://{{ internal_ip }}:{{ file_url_port }}/ipa.kernel" ipa_kernel_upstream_url: >- {%- if use_tinyipa | bool -%} - https://tarballs.openstack.org/ironic-python-agent/tinyipa/files/tinyipa-{{ ipa_upstream_release }}.vmlinuz + {{tarballs_base_url}}/tinyipa/files/tinyipa-{{ ipa_upstream_release }}.vmlinuz {%- elif ipa_upstream_release == "stable-train" -%} - https://tarballs.openstack.org/ironic-python-agent/dib/files/ipa-centos7-{{ ipa_upstream_release }}.kernel + {{tarballs_base_url}}/dib/files/ipa-centos7-{{ ipa_upstream_release }}.kernel {%- else -%} - https://tarballs.openstack.org/ironic-python-agent/dib/files/ipa-centos8-{{ ipa_upstream_release }}.kernel + {{tarballs_base_url}}/dib/files/ipa-centos8-{{ ipa_upstream_release }}.kernel {%- endif -%} ipa_kernel_upstream_checksum_algo: "sha256" ipa_kernel_upstream_checksum_url: "{{ ipa_kernel_upstream_url }}.{{ ipa_kernel_upstream_checksum_algo }}" ipa_ramdisk_url: "{{ ipa_file_protocol }}://{{ internal_ip }}:{{ file_url_port }}/ipa.initramfs" ipa_ramdisk_upstream_url: >- {%- if use_tinyipa | bool -%} - https://tarballs.openstack.org/ironic-python-agent/tinyipa/files/tinyipa-{{ ipa_upstream_release }}.gz + {{tarballs_base_url}}/tinyipa/files/tinyipa-{{ ipa_upstream_release }}.gz {%- elif ipa_upstream_release == "stable-train" -%} - https://tarballs.openstack.org/ironic-python-agent/dib/files/ipa-centos7-{{ ipa_upstream_release }}.initramfs + {{tarballs_base_url}}/dib/files/ipa-centos7-{{ ipa_upstream_release }}.initramfs {%- else -%} - https://tarballs.openstack.org/ironic-python-agent/dib/files/ipa-centos8-{{ ipa_upstream_release }}.initramfs + {{tarballs_base_url}}/dib/files/ipa-centos8-{{ ipa_upstream_release }}.initramfs {%- endif -%} ipa_ramdisk_upstream_checksum_algo: "sha256" ipa_ramdisk_upstream_checksum_url: "{{ ipa_ramdisk_upstream_url }}.{{ ipa_ramdisk_upstream_checksum_algo }}"