Commit Graph
17276 Commits
Author SHA1 Message Date
Jan Orel 75b95189df M #-: Remove old/duplicate bash compl. file (#96)
(cherry picked from commit c92c8a8bb1)
2020-07-17 14:51:30 +02:00
Petr Ospalý 0960e83ff3 B #4964: Fail fast when error (#84)
Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
(cherry picked from commit 4535528aa8)
2020-07-17 12:20:34 +02:00
Alejandro Huertas Herrero 92237ed08c B #4982: return error in case info fails (#100)
(cherry picked from commit 4afb89c18c)
2020-07-17 12:13:10 +02:00
Christian González ee7cce8922 M #: update vm.xsd with vcenter monitoring info (#102)
(cherry picked from commit 0c7b053162)
2020-07-17 12:11:55 +02:00
Daniel Clavijo CocaandDaniel Clavijo Coca 6b2edbd4ce Fix LXD marketplace auto-contextualization (#99)
Co-authored-by: Daniel Clavijo Coca <dclavijo@opennebula.io>
2020-07-15 20:00:29 +02:00
Daniel Clavijo CocaandDaniel Clavijo Coca a40e394d04 B #4977: Generate e (#98)
Co-authored-by: Daniel Clavijo Coca <dclavijo@opennebula.io>
2020-07-15 19:45:29 +02:00
Christian González 016876407d B #: fix image str_to_disk_type method (#97)
(cherry picked from commit 3cec98a11f)
2020-07-15 16:47:37 +02:00
Alejandro Huertas Herrero d7ded2d9a1 M #-: fix minor bug in CLI (#94)
(cherry picked from commit eac7e1efb8)
2020-07-15 11:23:12 +02:00
Jorge Miguel Lobo Escalona fe81b5544f B#4975: Fix for memory resize bug (#93)
* resize memory GB
* fill input memory

Signed-off-by: Jorge Lobo <jlobo@opennebula.io>
(cherry picked from commit 86c5775b97)
2020-07-14 19:10:35 +02:00
Ruben S. Montero a84237a1dd B #4979: Remove OPENNEBULA_MANAGED in vm template clone (recursive) 2020-07-14 17:38:26 +02:00
Jorge Miguel Lobo Escalona ab2000f5c2 M #~: fix vm_template_content undefined (#88)
Signed-off-by: Jorge Lobo <jlobo@opennebula.io>
(cherry picked from commit c2ab2e12d2)
2020-07-14 17:35:38 +02:00
Tino Vazquez b6228d90c5 B #4978: Request all VMs with oneadmin USE access
not just the ones owned by oneadmin

(cherry picked from commit e8b8afd804)
2020-07-14 16:49:56 +02:00
Jan Orel 76ce0564c1 M #-: Add --subtree to xpath.rb (#41)
(cherry picked from commit b9092758e2)
2020-07-14 11:41:52 +02:00
Ruben S. Montero b72b19a89f M #-: Initialize var in parser 2020-07-10 13:16:12 +02:00
Vlastimil Holer d1aa94424a M #-: Bump version to 5.12.2 (#86) 2020-07-08 17:01:52 +02:00
Sergio Betanzos 956b6a72b5 M #~: Change text on create image form (#83)
(cherry picked from commit d5d3dca441)
2020-07-07 17:47:52 +02:00
Sergio Betanzos e50d719fe0 B #~: Fix remote buttons styles in vms table (#82)
(cherry picked from commit e46241c62d)
release-5.12.1
2020-07-07 11:49:42 +02:00
Ruben S. Montero 6c54a9788e M #-: Typo
(cherry picked from commit 64350807c4)
2020-07-06 18:20:22 +02:00
Sergio Betanzos ac95aa5789 B #~: Fix title in instantiate vm form (#80)
(cherry picked from commit be46721278)
2020-07-06 16:50:24 +02:00
Alejandro Huertas Herrero 0fa7eeefb8 F #607: add autocomplete on tab feature (#50)
Co-authored-by: Vlastimil Holer <vholer@opennebula.io>
(cherry picked from commit 200721cb8a)
2020-07-06 15:55:36 +02:00
Tino Vazquez 7f64cfac8f B #4965: Reuse existing vCenter connection
to test connectivity

(cherry picked from commit e4eaeb83d0)
2020-07-06 12:21:27 +02:00
Jan Orel 3dde5d1ea9 F #4924: LDAP auth - capture user part (#78) 2020-07-06 11:19:28 +02:00
Jan Orel ed36cf6f5d F #4924: user regex for LDAP auth (#71) 2020-07-02 18:53:43 +02:00
Carlos J. Herrera b531366cde B #~: fix bug in vcenter ds cp (#68)
Signed-off-by: Carlos Herrera <cherrera@opennebula.io>
(cherry picked from commit 5da51a057d)
2020-07-02 16:15:16 +02:00
Christian González 22d8747385 B #: Fix minor bug (#58)
(cherry picked from commit 4572c53126)
2020-06-29 15:14:53 +02:00
Alejandro Huertas Herrero 4893380a1d F #4943: alphabetical order cmds, opts and format (#42)
(cherry picked from commit 32d8b9b14c)
2020-06-26 14:13:18 +02:00
Christian González 7dccc49498 F #4952: Create /sbin/init if not exists (#55)
(cherry picked from commit a1e8cc6e5b)
2020-06-26 10:46:53 +02:00
Tino Vazquez 8d5db043a2 M #-: Skip wild vm monitoring
(cherry picked from commit c8bd7a56ac624cb8a8f43e7ad5cb44b20f9454a8)
2020-06-25 19:54:30 +02:00
Jan Orel 3d1f463f5d M #3460: Better detect same location (#56)
(cherry picked from commit 5364282939)
2020-06-25 17:51:33 +02:00
Jan Orel a1974348b9 F #4229 Introduce config.xsd (#53)
* F #4229 Introduce config.xsd

* M #~: Minor fixes in xsd files

(cherry picked from commit 5b5948f731)
2020-06-25 17:45:31 +02:00
Ruben S. Montero 7c52db595a B #4954: Do not skip VM state updates
(cherry picked from commit 108cadcbb0)
2020-06-25 17:40:36 +02:00
Christian González 7d7478b7f7 F #4944: Include context packages in OpenNebula distribution
* download context pkgs with scons
* update gitignore info
* update docker_downloader.sh

(cherry picked from commit be6d4d916c)
2020-06-25 11:26:44 +02:00
Frederick Borges c4228eefcc B #4951: Fix Dashboard running VM quota (#52)
Signed-off-by: Frederick Borges <fborges@opennebula.io>
(cherry picked from commit 43870e7488)
2020-06-25 10:32:53 +02:00
Alejandro Huertas Herrero e2434ca9b2 M #-: restore database in case no migrators (#45)
(cherry picked from commit a74be9abb8)
2020-06-24 18:15:42 +02:00
Alejandro Huertas Herrero caa7301e7f M #-: remove extra white space in version (#43)
(cherry picked from commit 890a849be9)
2020-06-24 17:47:52 +02:00
Frederick Borges 9d284384ec B #4928: Error message disk resize vcenter with snapshot (#49)
Signed-off-by: Frederick Borges <fborges@opennebula.io>
(cherry picked from commit 56a868cf81)
2020-06-24 17:32:23 +02:00
Jan Orel 322b67782a F #3460: Better detect same location (#36)
(cherry picked from commit 3681055a5d)
2020-06-24 16:38:57 +02:00
Frederick Borges 589ba39d91 B #4946: Custom Attributes on VM instantiate (#46)
Signed-off-by: Frederick Borges <fborges@opennebula.io>
(cherry picked from commit bfd78f1646)
2020-06-24 15:38:49 +02:00
Sergio Betanzos 28874c5b1e B #4948: Fix condition to show remote buttons (#40)
(cherry picked from commit c1a957a98f)
2020-06-24 10:57:12 +02:00
Sergio Betanzos c0d662d5fd B #4948: Fix remote buttons after state switches (#39)
(cherry picked from commit ab84b4526f)
2020-06-23 18:55:23 +02:00
Frederick Borges 9966eaa445 B #4031: Sort by used CPU and Memory (#37)
Signed-off-by: Frederick Borges <fborges@opennebula.io>
(cherry picked from commit 8302e91b18)
2020-06-23 11:50:52 +02:00
Alejandro Huertas Herrero b29a36df04 M #-: add edition to MP user agent (#35)
(cherry picked from commit 0151ed3451)
2020-06-22 18:14:20 +02:00
Alejandro Huertas Herrero b73f063bc9 M #-: error message if db upgrade wasn't successful (#34)
(cherry picked from commit 42c8c513e9)
2020-06-22 18:10:42 +02:00
Vlastimil Holer 924dc5543a B #4939: Schedule ssh-socks-cleaner by OnCalendar (#32)
(cherry picked from commit 7a837b081f)
2020-06-22 15:22:41 +02:00
Vlastimil Holer 513b5b911d B #4929: Preserve site_ruby in paths, use realpath (#33)
(cherry picked from commit 7872274c9b)
2020-06-22 15:19:42 +02:00
Alejandro Huertas Herrero 95733d5248 M #-: fix minor bug in sched actions (#30)
(cherry picked from commit e81dc817f6)
2020-06-22 13:10:20 +02:00
Sergio Betanzos b7ccbf5994 M #~: Fix css storage datatable styles (#31)
(cherry picked from commit 8c30db905f)
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 2c36183a21)
2020-06-18 18:21:10 +02:00
Sergio Betanzos dae313de18 M #~: Change storage tab view on templates form (#28)
(cherry picked from commit 119c144f87)
2020-06-18 16:17:51 +02:00