1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-22 13:33:52 +03:00
Commit Graph

1574 Commits

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