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
Tino Vazquez
c53b1018b9
M #-: Add Travis test for conf branch protection
...
OpenNebula maintenance and hotfix revisions do not allow for any
change in their configuration files with respect to their
previous version.
In a minor branch (one-XX), the new 01-conf_branch_protect.sh script
will warn about configuration changes.
2019-05-24 11:54:48 +02:00
Jorge Lobo
beb85ef212
F #2346 : upgrade no-vnc ( #3353 )
...
* F #2346 : upgrade no-vnc
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
(cherry picked from commit 0da407fd10267c4b9d2a4def62f673d8dadd492e)
2019-05-23 17:27:38 +02:00
Jorge Lobo
7bb7a19151
B #3280 : check import vcenter cluster ( #3365 )
...
* B #3280 : check import vCenter cluster
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
* B #3280 : check import vCenter cluster
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
* B #3365 : Changing function order for readibility
(cherry picked from commit e85bd07297eec0aacd37940fe9e098251be68f9d)
2019-05-23 12:24:35 +02:00
Alejandro Huertas Herrero
35eaf4bb7f
B #3357 : fix alias_id consecutive generation
2019-05-23 11:39:40 +02:00
Tino Vazquez
2bf20ac166
B #3335 : Add default zone endpoint
...
This is a new user templatate attribute that is understood by Sunstone,
users with this setting will be logged in automatically in their
default zone (if no session is available)
2019-05-21 11:18:49 +02:00
Ruben S. Montero
6e70d45b68
L #-: Use brackets for symbol arrays
2019-05-21 10:49:05 +02:00
Ruben S. Montero
7f4a63d2ec
L #-: Lint onevm_exec.rb & reduce duplicated code
...
(cherry picked from commit 87697ae528ee5b3e893e36937bbc3363754982ac)
2019-05-21 10:49:05 +02:00
sergiojvg
4c323c7e35
F #3337 : Configure retries from vcenterrc ( #3350 )
...
* F #3337 : Configure retries from vcenterrc
* F #3337 : Add retry_interval variable
2019-05-20 18:42:59 +02:00
sergiojvg
73e16b9acc
F #3337 : Retry if failure during shutdown ( #3338 )
...
* F #3337 : Retry if failure during shutdown
* F #3337 : Configurable number of retries
* F #3337 : Extend to deploy and cancel
* F #3337 : Use retry_interval variable
* Update shutdown
2019-05-20 18:38:46 +02:00
Tino Vazquez
ddb2d892c2
B #3280 : Revert original cluster create semantics
2019-05-20 18:26:01 +02:00
Tino Vazquez
14633d9515
B #3280 : Refactor vCenter CLI host import
...
(cherry picked from commit 78bd769356e44d0a17e6a71a7ee041bc9cf5e033)
2019-05-20 15:06:09 +02:00
Daniel Clavijo Coca
6272fb2143
F #3222 : return ec pool usage if used ( #3333 )
...
(cherry picked from commit f07da23bcec75f3fa35f8883c85c07397ffd68ac)
2019-05-20 11:44:00 +02:00
sergiojvg
e178b5caba
B #3331 : Support token behind proxy ( #3332 )
2019-05-17 18:21:10 +02:00
jmdelafe
112234cd67
B #3281 : Import Wild VM in vCenter defaults to host 0 ( #3339 )
2019-05-17 17:55:46 +02:00
jmdelafe
aa0eae8eda
B #3280 : Check clusters ( #3317 )
...
* fix bug-3280
* B #3280 : Import vCenter cluster as host needs to check existing OpenNebula clusters
* B #3280 : Import vCenter cluster as host needs to check existing OpenNebula clusters
* fix bug-3280
Signed-off-by: jmdelafe <13242860+jmdelafe@users.noreply.github.com>
* B #3280 : Import vCenter cluster as host needs to check existing OpenNebula clusters
Signed-off-by: jmdelafe <13242860+jmdelafe@users.noreply.github.com>
* B #3280 : Import vCenter cluster as host needs to check existing OpenNebula clusters
Signed-off-by: jmdelafe <13242860+jmdelafe@users.noreply.github.com>
2019-05-14 17:47:49 +02:00
Tino Vazquez
17f3c37955
L #-: Disable new 0.69.0 default rububocop cops
...
(cherry picked from commit 091c49b55841dd2d27d550f67c980a2184c4f006)
2019-05-14 12:22:03 +02:00
sergiojvg
d93615811b
B #3326 : Do not set mac when importing template ( #3327 )
2019-05-11 21:47:45 +02:00
sergiojvg
59b7a1beb0
Feature 2335 ( #3313 )
...
* F #3112 : Bugs fixed
* F #2335 : Implement clear and clear_all methods
2019-05-10 11:08:12 +02:00
Christian González
983c154d7a
M #-: Fix vnet name check on create ( #3323 )
2019-05-10 09:43:33 +02:00
sergiojvg
0e7457bfae
B #3320 : Get ip when multiple ARs ( #3321 )
2019-05-09 12:33:58 +02:00
Daniel
2e13e8eb53
B #3305 : OpenvSwitch “del_flows” traceback ( #3304 )
...
The “del_flows” override the loop variable “m” when matching the port,
on the second loop which result in the following error.
/var/tmp/one/vnm/ovswitch/OpenvSwitch.rb:287:in `match': wrong
argument type MatchData (expected Regexp) (TypeError)
* src/vnm_mad/remotes/ovswitch/OpenvSwitch.rb: use a different variable
name when matching the port than the loop iterator.
Signed-off-by: Daniel Dehennin <daniel.dehennin@ac-dijon.fr>
2019-05-09 11:25:51 +02:00
sergiojvg
c129976625
F #3112 : Bug fixed ( #3318 )
2019-05-08 18:59:39 +02:00
Jorge Lobo
2a5f009fb9
B #3101 multiple entries for a VF nic ( #3310 )
...
* B #3101 multiple entries for a VF nic
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
* B #3101 : multiple entries for VF nic
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
* B #3101 : multiple entries for VF nic
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
* B #3101 : multiple entries for VF nic
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
(cherry picked from commit dc4e6303386bec322ce63b8bcebf0bd9d1bd6b42)
2019-05-08 15:25:09 +02:00
Daniel Clavijo Coca
103a323952
M #-: Fix LXD shutdown timeout ( #3314 )
...
(cherry picked from commit efc232d2bb9d0de594e9be8023c228be473c2896)
2019-05-08 12:05:16 +02:00
sergiojvg
46e0adb5cd
F #3112 : Bugs fixed ( #3312 )
2019-05-08 11:41:02 +02:00
Alejandro Huertas Herrero
27e0a16a25
F #688 : add new options to CLI ( #3311 )
...
* Add options to:
* Remove header
* Choose CSV separator
* Not strip columns
* Expand column size
* Disable expand
* Set column size
* Add new operators to filter data
* Change default configuration files sizes
* Lint and clean the code
2019-05-07 17:23:15 +02:00
Vlastimil Holer
5a81924d84
B #3229 : Retry onehost sync on IOError ( #3309 )
...
(cherry picked from commit 4a0b133cd23dbe4c2c3a764030c910a10563bcec)
2019-05-07 14:48:12 +02:00