migrate-ovn-db action not working on Bionic
Bug #1930905 reported by
Frode Nordahl
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Neutron API OVN Plugin Charm |
Triaged
|
High
|
Unassigned |
Bug Description
juju run-action neutron-
unit-neutron-
UnitId: neutron-
id: "11102"
message: __init__() got an unexpected keyword argument 'capture_output'
results: {}
status: failed
timing:
completed: 2021-06-04 15:04:20 +0000 UTC
enqueued: 2021-06-04 15:04:19 +0000 UTC
started: 2021-06-04 15:04:19 +0000 UTC
Changed in charm-neutron-api-plugin-ovn: | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: good-first-bug |
To post a comment you must log in.
Me too. Witnessed on ussuri/stable rev 98.
The workaround for this specific run-action to work is simple:
In /var/lib/ juju/agents/ unit-neutron- api-plugin- ovn-4/charm/ actions/ migrate- ovn-db output= True," on L182 with "stdout= subprocess. PIPE, stderr= subprocess. PIPE,"
replace "capture_
The capture_output parameter is new in Python version 3.7, and we're on 3.6.