-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GCE : Flatcar Linux Stable > TroubleShooting Guide. #1569
Comments
Hi, I just gave a try to a Stable instance on GCP and it works fine:
Regarding your parameters:
Are you sure those are reachable from the outside? Note that default network has ingress permissions for SSH which is not the case for custom networks. Can you try again with
A side note: this won't work on Flatcar, this is a Fedora CoreOS command -
|
Thank you for the quick response. I tested again without adding the config.ign and it works. The reason why it is failing is probably due to the rpm-ostree command and a faulty ign . The approach I am using to make the ignition is for the most part correct? I would think that to make it user friendly , Flatcar Linux would automatically convert the yaml config into the right format , would make adoption easier. Why not just include Butane on Flatcar and when setting the metadata , Flatcar would convert automatically. As well as making some common sense quick docs. I also noticed that Flatcar Linux isnt completely immutable. I am able to make changes to the system configs outside of the ignition that are persistent. The /opt/ directory is an example, so in theory if someone gets access they can just launch a binary from the opt directory , modify systemctl services , and crontab as well as update and upgrade strategies. While this makes it easier for users, its is only partially immutable. Why not just make the use of ignition easier and then actually make it immutable? I noticed Google Container OS is more in line with the concept and I was not able to change anything. |
Not sure why an open source distro requires a license? AWS & Azure , I am able to sell VMs on Flatcar Linux. Google appears to be a different story, maybe they are promoting their own Container OS and CoreOS ( Which doestn support OS Login ) ?
|
Hello @decyphertek-io, The Ignition approach is almost correct, you could even leverage Ignition / Butane more to remove this
Regarding the immutability, that's a design choice. Flatcar is an image based OS, all the Flatcar components are delivered via
In theory yes, but in practice if someone has already this kind of access, I would say you have bigger problems - to mitigate this, you can use enforced SELinux for example (to prevent For the license, I will investigate - but even Open Source software have licenses. Thanks for your questions! |
@decyphertek-io I can't reproduce the license warning you got by following the documentation - what did you run to get there? |
Google Solution:"Thank you for your response, As noticed that the error is due to you have not configured the licensed image.Could you please configure the license image as per below link step-6.https://cloud.google.com/marketplace/docs/partners/vm/build-vm-image
Once the license image gets created, please use the licensed image during the validation of the deployment package." Question:
|
Flatcar Linux CIS Benchmark:
References: |
Following the commands suggested in these docs are not sufficient , https://www.flatcar.org/docs/latest/installing/cloud/gcp/ , OS Login is not working. I have OS-Login setup and works fine on all other systems. I even added OS Login to the Gcloud CLI command and the config.ign . I have no idea how to SSH in using your docs. ( Note: this works fine in AWS and Azure, not GCP )
Gcloud CLI:
Butane.bu ( Converted to IGN via butane ):
Install Butane on Debian 12:
GCP SSH Error:
Note:
It does work when i launch it from the marketplace . They have a disclaimer and not sure why the glcoud cli version doesnt have that? When launching a GCP Compute instance , I only see Fedora CoreOS , they do not support OS Login. Also, when i launch it from the marketplace , it dont see a way to add the config.ign ? Can I run this directly from terminal, I cant find that anywhere in the docs, like reading hieroglyphs. A lot of info, nothing like a logical progression of how to get it working . Quick start guide for those who dont want to spend a weekend reading tech docs only to find you just need to run a few commands.
The text was updated successfully, but these errors were encountered: