flatcar / flatcar-cloud-image-uploader Goto Github PK
View Code? Open in Web Editor NEWSource for Flatcar cloud image uploader Docker images
License: Apache License 2.0
Source for Flatcar cloud image uploader Docker images
License: Apache License 2.0
The Google Oauth2 Authentication does not work anymore as the used sdk is outdated.
tool not working
dont fail on point 3.
It would be nice to have some docs with reference to https://www.flatcar.org/docs/latest/installing/cloud/gcp/ and some examples of building and use.
We could add CI for at least building the Docker images.
Even though I used --channel edge
, the image is named flatcar-stable
by default because the default is set before parsing the CLI parameters:
For testing, it would be nice to have a built-in command which removes uploaded image, so the whole cycle can be automatically tested.
As there is no point to force-reupload if you don't force-recreate.
Description
Using the latest
tag of the google-image-uploader failed in the final step of image creation after upload
Impact
can't completely create flatcar linux image in GCP image repo
Environment and steps to reproduce
docker run -it quay.io/kinvolk/google-cloud-flatcar-image-upload --bucket-name <bucket-id --project-id <project-id>
Uploading an image to the bucket.
Copying file://flatcar_production_gce.tar.gz [Content-Type=application/x-tar]...
- [1 files][633.2 MiB/633.2 MiB] 2.2 MiB/s
Operation completed over 1 objects/633.2 MiB.
/google-cloud-sdk/lib/third_party/ipaddress/__init__.py:1106: SyntaxWarning: 'str' object is not callable; perhaps you missed a comma?
raise TypeError("%s and %s are not of the same version" (a, b))
ERROR: (gcloud.compute.images.describe) Could not fetch resource:
- The resource 'projects/fcloud-garden/global/images/flatcar-stable' was not found
Expected behavior
Expected to see this:
Creating compute image from uploaded image.
Created [https://www.googleapis.com/compute/v1/projects/my-project/global/images/flatcar-stable].
NAME PROJECT FAMILY DEPRECATED STATUS
flatcar-stable my-project flatcar-linux READY
Additional information
I rebuild the upload image locally with the google/cloud-sdk:335.0.0-alpine
and everything worked. Probably just a rebuild with your present Dockerfile is required.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.