Cannot deploy a dense openstack bundle with native deploy

Bug #1555808 reported by Curtis Hovey
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Critical
John A Meinel
2.0
Fix Released
High
Unassigned

Bug Description

The dense Openstack Liberty bundle from the charmstore cannot be deployed
by Juju 2 on our maas 1.9

Juju 2.0 using native deploy *cannot* bring up Liberty in 120 minutes.
We wait for 60 minutes for agents to come up and another 30 for
workloads. the remain 30 minutes are for log collection and teardown.

Juju 1.25 with deployer can deploy a similar bundle in 50 to 65 minutes.

We see the kvms taking all the CPU for many minutes. There is also
appears to be a queue on the machines to get the apt lock.

We can see that Juju 2.0 using native deploy to bring up smaller
bundles like landscape works. So I believe this crux of the issue is
that native deploy is not tuned for large bundles, juju-deployer is
tuned. Juju-deployer has several internal and external timeouts
and delay to avoid scheduling too much work that will burden the
controller. I don't think Juju 2.0's native support considers this.

We are considering creating our own Liberty bundle with more hosts to learn if
it reduced the spike in CPU and the wait for apt.

tags: added: juju-release-support
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta3 → 2.0-beta4
tags: added: 2.0-count
Revision history for this message
Cheryl Jennings (cherylj) wrote :

Now that deployer is compatible with 2.0, we should test deploying this bundle on 2.0 with deployer.

Changed in juju-core:
milestone: 2.0-beta4 → 2.0.1
Revision history for this message
Seman (sseman) wrote :

The Deployer is having a similar issue of timing out during deploying a dense Openstack bundle:

log:
http://juju-ci.vapour.ws/job/maas-1_9-OS-deployer-juju-2x/47/consoleFull

Revision history for this message
Seman (sseman) wrote :

This issue seems to be isolated to Juju 2. I was be able to deploy the bundle using Juju 1.
http://paste.ubuntu.com/16369496/
http://juju-ci.vapour.ws/job/maas-1_9-OS-deployer-juju-1x/14/

Bundle:
http://pastebin.ubuntu.com/16369522/

Revision history for this message
Seman (sseman) wrote :
Revision history for this message
Seman (sseman) wrote :

Attaching a permanent log for Juju 2 run
Console log : http://paste.ubuntu.com/16384397/

Revision history for this message
Martin Packman (gz) wrote :

See bug 1555808 for similar problems with openstack bundle.

tags: added: cdo-qa jujuqa
Changed in juju-core:
milestone: 2.0.1 → 2.0-beta13
tags: added: 2.0
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta13 → 2.0-beta14
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta14 → 2.0-beta15
Changed in juju-core:
milestone: 2.0-beta15 → 2.0-beta16
Changed in juju-core:
milestone: 2.0-beta16 → 2.0-beta17
affects: juju-core → juju
Changed in juju:
milestone: 2.0-beta17 → none
milestone: none → 2.0-beta17
Revision history for this message
Anastasia (anastasia-macmood) wrote :

@Curtis

We think that this bug has been fixed on master as part of other recently landed work. Could we please confirm through QA testing?

Changed in juju:
status: Triaged → Incomplete
milestone: 2.0-beta17 → none
tags: added: eda
Revision history for this message
Curtis Hovey (sinzui) wrote :

Juju 2 on maas 1.9 times out. 1.25 does not
    http://juju-ci.vapour.ws/view/Juju%20Revisions/job/maas-1-9-openstack-deployer/938/console
With luck, juju can get all the services deployed, but they are in error.

Juju 2 on maas 2.0 is better. It does bring up the services, but they are in error. We commonly say this and we sort of expect this because juju-deployer has a proven strategy to deploy complex models, juju does not.

Chris Gregan also confirms in his testing that juju 2 cannot deploy an bundle to bring up openstack.

Also, even when all services report they are up, the test then runs a openstack health check. 1.25 passes this. Juju 2 has never gotten to this test.

Curtis Hovey (sinzui)
Changed in juju:
status: Incomplete → Triaged
Changed in juju:
milestone: none → 2.0-beta18
assignee: nobody → Richard Harding (rharding)
importance: High → Critical
Changed in juju:
milestone: 2.0-beta18 → 2.0-rc1
Changed in juju:
milestone: 2.0-rc1 → 2.0.0
Changed in juju:
milestone: 2.0.0 → 2.1.0
Ryan Beisner (1chb1n)
tags: added: uosci
Changed in juju:
milestone: 2.1.0 → 2.2.0
Changed in juju:
assignee: Richard Harding (rharding) → John A Meinel (jameinel)
Revision history for this message
Larry Michel (lmic) wrote :

@John and @Curtis, please note that I have recently deployed the OpenStack bundle from the charm store numerous times without any issue using the Juju 2.1 builds. Based on those tests and IIUC, this looks to have already been fixed. With 2.0 release, we haven't specifically deployed the bundle from the charm store; however, we've successfully deployed a similar OpenStack bundle.

Revision history for this message
Larry Michel (lmic) wrote :

The previous comment applies to combination >= Juju 2.1 beta3 and Maas >= 2.1.2 releases.

Revision history for this message
Anastasia (anastasia-macmood) wrote :

Based on Larry's comments, marking this as Fix committed for 2.1 and 2.0.

As I cannot accessed released milestone, putting it against currently active releases.

Changed in juju:
status: Triaged → Fix Committed
milestone: 2.2.0 → 2.1.0
Curtis Hovey (sinzui)
Changed in juju:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.