-
Notifications
You must be signed in to change notification settings - Fork 114
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
Update machine config operator #707
Conversation
Thanks for your PR,
To skip the vendors CIs use one of:
|
Thanks for your PR,
To skip the vendors CIs use one of:
|
LGTM |
CI is broken due to the webhook not able to start (logs)
any idea of how it happened? maybe one of the bumped dependency broke it? |
Hmm let me take a look. Its not obvious to me why bumping this dependencies would cause an unknown flag error to sriov-network-operator-webhook. |
It looks like some of the package updates are indeed responsible for the missing flags Before upgrades:
After Upgrades:
|
Thanks for your PR,
To skip the vendors CIs use one of:
|
Thanks for your PR,
To skip the vendors CIs use one of:
|
Thanks for your PR,
To skip the vendors CIs use one of:
|
Thanks for your PR,
To skip the vendors CIs use one of:
|
@zeeke PTAL. Resolved the issues with the missing flags, we removed an indirect dependency on github.com/golang/glog by updating the machine config operator. This package provides an init() method which sets a number of flags such as alsologtostderr. K8s test is passing now, I believe the OCP failure is unrelated to the PR |
Thanks for going deep here. LGTM |
Looks like the ocp tests are failing still, I believe this is unrelated
|
@adrianchiris PTAL |
/test-all |
Update machine config operator to remove dependency on goproxy. Signed-off-by: Salvatore Daniele <[email protected]>
Signed-off-by: Salvatore Daniele <[email protected]>
Due to updating the machine config operator, we removed an indirect dependency on github.com/golang/glog. This package provides an init() method which sets a number of flags that we expect to be present [1]. To ensure compatability with the updates, we can explicitly add these flags with the klog.init() method [2]. It is better to include packages that are required to keep the API consistent explicitly. [1] https://github.com/golang/glog/blob/424d2337a5299a465c8a8228fc3ba4b1c28337a2/glog.go#L398-L404 [2] https://github.com/kubernetes/klog#:~:text=Use%20klog.InitFlags(nil)%20explicitly%20for%20initializing%20global%20flags%20as%20we%20no%20longer%20use%20init()%20method%20to%20register%20the%20flags Signed-off-by: Salvatore Daniele <[email protected]>
1d99976
to
98277ec
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
Hi @zeeke any insights into why the OCP CI test is failing? |
/test-all |
/override Test SR-IOV Operator / ocp (pull_request) |
LGTM |
@ykulazhenkov can you PTAL? |
Update machine config operator to remove dependency on goproxy.
go mod tidy && go mod vendor