Projet

Général

Profil

Demande #1041

Demande #1035: mettre un puppetmaster en production

lancement de test jenkins lors des modifications du puppetmaster

Ajouté par Loïc Dachary il y a plus de 11 ans. Mis à jour il y a presque 5 ans.

Statut:
Fermé
Priorité:
Immédiate
Assigné à:
Catégorie:
Task
Version cible:
Début:
20/11/2012
Echéance:
21/11/2012
% réalisé:

100%

Temps estimé:
2.00 h
Temps passé:
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


Demandes liées

Lié à Admins - Demande #1048: plage d'IP 192.168.5.0/24 pour l'integration continueFermé22/11/201222/11/2012

Actions
Lié à Admins - Demande #1063: documentation du workflow d'intégration continueFermé02/12/201202/12/2012

Actions

Révisions associées

Révision 0e156f28 (diff)
Ajouté par Loïc Dachary il y a plus de 11 ans

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

Révision 892caf32 (diff)
Ajouté par Loïc Dachary il y a plus de 11 ans

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

Révision b88949a0 (diff)
Ajouté par Loïc Dachary il y a plus de 11 ans

install nova client and euca2ools. refs #1041

Révision b8a5ad6c (diff)
Ajouté par Loïc Dachary il y a plus de 11 ans

install nova client and euca2ools. refs #1041

Révision f1f5bdcc (diff)
Ajouté par Loïc Dachary il y a plus de 11 ans

invert keypair-add arguments. refs #1041

Révision 455b5f77 (diff)
Ajouté par Loïc Dachary il y a plus de 11 ans

missing underscore. refs #1041

Révision 116f4740 (diff)
Ajouté par Loïc Dachary il y a plus de 11 ans

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

Révision 253e1b7c (diff)
Ajouté par Loïc Dachary il y a plus de 11 ans

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

Révision e2860f40 (diff)
Ajouté par Loïc Dachary il y a plus de 11 ans

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

Révision 38faf5d6 (diff)
Ajouté par Loïc Dachary il y a plus de 11 ans

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

Révision 71aeb38a (diff)
Ajouté par Loïc Dachary il y a plus de 11 ans

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

Révision b56629f6 (diff)
Ajouté par Loïc Dachary il y a plus de 11 ans

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

Révision d32eaf69 (diff)
Ajouté par Loïc Dachary il y a plus de 11 ans

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

Révision 288105a7 (diff)
Ajouté par Loïc Dachary il y a plus de 11 ans

fix autosign. refs #1041.

Révision 50d5449e (diff)
Ajouté par Loïc Dachary il y a plus de 11 ans

run tests from jenkins. refs #1041.

Révision ad9a856a (diff)
Ajouté par Loïc Dachary il y a plus de 11 ans

minimal nagios monitoring for each host. refs #1041.

Révision cf59d694 (diff)
Ajouté par Loïc Dachary il y a plus de 11 ans

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.

Révision 468f09ab (diff)
Ajouté par Loïc Dachary il y a plus de 11 ans

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

Révision 2f2301cb (diff)
Ajouté par Loïc Dachary il y a plus de 11 ans

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

Révision 02f45286 (diff)
Ajouté par Loïc Dachary il y a plus de 11 ans

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

Révision 05c934d1 (diff)
Ajouté par Loïc Dachary il y a plus de 11 ans

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

Révision f65c9ffd (diff)
Ajouté par Loïc Dachary il y a plus de 11 ans

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

Révision ca837dec (diff)
Ajouté par Loïc Dachary il y a plus de 11 ans

move the check to the dedicated function. refs #1041

Révision ec3010fc (diff)
Ajouté par Loïc Dachary il y a plus de 11 ans

move the check to the dedicated function. refs #1041

Révision 889f6733 (diff)
Ajouté par Loïc Dachary il y a plus de 11 ans

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

Historique

#1

Mis à jour par Loïc Dachary il y a plus de 11 ans

  • Version cible changé de Novembre 2012 à Décembre 2012 (1/2)
#2

Mis à jour par Loïc Dachary il y a plus de 11 ans

  • Priorité changé de Normale à Immédiate
#3

Mis à jour par Loïc Dachary il y a plus de 11 ans

  • Version cible changé de Décembre 2012 (1/2) à Backlog
#4

Mis à jour par Loïc Dachary il y a plus de 11 ans

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

#6

Mis à jour par Loïc Dachary il y a plus de 11 ans

  • Statut changé de En cours de traitement à Résolu
  • % réalisé changé de 0 à 100
#7

Mis à jour par Quentin Gibeaux il y a presque 5 ans

  • Statut changé de Résolu à Fermé

Formats disponibles : Atom PDF