Commit Graph

153 Commits

Author SHA1 Message Date
bc05faa091 correction boucle pour onehost_create_all 2019-02-25 10:50:45 +01:00
41d45ed2a2 gestion de la copie des clefs pour les followers 2019-02-22 17:16:04 +01:00
f945e19efb copie de la bonne clef sur les noeuds 2019-02-22 17:05:11 +01:00
a640384c5b initialiser la HA en dernier 2019-02-22 14:47:20 +01:00
5661832da8 cacher le nombre de connexion à la base si mode sqlite 2019-02-22 14:10:10 +01:00
85bebcb6ae Merge branch 'add-ha' of https://dev-eole.ac-dijon.fr/git/eole-one-master into add-ha 2019-02-22 14:03:32 +01:00
a85189fd8f Conditionnement sur le mode HA et Leader pour l'exécution de l'init_ha 2019-02-22 14:02:50 +01:00
babaddf7e4 Revert "ugly patch 320a8c26c0"
This reverts commit 5ec8930a6f.
2019-02-22 10:57:27 +01:00
5ec8930a6f ugly patch 320a8c26c0 2019-02-22 10:51:18 +01:00
2f7074ce3c correction upgrade de la base 2019-02-21 16:41:08 +01:00
24aff2dd05 correction upgrade de la base 2019-02-21 16:37:15 +01:00
91d54ac412 correction upgrade de la base 2019-02-21 16:05:52 +01:00
a785cedbf6 tester si one_ha_server_index est accessible 2019-02-21 14:31:49 +01:00
7a779cdec4 one_server_index => one_ha_server_index 2019-02-21 14:23:33 +01:00
3a74f7932c en mode mysql upgrade la database en mode mysql 2019-02-21 14:10:54 +01:00
8c28ae6e6b fusion one_followers_domain et one_nodes 2019-02-21 14:01:12 +01:00
693532b324 Adding host sync with rsync
ONE 5.6.1 is affected by this bug :
https://github.com/OpenNebula/one/issues/2962

Fixed in 5.6.2 but we don't have packages for this version.
2019-02-21 10:53:26 +01:00
171328c890 si enable_one_ha est à oui, RPC ecoute sur toutes les interfaces (dont lo) 2019-02-20 15:58:49 +01:00
7fc554a7ac fixe 2019-02-20 15:53:05 +01:00
4bc36ce4ee templatise le nombre de connexion à la base de données + gestion du service opennebula-scheduler 2019-02-20 15:47:11 +01:00
ab1bebce10 en HA RPC doit être accessible sur eth0 2019-02-20 15:20:59 +01:00
67c7ba9b97 en HA RPC doit être accessible sur eth0 2019-02-20 14:17:48 +01:00
6d2199121d typo 2019-02-19 15:07:17 +01:00
e6729673fb HA must not be actived when migrate sqlite to mysql 2019-02-19 11:53:12 +01:00
6a75234cb8 ne migrer sqlite vers mysql qu'à l'instance 2019-02-19 09:18:57 +01:00
fb1bea8654 only start opennebula if database do not exists 2019-02-18 18:25:26 +01:00
a71da62006 demarrer une fois opennebula pour creer la base sqlite + migrer mysql avant le demarrage des services 2019-02-18 17:39:41 +01:00
79b5d8e86d add %% before a one_ha_role 2019-02-18 16:05:07 +01:00
6ba09e0eaa adresse_ip_eth0 et adresse_ip_gw si one_vip est inaccessible 2019-02-18 14:03:32 +01:00
5eeb4d6832 init ha 2019-02-15 16:51:53 +01:00
09389489f2 Mot de passe de type password 2019-02-13 14:41:01 +01:00
227f568aab prise en compte mysql + script init ha 2019-02-08 17:43:22 +01:00
d3948bcd06 Adding HA dico 2019-02-06 14:14:23 +01:00
d3d620376f Being work on ONE HA 2019-02-06 14:14:03 +01:00
Daniel Dehennin
850585af21 Prepare version 2.7.1
* Makefile: Mise à jour de la release.
2019-01-09 11:43:32 +01:00
Daniel Dehennin
233afaaf94 Init ONE: download latest ISO point release
* postservice/99-init-hapy-master: use “eole-iso” to retrieve informations.

Ref: #25055
2018-09-21 09:04:58 +02:00
Daniel Dehennin
6f190b5dcd The python network script isn' based on exception but return values
* postservice/31-one-netmng (OneClient.create_network): make sure to
  return True since the returned value is checkd in
  “OneNetwork.create()”.

Ref: #24531
2018-07-20 15:41:34 +02:00
Daniel Dehennin
cac835e1ee Better logging when managing OpenNebula network in postservice
* postservice/31-one-netmng: use pyeole.log.
  Do not use pyeole.ihm.
  Add logging to follown what's going on.

Ref: #24387
2018-06-29 16:34:15 +02:00
Daniel Dehennin
d8fc5d10a3 Merge branch '2.6.2/master' 2018-06-13 14:19:47 +02:00
Daniel Dehennin
63af1776f5 Update OpenNebula configuration template to match 5.5.80
* dicos/29_one-master.xml: “OpenNebulaNetwork.conf” is moved for 5.6.

* tmpl/OpenNebulaNetwork.conf: update to match 5.5.80 configuration.

* tmpl/ldap_auth.conf: ditoo

* tmpl/oned.conf: ditoo.

* tmpl/vmm_exec_kvm.conf: ditoo.

Ref: #24197
2018-06-13 14:16:09 +02:00
Daniel Dehennin
3bf3b3accd Merge branch 'feature/manage-default-cluster-name' into 2.6.2/master 2018-04-18 10:25:36 +02:00
Daniel Dehennin
69447136bf We can't configure the cluster if “oned” is not started
* postservice/30-one-mng (main): wait for the daemon to be queriable.

Ref: #23594
2018-04-18 10:25:08 +02:00
Daniel Dehennin
151ce345e7 Merge branch 'feature/manage-default-cluster-name' 2018-04-09 11:13:15 +02:00
Daniel Dehennin
f76d98d7c3 Merge branch 'feature/manage-default-cluster-name' 2018-04-09 11:05:31 +02:00
Daniel Dehennin
939f1b7591 The default cluster can be renamed
* dicos/29_one-master.xml: “one_cluster_name” store the name of the
  default cluster.

* postservice/30-one-mng: take care of the customizable cluster name.

* postservice/31-one-netmng: ditoo.

* scripts/onehost_create_all: ditoo.

Ref: #23553
2018-04-09 10:23:41 +02:00
Daniel Dehennin
f7ebc5ec7a Merge branch '2.6.0/22155-vms-do-not-start-on-reboot' 2017-12-20 16:34:06 +01:00
Daniel Dehennin
1d934b9b60 Merge branch '2.6.0/22155-vms-do-not-start-on-reboot' into 2.6.2/master 2017-12-20 16:33:05 +01:00
Daniel Dehennin
340dd409e2 The VMs are not always resumes on reboot
The “libvirt-guests” service can conflict with “onevm-all” and we
don't need to wait for each VM to boot during start.

* posttemplate/10-libvirt-guests: disable the “libvirt-guests” service.

* init/onenode.service (ExecStart): use default wait timeout (60s).
  (TimeoutStartSec): wait for longer than the default timeout.
  (ExecReload): just try to resume any remaining VMs.
  (ExecStop): wait longer for VM to suspend.
  (TimeoutStopSec): wait for longer than the stop timeout.

* scripts/onevm-all: schedule actions in parallel and wait globally
  for their executions.

Ref: #22155
2017-12-20 16:32:13 +01:00
Daniel Dehennin
790428f142 Prepare version 2.7.0
* Makefile: Mise à jour de la version.
  Mise à jour de la release.
2017-12-08 14:45:00 +01:00
Daniel Dehennin
4b8f2d61bb LDAP authentication configuration must be empty if not used
Ref: #21703
2017-10-19 11:57:24 +02:00