Tests for Dynamically build Ubuntu-based bootstrap

Registered by Dmitry Kalashnik

Test Cases

Bootstrap new node with custom bootstrap image, with additional package and files
1. Build custom bootstrap images with additional package and injected file
2. Upload custom bootstrap image to nailgun
3. Bootstrap new node
4. Check additional package and file

Build, upload, download and delete custom bootstrap image
1. Build custom bootstrap image
2. Upload it to nailgun
3. Download custom bootstrap image from nailgun and verify that it is the same
4. Delete custon image from nailgun

Deploy environment with custom bootstrap image
1. Build custom bootstrap images with additional package and injected file
2. Upload custom bootstrap image to nailgun
3. Bootstrap two new nodes
4. Assign one controller and one compute roles
5. Deploy environment
6. Run OSTF

Deploy environment with custom and default bootstrap images
1. Build custom bootstrap images with additional package and injected file
2. Upload custom bootstrap image to nailgun
3. Bootstrap two new nodes
4. Assign one controller and one compute roles
5. Deploy environment
6. Run OSTF
7. Upload default bootstrap
8. Bootstrap new compute node, verify bootstrap image
9. Deploy environment
10. Run OSTF

Deploy environment with custom bootstrap image for one node, reset env, verify bootsrap
1. Deploy environment with one controller and one compute
2. Run OSTF
3. Build and upload custom bootstrap image
4. Bootstrap new compute node, verify bootstrap image
5. Deploy environment
6. Run OSTF
7. Reset environment
8. Verify bootstrap is custom on all nodes

Deploy environment with custom bootstrap image for one node, delete node, verify bootstrap
1. Deploy environment with one controller and one compute
2. Run OSTF
3. Build and upload custom bootstrap image
4. Bootstrap new compute node, verify bootstrap image
5. Deploy environment
6. Run OSTF
7. Delete last compute
8. Verify bootstrap is custom on deleted node

+ set of tests for deprecated CentOS bootstrap

Blueprint information

Status:
Complete
Approver:
Szymon Banka
Priority:
Undefined
Drafter:
Dmitry Kalashnik
Direction:
Needs approval
Assignee:
Dmitry Kalashnik
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
milestone icon 8.0
Started by
Dmitry Kalashnik
Completed by
Dmitry Kalashnik

Related branches

Sprints

Whiteboard

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

Addressed by: https://review.openstack.org/251716
    under construction. Ubuntu bootstrap

Addressed by: https://review.openstack.org/261219
    Add tests for CentOS bootstrap

Addressed by: https://review.openstack.org/262433
    Add tests for Ubuntu bootstrap

Addressed by: https://review.openstack.org/262706
    Add common group to ubuntu bootstrap tests

Addressed by: https://review.openstack.org/265736
    Add common group to ubuntu bootstrap tests

Addressed by: https://review.openstack.org/268027
    Add tests for CentOS bootstrap

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.