Nova Resource:Puppet3-diffs

From Wikitech


Resource Type Resource Type::project
Project Name [[Project::puppet3-diffs]]
Monitoring nagf
Admins {{#arraymap:User:dzahn,User:hashar,User:matanya,User:novaadmin|,|x|* Member::x|\n}}
Members {{#arraymap:User:dzahn,User:hashar,User:matanya,User:novaadmin|,|x|* Member::x|\n}}

Documentation

{{#formlink:form=Nova Project Documentation |target=Nova Resource:Puppet3-diffs/Documentation |link text=Edit documentation }}

Puppet3-diffs

Description

Description::Puppet-compiler simulates puppet changes and determine the effective difference before/after a given change to puppet files.


This project contains execution hosts for the Jenkins job operations-puppet-catalog-compiler. It computes the effective difference before/after a proposed puppet change for a given set of nodes.

Build output is accessible via web service http://puppet-compiler.wmflabs.org/

For documentation on the service, see Puppet Testing.

FAQ

  1. How to update the compiler's facts?
You'll need access to the puppet master (palladium) and the compiler host (compiler02.puppet3-diffs.eqiad.wmflabs)
 master=palladium.eqiad.wmnet
 compiler=compiler02.puppet3-diffs.eqiad.wmflabs
 ssh $master 'sudo /usr/local/bin/puppet-facts-export'
 # copy on localhost first, then on the compiler
 scp $master:/tmp/puppet-facts-export.tar.xz /tmp
 ssh $master 'rm /tmp/puppet-facts-export.tar.xz'
 scp /tmp/puppet-facts-export.tar.xz $compiler:
 ssh $compiler 'sudo tar Jxvf puppet-facts-export.tar.xz --directory /var/lib/catalog-differ/puppet && rm puppet-facts-export.tar.xz'
 ssh $compiler 'sudo chown -R jenkins-deploy:wikidev /var/lib/catalog-differ/puppet/yaml'

Server admin log

August 15

  • 23:18 mutante: - puppet-compiler02 ran out of disk - deleted job #200 because it was 3GB


Instances for this project

{{#ask:Resource Type::instance[[Project::puppet3-diffs]] |?Instance Type |?Image Id |?Public IP |?Number of CPUs |?RAM Size |?Amount of Storage |?Modification date |mainlabel=FQDN |format=broadtable |limit=20 |order=DESC |sort=Modification date |offset=0 }}