GithubHelp home page GithubHelp logo

Comments (4)

adjackura avatar adjackura commented on July 22, 2024

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.

Tedezed avatar Tedezed commented on July 22, 2024

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.

Tedezed avatar Tedezed commented on July 22, 2024

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.

adjackura avatar adjackura commented on July 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.