Skip to content
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

Automated cherry pick of #3169: Fix agent initialization error by adjusting #3238

Conversation

XinShuYang
Copy link
Contributor

Cherry pick of #3169 on release-1.2.

#3169: Fix agent initialization error by adjusting

For details on the cherry pick process, see the cherry pick requests page.

Set/Get-VMSwitch could return hostname resolution error in some environments.
The root cause is the remote DNS name didn’t match hostname, then Set/Get-VMSwitch
could return error once it needed to get hostname from DNS name.

This issue can be fixed by adding hostname to configuration.
e.g. Get-VMSwitch -ComputerName $(hostname) -Name %s

Signed-off-by: Shuyang Xin <gavinx@vmware.com>
@XinShuYang XinShuYang added the kind/cherry-pick Categorizes issue or PR as related to the cherry-pick of a bug fix from the main branch to a release label Jan 25, 2022
@codecov-commenter
Copy link

codecov-commenter commented Jan 25, 2022

Codecov Report

Merging #3238 (3facbf1) into release-1.2 (9719e88) will decrease coverage by 4.20%.
The diff coverage is n/a.

Impacted file tree graph

@@               Coverage Diff               @@
##           release-1.2    #3238      +/-   ##
===============================================
- Coverage        60.27%   56.06%   -4.21%     
===============================================
  Files              285      285              
  Lines            22383    22393      +10     
===============================================
- Hits             13491    12555     -936     
- Misses            7447     8492    +1045     
+ Partials          1445     1346      -99     
Flag Coverage Δ
kind-e2e-tests 38.71% <ø> (-7.97%) ⬇️
unit-tests 42.77% <ø> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pkg/apis/controlplane/v1beta2/helper.go 25.00% <0.00%> (-75.00%) ⬇️
pkg/agent/controller/networkpolicy/packetin.go 4.36% <0.00%> (-68.45%) ⬇️
...formers/externalversions/security/v1alpha1/tier.go 0.00% <0.00%> (-64.29%) ⬇️
...ers/externalversions/core/v1alpha2/clustergroup.go 0.00% <0.00%> (-64.29%) ⬇️
...s/externalversions/core/v1alpha2/externalentity.go 0.00% <0.00%> (-64.29%) ⬇️
...xternalversions/security/v1alpha1/networkpolicy.go 0.00% <0.00%> (-64.29%) ⬇️
...versions/security/v1alpha1/clusternetworkpolicy.go 0.00% <0.00%> (-64.29%) ⬇️
pkg/controller/networkpolicy/mutate.go 0.00% <0.00%> (-62.07%) ⬇️
pkg/apiserver/handlers/webhook/mutation_crd.go 0.00% <0.00%> (-52.64%) ⬇️
pkg/apiserver/handlers/webhook/validation_crd.go 0.00% <0.00%> (-48.79%) ⬇️
... and 55 more

@XinShuYang
Copy link
Contributor Author

/test-windows-all

@tnqn
Copy link
Member

tnqn commented Jan 26, 2022

/test-windows-all

@tnqn
Copy link
Member

tnqn commented Jan 28, 2022

/test-integration
/test-windows-e2e
/skip-networkpolicy
/skip-e2e
/skip-conformance

@tnqn
Copy link
Member

tnqn commented Jan 28, 2022

/test-windows-e2e

@tnqn tnqn merged commit 8df6730 into antrea-io:release-1.2 Jan 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cherry-pick Categorizes issue or PR as related to the cherry-pick of a bug fix from the main branch to a release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants