Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save martinkennelly/dbf8a2eb043bdde06bebdbd3e00a449a to your computer and use it in GitHub Desktop.
Save martinkennelly/dbf8a2eb043bdde06bebdbd3e00a449a to your computer and use it in GitHub Desktop.
Getting ovn-nbctl: unix:/var/run/ovn/ovnnb_db.sock: database connection failed () ?
You can possibly resolve it in two ways:
1. If OVN is in HA, exec onto the pod who is the current leader and execute `ovn-nbctl --no-leader-only show`
2. Find all the instances IPs and execute `ovn-nbctl --no-leader-only --db=...`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment