1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-20 14:03:36 +03:00

20186 Commits

Author SHA1 Message Date
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 6b1127f180bcc4416bec3b7226629b392dd18737.

* 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 4cbd92bd6e183e9e7d17dad77f0d73528893d619)
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 407fcf7d9aa0eb96ae8373715bf51ba269f1de1f)
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
Jan Orel
e037e6c3c7
M #-: Refresh gemfile lock (#2397) 2022-12-05 16:17:44 +01:00
Frederick Borges
e21a219154
M #~: Fix typo (#2398) 2022-12-05 16:16:06 +01:00
Ruben S. Montero
f599d813ca
M #5989: Add missing files
- Add update_nic operation to all drivers, linked to dummy (no actual
  operation will be performed, but the network will be updated)
- Add missing update_nic in bridge driver
2022-12-05 14:14:18 +01:00
Tino Vázquez
5b525c0c43 M #-: Bump version 6.5.90 2022-12-05 14:07:13 +01:00
Frederick Borges
7c02f13eb0
B #5839: Fix vnet creation in sunstone (#2392)
when changing the network mode
2022-12-05 11:25:24 +01:00
Tino Vázquez
8bd2665ebf M #-: remove python OCA Readme 2022-12-05 11:22:02 +01:00
Frederick Borges
7ba48635e5
B #5999: Fix filters by labels on FSunstone (#2394) 2022-12-05 11:21:24 +01:00
Frederick Borges
e4199c278e
F #5516: Fix increment size (#2391) 2022-12-02 11:54:38 +01:00
Daniel Boca
8942bcf659
B #6012: Clean func for docker images 6012 (#2390) 2022-12-02 10:54:33 +01:00
Tino Vázquez
673e651639
M #-: Fix debug string log location 2022-12-01 18:01:30 +01:00
Tino Vázquez
2663e833c7
M #-: Update slack push notifier
- more compact
- notifies pushes & merged/closed PRs
- only show one line of the PR or commit message
2022-11-29 17:53:22 +01:00
Frederick Borges
e7f42ccce0
F #5516: Add restore_dialog action to yaml (#2389) 2022-11-29 17:45:23 +01:00
Pavel Czerný
ff1f296ed1
M #-: Update Java bindings (#2386) 2022-11-29 16:09:59 +01:00
Frederick Borges
bf5a9193a0
M #~: Add gacamole buttons to yaml (#2388) 2022-11-29 15:48:21 +01:00
Frederick Borges
d917a59e2e
F #5753: Expose memory resize mode on Sunstone (#2387) 2022-11-29 13:21:05 +01:00
Frederick Borges
820970b182
B #6026: Fix sunstone oneflow connection (#2385) 2022-11-29 10:37:44 +01:00
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