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
The OSArtifact pod runs multiple containers to build the image but the container to build Azure image fails as it expects a raw image as an input argument which it fails to find as there is no container running to build a raw image.
build-azure-cloud-image container logs:
+ /azure.sh /artifacts/azure-hello-kairos-cloud.raw /artifacts/azure-hello-kairos-cloud.vhd
cp: cannot stat '/artifacts/azure-hello-kairos-cloud.raw': No such file or directory
qemu-img: Could not open '/artifacts/azure-hello-kairos-cloud.raw': Could not open '/artifacts/azure-hello-kairos-cloud.raw': No such file or directory
Resizing raw image to 0
qemu-img: Could not open '/artifacts/azure-hello-kairos-cloud.vhd.work': Could not open '/artifacts/azure-hello-kairos-cloud.vhd.work': No such file or directory
Converting /artifacts/azure-hello-kairos-cloud.raw to /artifacts/azure-hello-kairos-cloud.vhd
qemu-img: Could not open '/artifacts/azure-hello-kairos-cloud.vhd.work': Could not open '/artifacts/azure-hello-kairos-cloud.vhd.work': No such file or directory
Done
The build-azure-cloud-image container could include the script(raw-images.sh) to build the raw image and thus provide input for the azure.sh to create the vhd.
I expect the same issue to happen for gce image build process as well.
The text was updated successfully, but these errors were encountered:
Unable to generate a cloud image for Azure
There is no Azure image generated when trying to build using the below definition.
Analysis and rootcause
The OSArtifact pod runs multiple containers to build the image but the container to build Azure image fails as it expects a raw image as an input argument which it fails to find as there is no container running to build a raw image.
build-azure-cloud-image container logs:
Containers in pod
Possible solution
The build-azure-cloud-image container could include the script(raw-images.sh) to build the raw image and thus provide input for the azure.sh to create the vhd.
I expect the same issue to happen for gce image build process as well.
The text was updated successfully, but these errors were encountered: