Commit Graph
16372 Commits
Author SHA1 Message Date
Angel Luis Moya Gonzalez fa8b060ca9 B #-: Fix fail access to fileName on empty CDs (#3966)
When a template or VM has a CDrom unit without file attached,
an error was raised trying to access to fileName attribute
because that attribute doesn't exist.
2019-11-20 23:07:24 +01:00
Tino Vazquez d4066bfa03 Revert "B #3844: refactoring some functions (#3958)"
This reverts commit e1a6bf51cf

Keeping changes to reboot and reset, unrelated to changes reverted
in virtual_machine.rb
2019-11-20 18:56:07 +01:00
Ruben S. Montero b2a939ea59 M #-: Add databases option to oned backup 2019-11-20 17:20:35 +01:00
Jan Orel f8b70cdf5c B #3957: Quote SRC and DST to prevent split (#3963) 2019-11-20 14:30:28 +01:00
Jan Orel 9323b2ac60 B #3957: Double quote IMG name to prevent split (#3961) 2019-11-20 12:53:07 +01:00
Christian González c626955627 M #: Fix minor bug on hook retry action (#3962) 2019-11-20 12:38:22 +01:00
Tino Vazquez 53644f646e L #-: Minor linting corrections in NSX driver 2019-11-20 11:40:29 +01:00
Ruben S. Montero 85cba737f4 M #-: Minor refactor of exit clause 2019-11-19 23:36:08 +01:00
Ruben S. Montero 2c3f907d6c B #3946: Check database and table encodings. This may break dump -> mysql upgrade (change default encoding) -> restore 2019-11-19 23:21:37 +01:00
Angel Luis Moya Gonzalez 43f159201b B #3440: Fixes and improvements over NSX (#3959) 2019-11-19 17:35:38 +01:00
Carlos J. Herrera e1a6bf51cf B #3844: refactoring some functions (#3958)
Signed-off-by: Carlos J. Herrera Matos <cherrera@opennebula.systems>
2019-11-19 17:25:21 +01:00
Ruben S. Montero 8fb20107e2 B #3946: Optionally forced encoding for oned connections 2019-11-19 16:10:26 +01:00
Ruben S. Montero 5dc8f65a67 B #3946: Set encoding for the db connections (onedb) 2019-11-19 15:58:15 +01:00
Tino Vazquez 03b4312be4 L #-: Lint fixes for vcenter support.rb 2019-11-19 15:56:17 +01:00
Ruben S. Montero 8834d29c67 B #3946: Set encoding for the db connections to that used by the opennebula database 2019-11-19 14:52:12 +01:00
Vlastimil Holer 53255666b7 B #3954: Install_gems fails for mysql2 on Ubuntu (#3956) 2019-11-19 12:44:31 +01:00
Christian González 4abf3c88f4 B #3949: Fix error when attaching a disk to a VM using hybrid mode (#3955) 2019-11-19 12:39:20 +01:00
Tino Vazquez 4dd2b9d0a2 B #3844: Fix unchanged variables
Also, create correct host object for undeployed VMs on shutdown
2019-11-19 11:03:19 +01:00
Tino Vazquez accddef638 B #3844: Refactor to ease bugfix
We need to tag disks from Wild VMs. This refactor eases the code
needed to tag Wild VMs for managed and unmanaged disks

Also, address bug in VM shutdown.
2019-11-18 19:24:41 +01:00
Jorge Lobo 704f944b40 B #3167: Fix upgrade banner (#3950)
Was triggering false positives.
2019-11-18 16:39:43 +01:00
Tino Vazquez 6cd81d32ec M #-: General Exception shouldn't be caught 2019-11-18 16:17:14 +01:00
Vlastimil Holer 1779e1576d B OpenNebula/packages#115: Install_gems need redhat-rpm-config on EL8 (#3947) 2019-11-18 14:38:41 +01:00
Christian González d0a3f4af56 B #3929: fix wrong relative path for remote hooks (#3944) 2019-11-15 11:21:19 +01:00
Jorge Lobo d06a8101a9 M #-: update translations (#3943)
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
2019-11-15 11:18:37 +01:00
Vlastimil Holer a467e1297c M #-: Bump version in Ansible openenbula-repository (#3942) 2019-11-15 10:49:14 +01:00
Christian González 23a698d6e9 B #3936: Fix race condition on migrate (#3937) 2019-11-14 16:52:04 +01:00
Jan Orel d62585174e B #3244: Prevent race condition in ln.ssh (#3935)
Don't evaluate presence of the SRC_SNAP_DIR on hypervisor,
but rather on the frontend to prevent race condition.
2019-11-12 15:00:39 +01:00
Angel Luis Moya Gonzalez d4495e5ec0 F #3440: Fix error on NSX-V creation LS (#3933) 2019-11-12 10:25:16 +01:00
Vlastimil Holer 09adfe97e8 M #-: Bump version to 5.10.0 (#3932) 2019-11-11 18:49:42 +01:00
Angel Luis Moya Gonzalez 03242172e3 F #3440: Refactor Transport Zones and fixes (#3931)
- Refactor Transport Zones
- Fix NSX_STATUS and get transport zones
2019-11-11 18:47:49 +01:00
Ruben S. Montero 4860636a41 M #-: Remove unneeded files, update oned.conf accordingly 2019-11-11 10:46:43 +01:00
Christian González 23a329fe00 M #: Minor fix for docker-machine add-on (#3926) release-5.9.90 2019-11-08 14:13:39 +01:00
Jan Orel 6db6c3f646 B #3873: Fix detach nic (#3923) 2019-11-07 14:40:40 +01:00
Christian González b8d10090c9 M #: Fix docker add-on building (#3921) 2019-11-07 11:55:48 +01:00
Tino Vazquez 9de439a68a M #-: Remove deprecated OCA file 2019-11-07 11:55:08 +01:00
Jorge Lobo 67b601c132 B #3268: Add lost requirement (#3919)
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
2019-11-07 10:20:17 +01:00
Jan Orel f333816276 L #-: Unify func style in detach_nic (#3918) 2019-11-06 20:05:47 +01:00
Anton Todorov 6eb5d0156f B #3873: fix race in vmm/kvm/detach_nic (#3875)
* return success if the MAC is not found
* retry few times before reporint detach failure
* option to define the number of retries (default is 3)

Signed-off-by: Anton Todorov <a.todorov@storpool.com>
2019-11-06 17:51:45 +01:00
Jan Orel 04a0753489 F #3244: Improve qcow2.ssh mixed-mode (#3915) 2019-11-06 16:42:51 +01:00
Pierre Lafievre 548ac12a0a F 3219 template rework (#3837)
- fix template unmarshalling
 - rework and add template helpers
 - make template fully dynamic and add keys
 - enable marshalling of XML structs

Signed-off-by: Pierre Lafievre <pierre.lafievre@iguanesolutions.com>
2019-11-06 16:00:15 +01:00
Daniel Clavijo Coca b61cb55126 F #3880: Save idmaps (#3892) 2019-11-06 15:55:21 +01:00
Christian González 454863f61a F #3380: Include hook tables creation in migrator (#3909) 2019-11-06 09:41:51 +01:00
Angel Luis Moya Gonzalez 35569a2460 F #3440: Fix errors on NSX auth (#3913) 2019-11-05 18:00:51 +01:00
Daniel Clavijo Coca 85d8d745ad F #3189: Improve looks (#3902) 2019-11-05 16:11:54 +01:00
Ruben S. Montero ed3e55ea1c Revert "F #3380: Generate man pages for onehook command (#3910)" (#3911)
This reverts commit fdeb840186.
2019-11-05 15:53:53 +01:00
Christian González fdeb840186 F #3380: Generate man pages for onehook command (#3910) 2019-11-05 15:29:01 +01:00
Jorge Lobo c92db8e024 B #3268: Fix error disable support tab (#3907)
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
2019-11-04 18:44:58 +01:00
Angel Luis Moya Gonzalez 9e8faacd1e F #3440: Split line to avoid rubocop warning (#3906) 2019-11-04 18:06:08 +01:00
Angel Luis Moya Gonzalez 8c086c7b48 F #3440: Treat exceptions before than responses (#3905) 2019-11-04 18:02:11 +01:00
Angel Luis Moya Gonzalez 7d8d1d1391 F #3440: NSX Refactor (#3903) 2019-11-04 17:32:16 +01:00