Image based OS provisioning

Registered by Vladimir Kozhukalov

We need to substitute native OS installation process with image based installation process.

Feature Lead: Vladimir Kozhukalov
Mandatory Design Reviewers: Dmitry Shulyak, Alexander Gordeev
Developers: Vladimir Kozhukalov
QA: Maxim Strukov, Andrey Sledzinskiy

Blueprint information

Status:
Complete
Approver:
Mike Scherbakov
Priority:
Medium
Drafter:
Vladimir Kozhukalov
Direction:
Approved
Assignee:
Vladimir Kozhukalov
Definition:
Approved
Series goal:
Accepted for 6.0.x
Implementation:
Implemented
Milestone target:
milestone icon 6.0
Started by
Vladimir Kozhukalov
Completed by
Dmitry Pyzhov

Whiteboard

https://bugs.launchpad.net/fuel/+bug/1335916 this bug is about building cloud-init packages for centos.

Gerrit topic: https://review.openstack.org/#q,topic:bp/image-based-provisioning,n,z

TODO: https://etherpad.openstack.org/p/fuel_image_based_provision_efforts

Addressed by: https://review.openstack.org/103821
    Building OS images centos and ubuntu

Addressed by: https://review.openstack.org/104110
    Added fuel-agent package

Addressed by: https://review.openstack.org/105178
    Added provision_method option into settings.yaml

Addressed by: https://review.openstack.org/114245
    Implemeted do_bootloader

Addressed by: https://review.openstack.org/124110
    Installing fuel-agent into bootstrap

Addressed by: https://review.openstack.org/125165
    Some fixes in fuel_agent

Addressed by: https://review.openstack.org/125554
    Fixed wrong arguments in image provision

Addressed by: https://review.openstack.org/126495
    Copied and updated image based provisioning spec

Addressed by: https://review.openstack.org/125421
    Add ability to build separate fs images for ubuntu

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

Addressed by: https://review.openstack.org/127158
    Added AUTHORIZED_KEYS field into settings.yaml.erb

Addressed by: https://review.openstack.org/127490
    Added ATHORIZED_KEYS into settings.yaml

Addressed by: https://review.openstack.org/127539
    Removed sleep in execute util in fuel-agent

Addressed by: https://review.openstack.org/127899
    Wiping out md and lvm devices before partitioning

Gerrit topic: https://review.openstack.org/#q,topic:fuel-agent-small-lvm-meta,n,z

Addressed by: https://review.openstack.org/127934
    Reduced lvm metadata size to (actual size - 8M)

Addressed by: https://review.openstack.org/127981
    Some fixes in cloud-init templates in fuel-agent

Addressed by: https://review.openstack.org/128001
    Improved templates_names method in fuel_agent

Addressed by: https://review.openstack.org/128010
    Some improvements in do_bootloader in fuel_agent

Addressed by: https://review.openstack.org/128222
    Fix in artifact utils

Addressed by: https://review.openstack.org/128229
    Added ext2 into extend_fs method in fuel_agent

Addressed by: https://review.openstack.org/128236
    Added some additional log messages in fuel_agent

Addressed by: https://review.openstack.org/128241
    Modified default config file in fuel_agent

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

Addressed by: https://review.openstack.org/130284
    Fix disk matching issue in fuel-agent

Addressed by: https://review.openstack.org/130842
    A couple of hot fixes for fuel-agent

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

Addressed by: https://review.openstack.org/133481
    Added target OS images into upgrade tarball

Addressed by: https://review.openstack.org/133731
    Added targetimages into upgrade script

Addressed by: https://review.openstack.org/149997
    IBP: removed experimental restriction

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.