Commit Graph

145 Commits

Author SHA1 Message Date
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
Daniel Dehennin
daf0700d15 LDAP authentication is handled by master daemon
* dicos/29_one-master.xml: new template to manage

* tmpl/ldap_auth.conf: import from eole-one-frontend

Ref: #21703
2017-10-19 11:09:12 +02:00
Daniel Dehennin
05d37c6569 Update OpenNebula configuration to match 5.4.1
Ref: #21703
2017-10-16 15:37:28 +02:00
Daniel Dehennin
97b8edde6b Merge branch 'fix/20338-start-vm-at-reboot' 2017-06-07 09:02:04 +02:00
Daniel Dehennin
d9e9d2e81c Resume only VMs running before the reboot
If a user suspend a VM manually, onenode.service must not resume it
automatically.

* scripts/onevm-all: Check if suspended VMs are in the saved list of
  running VMs.

Ref: #20718
2017-06-07 08:59:09 +02:00
Daniel Dehennin
f5b03e97ef Merge branch 'fix/20338-start-vm-at-reboot' 2017-05-10 17:28:58 +02:00
Daniel Dehennin
e65f054237 onenode.service in error when VM state file is not present
* scripts/onevm-all: truncate file only if it exists.

Ref: #20338
2017-05-10 17:25:23 +02:00
Daniel Dehennin
fe18f44a75 Merge branch 'fix/20338-start-vm-at-reboot' 2017-05-10 16:00:33 +02:00
e9ff4ad34c Correction du lancement du service onenode
Le service onenode ne se lance pas a cause d'une
boucle dans les dépendances de services.

Pour régler le problème on le lance après la multi-user.target

De plus au moment ou le service se lance opennebula n'est pas
complètement lancé alors le script essaye d'ouvrir des connections
pendant 20 secondes avant de remonter un problème.

Enfin on garde une liste des machines qui sont "running" avant l'arrêt
du serveur pour pouvoir les relance proprement.

Contribution de Cadoles (htts://www.cadoles.com)

ref #20338 @6h
2017-05-10 16:00:00 +02:00