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
mcc: accept ign3 & translate down #1474
mcc: accept ign3 & translate down #1474
Conversation
e5cfe1d
to
a57bb8f
Compare
/skip |
/retest |
amazing, I think this has to be a combination of this and #996 in order to actually accept Ign v3 and have a smoke e2e that creates a v3 MachineConfig (which is later translated down to v2 internally for the 4.5 timeframe cc @yuqi-zhang ) |
If we want #996 in first we will probably have to adapt this to convert from v3 and rawextention. We also would need a way to detect versioning in a rawextention object before converting, which 996 currently does not seem to have. https://github.com/openshift/machine-config-operator/pull/996/files#r381541065 |
a57bb8f
to
2cc688c
Compare
fa34392
to
a91d3ea
Compare
Finally rebased to pick up new RawExt changes after being blocked but that PR. |
18e7a7e
to
bfaade4
Compare
/retest |
/retest ci/prow/e2e-gcp-upgrade |
@ashcrow: The
Use In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/test e2e-gcp-upgrade |
@ashcrow those failures don't have anything to do with this pr. no need to retest just yet! :) |
0f0f7ff
to
43ed6b3
Compare
/retest |
found the issue - it's an ordering issue with machineconfig names, we know that MC are ordered when being merged together. I will also make the updateSSHKeys function better as today it just uses the last entry (?!) which is what causes this in tandem This also explains why it works when you run the test alone in a live cluster but it would have failed in a live cluster as well if MC names were messed up like here. It explains also why Urvashi's PR was failing with a similar error on grep as she had the very same issue about MC names ordering. This is the content of the rendered MC for this ign3 test:
and you can see the MCD is only using the last one:
affected code is here:
I'm fixing it by just updating the name of the MC and update MCD fix (being tested here #1676 as it also fixes the issue here |
Pending my fix /hold |
Nice debugging Antonio! |
Signed-off-by: Antonio Murdaca <runcom@linux.com>
was able to push directly (I had wrong remotes setup in my git and assumed it was off because it's the same error, took me some time to figure out and now I was able to push) /hold cancel |
2 similar comments
was able to push directly (I had wrong remotes setup in my git and assumed it was off because it's the same error, took me some time to figure out and now I was able to push) /hold cancel |
was able to push directly (I had wrong remotes setup in my git and assumed it was off because it's the same error, took me some time to figure out and now I was able to push) /hold cancel |
/retest |
/refresh |
/retest |
I think we can leave this as is now and it'll go in as soon as tests turn green as the override is already taken into account |
also github is having issues from time to time today /retest |
/retest |
1 similar comment
/retest |
The sshkey fix LGTM, it passes tests on #1676 as well |
I'll pick that commit here as that's the one really fixing the issue here. |
Use all available keys all the time, not just last one. This makes sure the operation can be repeated over and over and won't depend on ordering either... Signed-off-by: Antonio Murdaca <runcom@linux.com>
/retest |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ashcrow, kikisdeliveryservice, LorbusChris, runcom The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/skip |
@kikisdeliveryservice: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
/skip |
Phase 1 of Ign3 transition, the MCC accept Ign3 configs translates them down to version 2 and applies to pool while preserving the original V3 configs. New func IgnParseWrapper() allows us to use one function to parse both configs and can be used for later phases.
Related pre-work : coreos/ign-converter#4