[library] Reduce time of bootstrapping of master node

Bug #1319344 reported by Mike Scherbakov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Matthew Mosesohn

Bug Description

Currently it takes about 45 min to bootstrap master node on VM. It is > 2x time consuming than it was before. Let's invent a way to reduce the time.

Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

IMHO, we should at least increase master vm CPU to 2 and RAM to 2-4G

Revision history for this message
Mike Scherbakov (mihgen) wrote :

We need to measure and compare, it is unclear what do we stuck with: cpu, ram, disk? Anything we could refactor to make a faster pass?

Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :

The biggest two pieces are docker load and uncompressing lrz archive.

I believe we can shorten this time a bit if we move docker containers into a local docker registry that gets packed up. It will import into docker much faster than tar does, and the duplicated layers will not take so long to import as they do now. This 45 minute speed is a lot higher than I've ever timed. The typical time is 14-16 minutes.

I agree we should mark this critical for 5.1, but we're not going to get any miracles for 5.0

Mike Scherbakov (mihgen)
Changed in fuel:
assignee: nobody → Matthew Mosesohn (raytrac3r)
Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :
Changed in fuel:
status: In Progress → Fix Committed
Dmitry Ilyin (idv1985)
summary: - Reduce time of bootstrapping of master node
+ [library] Reduce time of bootstrapping of master node
Tom Fifield (fifieldt)
Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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