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

Change vbom.ml/util dependeny with github.com/fvbommel/util #25

Merged
merged 1 commit into from
Sep 8, 2020

Conversation

rhrazdil
Copy link
Contributor

@rhrazdil rhrazdil commented Sep 8, 2020

Added vbom.ml/util => github.com/fvbommel/util v0.0.0-20180919145318-efcd4e0f9787
to go.mod.

Signed-off-by: Radim Hrazdil [email protected]

What this PR does / why we need it:
CI fails to get vbom.ml/util dependency

go mod tidy
go mod vendor
go: k8s.io/[email protected] requires
	vbom.ml/[email protected]: unrecognized import path "vbom.ml/util": https fetch: Get "https://vbom.ml/util?go-get=1": dial tcp: lookup vbom.ml on 127.0.0.1:53: no such host
go: k8s.io/[email protected] requires
	vbom.ml/[email protected]: unrecognized import path "vbom.ml/util": https fetch: Get "https://vbom.ml/util?go-get=1": dial tcp: lookup vbom.ml on 127.0.0.1:53: no such host
make: *** [Makefile:95: vendor] Error 1

Same issue kubernetes/kubectl#925 and corresponding fix kubernetes/kubernetes#94451 suggests to replace the dep with github.com/fvbommel/util

Source of the used workaround:
https://github.com/kubevirt/kubevirt/blob/0a731e884b91d236103ed9c1b5e40db849dfd471/hack/builder/vbom_ml.diff

Special notes for your reviewer:

Release note:

NONE

@kubevirt-bot kubevirt-bot added dco-signoff: yes Indicates the PR's author has DCO signed all their commits. do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. labels Sep 8, 2020
vendor/modules.txt Show resolved Hide resolved
@oshoval
Copy link
Contributor

oshoval commented Sep 8, 2020

I would suggest to add the reason (what was the error of vbom and so on to the description) please,
also you can reference the issue on vbom

@kubevirt-bot kubevirt-bot added do-not-merge/invalid-commit-message release-note-none Denotes a PR that doesn't merit a release note. and removed do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. labels Sep 8, 2020
@rhrazdil
Copy link
Contributor Author

rhrazdil commented Sep 8, 2020

@oshoval @phoracek Improved the description and commit message. Please take another look

@maiqueb
Copy link
Collaborator

maiqueb commented Sep 8, 2020

/approve
/lgtm
/hold

Holding so @phoracek can have a final word on this.

@kubevirt-bot kubevirt-bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 8, 2020
@kubevirt-bot kubevirt-bot added the lgtm Indicates that a PR is ready to be merged. label Sep 8, 2020
@kubevirt-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: maiqueb, rhrazdil

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubevirt-bot kubevirt-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 8, 2020
@phoracek
Copy link
Member

phoracek commented Sep 8, 2020

We should address #25 (comment) causing do-not-merge/invalid-commit-message

Same issue kubernetes/kubectl#925
and corresponding PR kubernetes/kubernetes#94451 suggests to replace
the dep with github.com/fvbommel/util
Added vbom.ml/util => github.com/fvbommel/util v0.0.0-20180919145318-efcd4e0f9787
to go.mod.

Source of the workaround:
https://github.com/kubevirt/kubevirt/blob/0a731e884b91d236103ed9c1b5e40db849dfd471/hack/builder/vbom_ml.diff

Signed-off-by: Radim Hrazdil <[email protected]>
@kubevirt-bot kubevirt-bot removed lgtm Indicates that a PR is ready to be merged. do-not-merge/invalid-commit-message labels Sep 8, 2020
@maiqueb
Copy link
Collaborator

maiqueb commented Sep 8, 2020

/lgtm

@kubevirt-bot kubevirt-bot added the lgtm Indicates that a PR is ready to be merged. label Sep 8, 2020
@phoracek
Copy link
Member

phoracek commented Sep 8, 2020

Looks good, thanks!

/hold cancel

@kubevirt-bot kubevirt-bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 8, 2020
@kubevirt-bot kubevirt-bot merged commit 295ff33 into kubevirt:master Sep 8, 2020
rhrazdil pushed a commit to rhrazdil/cluster-network-addons-operator that referenced this pull request Sep 10, 2020
It contains the following PRs:
- Change vbom.ml/util dependency with github.com/fvbommel/util [0]
    Fixes vbom dependency
- Adding quotes in macvtap.yaml.in [1]
    Allows using yq to edit macvtap.yaml.in

[0] kubevirt/macvtap-cni#25
[1] kubevirt/macvtap-cni#24

Signed-off-by: Radim Hrazdil <[email protected]>
rhrazdil pushed a commit to rhrazdil/cluster-network-addons-operator that referenced this pull request Sep 10, 2020
It contains the following PRs:
- Change vbom.ml/util dependency with github.com/fvbommel/util [0]
    Fixes vbom dependency
- Adding quotes in macvtap.yaml.in [1]
    Allows using yq to edit macvtap.yaml.in

[0] kubevirt/macvtap-cni#25
[1] kubevirt/macvtap-cni#24

Signed-off-by: Radim Hrazdil <[email protected]>
rhrazdil pushed a commit to rhrazdil/cluster-network-addons-operator that referenced this pull request Sep 10, 2020
It contains the following PRs:
- Change vbom.ml/util dependency with github.com/fvbommel/util [0]
    Fixes vbom dependency
- Adding quotes in macvtap.yaml.in [1]
    Allows using yq to edit macvtap.yaml.in
- Fix container command quotes in macvtap.yaml.in [2]
    Fixes single quotes in command list

[0] kubevirt/macvtap-cni#25
[1] kubevirt/macvtap-cni#24
[2] kubevirt/macvtap-cni#27

Signed-off-by: Radim Hrazdil <[email protected]>
kubevirt-bot pushed a commit to kubevirt/cluster-network-addons-operator that referenced this pull request Sep 10, 2020
* Bump macvtap dep to v0.3.1

It contains the following PRs:
- Change vbom.ml/util dependency with github.com/fvbommel/util [0]
    Fixes vbom dependency
- Adding quotes in macvtap.yaml.in [1]
    Allows using yq to edit macvtap.yaml.in
- Fix container command quotes in macvtap.yaml.in [2]
    Fixes single quotes in command list

[0] kubevirt/macvtap-cni#25
[1] kubevirt/macvtap-cni#24
[2] kubevirt/macvtap-cni#27

Signed-off-by: Radim Hrazdil <[email protected]>

* Add PlacementConfiguration for macvtap

Use Workloads PlacementConfiguration from NetworkAddonsConfig in macvtap pods.
By default, macvtap pods will be scheduled on all nodes.

Signed-off-by: Radim Hrazdil <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. lgtm Indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. size/XXL
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants