Add support for Oracle Cloud Infrastructure#3846
Add support for Oracle Cloud Infrastructure#3846navaneeth-dev wants to merge 3 commits intoflatcar:mainfrom
Conversation
|
@tormath1 you can review it now. Also do I need to provide an oracle test script? |
|
@tormath1 is away at KubeCon, so he may take some time to respond. He knows this area best. |
tormath1
left a comment
There was a problem hiding this comment.
Thanks a lot for this contribution. It looks good.
Only SSH keys and hostname are missing.Any chance to enable it and give it a try ?
- https://github.com/flatcar/init/blob/flatcar-master/systemd/system/sshkeys.service
- https://github.com/flatcar/bootengine/blob/flatcar-master/dracut/53ignition/flatcar-metadata-hostname.service
Also do I need to provide an oracle test script?
There is a full test suite defined here: https://github.com/flatcar/mantle - if OCI has a Go SDK, then we can check to implement OCI support in Mantle (e.g: flatcar/mantle#652) but this can be done in a second time (it will give me time to investigate OCI test sponsoring. :))
...er/src/third_party/coreos-overlay/coreos-base/common-oem-files/common-oem-files-0-r12.ebuild
Show resolved
Hide resolved
|
I will check SSH & hostname support. |
Thanks. For what is worth, I asked CNCF about OCI sponsoring to enable Flatcar tests on this cloud provider. On another aspect, I kicked-off a CI run to see if everything builds correctly. Thanks for your work so far! |
|
Anything I can do to help on the OCI sponsoring part? I can ask the oracle community here. I can also create documentation later. Will test the hostname and ssh in a few days. |
How do I fix this? I am not able to test the builds on my feature branch. Can I change version.txt to a stable version? |
|
Hey @navaneeth-dev thanks - we have some issues with the CI right now, that might explain the issue you see. You should be able to run the SDK using the latest released image:
Thanks a lot for asking, I've created a ticket to the CNCF a few days ago - let's see how it goes. ❤️ |
Still unable to build.
Lot of HTTP 404 Portage errors. |
@navaneeth-dev this should not be an issue - it's only warnings. Do you have an actual error message at the end of the command? |
|
|
dev-libs/elfutils in both main-4643.0.0-nightly-20260318-2100 and current main have a stable |
|
Oh wait, it was |
Signed-off-by: Navaneeth <me@rizexor.com>
Signed-off-by: Navaneeth <me@rizexor.com>
Signed-off-by: Navaneeth <me@rizexor.com>
I have deleted my repo locally and cloned again. Trying to build again. |
|
Hey @navaneeth-dev, apologize we experimented some unexpected CI issues in the last days. I kicked-off a new build of your branch to get build results. |
|
@navaneeth-dev built images are available here: https://bincache.flatcar-linux.net/images/amd64/9999.9.111+tormath1-oci/ |
Tested this, its working. hostname is not working yet. About the SSH keys support, how would that work? ssh key would be added to which user? Also is the CI fixed now as per docs for me to continue the testing of the above features? Also should we enable flatcar.autologin so the OCI console can run commands? |
Thank you so much for testing this image. For SSH keys, things should be set as mentioned here: #3846 (review) - you just need to add
Here, it depends. Does OCI has a mechanism to prevent console access to the users? If yes, then we can consider setting |
|
I'll test it today. Prevent console access to the users meaning like IAM permissions to deny console access per user basis? |
Add support for Oracle Cloud Infrastructure
I want official builds of flatcar for Oracle Cloud.
How to use
Right now I verified it works. I will try to work on CI builds tomorrow.
I will fix the conventions soon.
Testing done
Right now I verified it works.
Related to: flatcar/Flatcar#1855
CI: https://jenkins.flatcar.org/job/container/job/packages_all_arches/5/cldsv/