Skip to content
This repository was archived by the owner on Mar 14, 2024. It is now read-only.

Conversation

@aravindhp
Copy link
Contributor

No description provided.

Suhani Mehta and others added 16 commits April 7, 2020 11:18
Currently, all WMCB logs are logged in stderr, including info level
logs. This is because the zap package used redirects all logs to stderr
by
(default)[https://godoc.org/sigs.k8s.io/controller-runtime/pkg/log/zap#Options]

This commit sets the info level logs to output to stdout. The logger should
be used for errors, whereas the info and warning level messages should be
output to stdout instead

This is being done because the used version of `zap` package does not
have an option to redirect the logs anywhere else. Moreeover, bumping
its parent package, controller-runtime  to newer versions that does have
that option is not viable because it was simultaneously soft bumped to
go1.13 and kube 1.16
WSU currently looks for success message in stderr after bootstrapper has
been run.
This commit changes the playbook to look for the same message in stdout
instead.
This commit handles the AWS session creation error instead of panicing.
The previous implementation used `Must()` which asserts that the wrapped
function did not return an error and panics if it did. I removed that so
that we can bubble up the returned error and handle it gracefully.
- Bring back downloading and installing oc in Dockerfile.tools. This is
  needed by the WSU playbook and was erroneously removed in #192.
- Create Ansible tmp directory with user accessible permissions.
As of now, the ovn-kube network already comes with
hybrid overlay enabled. So, we don't need to patch
the network operator as the cluster comes up with
hybrid overlay enabled. While patching we previously used
to wait till all the nodes have hybrid-overlay specific
annotations. In the new OVN world, the linux nodes
won't have those annotations present, so the test was
failing for us. This commit

- Removes the test which fails if we have don't those annotations
  on master nodes
- Removes patching the network operator object
- Removes the test which checks for the WSU failure when hybrid overlay
  is not enabled
Bug 1823919: [ci] React to upstream kube-ovn changes
[wni] Don't panic on AWS session creation error
Creating a new pkgInfo struct required similar methods to populate its
fields. Created an interface to generalize methods and making addition
of multiple packages easier and non-redundant
This PR ensures that tests use kube node package with current k8s version
Problem: wmcb e2e tests use kube-node packgage with hardcoded version.
Solution: Use current kubernetes version to retrieve kubernetes node package
for Windows. The corresponding SHA is retrieved using changelog.
[wmcb] Dynamically pick the kube-node package in the e2e tests
this commit changes the retrieval of backendPoolID to fetch the
backendPoolID in a programmatic way.
also, adds a method to disassociate ip address from NIC as the changes
introduced in the PR broke the deleteVM function

also, added tests to check the backendPoolID of the VMs created
[wni] Add programmatic retrieval of backendPoolID
This PR ensures that WNI uses inCLusterConfig when KUBECONFIG is not specified
to create and delete instances.
Bug 1818026: Redirect WMCB info logs to stdout
[wni]Use pod permissions to create and delete instances
@openshift-ci-robot
Copy link

@aravindhp: No Bugzilla bug is referenced in the title of this pull request.
To reference a bug, add 'Bug XXX:' to the title of this pull request and request another bug refresh with /bugzilla refresh.

Details

In response to this:

[release-4.4] Backport from master 05-13-2020

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.

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 13, 2020
@aravindhp
Copy link
Contributor Author

/approve cancel
/hold
/cc @openshift/openshift-team-windows-containers

@openshift-ci-robot openshift-ci-robot requested a review from a team May 13, 2020 20:52
@openshift-ci-robot openshift-ci-robot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. and removed approved Indicates a PR has been approved by an approver from all required OWNERS files. labels May 13, 2020
@ravisantoshgudimetla
Copy link
Contributor

/approve

if the tests pass.

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 13, 2020
@aravindhp
Copy link
Contributor Author

/retest

1 similar comment
@aravindhp
Copy link
Contributor Author

/retest

@aravindhp
Copy link
Contributor Author

/test e2e-wsu

@aravindhp
Copy link
Contributor Author

/retest

@aravindhp
Copy link
Contributor Author

/hold cancel

@openshift-ci-robot openshift-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 14, 2020
@sebsoto
Copy link
Contributor

sebsoto commented May 15, 2020

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label May 15, 2020
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ravisantoshgudimetla, sebsoto

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [ravisantoshgudimetla]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ravisantoshgudimetla
Copy link
Contributor

/retest

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot openshift-merge-robot merged commit 74e1245 into release-4.4 May 15, 2020
@aravindhp aravindhp changed the title [release-4.4] Backport from master 05-13-2020 Bug 1833441: [release-4.4] Backport from master 05-13-2020 May 18, 2020
@openshift-ci-robot
Copy link

@aravindhp: All pull requests linked via external trackers have merged: . Bugzilla bug 1833441 has been moved to the MODIFIED state.

Details

In response to this:

Bug 1833441: [release-4.4] Backport from master 05-13-2020

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.

@aravindhp
Copy link
Contributor Author

/bugzilla refresh

@openshift-ci-robot
Copy link

@aravindhp: Bugzilla bug 1833441 is in an unrecognized state (MODIFIED) and will not be moved to the MODIFIED state.

Details

In response to this:

/bugzilla refresh

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants