1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-22 13:33:52 +03:00
Commit Graph

20821 Commits

Author SHA1 Message Date
Jorge Miguel Lobo Escalona
4f8e837fd9
F OpenNebula/one#6092: Add full screen info tab (#3087) 2024-06-03 11:00:09 +02:00
David
168bd86983
B OpenNebula/one#6471: Change password in Settings tab (#3090)
Signed-off-by: David Carracedo <dcarracedo@opennebula.io>
2024-05-31 14:24:51 +02:00
David
c064adf99c
M #-: Add switches to bridge and physical device (#3086)
on vnet and vnet templates 

Signed-off-by: David Carracedo <dcarracedo@opennebula.io>
2024-05-30 12:59:14 +02:00
Michal Opala
c53e48565a
M #-: GOCA: Fixes for rpc/flow client credential parsers (#3076) 2024-05-28 13:52:24 +02:00
Neal
f6fac118c5
F OpenNebula/one#6291: remove disk number and naming limitations (#3061)
Signed-off-by: Neal Hansen <nhansen@opennebula.io>
Co-authored-by: Pavel Czerny <pczerny@opennebula.io>
2024-05-28 13:34:07 +02:00
David
e92fec4665
F OpenNebula/one#6413: Add restricted attributes log (#3080)
on the VM tabs

Signed-off-by: David Carracedo <dcarracedo@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2024-05-27 19:33:22 +02:00
Pavel Czerný
1a320ba8e0
F #6523: Store disk IDs in Backup Image (#3075) 2024-05-27 17:24:31 +02:00
Michal Opala
06b4644f9b
M #-: GOCA: Add missing NIC keys (#3077)
- Inherited from VNET context: METHOD, GATEWAY, DNS
- Used only with VRouter: FLOATING_IP, FLOATING_ONLY
2024-05-27 17:23:18 +02:00
Michal Opala
47126115dc
M #-: Fix service role cardinality idempotence (#3078)
GOCA:
- Do not mark Cardinality with omitempty in go structs.

Ruby OCA:
- Set default service role cardinality to 0.
2024-05-27 17:22:19 +02:00
Jan Orel
4da8c1cb52
B #6587: Switch to opennebula-augeas gem (#3079)
Switch to OpenNebula fork of the discontinued augeas gem.
2024-05-27 16:20:09 +02:00
vichansson
74e86815f0
F OpenNebula/one#6419: Enhance placement tab (#3074)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2024-05-24 15:26:33 +02:00
David
ef24877637
M #-: Fix issue about cpu when a regular user instaniate a vm (#3073)
Signed-off-by: David Carracedo <dcarracedo@opennebula.io>
2024-05-24 15:14:25 +02:00
Tino Vázquez
3fd8268ddc L #-: Lint for rubocop 1.64.0 2024-05-23 12:27:22 +02:00
David
257b66c4aa
M #-: Typo on the detach disk action (#3072)
Signed-off-by: David Carracedo <dcarracedo@opennebula.io>
2024-05-23 11:58:59 +02:00
David
5b185fb731
F OpenNebula/one#6399: Add name and description on group views (#3070)
Signed-off-by: David Carracedo <dcarracedo@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2024-05-22 11:29:47 +02:00
Victor Palma
afdf30ce53
B OpenNebula/one#6396: Return error in case of failed nodes (#3058) 2024-05-22 09:34:41 +02:00
Pavel Czerný
3fa5c0b041
M #-: Update VM states graph (#3068)
Add states:
* Backup (poweroff)
* Restore
* Hotplug_nic_poweroff
* Disk resize (poweroff, undeployed)
* Saveas (suspended, stopped)

Keep the states-simple simple, ignoring some transient transitions from poweroff, stopped, suspended and undeployed states
2024-05-22 09:34:03 +02:00
Jorge Miguel Lobo Escalona
fa776d5fb3
F #6499: remove 2fa created by sunstone and add data-cy (#3069) 2024-05-21 18:36:14 +02:00
Ruben S. Montero
eda3084beb
F #6586: Remove docker-machine add-on 2024-05-21 12:47:36 +02:00
Pavel Czerný
0f248706de
B #6498: Allow VM recover --recreate in poweroff and suspend (#3067)
* Refactor release vnc port
* Fix VNC port for recover --recreate in stopped state
* Improve error messages
*  Update recover --recreate description

(cherry picked from commit 9ed1fba8b95c1ea5d3984f136e638b973577ad69)
2024-05-21 12:11:06 +02:00
David
8622d03a1f
F OpenNebula/one#6495: New PCI devices tab (#3063)
Signed-off-by: David Carracedo <dcarracedo@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2024-05-20 13:28:20 +02:00
David
6057b01456
B OpenNebula/one#6580: Enable send empty schedule actions (#3062)
Signed-off-by: David Carracedo <dcarracedo@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2024-05-20 13:26:44 +02:00
vichansson
89987ae4e8
M #-: Remove guac- rdp/ssh & VMRC mutual exclusivity (#3066)
Fixes a bug where the guacamole RDP/SSH connection buttons would not be rendered in cloud views for hypervisors where VMRC was enabled

Signed-off-by: Victor Hansson <vhansson@opennebula.io>
(cherry picked from commit 7b52b1af953c9c1a377006d388da4ac2beab3c0d)
2024-05-20 12:54:00 +02:00
Guillemo Ramos
cff2bb697b
F #6053: Fix Ceph restore (#3065)
Fix wrong handling of the two datastores involved (backup+ceph)

Signed-off-by: Guillermo Ramos <gramos@opennebula.io>
2024-05-20 11:11:56 +02:00
David
80dec984d8
M #-: Protect null value (#3060) 2024-05-17 13:38:10 +02:00
Tino Vázquez
e78a6cfd1b L #-: Rubocop 1.63.5 2024-05-17 13:36:36 +02:00
Ruben S. Montero
ca461e4e28
F #6053: Consolidate datastore operation in Transfarmaner::Datastore
- Access methods to BRIDGE_LIST
- Generic execution of datastore driver operations
- Adapt restore operations to new interface
- Adapt rsync action
2024-05-16 18:14:15 +02:00
Jorge Miguel Lobo Escalona
d6c5117995
F OpenNebula/One#6499: Add form enable 2fa (#3059) 2024-05-16 17:25:33 +02:00
Ruben S. Montero
63e2ceeebf
B #6575: Load remote env for attach_nic action
This properly loads kvmrc values on attach nic, in particular DEFAULT_ATTACH_NIC_MODEL

(cherry picked from commit cd5527e7d6e89d721938331a56d1679a1c85af4d)
2024-05-16 11:30:05 +02:00
Guillemo Ramos
4db0e74f43
F #6053: In-place restore of VM backups (Ceph) (#3051) 2024-05-14 15:58:36 +02:00
Pavel Czerný
5dda6c3c8f
B #6580: Fix casting in Template::remove (#3057)
The Template::remove could crash if user assign Single value to attribute, which is expected to be a Vector, e.g. SCHED_ACTION, PCI, ...

Other minor changes:
* refactor the 'set' method - no need to call private _set
* Simplify some callers of the Template::remove method
2024-05-14 14:27:29 +02:00
Ruben S. Montero
52420f3284
M #-: Fix typo in ImageManager logs 2024-05-14 11:18:57 +02:00
Pavel Czerný
e68305c772
F #6053: Rename all prolog_restore to restore (#3056) 2024-05-13 13:21:56 +02:00
Ruben S. Montero
cc77dda3f8
M #-: Update RESTORE state names in Sunstone 2024-05-10 12:09:06 +02:00
Ruben S. Montero
c509eaa815
F #6053: Renamed oned internal state name PROLOG_RESTORE to RESTORE
Now it is consistent with the API naming
2024-05-10 12:02:38 +02:00
Pavel Czerný
c985ad35f9
F OpenNebula/one#6053: GO and Java api (#3055)
* GO api, including backup struct and VM states
* Java api
* remove snapshots on restore_success callback
* fix xmlrpc response in case VM doesn't exists
2024-05-10 11:58:00 +02:00
Ruben S. Montero
0d1ac37583
B OpenNebula/terraform-provider-opennebula#527: Fix create/reserve vnets
The issue is caused by a wrong handling of hash keys in oneflow logic
that assumes vnet IDs are stored in the first position.

co-authored-by: Victor Palma <vpalma@opennebula.io>
co-authored-by: shurkys <shurkys@gmail.com>
2024-05-10 10:58:54 +02:00
Aletibazo
f4330598c6
B OpenNebula/one#6487: Fix error on ssh/clone script (#3054)
Signed-off-by: Alejandro Mosteiro <amosteiro@opennebula.io>
2024-05-09 17:53:34 +02:00
David
75031db4c5
F OpenNebula/one#6501: Alias in network section of VM templates (#3046)
Signed-off-by: David Carracedo <dcarracedo@opennebula.io>
2024-05-09 15:57:13 +02:00
vichansson
c350b7f467
F OpenNebula/one#6417: Add 'EFI' firmware option (#3048)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2024-05-09 15:41:52 +02:00
David
f33c102260
M #-: Issue when refreshing backups on vm details (#3050)
Signed-off-by: David Carracedo <dcarracedo@opennebula.io>
2024-05-09 15:40:34 +02:00
Aletibazo
1f9b15cd95
B OpenNebula/one#6487: Fix SPARSE parameter ignored (#3033)
in TM cloning script 

- Added function get_ds_attribute to tm_common.sh to get a given attribute from a Datastore
- Using falloc preallocation mode on the qemu-img commands since it is faster than using full preallocation
- Note the cloning script when using the TM_MAD = ssh does not use qemu-img command. Instead it uses the tar command, hence it ignores the QCOW2_OPTIONS parameter
- Deleted get_ds_attribute function since it is no longer needed
- SPARSE is inherited from Datastore on oned.conf
- Changed resize statement so it uses same syntax as the clone statement

Signed-off-by: Alejandro Mosteiro <amosteiro@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2024-05-08 10:47:11 +02:00
Daniel Clavijo Coca
e1b5bc6b44
M #-: Allow fireedge to bind to <1024 ports (#3045) 2024-05-06 16:34:24 +02:00
vichansson
373815a085
F OpenNebula/one#5522: Makes FireEdge logo configurable - jimp (#3044)
- login logo
    - sidebar logo
    - loading screen logo
    - favicon
* The custom logo can be set in the `sunstone-views.yaml` file under the `logo:` option.
* Accepted formats are (jpg|jpeg|png)
* Applies to all apps [Sunstone, OneProvision]

Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2024-05-06 10:35:31 +02:00
Ruben S. Montero
6fc23001a2
Revert "F OpenNebula/one#5522: Makes FireEdge logo configurable (#3041)"
This reverts commit fd5281b76d.
2024-04-30 16:38:08 +02:00
Jan Orel
94fb638fb6
F Opennebula/one-infra#656 Add Ubuntu 24.04 support (#3043)
- use bundler 2 since ruby 3.2
- detect also rubygems_version
- add mini_portile2, Ubutnu 24.04 did not resolve
- update gems for all
2024-04-30 14:40:10 +02:00
Ruben S. Montero
884d9dc279
L #-: Remove unused variable 2024-04-30 13:13:56 +02:00
Guillemo Ramos
b72b507ce7
F OpenNebula/one#6564: Fix ceph monitor quotas (#3042)
There are two monitor scripts for Ceph datastores:

- src/tm_mad/ceph/monitor (ds SYSTEM)
- src/datastore_mad/remotes/ceph/monitor (ds IMAGE)

The two have the same logic but the first one had diverted from the
second one slightly, making it unable to handle quotas.  This commit
symlinks them to avoid this happening again in the future, and fixes the
relative paths to ensure they work both from the DS and TM drivers
paths.

Signed-off-by: Guillermo Ramos <gramos@opennebula.io>
2024-04-30 13:03:58 +02:00
Ruben S. Montero
3dfd53df1c
F #6053: In-place restore of VM backups (shared and ssh drivers)
This commit implements the in-place restore of VM backups. Selected VM disks will
be replaced with the specified backup:

* A new API call has been added to the XML-RPC API (`one.vm.restore`) with
  the following arguments:
    - VM ID to be restored, needs to be in **poweroff** state
    - IMAGE ID of the backup to restore
    - INCREMENT ID, only for incremental backups, the increment to use
      (defults to -1 to use the last increment available)
    - DISK ID of the disk to restore (defaults to -1 to restore all VM
      disks)

* Datastore drivers needs to implemente a new operation `ls`. This new
  operation takes the VM, image information of the backup and datastore
  information and returns the restore URL for the disks in the backup.

* This commit includes the implementation for qcow2 and ssh drivers,
  ceph will be implemented in a separated PR. The new driver action is
  `restore host:vm_dir vm_id img_id inc_id disk_id`

* The restore operation is performed in a new state `PROLOG_RESTORE`
  rendered as `RESTORE` and `rest` in short form. State in in RSuntone.

TODO:
  - Remove any existing VM snapshot (system/disk) in the VM. Note that
    snapshots are not included in a backup.

  - Ceph drivers

  - JAVA, GO Lang API bindings

  - Sunstone interface, new state and new operation. Review new state in
    RSuntone.

co-authored-by: Pavel Czerny <pczerny@opennebula.io>
2024-04-26 12:45:04 +02:00
1gramos
669cc6db5a
M #-: tm_action.ssh always returns rc (#3040)
Signed-off-by: Guillermo Ramos <gramos@opennebula.io>
2024-04-26 10:50:15 +02:00