octavia/releasenotes/notes/diskimage-create-add-file-extension-to-default-34eeaa97b788cc67.yaml
Tom Weininger 6db3640873 Fix stat error in periodic image build job
Currently the publish-openstack-octavia-amphora-image-centos-9-stream
shows this error, even though the job itself seems to succeed: [1]

2022-07-25 02:21:52.929693 | centos-9-stream | Successfully built the
amphora image using amphora-agent from the master branch.
2022-07-25 02:21:52.931356 | centos-9-stream | stat: cannot statx
'/home/zuul/test-images/test-only-amphora-x64-haproxy-centos-9-stream.qcow2.qcow2':
No such file or directory
2022-07-25 02:21:52.931640 | centos-9-stream | Amphora image size:

[1]:
https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_741/periodic/opendev.org/openstack/octavia/master/publish-openstack-octavia-amphora-image-centos-9-stream/7414761/job-output.txt

Story: 2010187
Task: 45876
Change-Id: I4600bade69f27c670e58077ded5b7646d2e3f786
2022-07-25 18:20:07 +02:00

12 lines
394 B
YAML

---
upgrade:
- |
The default for the output file has been changed in
diskimage-create.sh. It is now amphora-x64-haproxy.qcow2 instead of
amphora-x64-haproxy.
fixes:
- |
diskimage-create.sh used $AMP_OUTPUTFILENAME.$AMP_IMAGETYPE for
constructing the image file path when checking the file size, which was
not correct and caused an "No such file or directory" error.