Comment 26 for bug 2007919

Revision history for this message
Aliaksandr Vasiuk (valexby) wrote :

Hi,

I just faced the same issue on OpenStack with OVN 22.03 during upgrade from Victoria to Focal.
The output of `apt policy` is below
```
$ juju run -a neutron-api -- "apt policy python3-ovsdbapp"
- Stderr: |2+

    WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

  Stdout: |
    python3-ovsdbapp:
      Installed: 1.9.0-0ubuntu1~cloud0
      Candidate: 1.9.0-0ubuntu1~cloud0
      Version table:
     *** 1.9.0-0ubuntu1~cloud0 500
            500 http://ubuntu-cloud.archive.canonical.com/ubuntu focal-updates/wallaby/main amd64 Packages
            100 /var/lib/dpkg/status
         1.1.0-0ubuntu2 500
            500 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
         1.1.0-0ubuntu1 500
            500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
  UnitId: neutron-api/0
- Stderr: |2+

    WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

  Stdout: |
    python3-ovsdbapp:
      Installed: 1.9.0-0ubuntu1~cloud0
      Candidate: 1.9.0-0ubuntu1~cloud0
      Version table:
     *** 1.9.0-0ubuntu1~cloud0 500
            500 http://ubuntu-cloud.archive.canonical.com/ubuntu focal-updates/wallaby/main amd64 Packages
            100 /var/lib/dpkg/status
         1.1.0-0ubuntu2 500
            500 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
         1.1.0-0ubuntu1 500
            500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
  UnitId: neutron-api/1
- Stderr: |2+

    WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

  Stdout: |
    python3-ovsdbapp:
      Installed: 1.9.0-0ubuntu1~cloud0
      Candidate: 1.9.0-0ubuntu1~cloud0
      Version table:
     *** 1.9.0-0ubuntu1~cloud0 500
            500 http://ubuntu-cloud.archive.canonical.com/ubuntu focal-updates/wallaby/main amd64 Packages
            100 /var/lib/dpkg/status
         1.1.0-0ubuntu2 500
            500 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
         1.1.0-0ubuntu1 500
            500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
  UnitId: neutron-api/2
```

I can confirm that workaround helped
```
juju run -a neutron-api 'sudo python3 -m pip install ovsdbapp==1.9.4'
juju run -a neutron-api 'sudo service neutron-* restart'
```