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

vendor: update libovsdb #1539

Closed
wants to merge 1 commit into from
Closed

Conversation

stbenjam
Copy link
Contributor

- What this PR does and why is it needed

The current version of libovsdb has a parsing error when handling IPv6
addresses, that was fixed in eBay/libovsdb#20.

Error I'm getting from ovn-kubernetes:

ovnkube.go:130] error when trying to initialize go-ovn NB client:
couldn't initialize NBDB client: error creating SSL OVNDBClient for
database OVN_Northbound at address ssl:[fd2e:6f44:5dd8:c956::14]:9641,
ssl:[fd2e:6f44:5dd8:c956::15]:9641,ssl:[fd2e:6f44:5dd8:c956::16]:9641:
failed to connect: dial tcp: address [fd2e:6f44: missing ']' in
address\n

Commands run:

  • go get -u github.com/ebay/libovsdb@3332afaeb27c0df7184e92c921e9bf19a4d19a93
  • go mod vendor
  • go mod tidy

- Special notes for reviewers

- How to verify it

Use IPv6.

- Description for the changelog

Revendored libovsdb to fix a parsing error with IPv6 addresses.

The current version of libovsdb has a parsing error when handling IPv6
addresses, that was fixed in eBay/libovsdb#20.

Error I'm getting from ovn-kubernetes:

```
ovnkube.go:130] error when trying to initialize go-ovn NB client:
couldn't initialize NBDB client: error creating SSL OVNDBClient for
database OVN_Northbound at address ssl:[fd2e:6f44:5dd8:c956::14]:9641,
ssl:[fd2e:6f44:5dd8:c956::15]:9641,ssl:[fd2e:6f44:5dd8:c956::16]:9641:
failed to connect: dial tcp: address [fd2e:6f44: missing ']' in
address\n
```

Commands run:
 - go get -u github.com/ebay/libovsdb@3332afaeb27c0df7184e92c921e9bf19a4d19a93
 - go mod vendor
 - go mod tidy

Signed-off-by: Stephen Benjamin <stephen@redhat.com>
@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 58.628% when pulling 2a7d081 on stbenjam:update-libovsdb into cdb174c on ovn-org:master.

@stbenjam
Copy link
Contributor Author

#1343 already pulls in the patch, but wasn't sure how long it'd be until that lands

@Billy99
Copy link
Contributor

Billy99 commented Jul 26, 2020

FYI - PR #1343 should merge soon and has this in one of the commits associated with the PR.

@stbenjam
Copy link
Contributor Author

stbenjam commented Jul 26, 2020

FYI - PR #1343 should merge soon and has this in one of the commits associated with the PR.

Yup, I saw, thanks! I just wasn't sure how far away it was from merging.

I got bitten by this in OpenShift since ovn got rebased and pulled in the libovsdb bug and broke my platform.

@stbenjam
Copy link
Contributor Author

stbenjam commented Jul 27, 2020

#1343 merged, thanks!!

@stbenjam stbenjam closed this Jul 27, 2020
@stbenjam stbenjam deleted the update-libovsdb branch July 27, 2020 11:01
jcaamano pushed a commit to jcaamano/ovn-kubernetes that referenced this pull request Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants