octavia super slow install in focal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Octavia Charm |
Fix Released
|
Undecided
|
Alex Kavanagh |
Bug Description
When I install focal-ussuri, octavia takes over 4 hours to install, just charm install part, before joining relations. It happens every single time, not just one time event.
Here is the sample bundle to demonstrate.
applications:
ceph-osd:
bindings: {? '' : oam-space, cluster: ceph-replica-space, mon: ceph-access-space,
public: ceph-access-space, secrets-storage: internal-space}
charm: cs:ceph-osd
num_units: 1
options: {aa-profile-mode: complain, autotune: false, bluestore: true, customize-
osd-devices: /dev/disk/
source: distro}
to: ['1003']
hacluster-
charm: cs:hacluster
options: {cluster_count: 1}
octavia:
bindings: {? '' : oam-space, admin: internal-space, internal: internal-space,
public: public-space}
charm: cs:octavia
num_units: 1
options: {lb-mgmt-
lb-
lb-
lb-
loadbalan
vip: 10.244.8.94 192.168.33.17}
to: ['lxd:1003']
machines:
'1003': {constraints: tags=foundation
relations:
- [octavia, hacluster-octavia]
series: focal
variables: {}
2020-06-21 09:34:37 DEBUG juju-log Running the apt-get install command as .is-git-installed not set
2020-06-21 09:34:37 DEBUG install Reading package lists...
2020-06-21 09:34:37 DEBUG install Building dependency tree...
2020-06-21 09:34:37 DEBUG install Reading state information...
...
2020-06-21 14:02:26 DEBUG install Successfully installed Babel-2.8.0 Jinja2-2.11.2 Mako-1.1.2 MarkupSafe-1.1.1 Paste-3.4.0 PasteDeploy-2.1.0 PyYAML-5.3.1 Routes-2.4.1 SQLAlchemy-1.3.17 Tempita-0.5.2 WebOb-1.8.6 WebTest-2.0.35 alembic-1.4.2 amqp-2.5.2 appdirs-1.4.4 argparse-1.4.0 beautifulsoup4-
2020-06-21 14:02:27 INFO juju-log Reactive main running for hook install
2020-06-21 14:02:29 INFO juju-log Initializing Leadership Layer (is leader)
2020-06-21 14:02:29 DEBUG juju-log tracer: set flag leadership.
2020-06-21 14:02:29 DEBUG juju-log tracer>
tracer: starting handler dispatch, 93 flags set
tracer: set flag charms.
tracer: set flag charms.
tracer: set flag charms.
Timestamps show 4.5 hours passed.
Same bundle with bionic-ussuri
applications:
ceph-osd:
bindings: {? '' : oam-space, cluster: ceph-replica-space, mon: ceph-access-space,
public: ceph-access-space, secrets-storage: internal-space}
charm: cs:ceph-osd
num_units: 1
options: {aa-profile-mode: complain, autotune: false, bluestore: true, customize-
osd-devices: /dev/disk/
source: distro}
to: ['1003']
hacluster-
charm: cs:hacluster
options: {cluster_count: 1}
octavia:
bindings: {? '' : oam-space, admin: internal-space, internal: internal-space,
public: public-space}
charm: cs:octavia
num_units: 1
options: {lb-mgmt-
lb-
lb-
lb-
loadbalan
vip: 10.244.8.94 192.168.33.17}
to: ['lxd:1003']
machines:
'1003': {constraints: tags=foundation
relations:
- [octavia, hacluster-octavia]
series: bionic
variables: {}
takes 5 minutes
2020-06-21 14:59:18 DEBUG juju-log Running the apt-get install command as .is-git-installed not set
2020-06-21 14:59:18 DEBUG install Reading package lists...
2020-06-21 14:59:18 DEBUG install Building dependency tree...
2020-06-21 14:59:18 DEBUG install Reading state information...
2020-06-21 14:59:18 DEBUG install git is already the newest version (1:2.17.
2020-06-21 14:59:18 DEBUG install git set to manually installed.
...
2020-06-21 15:03:58 INFO juju-log Reactive main running for hook install
2020-06-21 15:04:00 INFO juju-log Initializing Leadership Layer (is leader)
2020-06-21 15:04:00 DEBUG juju-log tracer: set flag leadership.
2020-06-21 15:04:00 DEBUG juju-log tracer>
tracer: starting handler dispatch, 92 flags set
Changed in charm-octavia: | |
status: | Incomplete → New |
tags: | added: cdo-release-blocker |
Changed in charm-octavia: | |
assignee: | nobody → Alex Kavanagh (ajkavanagh) |
Changed in charm-octavia: | |
status: | In Progress → Fix Committed |
Changed in charm-octavia: | |
milestone: | none → 20.08 |
Changed in charm-octavia: | |
status: | Fix Committed → Fix Released |
just to be clear, I see this only in octavia charm, all other charms install in reasonable time frames