1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-08 21:17:43 +03:00
Commit Graph

20109 Commits

Author SHA1 Message Date
Neal
1035c6af9c
B #6073: add user for make_dst_path action (#2438)
Signed-off-by: Neal Hansen <nhansen@opennebula.io>
2023-01-06 19:05:09 +01:00
Jorge Miguel Lobo Escalona
4f71e1f266
M #-: Add default zone in federation (#2433) 2023-01-05 14:35:16 +01:00
Frederick Borges
18f9137de2
B #6051: Fix FireEdge endpoints should not be case sensitive (#2432) 2023-01-05 14:29:46 +01:00
Frederick Borges
d6b89b6fe2
F #5974: FireEdge Sunstone Schedule Actions improvements (#2431) 2023-01-05 14:24:46 +01:00
Frederick Borges
a1e9bcd675
B #6067: Fix disk RECOVERY_SNAPSHOT_FREQ on instantiate (#2429) 2023-01-05 14:20:53 +01:00
Tino Vázquez
abeccc507f
L #-: YodaStyle new cop compliance 2023-01-05 13:56:38 +01:00
Pavel Czerný
3de39f9340
F #6039: Reset monitoring timers (#2430) 2023-01-04 16:14:36 +01:00
Pavel Czerný
0fe9eac8b5
B #5916: Fix onevm instantiate --persistent (#2428) 2023-01-04 16:10:03 +01:00
Pavel Czerný
82d2191dfd
B #6022: Fix lock override and --all flag (#2427)
* This commit syncs oned and API specification for the ALL flag. The internal defines were not consistent with the API specification.
2023-01-04 15:53:50 +01:00
Pavel Czerný
9959ceac06
M #-: Bump DB version to 6.8 (#2425) 2022-12-22 14:20:25 +01:00
Tino Vázquez
4f9e45a57c
M #-: Bump version 6.7.80 2022-12-21 19:57:29 +01:00
Ruben S. Montero
b7b662b5ff
M #-: Point provision repo role to OpenNebula 6.6.0 2022-12-21 10:34:25 +01:00
Tino Vázquez
df44921a19
L #-: Minor linting change 2022-12-20 19:11:46 +01:00
Pavel Czerný
b25274323e
M #-: Trim VM template error message (#2424) 2022-12-19 15:21:12 +01:00
Jorge Miguel Lobo Escalona
a4d9a3e374
M #~: translates (#2422) 2022-12-16 09:59:21 +01:00
Tino Vázquez
238b5d704c
M #-: Bump version to 6.6.0 2022-12-15 18:07:06 +01:00
Anton Todorov
a9b528cf84
B #6037: there are no dedicated backup DS drivers
(cherry picked from commit 750909f9b1)
2022-12-15 15:18:56 +01:00
Ruben S. Montero
8e1607e276
M #-: Add +x to driver action (backup - rsync) 2022-12-15 12:15:28 +01:00
Ruben S. Montero
571ed63dde
B #6012: Do not remove all images on cleanup
- Missing check (fails when no images are registered)
- Added additional check for image_name not empty
2022-12-14 12:20:15 +01:00
Ruben S. Montero
a07a2cf97a
M #-: rsync/stat script to work with all Ruby versions 2022-12-14 11:30:32 +01:00
Jorge Miguel Lobo Escalona
595d73ba32
B #6040: fix link backup in vm info (#2421) 2022-12-13 17:19:01 +01:00
Anton Todorov
c51c35f810
F #5681: disk source element depends on disk type
following the domain XML definition https://libvirt.org/formatdomain.html
```
_source_
  Representation of the _disk source_ depends on the _disk type_ attribute value as follows:
  _file_
    The _file_ attribute specifies the fully-qualified path to the file holding the disk. Since 0.0.3
  _block_
    The _dev_ attribute specifies the fully-qualified path to the host device to serve as the disk. Since 0.0.3
```

Also, I took the liberty to remove the _Image::FILE_ case form the switch as it is the default one.

(cherry picked from commit 83404b5ec2)
2022-12-13 16:40:44 +01:00
Jan Orel
4a2f8193a8
Revert "B #5801: Correctly terminate oned, if init fails (#2396)" (#2420)
This reverts commit 0221dc187a.
2022-12-13 15:46:54 +01:00
Neal
f14b423e22
F OpenNebula/one#5516: add rsync config to oned.conf (#2419)
Signed-off-by: Neal Hansen <nhansen@opennebula.io>
2022-12-12 20:22:13 +01:00
Ruben S. Montero
d7dfbd8b8c
M #-: Fix 956af4 (wrong variable reference used) 2022-12-12 18:35:31 +01:00
Ruben S. Montero
4df86811b9
F #5681: Support for block context devices
Add support for block context CD's. System Datastore can include
CONTEXT_DISK_TYPE to specify the type (FILER or BLOCK) of the context
CD's

co-authored-by: Victor Palma
2022-12-12 16:49:25 +01:00
Jan Orel
8689d5d49b
B #6034 Fix log rotation (#2415)
* Revert "F #5328: Update logrotate behavior to avoid long restarts (#2275)". This reverts commit 6b1127f180.

* B #5328: Don't wait for log compressing
* B #6034: Don't overwrite logs

While having already `copytruncate` in logroate we don't need to implement signaling and re-openning files.

* L #-: Linting
2022-12-12 11:50:54 +01:00
Tino Vázquez
6aab99ec2e
L #-: Linting for rsync driver 2022-12-12 11:10:25 +01:00
Jorge Miguel Lobo Escalona
8e9f48d44d
B #5939: Add PLAIN/provision_type in oneprovision (#2414) 2022-12-12 11:02:48 +01:00
Ruben S. Montero
956af4f8a9
M #-: Reset VM backups if the current active backup image is deleted 2022-12-12 10:51:01 +01:00
Pavel Czerný
3beca2d9d3
B #5640: Fix NETRX and NETTX for accounting (#2417) 2022-12-12 09:28:46 +01:00
Neal
d0980991a4
F OpenNebula/one#5516: fix stat script (#2416)
Signed-off-by: Neal Hansen <nhansen@opennebula.io>
2022-12-09 20:16:13 +01:00
Ruben S. Montero
d711ea4362
F #5516: Incremental backups not compatible with snapshots
- Qemu will terminate VMs with system snapshots and checkpoints, example:

libvirtd[7446]: internal error: qemu unexpectedly closed the monitor: 2022-12-07T16:06:59.603678Z qemu-kvm-one: Device has active dirty bitmaps.

- Also disk snapshots may render inconsistent bitmaps, example:

'virsh --connect qemu:///system checkpoint-delete 45d76e5f-25fa-416a-97fd-1624380d5e02 one-191-0':   error: Failed to delete checkpoint one-191-0 error: internal error: unable to execute QEMU command 'query-named-block-nodes': Bitmap '' doesn't satisfy the constraints Error preparing disk files

This commits prevents snapshot operations when increment backups are configured, and vice versa.
2022-12-09 17:25:56 +01:00
Jan Orel
f002812c9f
B #-: Cleanup ssh-agent socket before starting (#2413)
When (for whatever reason) opennebula-ssh-agent gets killed
it leaves existing socket and following start fails with

opennebula-ssh-agent[2333]: unix_listener: cannot bind to path /var/run/one/ssh-agent.sock: Address already in use
2022-12-09 16:22:11 +01:00
Neal
c17e0bcf1b
F OpenNebula/one#5516: incremental rsync update (#2409)
Signed-off-by: Neal Hansen <nhansen@opennebula.io>
2022-12-09 10:04:28 +01:00
Ruben S. Montero
af5044f267
M #-: Return format in clone action (Ceph)
cp and clone actions needs to return the format of the image

(cherry picked from commit 4cbd92bd6e)
2022-12-08 18:24:57 +01:00
Pavel Czerný
08e0e6c305
B #5728: Fix argument parsing for onemonitord (#2411)
* Fix argument parsing for onemonitord
* Update NebulaTemplate.h
2022-12-08 10:33:45 +01:00
Ruben S. Montero
c37d98ae06
F #5537: Remove Gateway6 from Context.
This variable was not used since 6.4.0
2022-12-07 13:28:03 +01:00
Pavel Czerný
0221dc187a
B #5801: Correctly terminate oned, if init fails (#2396)
+ Improve formating of driver initialization log messages
2022-12-07 11:15:37 +01:00
Frederick Borges
878e969eba F #5931: Remove all trace of ebtables (#2320)
(cherry picked from commit 8bbc9ff8016b57919343b092427a18525f62f970)
2022-12-07 11:11:56 +01:00
Jorge Miguel Lobo Escalona
c77f6f7f2d B #5939: Fix onprem.yml (#2410)
(cherry picked from commit 407fcf7d9a)
2022-12-07 10:37:30 +01:00
Michal Opala
597ac2cf4c
B #5668: Fix regex in the fix_dir_slashes function (#2393) 2022-12-07 10:14:33 +01:00
Jan Orel
a7fd43d9f5
B #5676: Create LDAP user without password (#2399)
* Create LDAP user without password
* Update oneuser CLI tool
* Update opennebula_configuration.xsd

Co-authored-by: Pavel Czerný <pczerny@opennebula.io>
2022-12-07 10:03:15 +01:00
Pavel Czerný
d8baeb028e
F #5925: Fix quotas after image delete failure (#2408)
* Fix quotas after image delete failure
* Fix set backup state after delete failure
2022-12-07 09:39:03 +01:00
Michal Opala
777b5fd6f0
B #-: Drop the /etc/one/onegate-proxy.conf file (onecfg fix) (#2407) 2022-12-07 09:25:48 +01:00
Jan Orel
3355250205
B #-: Fix ldap_auth if group_admin_group_dn is nil (#2403)
As in ruby 2.0
irb(main):001:0> 'a'.casecmp(nil)
TypeError: no implicit conversion of nil into String
2022-12-07 09:15:41 +01:00
Jan Orel
0b7d36df7f
M #-: Fix typo (#2405) 2022-12-06 11:32:15 +01:00
Jan Orel
dd03c67445
M #-: remove python OCA Readme fix (#2404) 2022-12-06 11:24:00 +01:00
Frederick Borges
52f0022836
M #~: remove unneeded checks (#2402) 2022-12-05 17:22:33 +01:00
Frederick Borges
b1958859d3
B #~: Show only OS, CDROM, and DATABLOCK images on image tab (#2400) 2022-12-05 17:08:03 +01:00