1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-11 05:17:41 +03:00
Commit Graph

1702 Commits

Author SHA1 Message Date
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