Dynamically build Ubuntu-based bootstrap on master node

Registered by Alexander Saprykin

Feature Lead:
Mandatory design review: Aleksey Kasatkin
Developers:
QA: Dmitry Kalashnik

Cloud administrator should be available to build,customize,
and switch to new bootstrap image.

Description:

Proposed solution should provide the following capabilities:
    1. Ability to build bootstrap image with customizations:
        * Kernel version
        * Installed packages
        * Custom drivers
        * Custom files

Documentation should include examples that describe how to customize
and build bootstrap image for most common situations.

Blueprint information

Status:
Complete
Approver:
Dmitry Klenov
Priority:
Undefined
Drafter:
Dmitry Klenov
Direction:
Needs approval
Assignee:
Aleksey Zvyagintsev
Definition:
Approved
Series goal:
Accepted for future
Implementation:
Implemented
Milestone target:
milestone icon 8.0
Started by
Dmitry Klenov
Completed by
Sergii Golovatiuk

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/dynamically-build-bootstrap,n,z

Addressed by: https://review.openstack.org/229063
    Spec for dynamically build bootstrap images

Addressed by: https://review.openstack.org/233600
    Spec for dynamically build bootstrap images

Gerrit topic: https://review.openstack.org/#q,topic:master,n,z

Addressed by: https://review.openstack.org/238574
    Add base yaml support for input_data

Addressed by: https://review.openstack.org/237682
    Init nailgun: do_mkbootstrap

Addressed by: https://review.openstack.org/230443
    [Spec] Handle bootstrap images in Fuel UI

Addressed by: https://review.openstack.org/240869
    [WIP] do_mkbootstrap

Addressed by: https://review.openstack.org/241953
    Add mkbootstra/ubuntu files

Addressed by: https://review.openstack.org/242125
    Allow to set proxy parameters: * https/http/ftp for: - debootstrap - apt configs

Addressed by: https://review.openstack.org/243029
    Add biosdevname requirement

Addressed by: https://review.openstack.org/243229
    Refactor: * Split do_build_image * Extend utils.fs functionality

Addressed by: https://review.openstack.org/243752
    Send bootstrap meta-uuid,if exist

Addressed by: https://review.openstack.org/245125
    Always show message from bootstrap.error key of Fuel settings

Addressed by: https://review.openstack.org/245138
    Remove cached debs from the image

Addressed by: https://review.openstack.org/245719
    do_mkbootstrap driver and entry point

Addressed by: https://review.openstack.org/245899
    Update Bootstrap generator part

Addressed by: https://review.openstack.org/246575
    Extend utils/build module

Gerrit topic: https://review.openstack.org/#q,topic:bp/bootstrap-images-support-in-cli,n,z

Gerrit topic: https://review.openstack.org/#q,topic:dynamically-build-bootstrap,n,z

Addressed by: https://review.openstack.org/219744
    utils.execute: implement passing input via 'process_input' kwarg

Addressed by: https://review.openstack.org/219745
    Set ext[234] images superblock timestamps to a distant past

Addressed by: https://review.openstack.org/248474
    do_build_image: move image creation to a helper method

Addressed by: https://review.openstack.org/248476
    do_build_image: move image creation to a helper method

Addressed by: https://review.openstack.org/248488
    utils.build: added helper function rsync_dirs

Addressed by: https://review.openstack.org/249668
    Add driver for building bootstrap image

Addressed by: https://review.openstack.org/250414
    Add default settings.yaml for mk_bootstrap

Addressed by: https://review.openstack.org/250504
    Introduce fuel cli bootstrap package configuration

Addressed by: https://review.openstack.org/250905
    Add tests for build class

Addressed by: https://review.openstack.org/250230
    Add workaround for apply new bootstrap building system

Gerrit topic: https://review.openstack.org/#q,topic:bug/1522066,n,z

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.