1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-20 10:50:08 +03:00

16401 Commits

Author SHA1 Message Date
Jan Orel
45f6d6dfee
M #-: Adapt to latest generateDS (#3917)
(cherry picked from commit ace990ca7f9d545ebd02985bbac31b6ca8d5c12f)
release-5.10.1
2019-12-10 16:00:55 +01:00
Anton Todorov
2f9fc0b01b
F #4026: do not fail when CDROM already ejected (#4028)
Signed-off-by: Anton Todorov <a.todorov@storpool.com>
(cherry picked from commit 647dcc507f60018824c16fc87c1cf4256f273a2e)
2019-12-10 15:51:12 +01:00
Jan Orel
25d89c8550
B #4025: Include SD_DISK_BUS in UPDATECONF_ATTRS (#4027)
(cherry picked from commit f56fa0d311228c054a531dc18151e4c872da2598)
2019-12-06 11:59:06 +01:00
Tino Vazquez
28fdde55a0
L #-: Adjustments for rubocop 0.77.0
(cherry picked from commit 5ead940b167e592319617b775e37a17fa43a4e78)
2019-12-05 19:23:24 +01:00
Tino Vazquez
9128a58ede
L #-: Changes for rubocop linting
In all vcenter VMM driver scripts

(cherry picked from commit d0e8d214c61533f1937f59021d2c2a725a43d377)
2019-12-04 19:44:36 +01:00
Ruben S. Montero
95ff3fc88e
Revert "B OpenNebula/one#4017 UUID not changed by susp. (#4019)"
This reverts commit cbd6e6b49a1e2d77946515683848ade5e90adf59.
2019-12-04 15:16:30 +01:00
Jan Orel
cbd6e6b49a
B OpenNebula/one#4017 UUID not changed by susp. (#4019)
(cherry picked from commit 91b69e46d58f611522763d40e015de3c341b0d0a)
2019-12-04 13:27:51 +01:00
Jan Orel
eaf878531c
B #4017: Redump VM snapshot xml after snap delete (#4018)
And also redefine snapshot metadata also after
the suspend/resume - not only stop/start.

(cherry picked from commit 2af130c00a5d7cf0b51ab677c1cb755324accf12)
2019-12-04 12:55:45 +01:00
Angel Luis Moya Gonzalez
5d118e4c2d
B #3990: List NSX networks only when NSX_STATUS=OK (#4016)
(cherry picked from commit b3007dcfc6d840ea28d67848c5a4e0ab05480f23)
2019-12-03 14:07:17 +01:00
Jorge Lobo
333feca1c8
B #3751: validate by APP_ENV (#4015)
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
(cherry picked from commit f141633b26d92d596904c834fd73f013c1c4010a)
2019-12-03 13:12:39 +01:00
Vlastimil Holer
ddc44de02e B #4003: Include Ruby gem Dalli (#4014) 2019-12-03 11:42:24 +01:00
Jan Orel
eb73ce3008
B #4002: Restore missing ssh_make_path (#4013)
(cherry picked from commit 7ccba8db0589bc4a338e02bb221ee4950d47e9aa)
2019-12-03 10:29:51 +01:00
Daniel Clavijo Coca
16884d1c4b B #4005: Remove LXD URL quotes (#4008) 2019-11-29 18:37:30 +01:00
Ruben S. Montero
49cd161c81
B #3996: Do not escape oned values for hook msg. 2019-11-29 13:35:02 +01:00
Vlastimil Holer
6dc7617ed8 M #-: Bump version to 5.10.1 (#3994) 2019-11-26 17:17:28 +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 e1a6bf51cf94cad387b4ca35127f4a4ccd2a6cff

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