Git Product home page Git Product logo

compute-image-import's Introduction

Compute Engine Image Import

This repository contains various tools for managing disk images on Google Compute Engine using Daisy.

Note: Google Compute Engine supports importing virtual disks and virtual appliances by using the image import tool. For more information, see the import tool documentation.

The documentation for the tools in this repository can be found on our GitHub.io page.

Daisy

Daisy is a solution for running multi-step workflows on Google Compute Engine.

Daisy Workflows

This repository contains full featured Daisy workflow examples for image import. A user guide for importing virtual disk using the Daisy workflow is here.

Image Import and Export Tools

The cli_tools folder in this repository contains the tools for importing and exporting images using Daisy.

Contributing

Have a patch that will benefit this project? Awesome! Follow these steps to have it accepted.

  1. Please sign our Contributor License Agreement.
  2. Fork this Git repository and make your changes.
  3. Create a Pull Request.
  4. Incorporate review feedback to your changes.
  5. Accepted!

License

All files in this repository are under the Apache License, Version 2.0 unless noted otherwise.

compute-image-import's People

Contributors

adjackura avatar advazair avatar bkatyl avatar crunk1 avatar darthmelonder avatar dntczdx avatar ericdand avatar ericedens avatar fiona-liu avatar gaohannk avatar helen-fornazier avatar hopkiw avatar humbleshuttler avatar jpassing avatar jsoref avatar konradschieban avatar krzyzacy avatar lawrencehwang avatar mahmoudnada0 avatar pjh avatar quintonamore avatar rofuentes avatar ryanwe avatar savijatv avatar tomlanyon avatar wj-chen avatar yanglu1031 avatar yswe avatar zmarano avatar zoran15 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

compute-image-import's Issues

Inspection fails on Debian Testing

The image consists of the following:

  • One 15 MiB EFI System Partition, formatted as FAT, containing GRUB 2.06 for x86-64
  • One ~30 GiB root partition, formatted as EXT4, containing an install of Debian Testing

/etc/os-release:

PRETTY_NAME="Debian GNU/Linux trixie/sid"
NAME="Debian GNU/Linux"
VERSION_CODENAME=trixie
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

/etc/debian_version:

trixie/sid

Here is the log output from the GCP importer:

Jul 29 15:11:49 debian google_metadata_script_runner[863]: startup-script-url: Inspecting OS
Jul 29 15:11:49 debian google_metadata_script_runner[863]: startup-script-url: Failed to inspect OS:  'NoneType' object has no attribute 'major'
Jul 29 15:11:49 debian google_metadata_script_runner[863]: startup-script-url: Traceback (most recent call last):
Jul 29 15:11:49 debian google_metadata_script_runner[863]: startup-script-url:   File "/usr/local/lib/python3.9/dist-packages/boot_inspect/cli.py", line 135, in main
Jul 29 15:11:49 debian google_metadata_script_runner[863]: startup-script-url:     results = inspection.inspect_device(g)
Jul 29 15:11:49 debian google_metadata_script_runner[863]: startup-script-url:   File "/usr/local/lib/python3.9/dist-packages/boot_inspect/inspection.py", line 139, in inspect_device
Jul 29 15:11:49 debian google_metadata_script_runner[863]: startup-script-url:     operating_system = linux.Inspector(fs, _LINUX).inspect()
Jul 29 15:11:49 debian google_metadata_script_runner[863]: startup-script-url:   File "/usr/local/lib/python3.9/dist-packages/boot_inspect/inspectors/os/linux.py", line 184, in inspect
Jul 29 15:11:49 debian google_metadata_script_runner[863]: startup-script-url:     match = d.match(self._fs)
Jul 29 15:11:49 debian google_metadata_script_runner[863]: startup-script-url:   File "/usr/local/lib/python3.9/dist-packages/boot_inspect/inspectors/os/linux.py", line 160, in match
Jul 29 15:11:49 debian google_metadata_script_runner[863]: startup-script-url:     major_version=version.major,
Jul 29 15:11:49 debian google_metadata_script_runner[863]: startup-script-url: AttributeError: 'NoneType' object has no attribute 'major'
Jul 29 15:11:49 debian google_metadata_script_runner[863]: startup-script-url:
Jul 29 15:11:49 debian google_metadata_script_runner[863]: startup-script-url: During handling of the above exception, another exception occurred:
Jul 29 15:11:49 debian google_metadata_script_runner[863]: startup-script-url:
Jul 29 15:11:49 debian google_metadata_script_runner[863]: startup-script-url: Traceback (most recent call last):
Jul 29 15:11:49 debian google_metadata_script_runner[863]: startup-script-url:   File "/usr/local/bin/boot-inspect", line 8, in <module>
Jul 29 15:11:49 debian google_metadata_script_runner[863]: startup-script-url:     sys.exit(main())
Jul 29 15:11:49 debian google_metadata_script_runner[863]: startup-script-url:   File "/usr/local/lib/python3.9/dist-packages/boot_inspect/cli.py", line 138, in main
Jul 29 15:11:49 debian google_metadata_script_runner[863]: startup-script-url:     results.ErrorWhen = inspect_pb2.InspectionResults.ErrorWhen.INSPECTING_OS
Jul 29 15:11:49 debian google_metadata_script_runner[863]: startup-script-url: AttributeError: 'InspectionResults' object attribute 'ErrorWhen' is read-only
Jul 29 15:11:49 debian google_metadata_script_runner[863]: startup-script-url: + echo Failed:
Jul 29 15:11:49 debian google_metadata_script_runner[863]: startup-script-url: Failed:
Jul 29 15:11:49 debian google_metadata_script_runner[863]: startup-script-url exit status 0

Errors running

When trying to run this application on Windows 64 it returns a bunch of texts including this line:
INFO: Only applicable on Windows 2008 systems

I am wondering if anyone has ever used this tool and succeeded it getting any answer.

This tool does not even describe the command to be used, well it is the basic thing at least to provide the command.

Above all of this, this tool is referred by gcloud docs and I find it useless; is there anyone to reply from gcloud?

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.