Octavia unit fails to install octavia-driver-agent
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Octavia Charm |
Fix Released
|
High
|
Alex Kavanagh |
Bug Description
Octavia failed to create octavia-
I'm using cs:octavia-30 in a focal-ussuri-ovn deployment.
The unit only entered in block state after running the configure-resources action.
Unit Workload Agent Machine Public address Ports Message
octavia/0* blocked idle 0/lxd/17 10.0.0.152 9876/tcp Services not running that should be: octavia-
hacluster-
logrotated/19 active idle 10.0.0.152 Unit is ready.
octavia-
octavia-
public-
octavia/1 active idle 1/lxd/17 10.0.0.241 9876/tcp Unit is ready
hacluster-
logrotated/23 active idle 10.0.0.241 Unit is ready.
octavia-
octavia-
public-
octavia/2 active idle 2/lxd/17 10.0.0.144 9876/tcp Unit is ready
hacluster-
logrotated/54 active idle 10.0.0.144 Unit is ready.
octavia-
octavia-
public-
$ juju run -a octavia "systemctl status octavia-
- ReturnCode: 4
Stderr: |
Unit octavia-
Stdout: ""
UnitId: octavia/0
- Stdout: |
● octavia-
Loaded: loaded (/lib/systemd/
Active: active (running) since Wed 2021-02-24 14:15:26 UTC; 11min ago
(...)
UnitId: octavia/1
- Stdout: |
● octavia-
Loaded: loaded (/lib/systemd/
Active: active (running) since Wed 2021-02-24 14:15:26 UTC; 11min ago
(...)
UnitId: octavia/2
Seems that octavia/0 skipped the installation of the driver agent:
Logs:
(octavia/2)
2021-02-24 14:09:03 DEBUG ovsdb-subordina
2021-02-24 14:09:03 DEBUG ovsdb-subordina
2021-02-24 14:09:03 DEBUG ovsdb-subordina
2021-02-24 14:09:03 DEBUG ovsdb-subordina
2021-02-24 14:09:04 DEBUG ovsdb-subordina
2021-02-24 14:09:04 DEBUG ovsdb-subordina
2021-02-24 14:09:10 DEBUG ovsdb-subordina
2021-02-24 14:09:10 DEBUG ovsdb-subordina
2021-02-24 14:09:14 INFO juju-log ovsdb-subordina
2021-02-24 14:09:14 DEBUG ovsdb-subordina
2021-02-24 14:09:14 DEBUG ovsdb-subordina
(...agent installation)
2021-02-24 14:09:22 INFO juju-log ovsdb-subordina
2021-02-24 14:09:22 DEBUG juju-log ovsdb-subordina
2021-02-24 14:09:22 INFO juju-log ovsdb-subordina
2021-02-24 14:09:22 DEBUG ovsdb-subordina
(octavia/0)
2021-02-24 14:09:19 DEBUG ovsdb-subordina
2021-02-24 14:09:20 DEBUG ovsdb-subordina
2021-02-24 14:09:20 DEBUG ovsdb-subordina
2021-02-24 14:09:20 DEBUG ovsdb-subordina
2021-02-24 14:09:20 DEBUG ovsdb-subordina
2021-02-24 14:09:20 DEBUG ovsdb-subordina
2021-02-24 14:09:23 DEBUG ovsdb-subordina
2021-02-24 14:09:24 DEBUG ovsdb-subordina
2021-02-24 14:09:27 INFO juju-log ovsdb-subordina
2021-02-24 14:09:27 DEBUG juju-log ovsdb-subordina
2021-02-24 14:09:27 INFO juju-log ovsdb-subordina
2021-02-24 14:09:27 DEBUG ovsdb-subordina
Workaround:
Run install hook in the blocked unit: juju run -u octavia/0 "hooks/install"
This way I can get the agent to be installed
021-02-24 14:32:06 INFO juju-log Installing ['octavia-
description: | updated |
Changed in charm-octavia: | |
status: | Incomplete → Triaged |
importance: | Undecided → High |
Changed in charm-octavia: | |
status: | In Progress → Fix Committed |
Changed in charm-octavia: | |
milestone: | none → 21.04 |
status: | Fix Committed → Fix Released |
Please, if possible, could you attach the full log for the octavia unit that failed to install the octavia driver. It would be good to know what the sequence of hooks was and why install didn't have the desired affect. If there is a crashdump for this model then please could that be attached instead?