1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-11 05:17:41 +03:00
Commit Graph

20011 Commits

Author SHA1 Message Date
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 95eccd7d7c)
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
Tino Vázquez
19e55f3e27
L #-: Linting for backup qcow2 2022-11-15 11:34:41 +01:00
Frederick Borges
ea86e8ac15
F #5516: Expose backup functionality (#2346) 2022-11-15 10:59:12 +01:00
Michal Opala
0d5f9280a8
F #5973: Add OneGate proxy service (#2281)
* Update install_gems (async.io, etc, rb-inotify)
    - make install_gems script more verbose
    - slightly refactor/simplify update_locks script
    - add async.io, etc and rb-inotify gems
    - update gem locks for: AlmaLinux8/9, CentOS8
    - update gem locks for: Debian10/11, Ubuntu1804/2004/2204

* onegate-proxy:
    - ruby code and default config (169.254.16.9 to avoid conflicts)
    - install.sh script
    - logrotate and systemd onegate-proxy configs
    - onecfg configs
2022-11-14 20:48:30 +01:00
Victor Palma
1addd0079d
F #5975: allow to update DONE VMs with onedb change-body (#2334) 2022-11-13 20:07:11 +01:00
Victor Palma
24df1b4772
F #5842: limit VNC password length to 8 symbols (#2333) 2022-11-13 20:04:38 +01:00
Ruben S. Montero
60d0f49549
F #5516: Improve incremental backup performance:
* By default use cache mode none and io native
* Option to choose from async io for read commands
* Create a single io script for qemu-io
* Fix error in ceph prebackup
2022-11-12 20:35:13 +01:00
Tino Vázquez
82050bd3c5
L #-: Add correct TODO format 2022-11-11 11:04:52 +01:00
Jan Orel
03acd4123d
M #-: Fix login_enterprise patch (#2344) 2022-11-11 10:27:58 +01:00
Jorge Miguel Lobo Escalona
96e429bc7d
M #~: add nofollowm noopener and noreferrer login footer (#2343)
Co-authored-by: Jorge Lobo <jlobo@opennebula.systems>
2022-11-10 16:33:08 +01:00
Ruben S. Montero
1299fc07a4
F #5516: Fixes for backup_qcow2 (poweroff) 2022-11-10 15:03:49 +01:00
Ruben S. Montero
1daf6226fd
M #-: Remove uneeded dependencies 2022-11-10 15:02:45 +01:00
Tino Vázquez
8ee6e973bb L #-: Linting for backup files 2022-11-07 12:41:06 +01:00
Daniel Clavijo Coca
c6307edc3b
F OpenNebula/one#5516: Add missing backup yamls to installer (#2339) 2022-11-07 10:50:58 +01:00
Ruben S. Montero
0a46e21129
F #5516: Incremental backups for qcow2 disk images
- Adds new configuration attribute MODE: FULL or INCREMENTAL for
  BACKUP_CONFIG. FULL backups uses a differen backup image.

- INCREMENTAL backup information is together with the backup image.
  Example:

      <BACKUP_INCREMENTS>
        <INCREMENT>
          <DATE><![CDATA[1667770552]]></DATE>
          <ID><![CDATA[0]]></ID>
          <PARENT_ID><![CDATA[-1]]></PARENT_ID>
          <SIZE><![CDATA[172]]></SIZE>
          <SOURCE><![CDATA[bb828060]]></SOURCE>
          <TYPE><![CDATA[FULL]]></TYPE>
        </INCREMENT>
        <INCREMENT>
          <DATE><![CDATA[1667770604]]></DATE>
          <ID><![CDATA[1]]></ID>
          <PARENT_ID><![CDATA[0]]></PARENT_ID>
          <SIZE><![CDATA[1]]></SIZE>
          <SOURCE><![CDATA[ca0de5f6]]></SOURCE>
          <TYPE><![CDATA[INCREMENT]]></TYPE>
        </INCREMENT>
        <INCREMENT>
          <DATE><![CDATA[1667770700]]></DATE>
          <ID><![CDATA[2]]></ID>
          <PARENT_ID><![CDATA[1]]></PARENT_ID>
          <SIZE><![CDATA[39]]></SIZE>
          <SOURCE><![CDATA[e9897d6a]]></SOURCE>
          <TYPE><![CDATA[INCREMENT]]></TYPE>
        </INCREMENT>
      </BACKUP_INCREMENTS>

    This information only appears on incremental backups

- Internal BACKUP_CONFIG data includes information about the current
  active backup and the last increment id.

- Backup operation includes a new parameter: reset. This "closes" the
  current active incremental chain and creates a new FULL backup.

- Backup drivers store backups with increment index (0 = FULL) e.g.
  disk.0.0.

- Incremental backups are only allowed for VMs using all disks in qcow2
  format.

- Backup configuration cannot be changed while doing a VM backup.

- Downloader strings includes backup chains <inc_id>:<backup_ref>,...

- Restic downloader  has been updated to support backup chains. Disk
  images are rebased across increments.
2022-11-06 22:54:36 +01:00
Jorge Miguel Lobo Escalona
f9b077fb55
M #~: retrieve OS attributes when instantiate vm template (#2338)
Co-authored-by: Jorge Lobo <jlobo@opennebula.systems>
2022-11-03 18:35:13 +01:00
Frederick Borges
61b920b505
F #5516: Add backup functionality and actions (#2337)
by hypervisor & vm state
2022-11-03 18:34:05 +01:00
onenhansen
51d5a95a95
F #5516: minor rsync fixes (#2331)
minor fixes for return code handling
adding a slash to the backup lib script path generation
2022-11-03 10:34:47 +01:00
Tino Vázquez
52c97b5b6b
L #-: Remove redundant each
(cherry picked from commit dc58f9b0e7)
2022-11-02 16:37:21 +01:00
Jorge Miguel Lobo Escalona
c62fb1dffa
F #6003: show error message in vm tabs (#2336)
Co-authored-by: Jorge Lobo <jlobo@opennebula.systems>
2022-11-02 16:24:48 +01:00
Frederick Borges
7e1a81cc4b
B #5238: Fix disk resize on instantiate (#2335) 2022-11-02 16:12:16 +01:00
Pavel Czerný
c8da8a2ce5
M #-: Fix parsing of scheduled time (#2332) 2022-11-02 10:26:06 +01:00
Jan Orel
058acb0008
Revert: "M #-: Load sunstone yamls with aliases" (#2329) 2022-11-02 09:42:44 +01:00
Frederick Borges
524433a751
F #5516: Add backup-tab.yaml (#2330) 2022-10-31 11:31:48 +01:00
Kristian Feldsam
0c75c6db21
M #-: Sunstone - fixed showing IP6_GLOBAL addresses (#5956)
(cherry picked from commit b14e191869)
2022-10-28 11:19:35 +02:00
Frederick Borges
ac86c6c28f
B #5993: Fix group creation on Alma9 (#2327) 2022-10-27 16:35:04 +02:00
Pavel Czerný
ceab1ed159
M #-: Fix xml-schema for backups (#2326) 2022-10-27 12:36:23 +02:00
Ruben S. Montero
57fe4c79e3
M #-: Missing pieces f62cd2c10c (6.6.0 versioning) 2022-10-27 11:40:57 +02:00
Frederick Borges
1f2e74b4d6
F #5516: Change BACKUP_POWEROFF state text on Sunstone (#2325) 2022-10-26 11:17:26 +02:00
Ruben S. Montero
50529b2770
M #-: Add more information in backup actions 2022-10-25 22:17:38 +02:00
Jorge Miguel Lobo Escalona
1563476aa1
B #~: update schedule icon (#2324) 2022-10-25 18:48:12 +02:00
Jan Orel
5973b126b9
M #-: Add explicit dependecy to aws host (#2312) 2022-10-24 11:03:35 +02:00
Ruben S. Montero
8e20d747c8
M #-: Increase qemu-img coroutines for backups
Disk images are consolidated and converted to qcow2 format before
backup. This commit increases the number of co-routines to increase the
parallelism of the operation
2022-10-21 16:55:20 +02:00