Commit Graph
15940 Commits
Author SHA1 Message Date
Tino Vazquez d2076f1bce B #3430: Do not return tainted key reference
If the element to be retrieved from the vCenter cache does not
have a reference, return nil, and not a tainted vCenter uuid reference

(cherry picked from commit 47675567a2)
release-5.8.3
2019-06-18 17:24:47 +02:00
Jorge Lobo 22ae31375b B #3335: Add select default zone endpoint (#3437)
* B #3335: add select change default zone endpoint

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>

* Update info-common.js
2019-06-18 12:25:08 +02:00
Tino Vazquez f374fc6145 B #3335: Connect to the correct oned in federation
Sunstone needs to connect to the local zone and to the active zone
in order to check whether the VNC icon should be displayed or not
2019-06-18 12:19:40 +02:00
Jorge Lobo 610b7ae723 Bug 3428 (#3429)
* B #3428: fix bug lost icons VNC in federation

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>

* B #3428: fix bug lost icons VNC in federation

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>

* B #3428: fix bug lost icons VNC in federation

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
(cherry picked from commit e92280d8bc)
2019-06-14 18:09:58 +02:00
Christian González 77883d94c5 M #-: Fix HA replication bug (#3432) 2019-06-14 16:02:34 +02:00
Tino Vazquez cbe4f77150 B #3430: vCenter cache vcenter uuid reference
Until now, objects caching depends on the VCENTER_INSTANCE_ID
attribute being present in the objects XML. This prevents the
correct retrieval if the objects XML is empty. Now the uuid
can be passed explicitly.
2019-06-14 13:28:04 +02:00
Angel Luis Moya Gonzalez 7332bdf20d B #3225: Fix bug with IDE master/slave Cdroms
* M #-: Change require_relative to require

Change require_relative to standard require using
RUBY_LIB_LOCATION

* B #3225: Fix bug with IDE master/slave Cdroms

Change the algorithm to select free IDE device
when a Cdrom is attached.

https://github.com/OpenNebula/one/issues/3225

* M #-: Remove trailing spaces

(cherry picked from commit 7e24c066bd)
2019-06-13 19:06:05 +02:00
Ruben S. Montero 32ccc4501c F #1324: Configure update interval of VM monitor data
(cherry picked from commit 047c32025c)
2019-06-12 19:01:12 +02:00
Alejandro Huertas Herrero 25da330dbd F #3371: refactor and lint host fsck (#3421)
(cherry picked from commit f714459c2a)
2019-06-12 17:28:23 +02:00
Ruben S. Montero 12f5be2d8c F #3393: Reduce number of updates referencing FTS field. Changed REPLACE
operations to UPDATE to improve DB performance

co-authored-by: Christian González <cgonzalez@opennebula.systems>
(cherry picked from commit cbd9aee912)
2019-06-12 17:24:23 +02:00
Daniel Clavijo Coca 03559900ca B #3390: Use LXD REST exec on reconfigure. Update odd hash deletion 2019-06-11 12:00:26 +02:00
Alejandro Huertas Herrero 4dd138dc75 F #3371: refactor and lint history fsck (#3418)
(cherry picked from commit eeee99a7cd)
2019-06-11 11:42:58 +02:00
Alejandro Huertas Herrero f77bc0855c F #3371: refactor and lint user/group fsck (#3414)
(cherry picked from commit fc01c2b480)
2019-06-11 11:09:11 +02:00
Ruben S. MonteroandDaniel Clavijo Coca 4864714dad F #3406: Skip map process of every invalid disk
Co-authored-by: Daniel Clavijo Coca <dclavijo@opennebula.systems>
2019-06-10 18:44:09 +02:00
Alejandro Huertas Herrero 854b189e90 F #3378: add new column to show fed index (#3412)
(cherry picked from commit 8e15a56dff)
2019-06-10 12:31:45 +02:00
Ruben S. Montero e3ffae390b M #-: Do not log error messages if there are no new records to replicate 2019-06-10 11:50:50 +02:00
Ruben S. Montero cb7de577cd b #3409: Update users & groups quotas only in the zone DB
(cherry picked from commit 079d5d7d21)
2019-06-07 16:58:10 +02:00
Jorge Lobo b7a136f2a2 Bug 3195 remove OPENNEBULA_MANAGED attribute (#3407)
* B #3195: remove OPENNEBULA_MANAGED attribute

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>

* B #3195: remove OPENNEBULA_MANAGED attribute

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
2019-06-06 13:15:42 +02:00
Alejandro Huertas Herrero 29ff8d8608 B #1710: fix bug when parent_id is empty (#3405)
(cherry picked from commit 7dc16bf2ac)
2019-06-05 15:26:20 +02:00
Alejandro Huertas Herrero abdd5d0e8d F #3371: refactor and lint datastore fsck (#3403)
(cherry picked from commit d0f227e399)
2019-06-04 14:46:54 +02:00
Alejandro Huertas Herrero bc0ba8b2da F #3371: refactor and lint cluster fsck (#3400)
(cherry picked from commit 77417daa2e)
2019-06-04 10:15:56 +02:00
Alejandro Huertas Herrero 6c041cfe27 B #1710: network fsck takes reserved networks (#3398)
(cherry picked from commit b16ea97bae)
2019-06-04 10:10:06 +02:00
Jorge Lobo 2af5e7c4eb B #3101: multiple entries conf VM (#3401)
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
(cherry picked from commit 0ca517112d)
2019-06-03 18:10:28 +02:00
Jorge Lobo e329d31e21 B #3101: multiple entries conf VM (#3397)
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
2019-06-03 17:24:01 +02:00
Jorge Lobo 6b184b1c74 B #3057: missing DEPLOY_ID import vcenter (#3395)
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
2019-06-03 15:09:12 +02:00
Steven Armstrong bf73c8a0fe F #3366: allow alternative base for ldap groups (#3379)
Signed-off-by: Steven Armstrong <steven.armstrong@id.ethz.ch>
(cherry picked from commit 339a87475d)
2019-06-03 13:42:02 +02:00
Tino Vazquez 9fa314d410 L #-: Fix extra space after initial block def
In accordance to new default rules in rubocop 0.71.0

(cherry picked from commit 26ed3d5570)
2019-06-03 13:37:48 +02:00
Alejandro Huertas Herrero 8c02dfb256 B #2047: onegate error when trying to poweroff a VM (#3399)
* Add comparation between two integers

(cherry picked from commit 237f32a642)
2019-06-03 13:04:03 +02:00
Tino Vázquez f16539c3db F #3264: Fix wrong var name
(cherry picked from commit 9d44e942ad)
2019-06-03 11:35:30 +02:00
Angel Luis Moya Gonzalez b9d597bdc9 L #3264: Corrections over last linting (#3396)
Change remaining is_cd? calls in virtual_machine.rb and vm_disk.rb
Also changed on vcenter-13-VM_Save_spec.rb and
vcenter-97-Add_New_Disk.rb files

(cherry picked from commit d59d0bf53c)
2019-06-02 02:41:26 +02:00
Tino Vazquez 52998f80b4 L #3264: Linting for refactored vCenter driver
(cherry picked from commit 7466813970)
2019-05-30 18:18:40 +02:00
Alejandro Huertas Herrero 12faf80ed3 F #3263: fix bug in function call comma instead of dot (#3387)
(cherry picked from commit bfee27823b)
2019-05-30 15:55:17 +02:00
Jorge Lobo d38fa4a0ca B #3368: missing datastores import market (#3388)
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
(cherry picked from commit e11fa27d66)
2019-05-30 14:59:11 +02:00
mouyaq af3bc97339 F #3264: Fix deviceKey assignment changed
Changed hash rocket by ":" into boot_dev methods of vm_disk and vm_nic

(cherry picked from commit 3e9313c112)
2019-05-28 17:36:26 +02:00
mouyaq d0b8d3b436 F #3264: fix rubocop warnings
(cherry picked from commit b4f75b56d5)
2019-05-28 17:36:20 +02:00
mouyaq c1945e21ed F #3264: fix after rebase
(cherry picked from commit bcc7fbcdc3)
2019-05-28 17:36:05 +02:00
mouyaq 432cd3c409 F #3264: Added VirtualMachineMonitor
(cherry picked from commit fe7dfd3547)
2019-05-28 17:35:51 +02:00
mouyaq bb8f5fc5e5 F #3264: get out wait_timeout and fixes
(cherry picked from commit d29f4713b0)
2019-05-28 17:35:44 +02:00
mouyaq 461c8602c7 F #3264: get out nic_model_class and state_to_c
(cherry picked from commit 913b203b43)
2019-05-28 17:35:37 +02:00
mouyaq 711baec300 F #3264: Separate classes Nic and Disk
(cherry picked from commit 9c41da393b)
2019-05-28 17:35:27 +02:00
mouyaq a91ccdfaef F #3264: VirtualMachineDevice refactor
(cherry picked from commit 886bd2e258)
2019-05-28 17:35:18 +02:00
mouyaq 13e5db0e32 F #3264: fix rubocop offenses in vmm_importer.rb
(cherry picked from commit 155f41b0ad)
2019-05-28 17:35:12 +02:00
mouyaq 948e39e771 F #3264: fix rubocop offenses
(cherry picked from commit f008971e59)
2019-05-28 17:35:06 +02:00
mouyaq a55e4b7f3a F #3264: VmmImporter refactor
(cherry picked from commit bde691c1e8)
2019-05-28 17:35:00 +02:00
mouyaq 3a1f471d75 F #3264: VirtualMachineFolder refactor
(cherry picked from commit 025734fbe7)
2019-05-28 17:34:53 +02:00
Alejandro Huertas Herrero ef8fe769b0 B #3269: onedb purge-done eat too much RAM (#3376)
* Process done VMs in pages, instead of all together
    * Add new method to iterate over pages
    * Add new CLI paramter to specify pages size

(cherry picked from commit b386ae4444)
2019-05-28 17:29:08 +02:00
Tino Vazquez a16b9a1b39 F #1408: Remove no longer used VCENTER_ attributes
Datastores no longer hold vCenter credentials, but rather they
are pulled from the vCenter host associated.

(cherry picked from commit 2556fb2df9)
2019-05-27 17:45:23 +02:00
Anton Todorov d45f639461 B #3362: count NIC aliases in onedb fsck (#3363)
Signed-off-by: Anton Todorov <a.todorov@storpool.com>
(cherry picked from commit 3f641f6553)
2019-05-27 13:05:49 +02:00
Christian González 4266a4510c M #-: Fix memory leak (#3372)
(cherry picked from commit a82dd15d84)
2019-05-27 12:10:53 +02:00
sergiojvg 699db7d8c2 F #964: Allow FILES_DS for vCenter (#3351)
(cherry picked from commit d00b00a072)
2019-05-24 12:25:41 +02:00