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

1531 Commits

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