Deployment tests for Puppet OpenStack

Registered by Aleksandra Fedorova

fuel-library uses many modules from Puppet OpenStack project via puppet-librarian. Currently we use pinned version of modules, with versions hardcoded in Puppetfile. To simplify the process of updating to new upstream versions and to provide an early feedback to upstream we'd like to setup the CI, similar to fuel-library tests, which will test master of upstream puppet modules against stable Fuel code.

Blueprint information

Status:
Complete
Approver:
Bogdan Dobrelya
Priority:
High
Drafter:
Aleksandra Fedorova
Direction:
Approved
Assignee:
Igor Belikov
Definition:
Approved
Series goal:
Accepted for mitaka
Implementation:
Implemented
Milestone target:
milestone icon 9.0
Started by
Dmitry Borodaenko
Completed by
Dmitry Borodaenko

Related branches

Sprints

Whiteboard

Related links:
* https://blueprints.launchpad.net/fuel/+spec/fuel-puppet-librarian
* https://github.com/openstack/fuel-library/blob/master/deployment/Puppetfile
* offline build support https://review.openstack.org/#/c/211154/

@mwhahaha:

 > we support providing a module tarball that we can use
 > so we can prepackage all of the modules based on what we need and provide it to the fuel-library build process
 > it was added in for offline build support, https://review.openstack.org/#/c/211154/
 > basically as part of the build process today it'll go fetch all the upstream modules and their versions based on a Puppetfile using puppet-librarian-simple
> so for the upstream usage, we could run puppet-librarian-simple to get our versions then swap out the upstream puppet-openstack modules via zuul cloner (or something) to get the masters & gerrit refs
> then tar up the modules and provide it to the fuel-library build process which will then skip rerunning librarian and use the provided module tarball

@EmilienM:
script crinkle wrote is able to take your puppetfile and clone modules with zuul-cloner
https://github.com/openstack/puppet-openstack-integration/blob/master/functions

Gerrit topic: https://review.openstack.org/#q,topic:bp/deployment-tests-for-puppet-openstack,n,z

Addressed by: https://review.openstack.org/286731
    Fuel CI for Puppet OpenStack modules

(?)

Work Items

Work items:
Setup periodic noop test on current merged master: DONE
Setup periodic deployment test on current merged master: DONE
Setup non-voting tests on patchset created: DONE
Switch to voting mode: DONE

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.