1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-28 14:50:08 +03:00

421 Commits

Author SHA1 Message Date
Ruben S. Montero
9cb798b75d
M #5855: Typo
(cherry picked from commit f99cee59cb56d96de39372f2ffd12035fe4fae01)
2022-06-03 09:26:36 +02:00
Alejandro Huertas Herrero
0a0e09d28c
B #5855: replace augtool by grep (#2124)
(cherry picked from commit 574a5925ed6d8f3c2e8680a6c53ef79be86eaa41)
2022-06-02 18:20:03 +02:00
Daniel Clavijo Coca
96967ae049
B OpenNebula/one#5810: Handle XFS differently (#1986)
(cherry picked from commit c88cfa3bc2867b27fa144433cb0d4f09a8e7ff09)
2022-04-29 09:36:28 +02:00
Christian González
163d900e63
B #5765: Fix local monitoring (.monitor) (#1937) 2022-04-12 17:33:21 +02:00
Tino Vazquez
f7d53e75ff M #-: Bump version 6.3.85 2022-04-07 19:49:58 +02:00
Christian González
dcc76f4b29
M #-: Remove .monitor file when it's not needed (#1897) 2022-04-06 17:30:09 +02:00
Daniel Clavijo Coca
820b257742
* F OpenNebula/one#5506 (#5599,#5621): LXC cgroup improvements
(cherry picked from commit 3c5a419c851226a483ad28c0b4661213eda82c61)
2022-03-10 17:29:02 +01:00
Pavel Czerný
29b18fdb4b
B #5401: Ignore broken pipe error (#1353)
(cherry picked from commit 1d52612c1060c4fcf775de8a5f35728918a9deee)
2021-07-13 17:57:15 +02:00
Ruben S. Montero
651d841081
B #5065: Fix syntax error 2021-05-27 17:01:02 +02:00
Ruben S. Montero
2a8fbbb31b
B #5065: Fix get_error_message
Removes uneeded error message wraps.

(cherry picked from commit 82fb4f421696d5e0526c45f46f9abd6540167ca2)
2021-05-27 14:32:53 +02:00
Ruben S. Montero
ed686cfc87
Revert "M #-: Fix stdin processing in SshStreamCommand (#1043)"
This reverts commit 02736a1d85f1e20067100fc35dfac1084511065d.
2021-04-12 10:58:18 +02:00
Jan Orel
02736a1d85
M #-: Fix stdin processing in SshStreamCommand (#1043) 2021-04-09 10:36:08 +02:00
Petr Ospalý
54d40162ce
M #~: Fix for fuse2fs (#1044)
It returns zero even when fails.

Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
2021-03-30 17:16:56 +02:00
Vlastimil Holer
04b83c9a11
M #-: Escape shell commands in VN drivers (#1025) 2021-03-30 17:15:40 +02:00
Pavel Czerný
872939fb26
F #727: Improve shareable disks (#970)
* Shareable only on supported hypervisors
* Fix disk-attach
* Restrict shareable disks to SHARED datastores
* On image clone: copy SHAREABLE depends on DEFAULT_IMAGE_PERSISTENT flag
2021-03-15 16:24:25 +01:00
Daniel Clavijo Coca
a18308887d
B OpenNebula/one#5086: lxd market auto context incompatible with nosuid, nodev (#931) 2021-03-10 10:18:32 +01:00
Jan Orel
4a35ca7c71
F #4985: Fix ssh/cpds for qcow2 disk of stopped VM (#891)
If disk has RECOVERY_SNAPSHOT_FREQ attr, it's a
qcow2 backing chain (2). Convert it to a single
qcow2 first.
2021-02-28 18:46:49 +01:00
Jan Orel
657933593e
M #-: Fix typo (#847) 2021-02-22 10:02:02 +01:00
Jan Orel
73c27a9dd2
F 1345: Allow using LUKS volumes for KVM (#808)
* F #1345: KVM support for persistent luks volmes

Support for attaching a persistent qemu luks encrypted disk, created as
per the libvirt/qemu documentation.

Private secret must be defined on the hypervisor for decryption and the
image should contain "LUKS_SECRET" attribute.

1) Create the image and import into datastore:

 # qemu-img create --object secret,id=sec0,data=secretphrase -o key-secret=sec0 -f luks volume 1G

2) Create the secret on the hypervisor:

 # virsh secret-define volume-secret.xml
 # MYSECRET=`printf %s "secretphrase" | base64`
 # virsh secret-set-value $MYUUID $MYSECRET

 # virsh secret-dumpxml $MYUUID
 <secret ephemeral='no' private='yes'>
   <uuid>$MYUUID</uuid>
   <description>luks key</description>
   <usage type='volume'>
     <volume>rbd:one/one-123</volume>
   </usage>
 </secret>

3) Set the UUID in the image attributes, ie:

 # oneimage show 123 |grep LUKS
 LUKS_SECRET="$MYUUID"

This should allow the disk attach to decryt the luks image and
use as a normal disk within the VM.

Co-authored-by: Laurence <laurencegill@users.noreply.github.com>
2021-02-18 18:32:23 +01:00
Pavel Czerný
05e6d4472a
F #1226: Support for KVM iothreads (#783) 2021-02-11 15:33:09 +01:00
Ruben S. Montero
7d6e019e6d
B #5250: Add time stamp to monitor clients 2021-02-09 17:17:35 +01:00
Vlastimil Holer
096754b63f
M #-: Bump year to 2021 (#778) 2021-02-09 16:07:56 +01:00
Pavel Czerný
d132bab6ad
F #5225: Support for kvm size_iops_size (#743) 2021-02-08 16:59:55 +01:00
Jan Orel
ff633fae6e
L #-: Lint DriverExecHelper.rb (#666) 2021-01-18 19:43:43 +01:00
Petr Ospalý
bb0b4aa526
B OpenNebula/one#5086: Add fuse support (#541)
This commit solves issues with creating new VM images based on the
docker images inside a container environment.

If fuse2fs command is present then prefer its use instead of the default
mount command which will work only under root or otherwise privileged
user.

This commit solves the mounting issue inside the rootless container
environment.

Also add a new environment file to the oned supervisord service so we
can start oned process with some additional env. variables - notably
DOCKER_HOST.

Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
2020-12-10 17:30:27 +01:00
Pavel Czerný
7ba1bbe633
F #1660: Hotplug VCPU and mem for KVM (#392)
Co-authored-by: Ruben S. Montero <rsmontero@opennebula.org>
2020-11-17 11:24:52 +01:00
Jan Orel
c4c6cc9998
EC2 ipamm driver, update alias_sdnat (#408)
Co-authored-by: Ruben S. Montero <rsmontero@opennebula.org>
2020-11-17 09:40:24 +01:00
Christian González
4db78e267a
F #5058: improve sparse files image management (#240)
Co-authored-by: Vlastimil Holer <vholer@opennebula.io>
2020-11-12 16:48:25 +01:00
Tino Vazquez
aa78acf67e
M #-: Fix for local steps in vCenter 2020-11-06 10:23:09 +01:00
Tino Vazquez
e58eae6c66
M #-: Remove debug code 2020-11-05 18:46:24 +01:00
Jan Orel
9254faebf6
F #4985: Use rsync instead rdiff (#342) 2020-10-21 17:13:09 +02:00
Jan Orel
b14923b798
M #-: Minor fixes, typos (#337) 2020-10-21 10:40:09 +02:00
Jan Orel
c84fabd56c
F #4985: Add recovery snapshots and cache monitor
Co-authored-by: Ruben S. Montero <rsmontero@opennebula.io>
2020-10-20 18:53:05 +02:00
Ruben S. Montero
95a7a4ede5
F #4089: Support to FS formatt VM disk images
- Consistency set of FORMAT attribute for images, and volatile disks
    - DRIVER does not be specified by the USER and it is derived from driver
      configuration for the Datastore and TM driver
    - CP action from DS_MAD now needs to return the image FORMAT
    - FSTYPE is deprecated and no longer used
    - FS new attribute to specify file system FS.

co-authored-by: Christian González <cgonzalez@opennebula.io>
2020-09-25 12:15:03 +02:00
Petr Ospalý
4535528aa8
B #4964: Fail fast when error (#84)
Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
2020-07-17 12:20:11 +02:00
Ruben S. Montero
a3d8d4a65e
F #4936: Refactor Driver and Message classes in OpenNebula daemon
co-authored-by: Pavel Czerny <pczerny@opennebula.systems>
2020-06-29 12:14:00 +02:00
Vlastimil Holer
5549872f5c
B #4867: CommandManager terminate reading threads (#4886) 2020-06-05 13:18:02 +02:00
Pavel Czerný
a190d2d14c
F #3859: Encrypt message in send_to_monitor (#4865) 2020-06-02 16:21:40 +02:00
Alejandro Huertas Herrero
fab48b8360
M #-: suppress augeas require warning message (#4846) 2020-06-01 12:57:02 +02:00
Ruben S. Montero
a3451a5272
Update scripts_common.rb 2020-05-29 12:48:06 +02:00
Pavel Czerny
2ab75f4280
B #4793: Move requires to function, rescue errors 2020-05-29 11:39:12 +02:00
Ruben S. Montero
d27a819856
M #- : Explicit FAILURE for send_monitor 2020-05-28 17:44:09 +02:00
Pavel Czerny
9baef5c8d6
B #4793: Rewrite VM disks monitoring 2020-05-28 15:36:16 +02:00
Christian González
9a0b149a08
M #: replacing uuidgen 2020-05-25 17:39:14 +02:00
Christian González
41993ce155
M #: Minor improvements 2020-05-19 19:00:40 +02:00
Christian González
828a59f897
M #: check tarball parameter 2020-05-18 12:56:45 +02:00
Christian González
869206ae60
M #: add nosuid option to mount 2020-05-18 12:30:21 +02:00
Christian González
87677e531c
M #: Improve create_docker_image script 2020-05-18 12:25:13 +02:00
Christian González
acf6454c6e
F #4089: Improve DockerHub integration (#4688)
Add LINK attribute to marketapps
lint marketplace
2020-05-18 02:54:11 +02:00
Jan Orel
82a8183daf
M #-: Include deploy_id in public driver cache (#4736) 2020-05-16 21:17:40 +02:00