Puppet catalog compilation and regression tests

Registered by Aleksandr Didenko

In order to detect puppet manifest problems on early stage we can run a deployment in "dryrun" mode. Dryrun mode could be implemented by running RSpec tests. This will make puppet compile a catalog without dependency loops for each node/role and thus we will be able to see any problems that may occur during the real deployment (like: undefined variables, wrong class parameters, issues with variables scope, etc).

Blueprint information

Status:
Complete
Approver:
Vladimir Kuklin
Priority:
Medium
Drafter:
Aleksandr Didenko
Direction:
Approved
Assignee:
Aleksandr Didenko
Definition:
Approved
Series goal:
Accepted for 6.1.x
Implementation:
Implemented
Milestone target:
milestone icon 6.1
Started by
Aleksandr Didenko
Completed by
Aleksandr Didenko

Related branches

Sprints

Whiteboard

Some additional info may be found here:
https://etherpad.openstack.org/p/fuel_puppet_modules_upgrade

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

Addressed by: https://review.openstack.org/145813
    Run noop testing via rake spec

Addressed by: https://review.openstack.org/145815
    Run noop testing via rake spec

Addressed by: https://review.openstack.org/153198
    Modular noop tests

Addressed by: https://review.openstack.org/170443
    Refactor direct_networks to not call Hiera directly

Addressed by: https://review.openstack.org/172537
    Fix Sahara noop spec

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

Addressed by: https://review.openstack.org/172455
    Improve Noop tests

(?)

Work Items

Work items:
Develop tests: DONE
Merge tests into needed branches: INPROGRESS
Create new Jenkins CI jobs: TODO
Update documentations: TODO

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.