1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-23 17:33:56 +03:00
Commit Graph

1884 Commits

Author SHA1 Message Date
Sergio Betanzos
0b5453a234
F #4994: Add extra info to remote connection (#764) 2021-02-08 10:40:30 +01:00
Vlastimil Holer
c5ac1a755b
M #-: Update Gemfile.locks (2021/02) (#760) 2021-02-05 12:40:24 +01:00
Petr Ospalý
3456cbf3a5
F OpenNebula/one#5178: Fix race with ssh-agent (#748)
Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
2021-02-03 22:52:40 +01:00
Alejandro Huertas Herrero
7a2fb391c0
F #5056: add new subcommand to bash auto complete (#738) 2021-02-02 11:08:38 +01:00
Ruben S. Montero
2e768d066c
M #-: Rename EXTERNAL to EXTERNAL_IP (AWS IPAM) 2021-01-27 16:36:26 +01:00
Pavel Czerný
b36cf9f339
B #5186: Exit HA node in case of DB failure (#712) 2021-01-25 18:55:50 +01:00
Jan Orel
44dc72dde9
M #-: Review and add AWS/Equinix providers (#706) 2021-01-25 17:55:34 +01:00
Ruben S. Montero
45bda53434
M #-: Add qemu based hybrid+ provisions 2021-01-25 12:10:43 +00:00
Jan Orel
6abf26dd1b
F #4985: Remove recoery snaps from monitor_ds (#701) 2021-01-25 11:03:13 +01:00
Alejandro Huertas Herrero
b1ed347bec
M #-: add missing snapshot dir to dummy (#699) 2021-01-25 09:51:40 +01:00
Ruben S. Montero
1ccb3642d6
M #-: Support for in-network vxlan configuration 2021-01-20 15:02:53 +01:00
Ruben S. Montero
f1c8b3d404
M #-: Add netroles to provision networks 2021-01-20 11:17:48 +01:00
Tino Vazquez
14902b9766
Merge branch 'master' into f-3951 2021-01-19 18:09:51 +01:00
Tino Vazquez
cc820fd968
M #-: Change placement of provisions tempaltes 2021-01-19 17:33:37 +01:00
Ruben S. Montero
9b71bb9d66
M #-: Update provision templates 2021-01-19 16:29:42 +01:00
Alejandro Huertas Herrero
473fc4f9da
M #-: add provision AR count (#669) 2021-01-19 12:28:15 +01:00
Tino Vazquez
721bc8fa16
Merge branch 'master' into f-3951 2021-01-19 10:20:51 +01:00
Carlos J. Herrera
2a91fe239f
L #~: linting vcenter driver (#667)
Signed-off-by: Carlos Herrera <cherrera@opennebula.io>
2021-01-18 23:28:42 +01:00
Ruben S. Montero
3ce190b989
M #-: Fix opennebula_configuration xsd 2021-01-18 17:08:33 +01:00
Jan Orel
59049b13ae
M #-: Fix updating local known_hosts (#653) 2021-01-18 09:24:12 +01:00
Sergio Betanzos
940b38a903
F #3951: Provision log (#654) 2021-01-15 14:47:52 +01:00
Jan Orel
f51765ec02
M #-: Remove internal link from provision (#636) 2021-01-15 12:28:02 +01:00
Jan Orel
06c4179868
M #-: Add sudoers-tmp workaround role to provision (#642)
This is a temporal, once beta is released this task will be removed.
2021-01-14 15:26:00 +01:00
Carlos J. Herrera
0c01395b46
L #~: Linting vcenter driver (#600)
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2021-01-14 12:42:48 +01:00
Petr Ospalý
5d7ae36c68
F OpenNebula/one#5178: Add time to supervisord log (#635)
Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
2021-01-13 19:09:49 +01:00
Ruben S. Montero
56b58e2ecc
M #-: Hybid+ add vnet instances to cluster 2021-01-13 09:59:17 +00:00
Ruben S. Montero
ce7aac40a2
M #-: Update opennebula_configuration.xsd (oned.conf) 2021-01-12 17:00:50 +00:00
Sergio Betanzos
da519d197d
M #~: Add provider name tag (#623) 2021-01-12 13:48:22 +01:00
Sergio Betanzos
dda00c05d1
M #~: Add provision_type tag (#620) 2021-01-12 11:08:52 +01:00
Vlastimil Holer
0026fa2b14
F #5217: Unify package names (#617) 2021-01-11 21:12:28 +01:00
Ruben S. Montero
ef333bc870
F #5218: Provision fixes
- Remove provision tag from provision templates
  - Support to add existing datastores to a provision
  - By default, datastore 0 is added to a provision
  - Sanity checks for nil class
2021-01-11 20:10:35 +00:00
Sergio Betanzos
d8f00ad769 F #3951: Add provider to root template 2021-01-11 18:06:24 +01:00
Sergio Betanzos
916351f2bd F #3951: Add provision & provider to plain 2021-01-11 16:33:18 +01:00
Sergio Betanzos
9802a700ce
F #3951: Fix provider templates (#609) 2021-01-11 15:25:58 +01:00
Petr Ospalý
10fa7ca4ce
F OpenNebula/one#5178: Add onedb upgrade (#606)
Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
2021-01-11 10:06:14 +01:00
Ruben S. Montero
ba3bf2b183
F #5218: BGP EVPN configuration changes
- Fixed network prefix for BGP routers
   - Support for custom CIDR blocks in AWS
2021-01-10 21:19:16 +01:00
Ruben S. Montero
22b63e6c32
F #5218: Better listen range for packet hosts 2021-01-08 15:42:37 +00:00
Pavel Czerný
d6d299e612
F #1112: Allow disk-saveas in undeployed, stopped (#591) 2021-01-08 10:50:12 +01:00
Ruben S. Montero
ee499cf4f9
F #5214 #5075: Support for private VNET
- Use VXLAN in public providers
   - Configure BGP-EVPN with FRR
   - Support for multiple RR
   - Create VNTemplate to self-provision virtual networks

Co-authored-by: Ricardo Diaz <rdiaz@opennebula.io>
2021-01-07 23:30:29 +00:00
Alejandro Huertas Herrero
9ef770cb3e
F #3951: Restructure provision templates (#599) 2021-01-07 18:06:41 +01:00
Tino Vazquez
01b7040310 F #3951: Restructure provision templates 2021-01-07 16:15:46 +01:00
Petr Ospalý
f1d7811ac2 F OpenNebula/one#5178: Ignore logrotate's failure (#585)
Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
2021-01-05 14:14:22 +01:00
Vlastimil Holer
10cc0c57ca F #5175: onecfg patch support with simple diff (#581)
Co-authored-by: Christian González <cgonzalez@opennebula.io>
2021-01-05 14:14:22 +01:00
Ruben S. Montero
5851d3d067 M #-: Fix fedora/CentOS manual compilation 2021-01-05 14:14:21 +01:00
Sergio Betanzos
1628216d9c F #3951: Fix aws provider template 2021-01-04 12:21:21 +01:00
Petr Ospalý
36e6cbe546
F OpenNebula/one#5178: Add logrotate to supervisor (#579)
Enforce logrotate before the start of any opennebula's supervisor
service - as is done similarly in the systemd services.

Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
2020-12-21 18:56:40 +01:00
Vlastimil Holer
4682a50a31
F #5214 #5075: Fix canonical ip path on Debian-like (#576) 2020-12-20 22:49:54 +01:00
Petr Ospalý
5d066ea8f4
F OpenNebula/one#5178: Add optional configs (#574)
Each supervisord service (where missing or usable) can use its own
config file which will be sourced. Thanks to this services do not rely
on properly populated environment with all needed variables.

Useful when supervisord is run like this:
% env -i /usr/bin/supervisord

Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
2020-12-18 13:12:29 +01:00
Jan Orel
e9be4e437a M #-: oneprovision: deploy priv key for snaps 2020-12-18 12:18:34 +01:00
Tino Vazquez
67a1bd70f8
L #-: Update rubocop conf file to 1.6.1
(cherry picked from commit c3eb9e73bc)
2020-12-18 11:52:13 +01:00
Jan Orel
2a178816ab B #5210: Make LDAP group_admin configurable (conf) 2020-12-18 09:59:18 +01:00
Tino Vazquez
7a45effdbf
M #-: Add provider templates 2020-12-16 13:23:34 +01:00
Jan Orel
96068ef185
F #5214 #5075: New provision templates.
* Public IP no longer uses NAT'ing
* Improved handle of host collections and indexes
* Update of ansible roles and playbooks

Co-authored-by: Ruben S. Montero <rsmontero@opennebula.org>
2020-12-15 10:07:06 +01:00
Carlos J. Herrera
754a74c73d
F #4933: Support for vSphere 7.0 (#547)
Signed-off-by: Carlos Herrera <cherrera@opennebula.io>
2020-12-11 14:41:15 +01:00
Carlos J. Herrera
09beabdbbf
F #5201: improve monitoring in vCenter (#543)
Signed-off-by: Carlos Herrera <cherrera@opennebula.io>
2020-12-11 14:28:48 +01:00
Frederick Borges
22f08d781a F #~: Fix fireedge validations
Signed-off-by: Frederick Borges <fborges@opennebula.io>
2020-12-11 12:31:12 +01:00
Petr Ospalý
bb0b4aa526
B OpenNebula/one#5086: Add fuse support (#541)
This commit solves issues with creating new VM images based on the
docker images inside a container environment.

If fuse2fs command is present then prefer its use instead of the default
mount command which will work only under root or otherwise privileged
user.

This commit solves the mounting issue inside the rootless container
environment.

Also add a new environment file to the oned supervisord service so we
can start oned process with some additional env. variables - notably
DOCKER_HOST.

Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
2020-12-10 17:30:27 +01:00
Petr Ospalý
4f2e742984
F OpenNebula/one#5167: Add qemu-kvm symlink script (#529)
All distros will now start to use qemu-kvm-one symlink generated upon
the opennebula-node package install via qemu-kvm-one-gen helper script.
The script will try to detect and use the proper qemu-kvm binary found
on that particular system.

Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
2020-12-09 16:30:44 +01:00
Petr Ospalý
4d9a0fd5fc
B #5189: Remove oned's stale lock in supervisord (#522)
Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
2020-12-04 10:54:54 +01:00
Petr Ospalý
2edcdae638
F OpenNebula/one#5178: Add docker services (#511)
- New supervisord service containerd
- New supervisord service docker
- Small fix in function.sh to pick up also socket files

Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
2020-12-02 15:25:49 +01:00
Petr Ospalý
ff2cb0ab6d
B #5189: Add stopwaitsecs to supervisord services (#496)
By default supervisord waits only 10s before it sends SIGKILL to its
services. This commit raises this limit to 90s in all services -
matching the default in systemd (DefaultTimeoutStopSec).

Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
2020-12-01 09:58:49 +01:00
Petr Ospalý
c65a119a2e
F OpenNebula/one#5178: Add stunnel service (#481)
Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
2020-11-26 17:21:38 +01:00
Christian González
97f8bdbbb0
F #5175: Onecfg integration into OpenNebula Enterprise Tools (#474)
Co-authored-by: Alejandro Huertas Herrero <ahuertas@opennebula.systems>
Co-authored-by: Jan Orel <jorel@opennebula.systems>
Co-authored-by: Vlastimil Holer <vholer@opennebula.systems>
2020-11-25 11:59:47 +01:00
Carlos J. Herrera
2ffee26c73
F #1660: Implement live resize in vCenter (#467) 2020-11-24 18:06:13 +01:00
Jan Orel
6d4810de49
M #-: Don't use unpack1 (#457) 2020-11-20 15:34:39 +01:00
Jan Orel
d53f0a3d90
M #4089: Update xsd files (#452) 2020-11-20 10:56:39 +01:00
Ruben S. Montero
80cdefc9fb
F #1660: :Add resize actions. Remove provision attributes 2020-11-17 13:04:41 +01:00
Pavel Czerný
7ba1bbe633
F #1660: Hotplug VCPU and mem for KVM (#392)
Co-authored-by: Ruben S. Montero <rsmontero@opennebula.org>
2020-11-17 11:24:52 +01:00
Jan Orel
c4c6cc9998
EC2 ipamm driver, update alias_sdnat (#408)
Co-authored-by: Ruben S. Montero <rsmontero@opennebula.org>
2020-11-17 09:40:24 +01:00
Vlastimil Holer
5358eeba7a
F #5178: Fix +x permissions to supervisord scripts (#422) 2020-11-13 19:44:47 +01:00
Petr Ospalý
96aab61096
M #-: Fix paths and locations for fireedge/guacd (#411)
Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
2020-11-11 18:35:00 +01:00
Jan Orel
deb32cad1b
B #5166 Augeas lens: allow space after section (#404) 2020-11-10 18:00:15 +01:00
Petr Ospalý
fa22e988b0
M #-: Add supervisord services fireedge, guacd (#389)
Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
2020-11-06 11:43:18 +01:00
Vlastimil Holer
16f5499fd6
F #3951: Systemd service opennebula-guacd (#376) 2020-10-29 16:13:06 +01:00
Alejandro Huertas Herrero
6395b3f891
F #5124: implement provision actions using Terraform (#368) 2020-10-28 15:11:34 +01:00
Tino Vazquez
1fe138846f
L #-: Adjust for rubocop 1.0.0 2020-10-28 12:56:18 +01:00
Vlastimil Holer
ede778642a
M #-: Gemfile.lock for Ubuntu 20.10, Fedora 33 (#361) 2020-10-23 19:17:53 +02:00
Christian González
e4577e5023
F #5112: Increase onegate functionality for VNF (#339) 2020-10-22 12:55:27 +02:00
Vlastimil Holer
6311392a0b
F OpenNebula/one#3951: FireEdge package-lock.json, service (#333) 2020-10-19 19:02:02 +02:00
Tino Vazquez
728142e205 F #5076: Implement provider/provision template
co-authored-by: Alejandro Huertas <ahuertas@opennebula.io>
2020-10-13 13:38:19 +02:00
Pavel Czerný
a5ca150e4d
B #5095: Custom NIC attributes overrides VNET (#283) 2020-10-08 19:06:20 +02:00
Ruben S. Montero
88c30370bc
F #4985: Support for cluster replicas to ssh driver
The initial caching mechanism will be exteneded with:
  - Cache remplacement policy
  - Optimize recovery snapshot with qcow2 format
  - Add support for automatic snapshot VM disks

co-authored-by: Jan Orel <jorel@opennebula.systems>
2020-10-02 12:58:18 +02:00
Tino Vazquez
f5a78e9b9c
F #3951: Add fireedge logrotate 2020-10-01 18:51:16 +02:00
Petr Ospalý
6fb4b2acd2
M #-: Add supervisord services definition (#269)
* M #-: Add supervisord services definition

Currently only for CentOS 8 but there should be needed only few changes
to make it work on other systems: crond, apache/httpd, mysql/mariadb...

The rest is pretty much system agnostic.

Signed-off-by: Petr Ospalý <pospaly@opennebula.io>

* M #-: Adjust supervisor directories

Co-authored-by: Vlastimil Holer <vholer@opennebula.io>
2020-09-30 17:27:20 +02:00
Frederick Borges
b861775190
F #2410: VM & Host autorefresh Fireedge (#261)
* VM & Host autorefresh Fireedge
* Autorefresh authentication

Signed-off-by: Frederick Borges <fborges@opennebula.io>
2020-09-29 14:48:00 +02:00
Frederick Borges
01653bdcf1
F #2755: Fireedge guacamole connection (#265)
* Linting Guacamole
* Guacamole with fireedge
* Guacd start with fireedge
2020-09-29 14:26:48 +02:00
Vlastimil Holer
fbb2123bbc
M #-: Update Gemfile.locks (2020/09) (#248) 2020-09-25 14:13:23 +02:00
Ruben S. Montero
95a7a4ede5
F #4089: Support to FS formatt VM disk images
- Consistency set of FORMAT attribute for images, and volatile disks
    - DRIVER does not be specified by the USER and it is derived from driver
      configuration for the Datastore and TM driver
    - CP action from DS_MAD now needs to return the image FORMAT
    - FSTYPE is deprecated and no longer used
    - FS new attribute to specify file system FS.

co-authored-by: Christian González <cgonzalez@opennebula.io>
2020-09-25 12:15:03 +02:00
Ruben S. Montero
fb8eb1aaed
F #664: Add service and VM templates to martketplace
- Support VM Templates as standalone entity
    - VM Templates can reference multiple Images from Marketplace
    - Service templates reference one or more VM Templates from
      Marketplace to define roles
    - Add CLI commands to import them into marketplace
    - Add Ruby OCA extensions

co-authored-by: Alejandro Huertas <ahuertas@opennebula.io>
2020-09-25 10:15:19 +02:00
Ricardo Diaz
42edaeb838
B #5101: host_error hook take arguments from stdin (#235)
Co-authored-by: Ruben S. Montero <rsmontero@opennebula.org>
Signed-off-by: Ricardo Diaz <rdiaz@opennebula.io>
2020-09-23 11:57:25 +02:00
Tino Vazquez
4afc1db028
L #-: Update for rubocop 0.91.0 2020-09-15 13:44:42 +02:00
Frederick Borges
94198be481
F #2410: Integrate vm autorefresh in sunstone-server (#201)
* Websocket autorefresh
* Integrate autorefresh in sunstone-server

Signed-off-by: Frederick Borges <fborges@opennebula.io>
2020-09-10 13:36:24 +02:00
Tino Vazquez
315ede85fc
L #-: rubocop 0.90.0 2020-09-08 19:48:05 +02:00
Tino Vazquez
5dab5aaaaa Revert "F #2410: Add gem to gemfile (#184)"
This reverts commit c76edca218.
2020-09-04 22:45:38 +02:00
Frederick Borges
c76edca218
F #2410: Add gem to gemfile (#184)
Signed-off-by: Frederick Borges <fborges@opennebula.io>
2020-09-04 15:09:34 +02:00
Ruben S. Montero
998f2ddd1e
M #-: Removed unused variables
(cherry picked from commit ce38105eff)
2020-08-06 23:55:32 +02:00
Carlos J. Herrera
3f973e5a44
L #~: Refactor vcenter driver (#110)
Signed-off-by: Carlos Herrera <cherrera@opennebula.io>
2020-07-30 19:27:23 +02:00
Alejandro Huertas Herrero
0a3a01fe2f
B #5003: add missing gem (#134) 2020-07-30 12:11:25 +02:00
Jan Orel
c92c8a8bb1
M #-: Remove old/duplicate bash compl. file (#96) 2020-07-17 14:50:38 +02:00
Tino Vazquez
cc4d80884b
L #-: Linting changes in ruby files
rubocop 0.88.0
2020-07-17 13:38:09 +02:00
Christian González
0c7b053162
M #: update vm.xsd with vcenter monitoring info (#102) 2020-07-17 12:01:23 +02:00
Alejandro Huertas Herrero
472ee2bccf
F #4950: add JSON and YAML outputs (#63) 2020-07-14 17:42:30 +02:00
Alejandro Huertas Herrero
200721cb8a
F #607: add autocomplete on tab feature (#50)
Co-authored-by: Vlastimil Holer <vholer@opennebula.io>
2020-07-06 15:51:05 +02:00
Alejandro Huertas Herrero
d63b806ebc
L #-: add missing file to exclude (#65) 2020-07-01 16:23:55 +02:00
Alejandro Huertas Herrero
4ceafb515e
F #4233: refactor install_gems and Gemfile (#57)
Co-authored-by: Vlastimil Holer <vholer@opennebula.io>
2020-06-30 13:06:12 +02:00
Jan Orel
5b5948f731
F #4229 Introduce config.xsd (#53)
* F #4229 Introduce config.xsd

* M #~: Minor fixes in xsd files
2020-06-25 17:42:07 +02:00
Christian González
be6d4d916c
F #4944: Include context packages in OpenNebula distribution
* download context pkgs with scons
* update gitignore info
* update docker_downloader.sh
2020-06-25 11:24:51 +02:00
Vlastimil Holer
7a837b081f
B #4939: Schedule ssh-socks-cleaner by OnCalendar (#32) 2020-06-22 15:21:57 +02:00
Vlastimil Holer
7872274c9b
B #4929: Preserve site_ruby in paths, use realpath (#33) 2020-06-22 15:18:57 +02:00
Petr Ospalý
2c36183a21
B OpenNebula/one#4935: Fix hashed known_hosts (#8)
This commit fixes problem when host key is already added in SSH
`known_hosts` file but SSH fails to validate this host key.

NOTE:
This problem manifests only when simulating 'accept-new' feature of the
newer SSH (>v7.6) via 'Match' with 'ssh-keygen -F'.

The cause of this problem is the fact that hostname is stored always
in lowercase even if the hostname had an upcase character.

It means that the record in `known_hosts` file for hostname `ABC`
becomes something like 'abc,10.0.0.10' - which in turn is hashed...

Therefore SSH with `HashKnownHosts=yes` is comparing wrong hashes:
    hash('ABC,10.0.0.10') vs hash('abc,10.0.0.10')

Most likely a bug or an oversight in SSH.

With this option disabled (`HashKnownHosts=no`) both upcased `ABC`
and lowercased `abc` work.

Example with *ENABLED* `HashKnownHosts=yes`:

    [oneadmin@ABC ~] hostname
    ABC
    [oneadmin@ABC ~] rm -f ~/.ssh/known_hosts
    [oneadmin@ABC ~] ssh-keyscan -H $(hostname) >> ~/.ssh/known_hosts
    [oneadmin@ABC ~]$ ssh ABC # this fails
    No ECDSA host key is known for abc and you have requested strict
    checking.
    Host key verification failed.
    [oneadmin@ABC ~]$ ssh abc # this works
    Warning: Permanently added 'abc,10.10.0.41' (ECDSA) to the list
    of known hosts.
    Last login: Mon Jun 15 04:32:38 2020 from ::1
    [oneadmin@ABC ~]$ # success with lowercase hostname

Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
2020-06-18 18:19:31 +02:00
Vlastimil Holer
d682bb2d74
M #-: Bump version to 5.13.80 2020-06-15 19:46:29 +02:00
Vlastimil Holer
0a19710a32
M #-: Bump provision repository to 5.12 2020-06-12 09:54:10 +02:00
Tino Vazquez
77a56859e6
F #4302: Rescue exceptions in vcenter IM
Specifically, in the IM monitor control loop
2020-06-11 18:56:40 +02:00
Ruben S. Montero
b72a275813
M #-: Modifications to run & lock locations
* Add run and lock paths to self-contained
* Move oned lock to lock location
* vcenter monitor fifo is created in run location
* vcenter monitor lock is created in lock location
2020-06-11 13:15:23 +02:00
Alejandro Huertas Herrero
49e1901a5c
M #-: add monitoring plot to CLI (#4904) 2020-06-09 16:52:46 +02:00
Alejandro Huertas Herrero
3310418230
M #-: OneProvision add firecracker support (#4884) 2020-06-05 13:19:16 +02:00
Pavel Czerný
3fa04ee2d5
M #-: Configurable timeout for SQLite DB (#4882) 2020-06-04 18:05:58 +02:00
Ruben S. Montero
22bc2144c8
M #-: Typo 2020-06-03 18:30:04 +02:00
Pavel Czerný
0e7de61282
B #4115: MySQL BINARY name searches configurable (#4873)
Co-authored-by: an Orel <jorel@opennebula.systems>
2020-06-03 18:11:04 +02:00
Vlastimil Holer
830045e17e
F #1473: Conditional service with SELinux workaround (#4871) 2020-06-03 13:39:24 +02:00
Vlastimil Holer
2d634f7168
M #-: Bump version to 5.12.0 (#4869) 2020-06-02 17:45:02 +02:00
Alejandro Huertas Herrero
f270aace4e
M #-: add OneGate Header (#4853) 2020-06-01 17:57:03 +02:00
Pavel Czerný
6a419e198f
F #3859: Backup monitor.log (#4849) 2020-06-01 17:03:57 +02:00
Ruben S. Montero
c1c819fc46
B #4827: Add HOTPLUG_NIC_POWEROFF state 2020-05-27 19:38:23 +02:00
Jan Orel
a8a2e20e64
L #-: Linting vlan.rb 2020-05-26 15:59:35 +02:00
Tino Vazquez
66579c5525
L #-: Update rubocop.yaml with new vcenter im 2020-05-26 13:29:05 +02:00
Ruben S. Montero
03066c2027
M #-: fix DDC role failed condition check 2020-05-25 17:21:39 +02:00
Alejandro Huertas
c59a09233a
M #-: fix DDC role failed condition check 2020-05-25 16:39:42 +02:00
Pavel Czerny
7705d669a7
F #3859: Monitord HA 2020-05-25 10:49:50 +02:00
Alejandro Huertas Herrero
7dbed19430
M #-: upgrade DDC ansible version to 2.9.9 (#4787) 2020-05-22 17:20:43 +02:00
Petr Ospalý
365d1955ff
F #865: Add oneshowback compute timer
Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
2020-05-22 03:00:32 +02:00
Angel Luis Moya Gonzalez
783ec5c1bd
F #4302: Fix bad type in unless check (#4788)
Co-authored-by: mouyaq <amoya@opennebula.io>
2020-05-21 17:28:44 +02:00
Kristian Feldsam
716e3c1be5
B #4741: Added raftstatus xsd (#4742)
Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
(cherry picked from commit a3ff5bcd01)
2020-05-21 16:11:38 +02:00
Ruben S. Montero
1a565338c8
F #4089: add CPU limitations 2020-05-21 15:07:06 +02:00
Christian González
34c0735243
L #-: Add linting workaround (#4785) 2020-05-21 12:41:08 +02:00
Tino Vazquez
4b298db778
L #-: Adjust for rubocop 0.84.0
(cherry picked from commit 9f35ff792a0beb3d268895c3a8c360ac1fdf99a7)
2020-05-21 11:15:41 +02:00
Ruben S. Montero
b9aa48f002
F OpenNebula/addon-context-linux#83: Del metric6 2020-05-20 19:54:53 +02:00
Vlastimil Holer
f1dd670414
M #-: Bump version to 5.11.90 (#4779) 2020-05-20 18:09:42 +02:00
Petr Ospalý
74f1720086
F OpenNebula/addon-context-linux#83: Del metric6
- distro's network scripts have no support for ipv6 metrics - no reason
  then to provide ipv6 specific METRIC6 variable

Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
2020-05-20 14:58:54 +02:00
Petr Ospalý
3b5671455a
F OpenNebula/addon-context-linux#83: Add metric
Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
2020-05-20 05:42:00 +02:00
Christian González
b1dd8b7963
F OpenNebula/one#4089: add CPU limitations 2020-05-19 15:46:56 +02:00
Christian González
6e5ffdeb24
F #4089: add CPU limitations 2020-05-19 14:55:53 +02:00
Tino Vazquez
dfee994096
L #-: Linting firecracker and vCenter vm monitor
Also add 0.83.0 new cops to conf file
2020-05-18 13:25:08 +02:00
Christian González
acf6454c6e
F #4089: Improve DockerHub integration (#4688)
Add LINK attribute to marketapps
lint marketplace
2020-05-18 02:54:11 +02:00
Ruben S. Montero
b22c569ab2
F #3953: Add RAW validator for KVM
- VirtualMachine
  - VMTemplate
  - Add libvirt rng files

co-authored-by: Christian González <cgonzalez@opennebula.io>
2020-05-18 02:23:29 +02:00
Petr Ospalý
a96de2f14a
F #1473: Update SSH config and sockets (#4733)
* F #1473: Update SSH config and sockets

- install files via install.sh script
- replace crontab with systemd timer
- update opennebula.service dependency
- move ssh master sockets from ~oneadmin to /run/one/ssh-socks
- modify ssh wrapper to not use external programs but only bash builtins
- update ssh configs

Signed-off-by: Petr Ospalý <pospaly@opennebula.io>

* F #1473: Update SSH config and sockets

* F #1473: Update SSH config and sockets

* F #1473: Update SSH wrapper

- rename SSH_USE_MASTER_SOCK to SSH_OPT_CONTROL_MASTER
- change the logic of this directive to be a value of the SSH
  'ControlMaster' option (default is 'auto')
- delete the SSH_USE_MASTER_SOCK from opennebula.service (not needed
  anymore)

Signed-off-by: Petr Ospalý <pospaly@opennebula.io>

Co-authored-by: Vlastimil Holer <vholer@opennebula.io>
2020-05-15 18:51:04 +02:00
Ruben S. Montero
33b22ad1ba
F #3859: IMPORT_VM_ID = DEPLOY_ID = UUID 2020-05-14 20:03:35 +02:00
Petr Ospalý
523eff2a77
F #1473: Fix SSH persistent connections (#4724)
- add ssh wrapper which is used only on the fronted
- disable SSH master socket on the nodes
- add new PATH and SSH_USE_MASTER_SOCK into opennebula.service

Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
2020-05-13 21:34:38 +02:00
Petr Ospalý
51d6d2a99d
F #1473: Fix and improve SSH config (#4713)
- workaround issues with persistent connections
- add new cronjob

Co-authored-by: Vlastimil Holer <vholer@opennebula.io>
2020-05-12 18:37:23 +02:00
Petr Ospalý
448beb80fc
F #1473: Add oneadmin's SSH config (#4668)
Signed-off-by: Petr Ospalý <pospaly@opennebula.io>

Co-authored-by: Vlastimil Holer <vholer@opennebula.io>
2020-05-11 19:05:34 +02:00
Vlastimil Holer
4c77119fce
M #-: Restrict sudo ip usage (#4689)
Co-authored-by: Jan Orel <jorel@opennebula.systems>
2020-05-11 19:03:23 +02:00
Alejandro Huertas Herrero
23e03be0a1
B #3571: escape white spaces in onegate server (#4659) 2020-05-11 13:23:08 +02:00
Christian González
30b1425f2c
F #4089: Integrate DockerHub marketplace (#4684) 2020-05-10 20:14:20 +02:00
Vlastimil Holer
a3ffc0f287
M #-: Bump version to 5.11.85(#4680)
and bump missing years to 2020
2020-05-07 19:34:45 +02:00
Vlastimil Holer
13040cb87a
F #962: Sunstone preload gems, bump oneprovision repo (#4640)
* Ensure base bundled gems are loaded first
* Default Ansible opennebula-repository 5.11
2020-04-30 19:34:29 +02:00
Vlastimil Holer
f3c50a5d89
M #-: Year bump to 2020 (#4634) 2020-04-30 15:00:02 +02:00
Petr Ospalý
59426dd8fd
F #2152: Improve SSH agent service unit (#4627)
- change /run/one to /var/run/one - /run/one is either bind-mount or
  symlink and can be changed while /var/run/one is configured via
  tmpfiles.d/opennebula*.conf - it is more consistent now
- add a dependency to SSH agent unit for remote-fs in the cases when
  /var/lib/one (oneadmin's home) is on a network filesystem
- add SSH agent support to opennebula-hem service

Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
2020-04-29 14:59:46 +02:00
Alejandro Huertas Herrero
0d31351358
M #-: accept quotes in augeas lens (#4623)
Co-authored-by: Jan Orel <jorel@opennebula.systems>
2020-04-29 11:23:30 +02:00
Vlastimil Holer
ff8dd585c9
M #-: Update Gemfile locks (#4619) 2020-04-28 15:12:17 +02:00
Carlos J. Herrera
cda36014d5
F #3912: Adding vsphere-automation gems (#4615)
* Adding vsphere-automation gems
* Fix bug when ruby < 2.3

Signed-off-by: Carlos Herrera <cherrera@opennebula.io>
2020-04-28 11:54:09 +02:00
Alejandro Huertas Herrero
011e66b64e
F #2152: add option to forward in vmm exec (#4609)
Co-authored-by: Vlastimil Holer <vholer@opennebula.io>
2020-04-27 19:38:30 +02:00
Tino Vazquez
d65ded78c8
F #962: Add missing file to install.sh
also excluding new ruby file from rubocop linting
2020-04-27 18:59:21 +02:00
Dennis Felsch
fb1294b386
* F #962: Sunstone 2FA with WebAuthn
This strengthens the login with e.g. U2F/FIDO2 authentication keys.

Signed-off-by: Dennis Felsch <dennis.felsch@ruhr-uni-bochum.de>
(cherry picked from commit 487a6247a9)
2020-04-27 18:49:58 +02:00
Ruben S. Montero
6f0ec36f6f
F #3881: make Frontend Hostname configurable
co-authored-by: Alejandro Huertas <ahuertas@opennebula.io>
2020-04-27 18:39:36 +02:00
Christian González
9f05d36144
M #: Update XSD files with new monitoring info (#4607) 2020-04-27 14:53:22 +02:00
Vlastimil Holer
1e0b6d2aa9
F #2152: Add OpenNebula SSH agent support (#4597)
Signed-off-by: Petr Ospalý <pospaly@opennebula.io>

Co-authored-by: Petr Ospalý <pospaly@opennebula.io>
2020-04-23 19:37:27 +02:00
Vlastimil Holer
3a1fb4a884
B #4557: Logrotates don't touch global defaults (#4592) 2020-04-23 14:06:57 +02:00
Jan Orel
7e1bd53efd
F OpenNebula/infra#462: Gemfile.lock for Ubuntu 20.04 (#4587) 2020-04-22 18:50:50 +02:00
Vlastimil Holer
d064ee6db3
B #4304: Distribution gems affects OpenNebula (#4578)
Remove vendor_ruby and site_ruby directories from $LOAD_PATH, so
that distribution gems installed directly into loadable path
without need to use rubygems are not loaded by require.
2020-04-22 10:21:08 +02:00
Ruben S. Montero
4384903049
M #-: Fix typo in oned.conf 2020-04-22 02:03:20 +02:00
Vlastimil Holer
f6aeb26936
M #-: Independent LXD sudoers (#4576) 2020-04-21 18:03:44 +02:00
Christian González
4269234441
F #4089: Fix minor bugs (#4568) 2020-04-21 16:25:58 +02:00
Tino Vazquez
8b34f35896
L #-: Update rubocop config file for 0.82.0 2020-04-20 19:04:40 +02:00
Alejandro Huertas Herrero
5308556a6c
F #4215: add packet and ec2 example templates (#4498)
Co-authored-by: Vlastimil Holer <vholer@opennebula.io>
2020-04-20 17:54:07 +02:00
Angel Luis Moya Gonzalez
3ab22696e4
F #4302: vCenter monitoring: Hosts (#4553)
Initial commit
2020-04-20 17:26:39 +02:00
Vlastimil Holer
424ab046b7
M #-: Use non-interactive sudo, fix arping path on Debians (#4555)
* M #-: Force all sudo usage as non-interactive
* M #-: Fix sudoers arping path on Debian-like systems
2020-04-17 19:26:31 +02:00
Kristian Feldsam
3d29bb672f
B #4148: Added missing showback xsd (#4149)
Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
(cherry picked from commit b19511f4b9)
2020-04-16 15:49:12 +02:00
Alejandro Huertas Herrero
29e18184b8
B #4064: encrypt password in context section (#4528) 2020-04-14 17:07:23 +02:00
Jan Orel
670280cddc
B #-: Fix cloud_watch, re-itroduce poll() (#4504) 2020-04-14 12:44:01 +02:00
Ruben S. Montero
9aa1041103
F #3600: Initial PostgreSQL Support
co-authored-by: Igor Sivy <igorsivy@gmail.com>
co-authored-by: Pavel Czerny <pczerny@opennebula.io>
co-authored-by: Vlastimil Holer <vholer@opennebula.io>
(cherry picked from commit c52f62018c32281c6e418211f33f1bba46388e98)
2020-04-13 17:35:06 +02:00
Christian González
cbd3bda137
M #: remove useless file (#4515) 2020-04-13 16:19:46 +02:00
Ruben S. Montero
5cc301f482
Revert "B #-: Switch to KillMode=mixed (#4486)"
This reverts commit 1b90cb10f3.
2020-04-08 17:25:36 +02:00
Alejandro Huertas Herrero
f0af3adf5f
F #4292: DDC add support for multiple playbooks (#4479)
* F #4292: DDC add support for multiple playbooks

* M #-: remove delete_suffix

* M #-: fix linting

* F #4292: run playbooks separately

* F #4292: add dummy playbook

* M #-: fix minor bug

* F #4292: Use raw task in dummy playbook

Co-authored-by: Vlastimil Holer <vholer@opennebula.io>
2020-04-08 10:52:58 +02:00
Jan Orel
1b90cb10f3
B #-: Switch to KillMode=mixed (#4486) 2020-04-08 10:46:12 +02:00
Tino Vazquez
6000826434
L #-: Enable two new rubocop checks
No impact in current code base
2020-04-06 16:53:03 +02:00
Jan Orel
e658320cb5
F #3859: Adapt azure+ec2 driver to new monitoring system(#4481) 2020-04-05 19:50:45 +02:00
Christian González
e137d98d34
F #4089: add changes to integrate with packages (#4480)
* F #4089: Add install-firecracker script

* F #4089: Update clean script path
2020-04-03 14:31:13 +02:00
Angel Luis Moya Gonzalez
f965b03163
F #4119: Fix vntemplate instantiate on vCenter (#4465) 2020-04-01 16:12:05 +02:00
Ricardo Diaz
e239bfc0d6
M #-: Redesign of map vnets mapping script (#4461)
New design of vnets mapping script based on 'open3' instead of directly
command execution.
Added option to select which private and public networks are going to be
used to perform the mapping.

Signed-off-by: Ricardo Diaz <rdiaz@opennebula.systems>
2020-04-01 13:31:49 +02:00
Ricardo Diaz
31de7daa40
M #-: map vnets compatible with OneGate (#4444)
Signed-off-by: Ricardo Diaz <rdiaz@opennebula.systems>
2020-03-30 10:03:47 +02:00
Christian González
544c1ecfcd
F #4089: Firecracker node packages (#4412) 2020-03-27 11:18:18 +01:00
Ricardo Diaz
45f4362b28
M #-: Grant ipforwarding in every recontext (#4430)
net.ipv4.ip_forward is always set to 1 in every recontextualization if
cron_start_script used as start script.

Signed-off-by: Ricardo Diaz <rdiaz@opennebula.systems>
2020-03-25 16:41:11 +01:00
Alejandro Huertas Herrero
f827bd30a5
B #4426: create symlink to libxml (#4431) 2020-03-25 16:35:41 +01:00
Alejandro Huertas Herrero
1a12129c8c
B #4425: add extended param to OneGate (#4429) 2020-03-25 16:26:16 +01:00
Ricardo Diaz
e01949c57d
L #-: Floating IPs start script (#4414)
Signed-off-by: Ricardo Diaz <rdiaz@opennebula.systems>
2020-03-24 19:40:24 +01:00
Tino Vazquez
466f9b3fb8
M #-: URL changes
* opennebula.org -> opennebula.io
  * opennebula.systems -> opennebula.io

also

  * removed unused sunstone code and conf
  * remove trailing whitespaces
2020-03-24 16:48:35 +01:00
Ricardo Diaz
739b463e65
F #-: Floating IPs start script (#4382)
New script to be used as start script on virtual machines. It get all
NIC_ALIAS IPs associated to NIC IPs of a service using OneGate, and
install iptables SNAT and DNAT rules to get connectivity with the VM
using the ALIAS_NIC IP.

Signed-off-by: Ricardo Diaz <rdiaz@opennebula.systems>
2020-03-24 11:05:41 +01:00
Pavel Czerný
eeb334b6f3
F #3859: Fix VM_STATE monitoring (#4360)
* F #3859: Fix VM_STATE monitoring

* F #3859: Remove obsolete settings from oned.conf

* F #3859: Monitor logging
2020-03-16 09:32:32 +01:00
Christian González
6ca44cad75
F #4340: Restrict access to TOPOLOGY attributes (#4341) 2020-03-13 16:08:37 +01:00
Jan Orel
2161d5e6d1
F #3859: Rename collectd-cl. to monitord-cl. (#4343) 2020-03-11 17:50:31 +01:00
Tino Vazquez
5b3e93cf44
L #-: Linting for vCenter reconfigure
Also exclude some offending (to rubocop ;) files
2020-03-06 10:37:59 +01:00
Tino Vazquez
0dad03df8c
L #-: Exclude migrators from linting 2020-03-05 17:47:13 +01:00
Ruben S. Montero
1ddc29cc52
F #4089: Firecracker integration improvements (#4295) 2020-03-05 16:36:06 +01:00
Ruben S. Montero
44e44b47a8
F #3859: New monitoring architecture
co-authored-by: Pavel Czerny <pczerny@opennebula.systems>
  co-authored-by: Daniel Clavijo Coca <dclavijo@opennebula.systems>
2020-03-04 16:05:57 +01:00
Ruben S. Montero
098e9b9786
F #4114: add cold nic attach feature
co-authored-by: Alejandro Huertas <ahuertas@opennebula.systems>
2020-02-26 17:51:40 +01:00
Tino Vazquez
6fbb7467df
L #-: Remove oneimage from rubocop exclusion list 2020-02-24 17:56:38 +01:00
Ruben S. Montero
96e0e27d81
F #4089: Add checks to fc operations. CentOS7 support 2020-02-23 17:01:29 +01:00
Pratik Raj
e6cc49cbde
F#4233: fixes "ERROR: executing gem invalid option: --no-ri" (#4211)
Signed-off-by: Pratik Raj <rajpratik71@gmail.com>
2020-02-21 16:50:07 +01:00
Ruben S. Montero
5f1e0ce0ff
L #4089: Fix linting and code refactoring
co-authored-by: Christian González <cgonzalez@opennebula.systems>
2020-02-21 14:20:53 +01:00
Alejandro Huertas Herrero
944d598287
F #4231: reserve ephemeral ports in oned.conf (#4235) 2020-02-20 17:28:12 +01:00
Ruben S. Montero
c8bf48f1ce
F #4089: Add microVM support via Firecracker
co-authored-by: Christian González <cgonzalez@opennebula.systems>
2020-02-20 17:06:45 +01:00
Jan Orel
792f3042a7
F #1203: Refactor Azure driver, use new SDK (#4198)
* Refactor Azure driver, use new SDK
* Azure driver: sec group, prox. group, avail
* Azure driver: Include also private ip address

Co-authored-by: Tino Vázquez <cvazquez@opennebula.systems>
2020-02-20 16:02:55 +01:00
Vlastimil Holer
4e7da31d72
B #4092: Missing gems in install_gems groups (#4230)
(cherry picked from commit ede2ec0cb4)
2020-02-20 15:20:13 +01:00
Tino Vazquez
22f9b49ec4
L #-: Changes for rubocop 0.80.0
(cherry picked from commit 81099ec297)
2020-02-19 18:42:40 +01:00
Daniel Clavijo Coca
9986eee7b4
F #3189: Fix LXD status report (#4210)
* F #3189: Fix lxd net hook

* F #3189: Fix LXD transitions

* F #3189:  Prioritize transition flag over status

* M #: Lint

* M #: Remove WIP hook

* M #: C7 compat

* F #3189: Remove flag only on native containers

(cherry picked from commit e594c88540)
2020-02-19 17:55:30 +01:00
Ruben S. Montero
8696a50e8f
F #4132: Redesign oneflow internal logic
co-authored-by: Christian González <cgonzalez@opennebula.systems>
co-authored-by: Alejandro Huertas Herrero <ahuertas@opennebula.systems>
co-authored-by: Jorge Lobo <jlobo@opennebula.systems>
2020-02-19 14:56:03 +01:00
Ruben S. Montero
5e53c4f893
Revert "F #4132: Redesign oneflow internal logic"
This reverts commit da969c5fd3.
2020-02-19 14:56:03 +01:00
Ruben S. Montero
da969c5fd3
F #4132: Redesign oneflow internal logic
co-authored-by: Christian González <cgonzalez@opennebula.systems>
co-authored-by: Alejandro Huertas Herrero <ahuertas@opennebula.systems>
co-authored-by: Jorge Lobo <jlobo@opennebula.systems>
2020-02-18 15:53:30 +01:00
Ruben S. Montero
0d3aba8cab
F #4163: Tunrkey Linux automatic configuration for OpenNebula 2020-02-07 10:51:14 +01:00
Alejandro Huertas Herrero
52da12b312
F #4109: Fix install gems (#4160) 2020-02-06 16:26:36 +01:00
Alejandro Huertas
6fcc7c3325 F #4109: add gemfile locks 2020-02-06 10:59:38 +01:00
Alejandro Huertas
23c6907d89 F #4109: add onezone serversync command 2020-02-06 10:59:38 +01:00
Jan Orel
8df3e4a2c5
B #4136: Add snapshot details in vm_pool.xsd (#4146)
Co-authored-by: Ahmed Bilal Khalid <ahmedbilal96@gmail.com>
2020-01-31 12:14:56 +01:00
Jan Orel
0aacdfa667
M #-: Add onetemplate to the bash_completition (#4129)
+ fix whitespace
2020-01-29 10:41:41 +01:00
Jan Orel
fe63e48eda B #4076: Use xs:string for ACLs (#4117)
hexBinary fails due to non-even length
integer fails obviously when containig a-f chars
2020-01-28 12:40:50 +01:00
Ruben S. Montero
151e7a7580
F #4056: Add user to LDAP group as admin
Author: Jan Orel <jorel@opennebula.systems>
co-authored-by: Jan Orel <jorel@opennebula.systems>
2020-01-28 12:21:26 +01:00
Tino Vazquez
9d734e02da
M #-: Adjust rubocop cop
(cherry picked from commit b8138fddfa)
2020-01-22 19:15:21 +01:00
Thomas Hofmann
f738a4c760 M #-: typo: "NM_CONTOLLED" instead of "NM_CONTROLLED" (#4085) 2020-01-17 10:21:06 +01:00
Thomas Hofmann
5ede8cdd04 M #-: typo: "NM_CONTOLLED" instead of "NM_CONTROLLED" (#4086) 2020-01-17 10:20:13 +01:00
Jan Orel
f1774693cf B #4076: Keep xs:integer type for acl (#4095)
Although the format is hexadecimal, ONE produces
values where length is not even (without adding
leading zero). This violates xs:hexBinary type.
2020-01-14 09:44:02 +01:00
Kristian Feldsam
8055f2f811
B #4076: Fixed XSD schema to include ACLs (#4077)
Signed-off-by: Kristián Feldsam <feldsam@gmail.com>
(cherry picked from commit 585c15dabe)
2020-01-10 15:54:38 +01:00
Vlastimil Holer
a574ba9373 F #3990: Fix rbvmomi dependencies (#4082) 2020-01-07 14:06:37 +01:00
Daniel Clavijo Coca
10659af17a M #: Add sys datastores modes for RDM (#4060) 2019-12-21 00:04:02 +01:00
Tino Vazquez
dc9be09721
L #-: Linting vCenter DS mad drivers 2019-12-19 19:33:59 +01:00
Angel Luis Moya Gonzalez
a1f36e047d F #3990: Prepare to change rbvmomi version (#4059) 2019-12-19 16:50:14 +01:00
Tino Vazquez
58f8354015
L #-: Linting for vCenter TM
(cherry picked from commit fbde74b6f6)
2019-12-18 12:40:41 +01:00
Alejandro Huertas Herrero
e77b2d9fd8 F #3999: add append option to onedb change-body (#4036)
* L #3999: lint some onedb files
2019-12-16 14:42:10 +01:00
Tino Vazquez
5ead940b16
L #-: Adjustments for rubocop 0.77.0 2019-12-05 19:22:35 +01:00
Tino Vazquez
d0e8d214c6
L #-: Changes for rubocop linting
In all vcenter VMM driver scripts
2019-12-04 19:44:12 +01:00
Vlastimil Holer
bd17138a91
B #4003: Include Ruby gem Dalli (#4014)
(cherry picked from commit ddc44de02e)
2019-12-03 11:43:11 +01:00
Vlastimil Holer
0ec266d34f M #-: Bump version to 5.11.80 (#3993) 2019-11-26 17:17:32 +01:00
Ruben S. Montero
8fb20107e2
B #3946: Optionally forced encoding for oned connections 2019-11-19 16:10:26 +01:00
Vlastimil Holer
53255666b7 B #3954: Install_gems fails for mysql2 on Ubuntu (#3956) 2019-11-19 12:44:31 +01:00
Vlastimil Holer
1779e1576d B OpenNebula/packages#115: Install_gems need redhat-rpm-config on EL8 (#3947) 2019-11-18 14:38:41 +01:00
Vlastimil Holer
a467e1297c M #-: Bump version in Ansible openenbula-repository (#3942) 2019-11-15 10:49:14 +01:00
Vlastimil Holer
09adfe97e8 M #-: Bump version to 5.10.0 (#3932) 2019-11-11 18:49:42 +01:00
Ruben S. Montero
4860636a41
M #-: Remove unneeded files, update oned.conf accordingly 2019-11-11 10:46:43 +01:00
Daniel Clavijo Coca
85d8d745ad F #3189: Improve looks (#3902) 2019-11-05 16:11:54 +01:00
Ruben S. Montero
ed3e55ea1c
Revert "F #3380: Generate man pages for onehook command (#3910)" (#3911)
This reverts commit fdeb840186.
2019-11-05 15:53:53 +01:00
Christian González
fdeb840186 F #3380: Generate man pages for onehook command (#3910) 2019-11-05 15:29:01 +01:00
Jorge Lobo
c92db8e024 B #3268: Fix error disable support tab (#3907)
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
2019-11-04 18:44:58 +01:00
Vlastimil Holer
7a6d0eef54 M #-: Refresh gems version for 5.9.90 (#3899) 2019-11-04 13:09:13 +01:00
Daniel Clavijo Coca
ffaed2dd2d F #3189: Fix LXD net patch (#3897) 2019-11-04 09:48:17 +01:00
Angel Luis Moya Gonzalez
0a7b1be152 M #-: Added exceptions and exit codes (#3891) 2019-10-31 11:33:36 +01:00
Jan Orel
f12bf9001f F OpenNebula/infra#340: Packages for Ubuntu 19.10 (#3890) 2019-10-30 16:51:15 +01:00
Christian González
04c06f65ba M #: Update XSD files (#3888) 2019-10-30 11:42:58 +01:00
Angel Luis Moya Gonzalez
2bfda02621 F #3440: Added more input options and errors (#3887)
Added code to treat inputs in the creation network form
Puts errors on network creations in hook STDERR and in
VCENTER_NET_ERROR attribute.
2019-10-29 18:21:34 +01:00
Christian González
02e9de8be5 M #: Update XSD files (#3877) 2019-10-27 16:33:24 +01:00
Vlastimil Holer
1dcff46f86 Initial CentOS 8 support (#3861)
* M #-: Gemfile.lock for C8

* M #-: Detect PYTHON as python2 in oca
2019-10-18 12:44:17 +02:00
Vlastimil Holer
5d3e4485eb M #-: Bump version to 5.9.90 (#3847) 2019-10-15 17:33:18 +02:00
Tino Vazquez
1553e0746a
F #3380: Change default hook log retention 2019-10-14 12:59:41 +02:00
Vlastimil Holer
1578b0a3d1 F #2799: install_gems warns if gems are packaged (#3831) 2019-10-13 17:32:11 +02:00
Angel Luis Moya Gonzalez
2fade66f92 M #-: Modify hook exits (#3828)
- Remove rescue SystemExit
- Apply unlock before each exit
- Changes on some comments and debug lines
2019-10-10 16:15:19 +02:00
Angel Luis Moya Gonzalez
5a24b20544 M #-: Hooks unlocks (#3827)
* M #-: Fix error on variable rc creation

* M #-: Changes on creation network vcenter hook
2019-10-10 14:37:15 +02:00
Jan Orel
ffb03f7f93 M #-: Fix sinle entry section indent in oned.aug (#3809) 2019-10-09 16:57:09 +02:00
Angel Luis Moya Gonzalez
0accfb2c6d F #3440: Fix bug creating NSX networks (#3821)
* F #3440: Fix bug creating NSX networks

Fix bug when creating NSX network without
transport zone. Added more checks and
exceptions to manage them.

* F #3440: Added backtrace to error message
2019-10-08 10:40:24 +02:00
Christian González
bb04178ad5 M #: Minor changes in XSD files (#3817) 2019-10-07 13:01:46 +02:00
Vlastimil Holer
8b7e661327 B #3046: Enable HA HEM server control and IP cmd (#3816) 2019-10-07 10:02:08 +02:00
Angel Luis Moya Gonzalez
19b255e0e3 F #3440: Improve NSX import process (#3796)
* M #-: Fix errors on commit 7b8438dd4

Change condition
Change definition function order

* F #3440: NSX parameters at import time

These attributes are added when importing a NSX network
NSX_ID
NSX_VNI
NSX_TZ_ID

Also now there is a different VCENTER_PORTGROUP_TYPE for
distributed port groups and NSX-V portgroups
2019-10-03 13:58:40 +02:00
Ruben S. Montero
eb2bc22ef4
B #3189: Add missing sudo for lxd_clean hook. Change install location of lxd clean hook 2019-10-02 16:49:32 +02:00
Vlastimil Holer
cf0d1465df B #3046: Review sudoers (#3786) 2019-09-30 15:15:42 +02:00
Vlastimil Holer
4171205b6e F #3380: Generate onehook manual page (#3783) 2019-09-30 11:32:00 +02:00
Jan Orel
b9a1239267 F #3147: Ceph - move to trash instead delete (#3341) 2019-09-26 15:57:12 +02:00
Christian González
bf43ae24de F #3380: Add XSD files for HM messages and (#3765) 2019-09-24 14:53:38 +02:00
Christian González
99985337e6 M #-: Minor changes (#3762) 2019-09-24 09:47:07 +02:00
Alejandro Huertas Herrero
308d203f48 F #3380: fix minor bugs (#3757)
* Fix bug in cli helper base64? funcion
* Change the way to read host idi in host_error script
* Change onehook log help message format
2019-09-24 09:44:06 +02:00
Angel Luis Moya Gonzalez
4f13059c21 F #3440: Added route /nsx/auth (#3761)
* F #3440: Get token NSX-V and NSX-T

* F #3440: Added route nsx/auth

Route to acquire a valid NSX token.
Changes on nsx_client constructor have been required
Changes on constructor calls
Returns 200 and token if success
Returns 400 and error message if not success

* F #3440: Change NSXClient constructor call
2019-09-23 17:58:08 +02:00
Jan Orel
f047926969 M #~: Include augeas lens oned.aug (#3741) 2019-09-23 15:20:46 +02:00
Christian González
9c3ec5dc42 F #3380: Add XSD files fo hook and hook pool (#3746) 2019-09-23 15:20:19 +02:00
Alejandro Huertas Herrero
dd7f564553 F #3380: add host error hook template example (#3749) 2019-09-23 15:16:05 +02:00
Tino Vazquez
7b8438dd4a
L #-: Linting vCenter create net hook 2019-09-20 15:05:45 +02:00
Angel Luis Moya Gonzalez
d0498534d8 F #3380: Change vnet locks (#3748) 2019-09-20 12:34:19 +02:00
Tino Vazquez
a4daa6cff4
L #-: Linting new hook log file 2019-09-19 16:28:59 +02:00
Angel Luis Moya Gonzalez
28f07966cf F #3380: Add auto-register vcenter hooks (#3735)
vCenter hooks located at:

 <ONE_LOCATION>/remotes/hooks/vcenter/templates

are registered automatically when import a vcenter cluster
with the command "onevcenter"
2019-09-19 15:36:19 +02:00
Alejandro Huertas Herrero
276476b71d M #-: change ds encrypted by datastore (#3726) 2019-09-19 11:30:03 +02:00
Alejandro Huertas Herrero
5f660a2c6b F #3380: adapt DDC to new hook system (#3727) 2019-09-19 11:28:36 +02:00
Vlastimil Holer
4b4edb6460 B #3183: Service restart window (#3723)
Lower restart window from 300 to 60 seconds for existing services
opennebula and openenbula-scheduler, set same restart mechanism
to the rest of services.
2019-09-18 10:05:16 +02:00
Angel Luis Moya Gonzalez
d45bd83b7c F #3380: Changes hook parameters (#3721)
Change the way of get parameters due to new hooks system
2019-09-17 17:22:00 +02:00
Alejandro Huertas Herrero
12928399d5 F #3064: add datasores clusters encrypted attrs (#3722) 2019-09-17 16:18:54 +02:00
Alejandro Huertas Herrero
c9b609cc40 F #3064: adapt DDC to new secrets handling (#3716) 2019-09-17 15:29:01 +02:00
Vlastimil Holer
29b98e235a F #779: Build Optimizations (#3707) 2019-09-16 23:13:25 +02:00
Alejandro Huertas Herrero
efb41f8552 F #3380: add zeromq devel package to install gems (#3712)
* Add zeromq devel package to install gems
* Error cond. checks in install_gems
2019-09-16 18:07:48 +02:00
Alejandro Huertas
e997d2b2b3
F #3064: encrypt address range template
The address range template in address range pool is encrypted
2019-09-13 11:35:53 +02:00
Alejandro Huertas
1061d4a02d L #3683: code linting 2019-09-13 09:34:00 +02:00
Tino Vazquez
9e67ae678d
L #-: Linting to make rubocop smile again 2019-09-12 16:56:54 +02:00
Ruben S. Montero
3c2df22ad7
F #3064: separate encrypted attrs by objects
* There are encrypted attributes for VMs, Hosts and VNets
    * For VMs the user template is also encrypted
    * For VNets its address ranges attributes are also encrypted

Co-authored-by: Alejandro Huertas <ahuertas@opennebula.systems>
2019-09-12 16:25:23 +02:00
Ruben S. Montero
acff31e240
M #-: Make one start/stop script more quiet 2019-09-10 18:18:02 +02:00
Ruben S. Montero
a0c9717a83
M #-: Update one start script help message 2019-09-10 10:55:11 +02:00
Ruben S. Montero
712230da5c
M #-: Add missing call to start hem in one script 2019-09-10 10:49:24 +02:00
Christian González
af1ec56a16
F #3380: Retry hem execution. Better hook management start process
(cherry picked from commit cb6ecaa8bebf4c8e2323ac35a5ff601f29b97c37)
(cherry picked from commit b8351898fc212065dc1abff14be531db5442cd82)
2019-09-09 16:59:51 +02:00