-
Notifications
You must be signed in to change notification settings - Fork 169
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
Run kola test on Azure failed #2445
Comments
Since I think the more interesting error is if you try providing a location of a Red Hat/Fedora CoreOS image in Azure (i.e. like the RHCOS image that we upload as part of the build process). |
Thanks @miabbott |
Test command: Test results:
|
I wonder if the We don't have a mechanism for setting that flag on the ext tests, so perhaps the harness is trying to inject the SSH key via platform metadata? I'm kind of grasping at straws as I don't have a great understanding of the |
|
Thanks!
No, test with This means kola passed the SSH key to Azure API, and it returns error with invalid parameter. And |
We're currently passing ECDSA-format SSH keys to Azure, and Azure doesn't support those. kola will need code changes to work on Azure again. See #1772 for details. |
Thanks @bgilbert for pointing out this! Run kola test coreos-assembler/blob/main/mantle/platform/machine/azure/flight.go
|
Yep. I think @bgilbert is trying to say this should be fixed if we implement the proposed solution in #1772 (comment), which I think @jmarrero has plans to work on. |
Well, since Azure only supports RSA, we'd need to generate a throwaway RSA key, same as we're doing on AWS. |
Fix in #2555. @HuijingHei, could you test it? |
oh fun.. didn't realize they only supported RSA |
Run kola test |
Azure only supports RSA keys in instance metadata, but we currently don't use those because our SSH library only supports the old RSA SHA-1 handshake which is no longer supported by the OS. Until the SSH library is fixed, always pass a fake RSA SSH key to the instance, and disable tests that would try to use it. Fixes #2445.
Azure only supports RSA keys in instance metadata, but we currently don't use those because our SSH library only supports the old RSA SHA-1 handshake which is no longer supported by the OS. Until the SSH library is fixed, always pass a fake RSA SSH key to the instance, and disable tests that would try to use it. Fixes coreos#2445. (cherry picked from commit a2066db)
Azure only supports RSA keys in instance metadata, but we currently don't use those because our SSH library only supports the old RSA SHA-1 handshake which is no longer supported by the OS. Until the SSH library is fixed, always pass a fake RSA SSH key to the instance, and disable tests that would try to use it. Fixes #2445. (cherry picked from commit a2066db)
Run kola test on Azure, but result is failed, could some help to resolve it? Thanks!
kola list
to get test which is available on azure, for example:coreos.ignition.ssh.key
$ kola run -d -b rhcos -p azure --azure-auth ~/.azure/osServicePrincipal.json --azure-size Standard_D1_v2 --azure-location centralus coreos.ignition.ssh.key
2021-09-17T08:36:21Z kola: Flight failed: failed to resolve image: unable to fetch release bucket alpha version: Get "https://alpha.release.core-os.net/amd64-usr/current/version.txt": dial tcp: lookup alpha.release.core-os.net: no such host
The text was updated successfully, but these errors were encountered: