Commit Graph
16395 Commits
Author SHA1 Message Date
Jan Orel 2af130c00a B #4017: Redump VM snapshot xml after snap delete (#4018)
And also redefine snapshot metadata also after
the suspend/resume - not only stop/start.
2019-12-04 12:55:11 +01:00
Angel Luis Moya Gonzalez b3007dcfc6 B #3990: List NSX networks only when NSX_STATUS=OK (#4016) 2019-12-03 14:06:49 +01:00
Jorge Lobo f141633b26 B #3751: validate by APP_ENV (#4015)
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
2019-12-03 13:10:33 +01:00
Vlastimil Holer bd17138a91 B #4003: Include Ruby gem Dalli (#4014)
(cherry picked from commit ddc44de02e)
2019-12-03 11:43:11 +01:00
Jan Orel 7ccba8db05 B #4002: Restore missing ssh_make_path (#4013) 2019-12-03 10:28:53 +01:00
Daniel Clavijo Coca 0586132b4c B #4005: Remove LXD URL quotes (#4008)
(cherry picked from commit 16884d1c4b)
2019-11-29 18:38:23 +01:00
Ruben S. Montero f7de46f9d0 B #3996: Do not escape oned values for hook msg. 2019-11-29 13:26:19 +01:00
Jorge Lobo d00c57cea9 B #3167: Remove version url curl git (#3992)
* Remove version url curl git
* Remove not used vars
* Fix name var

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
2019-11-27 12:48:38 +01:00
Vlastimil Holer 0ec266d34f M #-: Bump version to 5.11.80 (#3993) 2019-11-26 17:17:32 +01:00
Jorge Lobo 38654b5e24 B #3167: Fix bugs (#3991)
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
release-5.10.0
2019-11-26 11:37:35 +01:00
Ruben S. Montero 23570ce0ef M #-: Fix no MySQL compilation 2019-11-26 11:26:17 +01:00
Christian González fd2766970d M #-: Add GOCA changes to docker addon (#3989) 2019-11-25 11:31:16 +01:00
Eric Ripa a7932813b9 F #3952: Changes GOCA NewClient (#3965)
* F #3952: Change GOCA NewClient for HTTP client

Now supports the use of a custom HTTP client. If
the httpClient == nil, the function will return
a NewDefaultClient that, still, uses the cleanhttp.DefaultPooledClient()

* F #3952: Update GOCA examples to NewDefaultClient
2019-11-25 11:26:36 +01:00
Pierre Lafievre e1ff1d4f2a B-3976 Fix small errors (#3977)
Signed-off-by: Pierre Lafievre <pierre.lafievre@iguanesolutions.com>
2019-11-25 09:13:13 +01:00
Anton Todorov ea2c6f3212 B #3972: fix bugs (#3980)
Signed-off-by: Anton Todorov <a.todorov@storpool.com>
2019-11-23 12:40:08 +01:00
Christian González f82fb5ec3d B #3946: Fix encoding for new debian/ubuntu 2019-11-22 14:55:29 +01:00
Angel Luis Moya Gonzalez 0aa759766b B #3440: Fix headers format (#3978)
Change HEADER_XML and HEADER_JSON format from { :key => 'value' }
to { 'key' => 'value' }
2019-11-22 13:45:19 +01:00
Pierre Lafievre 0b38ffd6e6 B #3974: GOCA - fix 386 compilation fail on uint (#3975)
Signed-off-by: Pierre Lafievre <pierre.lafievre@iguanesolutions.com>
2019-11-22 11:45:02 +01:00
Ruben S. Montero 3842c6fff1 B #3972: Linting, addtional checks 2019-11-22 10:21:57 +01:00
Anton Todorov 7ae7635644 B #3972: normalize the list of cpus (#3973)
following the description in CPUSET(7) man page:

 List format
  The List Format for cpus and mems is a comma-separated list of 
  CPU or  memory-node numbers and ranges of numbers, in ASCII
  decimal.

   Examples of the List Format:

       0-4,9           # bits 0, 1, 2, 3, 4, and 9 set
       0-2,7,12-14     # bits 0, 1, 2, 7, 12, 13, and 14 set

Signed-off-by: Anton Todorov <a.todorov@storpool.com>
2019-11-22 10:08:07 +01:00
Christian González 38bb394720 B #3946: Fix restore when there is no tables (#3970) 2019-11-21 15:52:54 +01:00
Angel Luis Moya Gonzalez 90a4f2353c B #3440: Fix NSX_STATUS bad message format (#3968) 2019-11-21 12:22:51 +01:00
Christian González 80805d9a29 B #3946: Fix backup option for federated tables (#3967)
Signed-off-by: Christian González <cgonzalez@opennebula.systems>
2019-11-21 12:02:07 +01:00
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