1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-13 12:58:17 +03:00

20043 Commits

Author SHA1 Message Date
Ruben S. Montero
908ea212d8
Merge remote-tracking branch 'remotes/origin/exploit_attribute' release-6.5.80 2022-11-28 11:22:25 +01:00
Pavel Czerný
fd883f595a
F #5925: Improve image delete operation (#2384) 2022-11-28 11:15:43 +01:00
Ruben S. Montero
413665213b
F #5753: Two options for live memory resize
This commit add a new attribute to the VM template MEMORY_RESIZE_MODE.
It can be:

- BALLOONING to increase/decrease the memory balloon
- HOTPLUG to add/remove memory modules to the VM

By default VMs will use BALLOONNING if not specified.
2022-11-28 10:29:01 +01:00
Frederick Borges
b64d9d7dbf
B #~: Add ServiceTemplate.delete_dialog on RSunstone yaml (#2383) 2022-11-28 10:24:09 +01:00
Pavel Czerny
fbebef73c3
M #-: Use literal heredoc also for VN driver 2022-11-25 13:31:15 +01:00
Jonas Jelten
beba07c576
M *-: Use literal heredoc to prevent bash evaluation of stdin data
when the stdin of a command contains bash-evaluated characters,
execution will fail with funny errors like:

```
bash: line 2: : command not found
```

this patch prevents the bash evaluation through a quoted here-doc word.

`man 1 bash` says:
> If word is unquoted, all lines of the here-document are subjected to parameter expansion,
> command substitution, and arithmetic expansion, the character sequence \<newline> is ignored,
> and \ must be used to quote the characters \, $, and `.

Signed-off-by: Jonas Jelten <jj@sft.lol>
2022-11-25 13:31:14 +01:00
Jorge Miguel Lobo Escalona
4b3d4697a4
M #~: lint fix (#2382) 2022-11-25 12:43:01 +01:00
Jorge Miguel Lobo Escalona
384c4e5ad4
M #~: fix type userInput (#2381) 2022-11-25 12:27:38 +01:00
Ruben S. Montero
f6799825f8
F #6025: Simplify DPDK Management
* BRIDGE_TYPE can be updated after creating a network to set
  openvswitch_dpdk. This way DPDK and none DPDK datapath bridges can
  coexist.

* When bridge_type is openvswtich_dpdk datapath_type=netdev is
  automatically added to the bridge. No need to change other
  configuration files.

* Better port detection for dpdk switches
2022-11-25 10:20:04 +01:00
Frederick Borges
4e20e962b7
M #~: Add VMGroup deletion to sunstone yaml (#2380) 2022-11-24 19:10:03 +01:00
Frederick Borges
c65359613a
B #5995: Show new support tickets on support tab (#2379) 2022-11-24 19:06:13 +01:00
Frederick Borges
f4e62e90f6
B #~: Add missing configuration to yaml files (#2378) 2022-11-24 18:01:20 +01:00
Jorge Miguel Lobo Escalona
9a02f7d1a3
M #-: Message cluster.info/no admin (#2377) 2022-11-24 15:57:29 +01:00
Pavel Czerný
f77b9365ee
M #-: Network update fix CLI output, ignore alias and pci (#2376)
* Network Update CLI output
* Network update ignores alias and pci NIC
2022-11-24 10:19:39 +01:00
Jorge Miguel Lobo Escalona
4b4f269e2a
M #~: display images fireedge (#2368) 2022-11-23 19:24:36 +01:00
Daniel Boca
7e35c59135
B #6012: Multiple fixes (#2375) 2022-11-23 19:18:16 +01:00
Frederick Borges
f9fc65becc
B #~: Show correct text on LCM_INIT state (FSunstone) (#2372) 2022-11-23 19:08:54 +01:00
Frederick Borges
e9a30cc6a1
B #5516: Fix DS_MAD on RSync DS creation (#2371) 2022-11-23 19:07:24 +01:00
Frederick Borges
02fa0ae02f
F #5529: Expose onevm nic-update (#2369) 2022-11-23 19:06:37 +01:00
Tino Vázquez
b2eb5555b1
L #-: Fix indentation 2022-11-23 19:01:17 +01:00
Frederick Borges
6191ac0635
B #~: Fix MAC address issue when writing and leaving in blank (#2370) 2022-11-23 18:49:01 +01:00
Ruben S. Montero
3ec58a2f0f
M #-: Fix for backup utility
Wrong variable name used to compose disk path in backup_qcow2.rb
2022-11-23 16:44:58 +01:00
Ruben S. Montero
6a86330e1f
M #-: Add increment suffic to ceph full backups 2022-11-23 16:14:57 +01:00
Ruben S. Montero
db181046ed
M #-: Fix update operation for fw driver 2022-11-23 14:11:54 +01:00
Pavel Czerný
2bda3d2c81
M #-: Fix minor issues in backups (#2366)
* Handle backup append flag for updateconf
* Fix backup attributes for updateconf
2022-11-23 10:00:24 +01:00
Pavel Czerný
d8d190c5ec
M #-: Fix xml-schema for backups (#2363) 2022-11-23 09:58:40 +01:00
Ruben S. Montero
e831aadc90
M #-: Missing change for ovswitch update fix 2022-11-22 21:28:27 +01:00
Ruben S. Montero
00019054f6
M #-: Fix network update for openvswtich 2022-11-22 21:10:57 +01:00
Michal Opala
85d16526ce
B #-: Improve inotify error handling (OneGate/Proxy fix) (#2365) 2022-11-22 14:16:11 +01:00
Tino Vázquez
727404d127
M #-: Remove notifier on one-* branches 2022-11-22 11:47:54 +01:00
Jorge Miguel Lobo Escalona
6861ed9e08
F #5422: Default actions for VMs without host (#2364) 2022-11-22 11:31:56 +01:00
Tino Vázquez
f4c74ad4ad
M #-: Add notification on push
for relevant branches:

  - master
  - one-*
2022-11-21 19:10:35 +01:00
Michal Opala
8269599af2
B #-: Downgrade console gem (OneGate/Proxy fix) (#2362)
Updated locks: AlmaLinux9, Debian11, Ubuntu2004/2204
2022-11-21 17:37:01 +01:00
Jan Orel
ac6500f682
F #5975: Fix onedb change-body for non VM pool obj (#2361)
* F #5975: Fix onedb change-body for non VM pool obj

* L #-: Linting onedb_live.rb, dummy/restore
2022-11-21 14:09:18 +01:00
Ruben S. Montero
8ae2678e0c
F #5989: NIC live update only for ACTIVE/RUNNIG 2022-11-21 12:49:15 +01:00
Frederick Borges
bb38b058c1
B #~: Fix advanced search on host tab (#2360) 2022-11-21 11:12:11 +01:00
Jorge Miguel Lobo Escalona
45135d8104
M #~: Fix actions by dummy hypervisor (#2358) 2022-11-18 14:48:16 +01:00
Tino Vázquez
29fc66da51
B #5996: Fix for deprecated URI.escape in ruby3 2022-11-18 13:50:32 +01:00
Frederick Borges
50356c2ff1
B #6021: Advanced filters uses regex and substrings (#2357) 2022-11-17 13:39:21 +01:00
Frederick Borges
0f0c5be867
M #~: Remove # from IDs on dialogs (#2356) 2022-11-17 12:45:37 +01:00
Frederick Borges
566848ab48
F #5516: Change vm backup to be a stepper (#2355) 2022-11-17 12:36:34 +01:00
Frederick Borges
a2b328bbe8
F #5516: Finish backups interface changes (#2353) 2022-11-17 11:44:54 +01:00
Jorge Miguel Lobo Escalona
4664a46460
M #~: fix error PCIS can be an object or array (#2354) 2022-11-16 18:54:07 +01:00
Pavel Czerný
bf028ffa36
M #-: Ruby linting (#2352) 2022-11-16 15:09:54 +01:00
Ruben S. Montero
865908de1c
F #5989: Live update of Virtual Network attributes
co-authored-by: Pavel Czerný <pczerny@opennebula.systems>
co-authored-by: Frederick Borges <fborges@opennebula.io>
co-authored-by: Christian González <cgonzalez@opennebula.io>

* VNET updates trigger a driver action on running VMs with NICs in the
  network.

* VNET includes a sets with VM status: updated, outdated, error and
  updating. With VMs in each state.

* VNET flags error situations with a new state UPDATE_FAILURE.

* The same procedure is applied when an AR is updated (only VMs in that
  AR are updated).

* A new options in the one.vn.recover API call enable to recover or
  retry this VM update operations.

* The following attributes can be live-updated per VNET driver:
    - PHYDEV (novlan, vlan, ovs driver)
    - MTU (vlan, ovs driver)
    - VLAN_ID (vlan, ovs driver)
    - QINQ_TYPE (ovs driver)
    - CVLANS (ovs driver)
    - VLAN_TAGGED_ID (ovs driver)
    - OUTER_VLAN_ID (ovs driver)
    - INBOUND_AVG_BW (SG, ovs driver + KVM)
    - INBOUND_PEAK_BW (SG, ovs driver + KVM)
    - INBOUND_PEAK_KB (SG, ovs driver + KVM)
    - OUTBOUND_AVG_BW (SG, ovs driver + KVM)
    - OUTBOUND_PEAK_BW (SG, ovs driver + KVM)
    - OUTBOUND_PEAK_KB (SG, ovs driver + KVM)

* New API call one.vm.updatenic, allows to update individual NICs
  without the need of detach/attach (only QoS supported).

* Update operations for: 802.1Q, bridge, fw, ovswitch, ovswitch_vxlan
  and vxlan network drivers.

* VNET attributes (old values) stored in VNET_UPDATE to allow
  implementation of update operations. The attribute is removed after a
  successful update.

* Updates to CLI onevnet (--retry option) / onevm (nicupdate command)

* XSD files updated to reflect the new data model

* Ruby and JAVA bindings updated: new VNET state and recover option, new
  VM API call.

* Suntone and Fireedge implementation (lease status, recover option, new
  states)

TODO: Virtual Functions does not support this functionality

iii
2022-11-16 15:06:49 +01:00
Pavel Czerný
4a8aad469d
M #: Fix fsck quotas for NIC without NETWROK_ID (#2351)
(cherry picked from commit 95eccd7d7c386081e574aad01f276bc6bd5dc348)
2022-11-16 09:33:49 +01:00
Pavel Czerný
de8c7b7869
F #5516: Dummy drivers for backup (#2350)
* Dummy drivers for backup/restore
* Sync backup ADMIN rights with oned.conf
2022-11-16 09:27:03 +01:00
Jorge Miguel Lobo Escalona
94bf8ca8bf
F #5940: PCI support for FireEdge Sunstone (#2349)
Co-authored-by: Frederick Borges <fborges@opennebula.io>
Co-authored-by: Jorge Lobo <jlobo@opennebula.systems>
2022-11-15 17:33:51 +01:00
Frederick Borges
d1cac83f6a
F #5516: Change style for backup section in updateConf (#2348) 2022-11-15 12:36:13 +01:00
Frederick Borges
0b4a89b832
L #5516: Fix lint issues (#2347) 2022-11-15 11:52:44 +01:00