Conversation
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: 2uasimojo The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/override ci/prow/security |
|
@2uasimojo: Overrode contexts on behalf of 2uasimojo: ci/prow/security DetailsIn 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-sigs/prow repository. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## mce-2.5 #2387 +/- ##
========================================
Coverage 57.92% 57.92%
========================================
Files 186 186
Lines 26080 26080
========================================
Hits 15106 15106
Misses 9711 9711
Partials 1263 1263 |
|
/test e2e-azure |
|
/override "Red Hat Konflux / hive-mce-25-on-pull-request" |
|
@2uasimojo: Overrode contexts on behalf of 2uasimojo: Red Hat Konflux / hive-mce-25-on-pull-request DetailsIn 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-sigs/prow repository. |
b1ff741 to
fcb6d75
Compare
|
/override "Red Hat Konflux / hive-mce-25-on-pull-request" |
|
@2uasimojo: Overrode contexts on behalf of 2uasimojo: Red Hat Konflux / hive-mce-25-on-pull-request DetailsIn 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-sigs/prow repository. |
I want to say we've seen this before. Seems intermittent? /test e2e-azure Also going to make a no-op mce-2.5 PR to see if somehow this regressed it, though that doesn't seem possible. |
|
|
/test e2e-azure |
|
/test e2e-azure |
|
/test e2e-azure |
|
/test e2e-azure |
|
/hold for debug |
|
So the problem seems to be that that file already exists; and since we lay it down with 400 perms, the subsequent WriteFile gets EPERM. Now... why does the file already exist?? |
|
Okay, sat in a head-scratching session with @dlom and we finally figured out what's going on. I'm going to write notes here for now, for lack of a better spot. The uninstall job is actually running the hiveutil container more than once. If you look at the hive_uninstall_job.log: (So the actual failure is there at the end, which we currently suspect has to do with an incompatibility between the bumped azidentity lib and the level of installer code that's vendored at this branch. Putting that aside for the moment...) ...versus the uninstall pod log, which we are now pretty sure represents a separate invocation of the container from the above: Per k8s docs, when a container fails, the Job may redrive it according to It is worth noting that, without #1874, although we still would have hit the actual failure, we wouldn't have seen the EPERM because the creds Secret would have been attached to the pod as a volume mount with the creds file already present, so at the container level we wouldn't have been trying to create files. (By itself, this is not a reason to revert that change.) So here are some things we can do:
And of course:
|
|
|
/test e2e-azure Now that #2427 has merged, the pod log should show the actual failure... |
24cf59f to
61b21fd
Compare
|
(rebase to remove my debug-by-printf commit) |
Yup ✓ This is most likely due to an incompatibility between vendored installer code and azidentity in this branch. |
|
/test e2e-azure |
https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMAZUREAZURESDKFORGOSDKAZIDENTITY-7246767 Manual cherry-pick of openshift#2319 / openshift#2308. HIVE-2532
61b21fd to
0fd9146
Compare
|
Rebased to pick up #2436, a revendor, which might, if we're really lucky, fix this. |
|
@2uasimojo: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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-sigs/prow repository. I understand the commands that are listed here. |
Nope. |
Abandoning this fix in mce-2.5 and earlier releases due to ⬆️. This is deemed acceptable per guidelines. #2439 to ignore this CVE via snyk config. |
https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMAZUREAZURESDKFORGOSDKAZIDENTITY-7246767
Manual cherry-pick of #2319 / #2308.
HIVE-2532