[Yoga/Jammy] Octavia fails on hook "ovsdb-subordinate-relation-changed" due to missing CA
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Charm Helpers |
Fix Released
|
Critical
|
Alex Kavanagh | |||
OpenStack Ironic API Charm | Status tracked in Trunk | |||||
2023.1 |
Fix Committed
|
Undecided
|
Unassigned | |||
Trunk |
Fix Committed
|
Undecided
|
Unassigned | |||
Ussuri |
In Progress
|
Undecided
|
Unassigned | |||
Victoria |
In Progress
|
Undecided
|
Unassigned | |||
Wallaby |
Fix Committed
|
Undecided
|
Unassigned | |||
Xena |
Fix Committed
|
Undecided
|
Unassigned | |||
Yoga |
Fix Committed
|
Undecided
|
Unassigned | |||
Zed |
Fix Committed
|
Undecided
|
Unassigned | |||
OpenStack Octavia Charm | Status tracked in Trunk | |||||
2023.1 |
Fix Released
|
Undecided
|
Unassigned | |||
Trunk |
Fix Committed
|
Critical
|
Alex Kavanagh | |||
Ussuri |
Fix Released
|
Undecided
|
Unassigned | |||
Victoria |
In Progress
|
Undecided
|
Unassigned | |||
Wallaby |
Fix Released
|
Undecided
|
Unassigned | |||
Xena |
Fix Released
|
Undecided
|
Unassigned | |||
Yoga |
Fix Released
|
Undecided
|
Unassigned | |||
Zed |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[edit]: from comment #2:
======
maas - 3.2.8-
juju - 2.9.44
cpe-foundation - 2.21
infra-ubuntu - focal
ceph - quincy/stable
openstack-charms - yoga/stable
charmed-kubernetes - 1.27
cloud-init - 23.2.1-
fce-container-image - ubuntu:jammy
openstack - yoga
sku - fcb-master-
legacy-lma - latest/candidate
solutions-qa-ci - d0ba8ed0
landscape-server - 23.03+16-
cos-lite - latest/stable:11
fcbtest - latest/beta
======
---
The problem is that the Octavia units go into an error state during deployment after Vault is initialized but before Octavia is initialized. The expected behaviour is that the Octavia units do not go into an error state. A more detailed overview of the symptoms can be found in the first comment.
In test run https:/
================
octavia/0 error idle 3/lxd/9 10.246.164.228 9876/tcp hook failed: "ovsdb-
filebeat/77 active idle 10.246.164.228 Filebeat ready.
hacluster-
landscape-
logrotated/77 active idle 10.246.164.228 Unit is ready.
nrpe/85 active idle 10.246.164.228 icmp,5666/tcp Ready
octavia-
octavia-
prometheus-
public-
telegraf/77 active idle 10.246.164.228 9103/tcp Monitoring octavia/0 (source version/commit 23.01-8-...)
ubuntu-
octavia/1 error idle 4/lxd/9 10.246.167.116 9876/tcp hook failed: "ovsdb-
filebeat/78 active idle 10.246.167.116 Filebeat ready.
hacluster-
landscape-
logrotated/78 active idle 10.246.167.116 Unit is ready.
nrpe/86 active idle 10.246.167.116 icmp,5666/tcp Ready
octavia-
octavia-
prometheus-
public-
telegraf/78 active idle 10.246.167.116 9103/tcp Monitoring octavia/1 (source version/commit 23.01-8-...)
ubuntu-
octavia/2* error idle 5/lxd/9 10.246.167.69 9876/tcp hook failed: "ovsdb-
filebeat/75 active idle 10.246.167.69 Filebeat ready.
hacluster-
landscape-
logrotated/75 active idle 10.246.167.69 Unit is ready.
nrpe/83 active idle 10.246.167.69 icmp,5666/tcp Ready
octavia-
octavia-
prometheus-
public-
telegraf/75 active idle 10.246.167.69 9103/tcp Monitoring octavia/2 (source version/commit 23.01-8-...)
ubuntu-
================
In the debug log, we see the following message:
================
Traceback (most recent call last):
File "/var/lib/
_render(
File "/var/lib/
charmhelper
File "/var/lib/
content = template.
File "/var/lib/
self.
File "/var/lib/
raise rewrite_
File "templates/
{% if options.endpoints -%}
File "/var/lib/
return getattr(obj, attribute)
File "/var/lib/
int_port = ch_cluster.
File "/var/lib/
if https():
File "/var/lib/
cert_
File "/var/lib/
'ca': data['ca'],
KeyError: 'ca'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/lib/
bus.
File "/var/lib/
_invoke(
File "/var/lib/
handler.
File "/var/lib/
self.
File "/var/lib/
octavia_
File "/var/lib/
self.
File "/var/lib/
_render(
File "/var/lib/
charmhelper
File "/var/lib/
raise e
File "/var/lib/
template = template_
File "/var/lib/
return self._load_
File "/var/lib/
template = self.loader.
File "/var/lib/
raise TemplateNotFoun
jinja2.
================
It looks like the CA isn't found, but then a template is also missing from the charm. I'm not sure what the template would be for.
Crashdumps and configs can be found here:
https:/
tags: | added: cdo-qa foundations-engine |
description: | updated |
Changed in charm-octavia: | |
status: | Triaged → In Progress |
Bas, please include in the bug description all of the information indicated in https:/ /docs.openstack .org/charm- guide/yoga/ community/ software- bug.html
e.g. the essential information:
an overview of your environment
a detailed description of the problem and how it differs from your expected outcome
specific software versions in use
Ubuntu
OpenStack
Juju (see Juju versions)
MAAS
Even better is to include in the title the OpenStack version and the Ubuntu series. For any charms being mentioned the juju channel (and series if different from the main model).
Thanks.