Comments (4)
It looks like the timeout is not being passed down like it should, I'll take a look and see whats up. Can you run 'gcloud version' and let me know the output?
Also what do you mean by your second statement? Gcloud doesn't take custom scripts to pass into daisy at this time, but you can separate the import of the disk and the translation step by running these two commands:
gcloud compute images import RAW_IMAGE --data-disk
gcloud compute images import IMAGE_NAME --os windows-2008r2 --source-image=RAW_IMAGE
Or do you mean the copying to GCS?
from compute-image-tools.
Thank you for answering so quickly, the output of command:
$ gcloud version
Google Cloud SDK 200.0.0
bq 2.0.33
core 2018.04.30
gsutil 4.31
...
I mean the copying of the volume into a temporal volume.
Since I work in the EU zone and the process is working in NS, I have large charges for outgoing traffic for each test. I guess I can solve ithe problem using the volume of the last test.
I share some mistakes in case it's help you:
Error ResourceDoesNotExist: projects/xxxxx-xxxxx/global/networks/default does not exist
[Daisy] Errors in one or more workflows:
import-and-translate: step "import" validation error: step "import-virtual-disk" validation error: ResourceDoesNotExist: projects/xxxxx-xxxxx/global/networks/default does not exist
[import-and-translate]: 2018-10-22T14:17:56Z Error validating workflow: step "import" validation error: step "import-virtual-disk" validation error: ResourceDoesNotExist: projects/xxxxx-xxxxx/global/networks/default does not exist
ERROR
ERROR: build step 0 "gcr.io/compute-image-tools/daisy:release" failed: exit status 1
--------------------------------------------------------------------------------------------------------------------------------------------
ERROR: (gcloud.compute.images.import) build 933396b7-096b-403e-a5e0-af372b9118a0 completed with status "FAILURE"
Solution: create network default mode automatic.
Error 400: Invalid value for field 'resource.networkInterfaces[0]': ''. Subnetwork should be specified for custom subnetmode network, invalid:
[import-and-translate.import]: 2018-10-19T11:45:56Z Step "setup-disks" (CreateDisks) successfully finished.
[import-and-translate.import]: 2018-10-19T11:45:56Z Running step "import-virtual-disk" (CreateInstances)
[import-and-translate.import.import-virtual-disk]: 2018-10-19T11:45:56Z CreateInstances: Creating instance "inst-importer-import-and-translate-import-xxxxxx".
[import-and-translate]: 2018-10-19T11:45:56Z Error running workflow: step "import" run error: step "import-virtual-disk" run error: googleapi: Error 400: Invalid value for field 'resource.networkInterfaces[0]': ''. Subnetwork should be specified for custom subnetmode network, invalid
[import-and-translate]: 2018-10-19T11:45:56Z Workflow "import-and-translate" cleaning up (this may take up to 2 minutes).
[Daisy] Errors in one or more workflows:
import-and-translate: step "import" run error: step "import-virtual-disk" run error: googleapi: Error 400: Invalid value for field 'resource.networkInterfaces[0]': ''. Subnetwork should be specified for custom subnetmode network, invalid
ERROR
ERROR: build step 0 "gcr.io/compute-image-tools/daisy:release" failed: exit status 1
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ERROR: (gcloud.compute.images.import) build a61f90d4-963e-42da-9416-6245b2ad9cd4 completed with status "FAILURE"
Solution: modify or drop custom subnet and configure default network in mode automatic.
Thank you!
from compute-image-tools.
Confirmed, the timeout parameter works with the next version.
$ gcloud version
Google Cloud SDK 222.0.0
bq 2.0.36
core 2018.10.19
gsutil 4.34
import-and-translate]: 2018-10-25T06:45:48Z Error running workflow: step "import" did not complete within the specified timeout of 21h55m0s
[import-and-translate]: 2018-10-25T06:45:48Z Workflow "import-and-translate" cleaning up (this may take up to 2 minutes).
[Daisy] Errors in one or more workflows:
import-and-translate: step "import" did not complete within the specified timeout of 21h55m0s
from compute-image-tools.
About the network traffic, we are working on a fix for that, we will be auto choosing locations close to your source so that should not be an issue. For now does the --zone parameter work for you? Or is there a reason your running in one location but your source is in another? Another fix we are working on now is allowing you to pass in --network and --subnetwork.
Both of these fixes are being worked on in our workflows first then we will work on adding support to gcloud. I can share instructions on how to run daisy directly and modify the workflows to suite you needs if that would help.
from compute-image-tools.
Related Issues (20)
- Incorrect hostname for VMs with multiple network interfaces
- panic: runtime error: invalid memory address or nil pointer dereference on Ubuntu 20.04
- Issue with bootstrap_install.ps1 HOT 2
- `import_precheck` fails on CentOS 7 HOT 2
- importing process interrupted when `/etc/netplan` contains subdirectory (Ubuntu 18+) HOT 1
- getting error while importing my ubuntu 2004vmdk into compute instance HOT 1
- Execution fails when shielded VMs org policy is enforced HOT 3
- GCE_Export Release Version access_denied HOT 1
- daisy release version has access denied HOT 1
- Should this be more than 1 GB?
- gcloud compute images import does not allow centos-8 in option --os HOT 1
- Compute engine create with container + SSD
- Could not fetch resource
- Semidev1
- Shared VPC issue during build
- Deployments of UBUNTU with "snapd" (google tool use this snapd?) HOT 3
- windows-startup-script-url: Message: Either the Name or Index parameter is required HOT 2
- Workflow update required for windows-10-20h2-ent-x86
- Fix the setting for 'x86_build' and maybe 'uefi_build' on the 'windows-build-bios.wf.json'
- Create custom Windows BYOL images failed HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from compute-image-tools.