1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

17232 Commits

Author SHA1 Message Date
Vlastimil Holer
513b5b911d
B #4929: Preserve site_ruby in paths, use realpath (#33)
(cherry picked from commit 7872274c9b7ab40d3fd3a1fd5622387e7031dd2c)
2020-06-22 15:19:42 +02:00
Alejandro Huertas Herrero
95733d5248
M #-: fix minor bug in sched actions (#30)
(cherry picked from commit e81dc817f6a82a9febd6fbbf1c4c1e32a0f7df3e)
2020-06-22 13:10:20 +02:00
Sergio Betanzos
b7ccbf5994
M #~: Fix css storage datatable styles (#31)
(cherry picked from commit 8c30db905faed0635321b863ad7bb4fc10097b50)
2020-06-19 14:33:49 +02:00
Tino Vazquez
7357706efe
F #4302: Close vCenter connection
to avoid running our of sockets
2020-06-19 14:11:48 +02:00
Petr Ospalý
d20bb6b1d2
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>
(cherry picked from commit 2c36183a21276a852fd8e42a632c6846aa87f469)
2020-06-18 18:21:10 +02:00
Sergio Betanzos
dae313de18
M #~: Change storage tab view on templates form (#28)
(cherry picked from commit 119c144f87df64abb880ccacded409f7b501b5fa)
2020-06-18 16:17:51 +02:00
Alejandro Huertas Herrero
ffc71dff9e
M #-: minor fix in onedb (#26)
(cherry picked from commit 443b26c4e24d6ec7ec38720530ceea4153e8af1b)
2020-06-18 13:58:52 +02:00
Alejandro Huertas Herrero
51d9062c9e
M #-: add extra check when no body in service (#27)
(cherry picked from commit 75cb2918d9cb749b75198b0b53d2ce48f80e377a)
2020-06-18 13:58:39 +02:00
Alejandro Huertas Herrero
f5abfb7962
B OpenNebula/one#796: show error message (#24)
(cherry picked from commit a0e382fdca3e29cfcb736ec4c8f2c856a0e193f8)
2020-06-18 13:56:55 +02:00
Alejandro Huertas Herrero
ad9a698681
B OpenNebula/one#810: add append opt to update AR (#22)
- Add option to append attributes to the AR
- Add option to read from file and append or replace it
- Code small polishments

(cherry picked from commit 3f31b7f5c6d4f39c6929411e1daf8216325adbe1)
2020-06-18 13:55:27 +02:00
Alejandro Huertas Herrero
9ff02bac52
F OpenNebula/one#2703: show full obj ref (#21)
(cherry picked from commit 9abaa5a325a6a45d8519d66465dbb9aeb205a108)
2020-06-18 13:53:22 +02:00
Alejandro Huertas Herrero
b6c4691696
B OpenNebula/one#668: support POSIX timestamp (#20)
(cherry picked from commit fa68f685a9d9a429e6721d55347e7f54502a4a2a)
2020-06-18 13:51:57 +02:00
Alejandro Huertas Herrero
4adb8c71fd
F OpenNebula/one#4205: add support for failover combinations (#19)
- add configurable sleep
- change arguments to be more flexible

(cherry picked from commit 019fe957372527e073009eaacf67b7d722e53791)
2020-06-18 13:25:49 +02:00
Jan Orel
2993873d04
M #-: Avoid killing other local monitord clients (#25)
(cherry picked from commit ed8b4a2d18d31d747e19a8038f52d22bb117eabd)
2020-06-18 13:23:07 +02:00
Jan Orel
dfaa63343a
M #-: Install configs also to /usr/share/one/conf (#13)
(cherry picked from commit 2573eab515fd8c48b232df3498c7dbc1e86196f4)
2020-06-18 13:20:25 +02:00
Christian González
5986add497
M #: Fix CLI mem units (#17)
(cherry picked from commit e4f3649f3d6fed3a92f9d1bb7bd8c5664d07b61d)
2020-06-18 13:08:27 +02:00
Ruben S. Montero
5b87d5747b
F #4926: Improve microVM deploy driver checks.
Includes fix to clean script
(cherry picked from commit edc7d7d17ef519fb132a6cf25291f7b9ef0af6b0)

co-authored-by: Christian González <cgonzalez@opennebula.io>
(cherry picked from commit 5d8ec9f7bec624af7cc860c81b0621ed473f89ad)
2020-06-18 13:03:55 +02:00
Jan Orel
46282d8e71
M #-: Fix ec2_driver vms monitoring
Avoid reusing global `vm` var in threads.

(cherry picked from commit f4bac81b8a7e07ed2c40e28de354c06cb0f44a58)
2020-06-17 16:36:28 +02:00
Frederick Borges
c4d65dcd2f
F #1417: Show one IP in dropdown (#18)
Signed-off-by: Frederick Borges <fborges@opennebula.io>
(cherry picked from commit 52b314a73f360d490eb12d84c8ffe98c9ed415ae)
2020-06-17 15:46:30 +02:00
Alejandro Huertas
4e25145e9b
F OpenNebula/one#4552: VM Charters CLI support
(cherry picked from commit f84f7522a8cda2b8f7e9e2396084e8d6c29d37d4)
2020-06-16 18:10:53 +02:00
Sergio Betanzos
f35f4ea523
M #~: Change remote icons size
(cherry picked from commit e0a2c0aa10eb80c8017b4ad5bc525cf9d9d83198)
2020-06-16 16:41:41 +02:00
Vlastimil Holer
33c36462e2
M #-: Bump version to 5.12.1 2020-06-15 19:42:25 +02:00
Tino Vázquez
94c3b8dfae
M #~: fix default unit 2020-06-15 11:18:02 +02:00
Jorge Lobo
ad2c17f476 M #~: fix default unit
Signed-off-by: Jorge Lobo <jlobo@opennebula.io>
2020-06-14 23:06:18 +02:00
Tino Vázquez
bb6265ba88
M #-: Bump provision repository to 5.12 2020-06-14 15:36:24 +02:00
Ruben S. Montero
09532d590f
M #-: Do not exit vcenter_monitor 2020-06-13 19:35:19 +02:00
Tino Vazquez
62790f110f
F #4302: Treat exception in conect_vcenter 2020-06-13 19:16:14 +02:00
Tino Vazquez
19e8c7c746
F #4302: Fix for CPU consumption vcenter monitor 2020-06-12 13:48:59 +02:00
Tino Vazquez
8ed76b1f3c
M #-: Fix typo 2020-06-12 13:07:18 +02:00
Pierre Lafievre
6e903c4b2f
B #4921: GOCA - 0 is a valid entity ID (#4923)
Signed-off-by: Pierre Lafievre <pierre.lafievre@iguanesolutions.com>
2020-06-12 11:40:10 +02:00
Ruben S. Montero
080ecd72a2
Merge remote-tracking branch 'community/master' 2020-06-12 11:17:31 +02:00
Jorge Lobo
1e909b161f
B #4907: alert for empty args
Signed-off-by: Jorge Lobo <jlobo@opennebula.io>
2020-06-12 11:16:32 +02:00
Alejandro Huertas Herrero
372c06fc46
M #-: minor fixes in CLI (#6) 2020-06-12 11:16:32 +02:00
Tino Vazquez
12f818e831
F #4302: Rescue exceptions in vcenter IM
Specifically, in the IM monitor control loop
2020-06-12 11:16:32 +02:00
Christian González
b09ade128b
M #: minor flow-server fix 2020-06-12 11:16:32 +02:00
Jan Orel
dbadd68833
M #-: fallback to python3 (#3) 2020-06-12 11:16:32 +02:00
Jorge Lobo
b834fd62d1
M #~: lost var user-inputs
Signed-off-by: Jorge Lobo <jlobo@opennebula.io>
2020-06-12 11:16:31 +02:00
Ruben S. Montero
2c897d269f
Merge remote-tracking branch 'community/master' 2020-06-12 11:15:20 +02:00
Pierre Lafievre
318917504b
B-4921: GOCA -small fixes on VM disk snapshot methods (#4922)
Signed-off-by: Pierre Lafievre <pierre.lafievre@iguanesolutions.com>
2020-06-12 11:09:43 +02:00
Tino Vázquez
11fb054003
B #4907: alert for empty args 2020-06-12 10:58:54 +02:00
Alejandro Huertas Herrero
5041f9e76b
M #-: minor fixes in CLI (#6) 2020-06-12 10:55:30 +02:00
Jorge Lobo
1516458bf3 B #4907: alert for empty args
Signed-off-by: Jorge Lobo <jlobo@opennebula.io>
2020-06-12 10:55:11 +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
Tino Vázquez
9bd7cdc079
M #: minor flow-server fix 2020-06-11 17:54:19 +02:00
Christian González
4646e98f10
M #: minor flow-server fix 2020-06-11 17:48:52 +02:00
Jan Orel
f39ff7f095
M #-: fallback to python3 (#3) 2020-06-11 16:11:12 +02:00
Tino Vázquez
b42717ee65
M #-: Lost var user inputs 2020-06-11 15:52:49 +02:00
Ruben S. Montero
4b7f47c7e2
M #-: Check vcenter_monitor status & restart 2020-06-11 15:34:26 +02:00
Jorge Lobo
1aaadbfbb4 M #~: lost var user-inputs
Signed-off-by: Jorge Lobo <jlobo@opennebula.io>
2020-06-11 13:40:20 +02:00