Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

validation of network failed exporting image google cloud storage

Hello Community,

I have an image on my GCP compute Engine that need to export to Google Cloud Storage as vmdk file, after granting all the permission and getting the following error:

Status: Downloaded newer image for gcr.io/compute-image-tools/gce_vm_image_export:release
gcr.io/compute-image-tools/gce_vm_image_export:release
[image-export]: 2023-01-05T20:28:16Z Validation of network "projects/x-alcove-127318/global/networks/default" failed: googleapi: Error 404: The resource 'projects/x-alcove-127318/global/networks/default' was not found, notFound
ERROR
ERROR: build step 0 "gcr.io/compute-image-tools/gce_vm_image_export:release" failed: step exited with non-zero status: 1
 
Any advise will be appreciate it
0 4 1,534
4 REPLIES 4

From the error it's clear it's trying to use default network if no custom network specified and failing as your project is not having default vpc.

If it's your personal project , create default vpc.

We do have a vpc for this project, can I specify to use this network for the image export?

Yes , because "default" vpc network not available in below project

projects/x-alcove-127318

Thanks for the advise Vishal, but I can't find how and where change the network seetting for the export image job