Project

General

Profile

Demande #1041

Demande #1035: mettre un puppetmaster en production

lancement de test jenkins lors des modifications du puppetmaster

Added by Loïc Dachary about 7 years ago. Updated 7 months ago.

Status:
Fermé
Priority:
Immédiate
Assignee:
Category:
Task
Target version:
Start date:
11/20/2012
Due date:
11/21/2012
% Done:

100%

Estimated time:
2.00 h
Spent time:
Difficulté:
2 Facile

Description

A chaque commit dans https://agir.april.org/projects/admins/repository, lancer un test dans jenkins.vm.april-int
Pour interroger l'état de nagios, voir http://mathias-kettner.de/checkmk_livestatus.html
Documentation complete de la résolution dans realistic puppet tests with jenkins and OpenStack


Related issues

Related to Admins - Demande #1048: plage d'IP 192.168.5.0/24 pour l'integration continueFermé11/22/201211/22/2012

Actions
Related to Admins - Demande #1063: documentation du workflow d'intégration continueFermé12/02/201212/02/2012

Actions

Associated revisions

Revision 0e156f28 (diff)
Added by Loïc Dachary about 7 years ago

stub script to run puppet client and nagios based within a tenant and driven by jenkins. refs #1041

Revision 892caf32 (diff)
Added by Loïc Dachary about 7 years ago

minimal TEST are running, fixing syntax errors. refs #1041

Revision b88949a0 (diff)
Added by Loïc Dachary about 7 years ago

install nova client and euca2ools. refs #1041

Revision b8a5ad6c (diff)
Added by Loïc Dachary about 7 years ago

install nova client and euca2ools. refs #1041

Revision f1f5bdcc (diff)
Added by Loïc Dachary about 7 years ago

invert keypair-add arguments. refs #1041

Revision 455b5f77 (diff)
Added by Loïc Dachary about 7 years ago

missing underscore. refs #1041

Revision 116f4740 (diff)
Added by Loïc Dachary about 7 years ago

fix to run manually and validate technical details before going into something that actuall does something useful. refs #1041

Revision 253e1b7c (diff)
Added by Loïc Dachary about 7 years ago

keep the server name implicit and avoid mentioning domain names to simplify the test process. refs #1041.

Revision e2860f40 (diff)
Added by Loïc Dachary about 7 years ago

deploy puppetmaster, expect nagios to be spawned. refs #1041.

Revision 38faf5d6 (diff)
Added by Loïc Dachary about 7 years ago

fix generation and initialisation of the puppetmaster. If it already exists, just git pull. refs #1041.

Revision 71aeb38a (diff)
Added by Loïc Dachary about 7 years ago

add nagios.novalocal to apply the manifest to the test environment. refs #1041.

Revision b56629f6 (diff)
Added by Loïc Dachary about 7 years ago

reorder the bootstrap operations to preserve some directories in /etc/puppet and autosign when in the test environment. refs #1041.

Revision d32eaf69 (diff)
Added by Loïc Dachary about 7 years ago

make sure the apt update is done on each run otherwise tests may fail because of an obsolete cache. refs #1041.

Revision 288105a7 (diff)
Added by Loïc Dachary about 7 years ago

fix autosign. refs #1041.

Revision 50d5449e (diff)
Added by Loïc Dachary about 7 years ago

run tests from jenkins. refs #1041.

Revision ad9a856a (diff)
Added by Loïc Dachary about 7 years ago

minimal nagios monitoring for each host. refs #1041.

Revision cf59d694 (diff)
Added by Loïc Dachary about 7 years ago

Set the nagios password for debugging purposes because debian non interactive installation does not create any user. During cleanup, remove the certificates for all instances used during the test otherwise they will block the puppetization of another machine with the same name. refs #1041.

Revision 468f09ab (diff)
Added by Loïc Dachary about 7 years ago

notify nagios3 on each @@nagios_host. subscribing on the target won't work because the naginator provider does not use the file type. refs #1041

Revision 2f2301cb (diff)
Added by Loïc Dachary about 7 years ago

install and configure check-mk-livestatus for nagios refs #1041

Revision 02f45286 (diff)
Added by Loïc Dachary about 7 years ago

add an assert based on livestatus to demonstrate queries of the nagios status database. refs #1041

Revision 05c934d1 (diff)
Added by Loïc Dachary about 7 years ago

notify nagios3 when livestatus is configured so that it is restarted. refs #1041

Revision f65c9ffd (diff)
Added by Loïc Dachary about 7 years ago

run puppet twice because exported resources need a second run to be evaluated. wait until livestatus is available. refs #1041

Revision ca837dec (diff)
Added by Loïc Dachary about 7 years ago

move the check to the dedicated function. refs #1041

Revision ec3010fc (diff)
Added by Loïc Dachary about 7 years ago

move the check to the dedicated function. refs #1041

Revision 889f6733 (diff)
Added by Loïc Dachary about 7 years ago

Jenkins for continuous integration : if not included jenkins will be denied access as soon as the puppet manifest is applied. refs #1041

History

#1

Updated by Loïc Dachary about 7 years ago

  • Target version changed from Novembre 2012 to Décembre 2012 (1/2)
#2

Updated by Loïc Dachary about 7 years ago

  • Priority changed from Normale to Immédiate
#3

Updated by Loïc Dachary about 7 years ago

  • Target version changed from Décembre 2012 (1/2) to Backlog
#4

Updated by Loïc Dachary about 7 years ago

Ajout du script openstack-test.sh dans jenkins.vm.april-int

#6

Updated by Loïc Dachary about 7 years ago

  • Status changed from En cours de traitement to Résolu
  • % Done changed from 0 to 100
#7

Updated by Quentin Gibeaux 7 months ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF