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

578 Commits

Author SHA1 Message Date
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
Ruben S. Montero
6cadde8eef
F #5228: LXC driver set
co-authored-by: Christian González <cgonzalez@opennebula.io>
co-authored-by: Daniel Clavijo Coca <dclavijo@opennebula.systems>
2021-03-04 21:07:50 +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
Ruben S. Montero
60dd3a3cce
F #1345: Support for Image Encrypted attributes 2021-02-17 13:03:37 +00: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
Ruben S. Montero
2e768d066c
M #-: Rename EXTERNAL to EXTERNAL_IP (AWS IPAM) 2021-01-27 16:36:26 +01:00
Pavel Czerný
b36cf9f339
B #5186: Exit HA node in case of DB failure (#712) 2021-01-25 18:55:50 +01:00
Ruben S. Montero
45bda53434
M #-: Add qemu based hybrid+ provisions 2021-01-25 12:10:43 +00:00
Ruben S. Montero
1ccb3642d6
M #-: Support for in-network vxlan configuration 2021-01-20 15:02:53 +01:00
Jan Orel
2a178816ab B #5210: Make LDAP group_admin configurable (conf) 2020-12-18 09:59:18 +01:00
Jan Orel
96068ef185
F #5214 #5075: New provision templates.
* Public IP no longer uses NAT'ing
* Improved handle of host collections and indexes
* Update of ansible roles and playbooks

Co-authored-by: Ruben S. Montero <rsmontero@opennebula.org>
2020-12-15 10:07:06 +01:00
Carlos J. Herrera
2ffee26c73
F #1660: Implement live resize in vCenter (#467) 2020-11-24 18:06:13 +01:00
Ruben S. Montero
80cdefc9fb
F #1660: :Add resize actions. Remove provision attributes 2020-11-17 13:04:41 +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
Alejandro Huertas Herrero
6395b3f891
F #5124: implement provision actions using Terraform (#368) 2020-10-28 15:11:34 +01:00
Tino Vazquez
728142e205 F #5076: Implement provider/provision template
co-authored-by: Alejandro Huertas <ahuertas@opennebula.io>
2020-10-13 13:38:19 +02:00
Pavel Czerný
a5ca150e4d
B #5095: Custom NIC attributes overrides VNET (#283) 2020-10-08 19:06:20 +02:00
Ruben S. Montero
88c30370bc
F #4985: Support for cluster replicas to ssh driver
The initial caching mechanism will be exteneded with:
  - Cache remplacement policy
  - Optimize recovery snapshot with qcow2 format
  - Add support for automatic snapshot VM disks

co-authored-by: Jan Orel <jorel@opennebula.systems>
2020-10-02 12:58:18 +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
Ruben S. Montero
998f2ddd1e
M #-: Removed unused variables
(cherry picked from commit ce38105eff)
2020-08-06 23:55:32 +02:00
Pavel Czerný
3fa04ee2d5
M #-: Configurable timeout for SQLite DB (#4882) 2020-06-04 18:05:58 +02:00
Ruben S. Montero
22bc2144c8
M #-: Typo 2020-06-03 18:30:04 +02:00
Pavel Czerný
0e7de61282
B #4115: MySQL BINARY name searches configurable (#4873)
Co-authored-by: an Orel <jorel@opennebula.systems>
2020-06-03 18:11:04 +02:00
Pavel Czerny
7705d669a7
F #3859: Monitord HA 2020-05-25 10:49:50 +02:00
Petr Ospalý
74f1720086
F OpenNebula/addon-context-linux#83: Del metric6
- distro's network scripts have no support for ipv6 metrics - no reason
  then to provide ipv6 specific METRIC6 variable

Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
2020-05-20 14:58:54 +02:00
Petr Ospalý
3b5671455a
F OpenNebula/addon-context-linux#83: Add metric
Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
2020-05-20 05:42:00 +02:00
Petr Ospalý
a96de2f14a
F #1473: Update SSH config and sockets (#4733)
* F #1473: Update SSH config and sockets

- install files via install.sh script
- replace crontab with systemd timer
- update opennebula.service dependency
- move ssh master sockets from ~oneadmin to /run/one/ssh-socks
- modify ssh wrapper to not use external programs but only bash builtins
- update ssh configs

Signed-off-by: Petr Ospalý <pospaly@opennebula.io>

* F #1473: Update SSH config and sockets

* F #1473: Update SSH config and sockets

* F #1473: Update SSH wrapper

- rename SSH_USE_MASTER_SOCK to SSH_OPT_CONTROL_MASTER
- change the logic of this directive to be a value of the SSH
  'ControlMaster' option (default is 'auto')
- delete the SSH_USE_MASTER_SOCK from opennebula.service (not needed
  anymore)

Signed-off-by: Petr Ospalý <pospaly@opennebula.io>

Co-authored-by: Vlastimil Holer <vholer@opennebula.io>
2020-05-15 18:51:04 +02:00
Ruben S. Montero
33b22ad1ba
F #3859: IMPORT_VM_ID = DEPLOY_ID = UUID 2020-05-14 20:03:35 +02:00
Petr Ospalý
51d6d2a99d
F #1473: Fix and improve SSH config (#4713)
- workaround issues with persistent connections
- add new cronjob

Co-authored-by: Vlastimil Holer <vholer@opennebula.io>
2020-05-12 18:37:23 +02:00
Christian González
30b1425f2c
F #4089: Integrate DockerHub marketplace (#4684) 2020-05-10 20:14:20 +02:00
Vlastimil Holer
f3c50a5d89
M #-: Year bump to 2020 (#4634) 2020-04-30 15:00:02 +02:00
Alejandro Huertas Herrero
011e66b64e
F #2152: add option to forward in vmm exec (#4609)
Co-authored-by: Vlastimil Holer <vholer@opennebula.io>
2020-04-27 19:38:30 +02:00
Ruben S. Montero
6f0ec36f6f
F #3881: make Frontend Hostname configurable
co-authored-by: Alejandro Huertas <ahuertas@opennebula.io>
2020-04-27 18:39:36 +02:00
Ruben S. Montero
4384903049
M #-: Fix typo in oned.conf 2020-04-22 02:03:20 +02:00
Christian González
4269234441
F #4089: Fix minor bugs (#4568) 2020-04-21 16:25:58 +02:00
Alejandro Huertas Herrero
29e18184b8
B #4064: encrypt password in context section (#4528) 2020-04-14 17:07:23 +02:00
Ruben S. Montero
9aa1041103
F #3600: Initial PostgreSQL Support
co-authored-by: Igor Sivy <igorsivy@gmail.com>
co-authored-by: Pavel Czerny <pczerny@opennebula.io>
co-authored-by: Vlastimil Holer <vholer@opennebula.io>
(cherry picked from commit c52f62018c32281c6e418211f33f1bba46388e98)
2020-04-13 17:35:06 +02:00
Pavel Czerný
eeb334b6f3
F #3859: Fix VM_STATE monitoring (#4360)
* F #3859: Fix VM_STATE monitoring

* F #3859: Remove obsolete settings from oned.conf

* F #3859: Monitor logging
2020-03-16 09:32:32 +01:00
Christian González
6ca44cad75
F #4340: Restrict access to TOPOLOGY attributes (#4341) 2020-03-13 16:08:37 +01:00
Ruben S. Montero
44e44b47a8
F #3859: New monitoring architecture
co-authored-by: Pavel Czerny <pczerny@opennebula.systems>
  co-authored-by: Daniel Clavijo Coca <dclavijo@opennebula.systems>
2020-03-04 16:05:57 +01:00
Ruben S. Montero
098e9b9786
F #4114: add cold nic attach feature
co-authored-by: Alejandro Huertas <ahuertas@opennebula.systems>
2020-02-26 17:51:40 +01:00
Alejandro Huertas Herrero
944d598287
F #4231: reserve ephemeral ports in oned.conf (#4235) 2020-02-20 17:28:12 +01:00
Ruben S. Montero
c8bf48f1ce
F #4089: Add microVM support via Firecracker
co-authored-by: Christian González <cgonzalez@opennebula.systems>
2020-02-20 17:06:45 +01:00
Jan Orel
792f3042a7
F #1203: Refactor Azure driver, use new SDK (#4198)
* Refactor Azure driver, use new SDK
* Azure driver: sec group, prox. group, avail
* Azure driver: Include also private ip address

Co-authored-by: Tino Vázquez <cvazquez@opennebula.systems>
2020-02-20 16:02:55 +01:00
Ruben S. Montero
0d3aba8cab
F #4163: Tunrkey Linux automatic configuration for OpenNebula 2020-02-07 10:51:14 +01:00
Ruben S. Montero
151e7a7580
F #4056: Add user to LDAP group as admin
Author: Jan Orel <jorel@opennebula.systems>
co-authored-by: Jan Orel <jorel@opennebula.systems>
2020-01-28 12:21:26 +01:00
Daniel Clavijo Coca
10659af17a M #: Add sys datastores modes for RDM (#4060) 2019-12-21 00:04:02 +01:00
Ruben S. Montero
8fb20107e2
B #3946: Optionally forced encoding for oned connections 2019-11-19 16:10:26 +01:00
Ruben S. Montero
4860636a41
M #-: Remove unneeded files, update oned.conf accordingly 2019-11-11 10:46:43 +01:00
Tino Vazquez
1553e0746a
F #3380: Change default hook log retention 2019-10-14 12:59:41 +02:00
Jan Orel
b9a1239267 F #3147: Ceph - move to trash instead delete (#3341) 2019-09-26 15:57:12 +02:00
Christian González
99985337e6 M #-: Minor changes (#3762) 2019-09-24 09:47:07 +02:00
Alejandro Huertas Herrero
276476b71d M #-: change ds encrypted by datastore (#3726) 2019-09-19 11:30:03 +02:00
Alejandro Huertas Herrero
12928399d5 F #3064: add datasores clusters encrypted attrs (#3722) 2019-09-17 16:18:54 +02:00
Alejandro Huertas Herrero
c9b609cc40 F #3064: adapt DDC to new secrets handling (#3716) 2019-09-17 15:29:01 +02:00
Alejandro Huertas
e997d2b2b3
F #3064: encrypt address range template
The address range template in address range pool is encrypted
2019-09-13 11:35:53 +02:00
Ruben S. Montero
3c2df22ad7
F #3064: separate encrypted attrs by objects
* There are encrypted attributes for VMs, Hosts and VNets
    * For VMs the user template is also encrypted
    * For VNets its address ranges attributes are also encrypted

Co-authored-by: Alejandro Huertas <ahuertas@opennebula.systems>
2019-09-12 16:25:23 +02:00
Ruben S. Montero
6143dd95ce
F #3380: New Hook system. Drivers, oned and command line tool
Co-authored-by: Christian González <cgonzalez@opennebula.systems>
2019-09-09 14:47:42 +02:00
Ruben S. Montero
500e45dbd6
F #1401: Configurable VM_*_OPERATIONS per group and user. Restructure of the API
authorization levels and initialization logic.

Co-authored-by: Pavel Czerny <pczerny@opennebula.systems>
2019-09-09 13:13:52 +02:00
Alejandro Huertas Herrero
9e7c10278a F #3064: separate encrypted attrs in oned conf (#3656) 2019-09-05 21:49:59 +02:00
Carlos J. Herrera
1761db51bc B #3631: dev_prefix on create image (#3632)
* B #3631: put correct dev_prefix when create image

Signed-off-by: Carlos J. Herrera Matos <cherrera@opennebula.systems>

* B #3631: revert: put correct dev_prefix when create image

This reverts commit c5e328beca.

* B #3631: change default device prefix

Signed-off-by: Carlos J. Herrera Matos <cherrera@opennebula.systems>
2019-09-05 11:55:29 +02:00
Ruben S. Montero
a742b95d83
F #3064: Unified secret handling
Co-authored-by: Pavel Czerny <pczerny@opennebula.systems>
2019-09-03 16:46:36 +02:00
kvaps
a297619227 F #3384: Inherit FILTER from the virtual network (#3385)
Signed-off-by: kvaps <kvapss@gmail.com>
2019-07-31 11:03:24 +02:00
Ruben S. Montero
3b4b0b2723
F #3503: Support for DPDK. Added ISOLCPUS to isolate cpus from the NUMA scheduler 2019-07-25 16:23:38 +02:00
Ruben S. Montero
f3f2a23722
M #-: Add supported drivers for DS_MONITOR_VM_DISK 2019-07-17 22:40:21 +02:00
Pavel Czerný
04b6d01599 F #2765: Configurable VM disk monitoring (#3525) 2019-07-17 22:11:02 +02:00
Tino Vazquez
db1d87c1ab
M #-: Remove trailing space in oned.conf 2019-07-10 17:32:16 +02:00
Alejandro Huertas Herrero
b9daad50b6 M #: remove duplicated key in TM_MAD_CONF (#3479) 2019-07-05 16:53:49 +02:00
Christian González
baaac7fec6 M #-: Fix typo in oned.conf (#3462) 2019-06-28 16:57:15 +02:00
Ruben S. Montero
431e01c6b3
F #1324: Add confguration option to oned.conf 2019-06-12 18:58:34 +02:00
kvaps
73ff19b7aa development: fix VN_MAD_CONF comment
Signed-off-by: kvaps <kvapss@gmail.com>
2019-03-26 10:00:15 +01:00
kvaps
2bb8957cb6 F #3092: Add FILTER to VM_RESTRICTED_ATTR
Signed-off-by: kvaps <kvapss@gmail.com>
2019-03-25 12:21:23 +01:00
Ruben S. Montero
f72f6872b6 B #3038: Missing configuration attributes for qcow2
(cherry picked from commit 710e37bcda)
2019-03-06 11:28:30 +01:00
Jan Orel
a67217f2c2 F #2095 Support persistant VM snapshots for kvm 2019-02-01 17:19:22 +01:00
Christian González
aabba85ee5 F #1540 Add core support for ds live migration (#2866)
* F #1540 Add core support for ds live migration

* Update RequestManagerVirtualMachine.cc
2019-01-31 17:27:55 +01:00
Ruben S. Montero
65883dab98 development: Enable by default configuration the shared mode for ceph 2019-01-20 14:38:41 +01:00
Vlastimil Holer
441cf1f7f9 Bump version to 5.7.85, year to 2019 2019-01-16 11:47:59 +01:00
Alejandro Huertas Herrero
e65dd8c251 F #911: call reconfigure when detaching a nic/alias. 2019-01-14 11:33:53 +01:00
Ruben S. Montero
6b6904a6c0 B #2052: Add mixed mode for ALLOW_ORPHANS to accomodate Ceph snapshots
dependencies
Co-authored-by: Christian González <cgonzalez@opennebula.systems>
2018-12-24 14:00:38 +01:00
Ruben S. Montero
e822269bab F #2462: Better defaults for RAFT 2018-12-18 15:43:20 +01:00
Ruben S. Montero
5a4740b8c7 F #2531: Add support for linuxcontainers MarketPlace
Co-authored-by: Sergio Vega Gutiérrez <svega@opennebula.systems>
2018-12-15 17:17:17 +01:00
Ruben S. Montero
9cd97c8adb development: Added TM_MAD_SYSTEM shared to Ceph driver configuration 2018-12-12 18:02:35 +01:00
Ruben S. Montero
07399094b3 F #1684: Support for LXD/LXC Containers. The LXD/LXC drivers are heavily
inspired by the LXD addon https://github.com/OpenNebula/addon-lxdone.

Co-authored-by: Daniel Clavijo Coca <dclavijo@opennebula.systems>
Co-authored-by: Sergio Vega Gutiérrez <svega@opennebula.systems>
Co-authored-by: José Manuel de la Fé Herrero <jmdelafe92@gmail.com>
2018-11-28 12:26:59 +01:00
kvaps
92dcbbabbb development: Disallow spoofing options override for VNETs (#1906) 2018-11-22 11:25:59 +01:00
Christian González
d921610d15 F #826 Authorize user/group to create restricted networks (#2625) 2018-11-20 17:24:59 +01:00
Ruben S. Montero
69ec6548b5 F #2253: Add BRIDGE_TYPE to virtual network drivers. Allow custom bridging techonologies for custom drivers.
Author: Christian <cgonzalez@opennebula.org>
2018-09-20 13:07:05 +02:00
juanmont
c4905fb08d F #2356: Added new on states to oned.conf 2018-08-29 16:08:26 +02:00
Ruben S. Montero
6f85151d87 F #2150: Changes for oned.conf. Add client IP by default in oned.conf
(cherry picked from commit 3d883cd487722e01ad79c7f222fc6421290fe608)
2018-08-15 20:45:49 +02:00
juanmont
568202d82e F #2150: Log IP/TCP port from client
(cherry picked from commit 565a3e69bb)
(cherry picked from commit 7d0c4f08dc)
(cherry picked from commit 4e04e37ef7a0fa519f9507a7013aefdd5c7a6474)
2018-08-15 20:44:51 +02:00
Ruben S. Montero
d40cd199b9 F #2283: restore removed comments by mistake 2018-08-06 14:26:50 +02:00
Ruben S. Montero
21fe311681 F #2183: Use pager for list commands (e.g. onevm list). Support for
custom ordering (by ID) in list API calls, this can be set per user,
group and default in oned.conf
2018-08-06 14:16:00 +02:00
juanmont
d0766591f0 F #2192: New MONITOR INTERVALS for fine grain tunning 2018-06-19 16:15:01 +02:00
Ruben S. Montero
012258a39d F #994: Add VCENTER_ESX_HOST to restricted attributes 2018-06-11 18:16:56 +02:00
Ruben S. Montero
d50141d5bc Fix wrong name in oned.conf and mapping for snapshot create 2018-06-11 17:20:40 +02:00
Ruben S. Montero
8e0b6d7e8e F #2166: Added note on infinite timeouts for RAFT API calls 2018-06-08 22:49:39 +02:00
Ruben S. Montero
53fe56a991 F #2147: Better timeouts for xml-rpc clients. Updated oned.conf with default
XML-RPC timeout.
2018-06-02 13:40:54 +02:00
juanmont
cd288c349b F #1439: Add IO Burst Attributes for KVM
Author: juanmont <jjmontiel@opennebula.systems>
2018-05-18 16:27:05 +02:00
Ruben S. Montero
08acf5bd0a
Revert "F #1439: Added new attributes to set maximum values (#2060)" (#2062)
This reverts commit f42f43b6a2.
2018-05-05 23:54:49 +02:00
juanmont
f42f43b6a2 F #1439: Added new attributes to set maximum values (#2060)
* F #1439: Added new attributes to set maximum values

* F #1439: Added attributes to oned.conf

* F #1439: Added new attributes to Sunstone
2018-05-04 17:12:16 +02:00