1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-25 06:03:36 +03:00

15968 Commits

Author SHA1 Message Date
Tino Vazquez
995ec0ca7d
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.

(cherry picked from commit cbe4f7715081311bdd63a26596bf28e196d92f51)
2019-06-14 13:31:01 +02:00
Angel Luis Moya Gonzalez
7e24c066bd 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
2019-06-13 19:04:52 +02:00
Ruben S. Montero
431e01c6b3
F #1324: Add confguration option to oned.conf 2019-06-12 18:58:34 +02:00
Ruben S. Montero
047c32025c
F #1324: Configure update interval of VM monitor data 2019-06-12 18:50:49 +02:00
Alejandro Huertas Herrero
f714459c2a F #3371: refactor and lint host fsck (#3421) 2019-06-12 17:23:56 +02:00
Ruben S. Montero
cbd9aee912
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>
2019-06-12 17:20:50 +02:00
Daniel Clavijo Coca
2b73f1a79e
B #3390: Use LXD REST exec on reconfigure. Update odd hash deletion
(cherry picked from commit 03559900ca4a735cf33de84756e9c556d9e97516)
2019-06-11 12:04:10 +02:00
Alejandro Huertas Herrero
eeee99a7cd F #3371: refactor and lint history fsck (#3418) 2019-06-11 11:39:17 +02:00
Alejandro Huertas Herrero
fc01c2b480 F #3371: refactor and lint user/group fsck (#3414) 2019-06-11 11:03:53 +02:00
Ruben S. Montero
0275f1c3f7
F #3406: Skip map process of every invalid disk
Co-authored-by: Daniel Clavijo Coca <dclavijo@opennebula.systems>
(cherry picked from commit 4864714dad989d1e9759141043af6885871586b8)
2019-06-10 18:52:01 +02:00
Alejandro Huertas Herrero
8e15a56dff F #3378: add new column to show fed index (#3412) 2019-06-10 12:27:26 +02:00
Alejandro Huertas Herrero
c165825dbd F #3378: add fed_index column to config file (#3413) 2019-06-10 12:15:33 +02:00
Ruben S. Montero
6bcace061b
M #-: Move fed index check. 2019-06-10 11:41:25 +02:00
Ruben S. Montero
079d5d7d21
b #3409: Update users & groups quotas only in the zone DB 2019-06-07 16:57:01 +02:00
Jorge Lobo
2d5c9fbf15
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>
(cherry picked from commit b7a136f2a278db22db15937b6ac8233b7430eeab)
2019-06-06 13:16:52 +02:00
Alejandro Huertas Herrero
7dc16bf2ac B #1710: fix bug when parent_id is empty (#3405) 2019-06-05 15:21:46 +02:00
Alejandro Huertas Herrero
d0f227e399 F #3371: refactor and lint datastore fsck (#3403) 2019-06-04 14:43:00 +02:00
Alejandro Huertas Herrero
9849631493 F #688: fix bug in CLI top (#3402) 2019-06-04 14:41:37 +02:00
Alejandro Huertas Herrero
77417daa2e F #3371: refactor and lint cluster fsck (#3400) 2019-06-04 10:11:49 +02:00
Alejandro Huertas Herrero
b16ea97bae B #1710: network fsck takes reserved networks (#3398) 2019-06-04 10:06:18 +02:00
Jorge Lobo
0ca517112d B #3101: multiple entries conf VM (#3401)
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
2019-06-03 18:06:12 +02:00
Jorge Lobo
bb22f4debb
B #3101: multiple entries conf VM (#3397)
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
(cherry picked from commit e329d31e21424d304b1e0c1d21b37686c8bee3f3)
2019-06-03 17:24:26 +02:00
Jorge Lobo
096537ef53
B #3057: missing DEPLOY_ID import vcenter (#3395)
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
(cherry picked from commit 6b184b1c74e8fdb1b92d0b02ad45c50783ad843c)
2019-06-03 15:10:24 +02:00
Steven Armstrong
339a87475d F #3366: allow alternative base for ldap groups (#3379)
Signed-off-by: Steven Armstrong <steven.armstrong@id.ethz.ch>
2019-06-03 13:39:51 +02:00
Tino Vazquez
26ed3d5570
L #-: Fix extra space after initial block def
In accordance to new default rules in rubocop 0.71.0
2019-06-03 13:36:24 +02:00
Alejandro Huertas Herrero
237f32a642 B #2047: onegate error when trying to poweroff a VM (#3399)
* Add comparation between two integers
2019-06-03 13:03:15 +02:00
Tino Vázquez
9d44e942ad
F #3264: Fix wrong var name 2019-06-03 11:34:44 +02:00
Angel Luis Moya Gonzalez
d59d0bf53c 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
2019-06-02 02:40:53 +02:00
Tino Vazquez
7466813970
L #3264: Linting for refactored vCenter driver 2019-05-30 18:18:17 +02:00
Alejandro Huertas Herrero
bfee27823b F #3263: fix bug in function call comma instead of dot (#3387) 2019-05-30 15:50:35 +02:00
Jorge Lobo
e11fa27d66 B #3368: missing datastores import market (#3388)
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
2019-05-30 14:36:55 +02:00
Alejandro Huertas Herrero
ed44bca60c F #688: change highline by IO library (#3386) 2019-05-30 12:43:24 +02:00
Tino Vazquez
3597951080
Merge branch 'feature-3264'
Merging feature-3264, refactor of vCenter driver.

Mainly vcenter/virtual_machine.rb
2019-05-28 17:29:53 +02:00
Alejandro Huertas Herrero
b386ae4444 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
2019-05-28 17:13:30 +02:00
mouyaq
3e9313c112
F #3264: Fix deviceKey assignment changed
Changed hash rocket by ":" into boot_dev methods of vm_disk and vm_nic
2019-05-28 14:54:50 +02:00
mouyaq
b4f75b56d5
F #3264: fix rubocop warnings 2019-05-27 18:49:27 +02:00
mouyaq
bcc7fbcdc3
F #3264: fix after rebase 2019-05-27 18:49:26 +02:00
mouyaq
fe7dfd3547
F #3264: Added VirtualMachineMonitor 2019-05-27 18:49:26 +02:00
mouyaq
d29f4713b0
F #3264: get out wait_timeout and fixes 2019-05-27 18:49:25 +02:00
mouyaq
913b203b43
F #3264: get out nic_model_class and state_to_c 2019-05-27 18:49:24 +02:00
mouyaq
9c41da393b
F #3264: Separate classes Nic and Disk 2019-05-27 18:49:24 +02:00
mouyaq
886bd2e258
F #3264: VirtualMachineDevice refactor 2019-05-27 18:49:23 +02:00
mouyaq
155f41b0ad
F #3264: fix rubocop offenses in vmm_importer.rb 2019-05-27 18:44:18 +02:00
mouyaq
f008971e59
F #3264: fix rubocop offenses 2019-05-27 18:44:18 +02:00
mouyaq
bde691c1e8
F #3264: VmmImporter refactor 2019-05-27 18:44:17 +02:00
mouyaq
025734fbe7
F #3264: VirtualMachineFolder refactor 2019-05-27 18:44:16 +02:00
Tino Vazquez
2556fb2df9
F #1408: Remove no longer used VCENTER_ attributes
Datastores no longer hold vCenter credentials, but rather they
are pulled from the vCenter host associated.
2019-05-27 17:43:11 +02:00
Anton Todorov
3f641f6553 B #3362: count NIC aliases in onedb fsck (#3363)
Signed-off-by: Anton Todorov <a.todorov@storpool.com>
2019-05-27 13:00:13 +02:00
Christian González
a82dd15d84 M #-: Fix memory leak (#3372) 2019-05-27 11:54:16 +02:00
sergiojvg
d00b00a072 F #964: Allow FILES_DS for vCenter (#3351) 2019-05-24 12:24:23 +02:00