Project

General

Profile

Anomalie #1145

installer gerrit

Added by Loic Dachary over 6 years ago. Updated almost 3 years ago.

Status:
Fermé
Priority:
Faible
Assignee:
-
Category:
Task
Target version:
Start date:
12/22/2012
Due date:
% Done:

80%

Spent time:
Difficulté:
5 Difficile


Related issues

Related to Admins - Demande #1103: beta test de l'accueil des bénévoles Fermé 12/17/2012

History

#1 Updated by Loic Dachary over 6 years ago

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

#3 Updated by Loic Dachary over 6 years ago

installé https://wiki.jenkins-ci.org/display/JENKINS/Gerrit+Trigger depuis le panel d'administration de jenkins

#4 Updated by Loic Dachary over 6 years ago

snapshot de l'instance jenkins pour revenir en arriere en cas de problèmes d'installation http://os.the.re/nova/images_and_snapshots/ce531ac8-5f80-4f04-a45a-0b60c3b499ec/

#5 Updated by Loic Dachary over 6 years ago

boot une instance a partir du snapshot pour faire les essais sans affecter l'instance en production

root@bm0001:# nova boot --image 'jenkins-snap' --flavor e.1-cpu.10GB-disk.1GB-ram --key_name loic --availability_zone=bm0002 --poll jenkins-gerrit
+-------------------------------------+--------------------------------------+
|               Property              |                Value                 |
+-------------------------------------+--------------------------------------+
| OS-DCF:diskConfig                   | MANUAL                               |
| OS-EXT-SRV-ATTR:host                | None                                 |
| OS-EXT-SRV-ATTR:hypervisor_hostname | None                                 |
| OS-EXT-SRV-ATTR:instance_name       | instance-00000268                    |
| OS-EXT-STS:power_state              | 0                                    |
| OS-EXT-STS:task_state               | scheduling                           |
| OS-EXT-STS:vm_state                 | building                             |
| accessIPv4                          |                                      |
| accessIPv6                          |                                      |
| adminPass                           | 35GNACjroUH6                         |
| config_drive                        |                                      |
| created                             | 2012-12-26T13:25:25Z                 |
| flavor                              | e.1-cpu.10GB-disk.1GB-ram            |
| hostId                              |                                      |
| id                                  | f63795ba-0e3e-4ad3-a141-dedeb7c35b55 |
| image                               | jenkins-snap                         |
| key_name                            | loic                                 |
| metadata                            | {}                                   |
| name                                | jenkins-gerrit                       |
| progress                            | 0                                    |
| status                              | BUILD                                |
| tenant_id                           | 7c918c873280465da3785f5699d48316     |
| updated                             | 2012-12-26T13:25:25Z                 |
| user_id                             | 539c10b07a39455aa831e4cfdde65b2a     |
+-------------------------------------+--------------------------------------+
Instance building... 100% complete

root@jenkins-gerrit:/etc# git diff
diff --git a/network/interfaces b/network/interfaces
index e36b36a..968fc43 100644
--- a/network/interfaces
+++ b/network/interfaces
@@ -8,5 +8,5 @@ iface lo inet loopback
 # The primary network interface
 allow-hotplug eth0
 iface eth0 inet dhcp
-       up ip addr add 192.168.4.3/24 dev eth0
-        up ip route add 192.168.0.0/16 via 192.168.4.1 src 192.168.4.3
+       up ip addr add 192.168.4.30/24 dev eth0
+        up ip route add 192.168.0.0/16 via 192.168.4.1 src 192.168.4.30

ifdown eth0 ; ifup eth0

#6 Updated by Loic Dachary over 6 years ago

  • Category set to Task
  • % Done changed from 0 to 70

#7 Updated by Loic Dachary over 6 years ago

nova boot --image 'puppet' --flavor e.1-cpu.10GB-disk.1GB-ram --key_name loic --availability_zone=bm0008 --poll gerrit

root@dns:/etc# git show
commit 7335ece031608aeda894f47eafd74a5db55be8c7
Author: Loic Dachary <loic@dachary.org>
Date:   Wed Dec 26 23:41:50 2012 +0100
    Definition de l'IP privee de gerrit.vm.april-int
diff --git a/bind/zones/masters/vm.april-int b/bind/zones/masters/vm.april-int
index 0b89a3d..2ce468d 100644
--- a/bind/zones/masters/vm.april-int
+++ b/bind/zones/masters/vm.april-int
@@ -41,5 +41,6 @@ puppet                        IN      A       192.168.4.2
 jenkins                        IN      A       192.168.4.3
 nagios-hetzner         IN      A       192.168.4.4
 nagios                 IN      A       192.168.4.5
+gerrit                 IN      A       192.168.4.6

 april-ci               IN      A       192.168.5.1

#8 Updated by Loic Dachary over 6 years ago

  • Status changed from Nouveau to En cours de traitement

#9 Updated by Loic Dachary over 6 years ago

  • Status changed from En cours de traitement to Nouveau
  • % Done changed from 70 to 0

Une installation fonctionne mais il est plus prudent de résoudre le problème de gestion des utilisateurs avant de terminer

#10 Updated by Loic Dachary over 6 years ago

  • Status changed from Nouveau to En cours de traitement
  • % Done changed from 0 to 50

#11 Updated by Loic Dachary over 6 years ago

  • Target version changed from Décembre 2012 (2/2) to Backlog
  • Difficulté changed from 2 Facile to 5 Difficile

#12 Updated by Loic Dachary over 6 years ago

  • Target version changed from Backlog to Janvier 2013
  • % Done changed from 50 to 80

#14 Updated by Loic Dachary over 6 years ago

  • Target version changed from Janvier 2013 to Backlog

#15 Updated by Loic Dachary almost 6 years ago

  • Assignee deleted (Loic Dachary)

#16 Updated by Vincent-Xavier JUMEL about 5 years ago

  • Status changed from En cours de traitement to Un jour peut-être

#17 Updated by Vincent-Xavier JUMEL about 5 years ago

  • Priority changed from Élevée to Faible

#18 Updated by François Poulain almost 3 years ago

  • Description updated (diff)
  • Status changed from Un jour peut-être to Fermé

On n'utilise pas gerrit. C'est intéressant comme outil, mais seulement pertinent avec une conf centralisée, ce qu'on a abandonné.

Also available in: Atom PDF