Commit Graph
97 Commits
Author SHA1 Message Date
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
Petr OspalýandVlastimil Holer 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
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ýandVlastimil Holer 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ýandVlastimil Holer 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 HolerandJan Orel 4c77119fce M #-: Restrict sudo ip usage (#4689)
Co-authored-by: Jan Orel <jorel@opennebula.systems>
2020-05-11 19:03:23 +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
Vlastimil HolerandPetr Ospalý 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
Vlastimil Holer f6aeb26936 M #-: Independent LXD sudoers (#4576) 2020-04-21 18:03:44 +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
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
Jan Orel 1b90cb10f3 B #-: Switch to KillMode=mixed (#4486) 2020-04-08 10:46:12 +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
Christian González 544c1ecfcd F #4089: Firecracker node packages (#4412) 2020-03-27 11:18:18 +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 8b7e661327 B #3046: Enable HA HEM server control and IP cmd (#3816) 2019-10-07 10:02:08 +02:00
Vlastimil Holer cf0d1465df B #3046: Review sudoers (#3786) 2019-09-30 15:15:42 +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
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
Ruben S. MonteroandChristian González 6143dd95ce F #3380: New Hook system. Drivers, oned and command line tool
Co-authored-by: Christian González <cgonzalez@opennebula.systems>
2019-09-09 14:47:42 +02:00
Jan Orel 2373c255b4 F #3613: Replace brctl by iproute2 (#3646) 2019-09-04 13:31:39 +02:00
Vlastimil Holer 8ee034065a F #2531: Add platform sudoers, drop invalid RUBY_LIB_LOCATION (#2731) 2018-12-17 15:23:19 +01:00
kazh000 d4558b94c2 Driver fs_lvm. method resize has been implemented (#1917)
* Driver fs_lvm. method resize has been implemented

* Year bump, update sudo_commands.rb with lvextend
2018-06-20 11:15:05 +02:00
Vlastimil Holer 99536208e5 B #2009: Systemd service too aggressive with restart on failure (#2011) 2018-04-23 18:39:51 +02:00
Vlastimil Holer 9bd8acc524 F #1737: Improve systemd support (#1772) 2018-02-21 17:06:20 +01:00
Vlastimil Holer 387d3b0b07 B #1733: Add OneFlow service wait loop for the secrets (#1740)
(cherry picked from commit 53136e9b4b)
2018-02-13 17:25:33 +01:00
Vlastimil Holer 8caef8d6c1 B #1733: Make vip.sh less error prone (#1734)
(cherry picked from commit dd0763209f)
2018-02-12 16:35:53 +01:00
Vlastimil Holer 639c866798 B #5530: Remove unnecessary commands from sudoers (#559) 2017-11-02 15:13:15 +01:00
rpmzandwijk 5fd66eff8f Update opennebula.service
Typo: forground --> foreground
2017-09-11 15:50:49 +02:00
rpmzandwijk b10b4171bb Update one.service
Typo: forground --> foreground
2017-09-11 15:50:26 +02:00
Vlastimil Holer 9be1a1a706 Send both gratuitous ARP request and reply on VIP change. (#426)
* Send both gratuitous ARP request and reply on VIP change.

* Enable arping in sudoers

* Run arping via sudo
2017-09-04 12:13:16 +02:00
Jaime Melis 3224a504e4 F #4809: Cleanup VIP if oned dies 2017-06-22 17:47:42 -04:00
Vlastimil Holer 1f00586c65 B #5192: Cleanup oned lockfile on systemd service stop/fail (#340) 2017-06-16 18:01:02 +02:00
Vlastimil Holer dc0edf386c Add OpenNebula systemd service dependency on MySQL 2017-04-27 17:19:52 +02:00
Javi Fontan 29163c70f0 Add ip6tables to Debian 8 sudoers file 2017-02-27 18:56:25 +01:00
Vlastimil Holer ca1a4ec320 B #4994: Ignore logrotate exit status on opennebula(-sunstone) start (#186) 2017-02-10 10:32:51 +01:00
Roy Keene 599e32a44d F #4159 Ported securitygroup6 patch
(cherry picked from commit 43605bedbf)
2016-12-29 12:58:13 +01:00
Jaime Melis 406695f8a0 B #4870: missing sudo perms for mkswap
Patch submitted by Jan "Yenya" Kasprzak
2016-10-14 16:33:47 +02:00
Jaime Melis 380403599b Adds status to the ubuntu 14.04 flow and gate init.d scripts
(cherry picked from commit 41a599d032)
2016-07-21 16:12:58 +02:00
Javi Fontan 0b91e9382b bug #4365: fix path in logrotate call 2016-05-20 19:12:38 +02:00
Javi Fontan 50fb192eea bug #4365: rotate logs on oned or sunstone start
Sent by: Bill Cole
2016-05-20 12:34:19 +02:00
Jaime Melis 16c969cc70 Feature #4110: lvrename is not necessary any more 2016-05-10 15:03:09 +02:00
Javi Fontan 6383bfc299 Add debian systemd start scripts 2016-05-05 17:02:36 +02:00
Javi Fontan 563b42cb32 Add ubuntu systemd start scripts
Copy of CentOS 7 until they deviate
2016-05-05 10:19:26 +02:00
Javi Fontan 0b091e8584 feature #4110: use lvscan instead of lvs
In Ubuntu lvs does not update device files
2016-04-05 16:55:49 +00:00
Javi Fontan bf1d9e24a0 Merge branch 'master' of https://github.com/apocas/one into feature-4110 2016-04-05 16:08:41 +00:00
Boris Parak 0064f572b8 Fixed restart-sched in opennebula init script
Fixing wrong use of `do_start` in restart-sched routine.

(cherry picked from commit 820d562f53)
2016-02-23 11:08:59 +01:00
Javi Fontan ba28277d05 Revert "bug #3374: fix status result for Debian and Ubuntu"
This reverts commit 7724a1c883.

Breaks service startup
2015-11-18 11:46:52 +01:00