diff --git a/playbooks/roles/bifrost-ironic-install/tasks/download_deployment_image.yml b/playbooks/roles/bifrost-ironic-install/tasks/download_deployment_image.yml index 1aad4a2b..20d74446 100644 --- a/playbooks/roles/bifrost-ironic-install/tasks/download_deployment_image.yml +++ b/playbooks/roles/bifrost-ironic-install/tasks/download_deployment_image.yml @@ -73,4 +73,4 @@ The deployment image checksum does not match the file that has been downloaded. Ensure that deploy_image_upstream_url, deploy_image_checksum_url, and deploy_image_checksum_algorithm are set correctly. To ignore the checksum, set deploy_image_checksum_algorithm to none. - when: deploy_image_checksum_algorithm != 'none' and downloaded_image_stat.stat.checksum != parsed_deployment_image_checksum + when: deploy_image_checksum_algorithm != 'none' and downloaded_image_stat.stat.checksum not in deployment_image_checksum diff --git a/releasenotes/notes/fix-deploy-image-checksum-2e40b08a049bd425.yaml b/releasenotes/notes/fix-deploy-image-checksum-2e40b08a049bd425.yaml new file mode 100644 index 00000000..9f6ea7b1 --- /dev/null +++ b/releasenotes/notes/fix-deploy-image-checksum-2e40b08a049bd425.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + Fixes an issue checksum vaidation would fail when a deployment image is + downloaded, even if the checksum matched. See `LP#2115188 + `__ for more details.