Move to a bootstrap script in our repos to preconfigure infra test nodes

Registered by Jan Klare

Hi,

since we already have been moving to a more flexible way of running our tests (with the Rakefiles) and we are currently moving further with this with installing chefdk to get all the dependencies we need installed and capsulated, i would suggest to also move to a bootstrap script in our repos that preconfigures the nodes with everything we need to run the final 'chef exec rake'. The main advantage here is absolute flexibility on our side for the preconfiguration of the nodes, since we do not need to push anything to infra anymore if we modify or add some tools we use.
To do something like this we should first decide where to put this script. Since we probably do not need a special bootstrap scripts for every repo, but could live with one for all, a reasonable option for me would be to put it in the chef-repo and actually just download/curl it from there.
Next question for me would be what exactly to put into it. I think we should basically move everything except for the actual test job into that script, so that we only need the git macro, then our bootstrap one and finally the chef-rake-test.

Cheers,
Jan

Blueprint information

Status:
Complete
Approver:
JJ Asghar
Priority:
High
Drafter:
Jan Klare
Direction:
Approved
Assignee:
Jan Klare
Definition:
Approved
Series goal:
Accepted for kilo
Implementation:
Implemented
Milestone target:
milestone icon kilo-rc1
Started by
Jan Klare
Completed by
Mark Vanderwiel

Related branches

Sprints

Whiteboard

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

Addressed by: https://review.openstack.org/154120
    Add bootstrap script for infra test nodes

Gerrit topic: https://review.openstack.org/#q,topic:bp/bootstrap-infra-test-nodes,n,z

Addressed by: https://review.openstack.org/158312
    added bootstrap script for testing

Addressed by: https://review.openstack.org/165723
    bootstrap.sh for infra testing

Addressed by: https://review.openstack.org/165725
    bootstrap.sh for infra testing

Addressed by: https://review.openstack.org/165726
    bootstrap.sh for infra testing

Addressed by: https://review.openstack.org/165728
    bootstrap.sh for infra testing

Addressed by: https://review.openstack.org/165729
    bootstrap.sh for infra testing

Addressed by: https://review.openstack.org/165730
    bootstrap.sh for infra testing

Addressed by: https://review.openstack.org/165731
    bootstrap.sh for infra testing

Addressed by: https://review.openstack.org/165732
    bootstrap.sh for infra testing

Addressed by: https://review.openstack.org/165733
    bootstrap.sh for infra testing

Addressed by: https://review.openstack.org/165734
    bootstrap.sh for infra testing

Addressed by: https://review.openstack.org/165735
    bootstrap.sh for infra testing

Addressed by: https://review.openstack.org/165736
    bootstrap.sh for infra testing

Addressed by: https://review.openstack.org/165737
    bootstrap.sh for infra testing

(?)

Work Items

Work items:
cookbook-openstack-block-storage: DONE
cookbook-openstack-common: DONE
cookbook-openstack-compute: DONE
cookbook-openstack-dashboard: DONE
cookbook-openstack-database: DONE
cookbook-openstack-data-processing: DONE
cookbook-openstack-identity: DONE
cookbook-openstack-image: DONE
cookbook-openstack-network: DONE
cookbook-openstack-object-storage: DONE
cookbook-openstack-ops-database: DONE
cookbook-openstack-ops-messaging: DONE
cookbook-openstack-orchestration: DONE
cookbook-openstack-telemetry: DONE
cookbook-openstack-integration-test: DONE

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.