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

2016 Commits

Author SHA1 Message Date
Jan Orel
3793f80671
M #-: Dalli <3.0, refresh Gemfile locks (#1926) 2022-04-11 12:08:54 +02:00
Ruben S. Montero
4b746348b3
f #5725: State for Virtual Networks
* VNETs include state to flag their configuration status
  (READY/ERROR/LOCK)
* Hooks can be program based on VNET state transitions
* Include Java/Go/Ruby bindings
* New vCenter network drivers
* Place-holder to customize actions (create/delete) for other netowrk drivers
* Sunstone integration
* OneFlow syncs flow creation on VNET status
* Remove deprecated vcenter hooks and autoregistration

co-authored-by: Frederick Ernesto Borges Noronha <fborges@opennebula.io>
co-authored-by: Alejandro Huertas <ahuertas@opennebula.io>
co-authored-by: Pavel Czerny <pczerny@opennebula.systems>
2022-04-09 15:20:17 +02:00
Jan Orel
72f1e5dee5
F #5620: Add Ceph HCI to OneProvision (#1918) 2022-04-09 14:40:19 +02:00
Christian González
5f6a5cb71c
F #5717: Add support for ubuntu1604 (#1914) 2022-04-09 13:00:25 +02:00
Tino Vazquez
f7d53e75ff M #-: Bump version 6.3.85 2022-04-07 19:49:58 +02:00
Tino Vazquez
9d7f8e8a60 M #-: Add recover action to vCenter Wild VMs 2022-04-07 16:53:30 +02:00
Alejandro Huertas Herrero
632e2f8e52
M #-: change OneProvision default ver to 6.3.80 (#1916) 2022-04-07 16:41:53 +02:00
Alejandro Huertas Herrero
736aca84b9
F #5787: move virtual providers to another folder (#1900) 2022-04-06 17:40:55 +02:00
Jan Orel
5d1129910f
M #-: Refresh Gemfile locks (#1912) 2022-04-06 10:59:30 +02:00
Alejandro Huertas Herrero
df31718a5c
F #5351: fix minor bug with vgpu path (#1906) 2022-04-05 15:15:45 +02:00
Tino Vazquez
ba6bcf632b
M #-: Add missing action for vCenter Wild VMs 2022-03-30 09:55:20 +02:00
Pavel Czerný
1010ae903c
M #-: Fix opennebula_configuration.xsd (#1847) 2022-03-21 09:02:27 +01:00
Tino Vazquez
af91c0deef
M #-: change AWS metal private iface 2022-03-17 18:33:36 +01:00
Ruben S. Montero
289846f67f
M #-: Add host drivers to VM xml (short)
- This will help to identify VM class (e.g. KVM vs VMware) in list views
- Update xsd schema for vm pool (VM_MAD/TM_MAD)
2022-03-16 18:42:23 +01:00
Jan Orel
3d0665e457
M #-: OneProvision: search AWS ami in Terraform (#1840) 2022-03-16 12:36:16 +01:00
Tino Vazquez
0ad7fd7fab B #5732: Support for miltiple VMDK upload
(cherry picked from commit c5ec70903d)
2022-03-15 17:54:09 +01:00
Alejandro Huertas Herrero
1350f1cbfe
M #-: change AWS default AMIs (#1839) 2022-03-15 09:46:58 +01:00
Jan Orel
3939dfb0ea
M #-: Add missing ALLOW_ORPHAN for shared TM_MAD (#1835)
shared is now the same as qcow2, so the configuration
defaults should be the same
2022-03-14 13:03:44 +01:00
Tino Vazquez
dd771b498c
L #-: Temporarily remove center/cp
from rubocop linting
2022-03-10 11:02:36 +01:00
Kristián Feldsam
b9e2dcc4eb
F #4556: Added option to conf VM logs location
Easily share VM logs between HA nodes with the aid of a sync daemon like
lsyncd

Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
2022-03-03 12:07:58 +01:00
Pavel Czerný
d787313ea1
F #5753: Better live mem resize for KVM (#1820)
(cherry picked from commit c6965c3cfe)
2022-03-01 10:50:25 +01:00
Ruben S. Montero
6ec28c4f35
F #5722: Restrict QinQ conf for regular users 2022-03-01 10:05:21 +01:00
Ruben S. Montero
1d545b923e
F #5722: Revert changes to oned.conf made during merge 2022-02-25 14:42:55 +01:00
Ruben S. Montero
2488ae1a13
F #5722: Support for QinQ and MTU for OVS
- CVLANs to 1dotq-tunnel
    - QINQ_TYPE defaults to 802.1q
    - Addts support fot MTU set of OVS ports

co-authored-by: Mikhail Samoylov <msamoylov@opennebula.io>
2022-02-25 14:37:30 +01:00
Jan Orel
f9fd3ed7b0
Fix typo provison/provision (#1781) 2022-02-22 15:41:33 +01:00
Jan Orel
4ce4cad8e6
Remove python role from oneprovision (#1774) 2022-02-22 15:40:29 +01:00
Ruben S. Montero
ef92dc600c
F #5722: New QinQ parameters in oned.cof [OpenvSwtich] 2022-02-21 18:35:51 +01:00
Alejandro Huertas Herrero
4b0b6d835f
F #5351: fix typo in sudoers (#1787) 2022-02-17 18:24:55 +01:00
Alejandro Huertas Herrero
7f719598bd
F #5351: add support for NVIDIA vGPU (#1779) 2022-02-17 15:51:27 +01:00
Alejandro Huertas Herrero
3acfb81942
M #-: update AMIs in AWS EU providers (#1758) 2022-02-08 12:57:30 +01:00
Ruben S. Montero
3583aa9e26
Revert 32156cfc5 for RHEL7
Faraday version 1.9.3 and faraday_middlewre 1.2 (required by newer
versions of Equinix API) requires Ruby >= 2.4.

(cherry picked from commit f75497fbb8)
2022-02-08 10:17:00 +01:00
Ruben S. Montero
e014513a6d
M #-: fix gem dependencies error in provision 2022-02-08 09:39:03 +01:00
Alejandro Huertas Herrero
e1585c6ef4
M #-: fix gem dependencies error in provision (#1754) 2022-02-07 13:23:25 +01:00
Sergio Betanzos
b522f4c051
M #~: Fix inputs to DigitalOcean provision (#1748) 2022-02-03 11:34:11 +01:00
Sergio Betanzos
f1cf6dfb61
M #~: Fix inputs to digitalocean provisions (#1736) 2022-02-01 18:20:10 +01:00
Alejandro Huertas Herrero
27e4ef52d4
F #5593: add default frr iface for AWS (#1723) 2022-01-28 14:04:05 +01:00
Alejandro Huertas Herrero
341d5f806b
F #5593: implement OneProvision add host operation (#1721)
* Add new CLI command oneprovision host add
    * Add new CLI command oneprovision ip add
    * Fix minor issues with destroy resources operation
    * Add force parameter to delete operation
    * Update all providers base OS to ubuntu2004
    * Update Ansible roles
2022-01-27 16:25:19 +01:00
Tino Vazquez
854d586e8f
M #-: refresh doc link to API 2022-01-18 17:32:19 +01:00
Ruben S. Montero
a57bbcf4e2
M #-: Dalli 3.0.2 does not work with passenger
(cherry picked from commit 5a89cbad3e)
2022-01-17 15:45:12 +01:00
mikhsam
2d9f8ee0c1
Add AlmaLinux Gemfile (#1701)
Signed-off-by: Mikhail Samoylov <msamoylov@opennebula.io>
2022-01-17 15:40:16 +01:00
Carlos J. Herrera
f9123adc9c
B #5545: vCenter VNETs with dpg does not set clusters correctly (#1680)
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2022-01-11 14:48:48 +01:00
Pavel Czerný
8206ace347
F #5661: Update opennebula_configuration.xsd (#1688) 2022-01-10 15:18:05 +01:00
Pavel Czerný
b3166b5e6f
F #5661: Use factor to count snapshot size (#1650)
Co-authored-by: Ruben S. Montero <rsmontero@opennebula.org>
2022-01-05 12:23:22 +01:00
Tino Vazquez
79e8cab9d7
L #-: Linting cops for rubocop 1.24.1 2022-01-04 19:21:12 +01:00
Jorge Miguel Lobo Escalona
e29bf74039
B #5584: Downgrade dalli gem version (#1679) 2022-01-04 19:01:33 +01:00
Pavel Czerný
5591f88a3b
B #5524: Apply SYSTEM_DISK_USAGE for VM snapshots (#1647)
Co-authored-by: Ruben S. Montero <rsmontero@opennebula.org>
2022-01-04 13:03:47 +01:00
Pavel Czerný
b98fdfe3d3
F #5431: Update opennebula conf schema (#1666) 2021-12-13 17:53:23 +01:00
Carlos J. Herrera
a3b6167a04
M #-: Refactor code (#1663)
Remove vCenter specific code from CLI/OCA
2021-12-13 13:57:45 +01:00
Alejandro Huertas Herrero
6f32df2037
M #-: add RedHat support to provision (#1615) 2021-11-25 09:58:02 +01:00
Frederick Borges
64dc6deac6
F #5431: Add USER_ENCRYPTED_ATTR in oned.conf (#1611) 2021-11-24 13:58:52 +01:00
Ruben S. Montero
84c00d29e3
F #5431: Add comments to oned.conf for encrypted 2021-11-24 11:08:09 +01:00
Vlastimil Holer
6633222667
M #-: Refresh gems versions for 6.1.90
(cherry picked from commit e01ba2280c9d1df1386c99ba5da2673684e2f31d)
2021-11-22 18:45:52 +01:00
Sergio Betanzos
b07daa78d9
M #~: Fix minor in description (#1596) 2021-11-22 10:51:21 +01:00
Tino Vazquez
916d85eeee L #-: Disable new cop 2021-11-15 16:27:28 +01:00
Tino Vazquez
7e750c72a6
M #-: Bump version for 6.4 Beta
6.3.80
2021-11-03 13:09:25 +01:00
Tino Vazquez
f4c07fe1a9
M #-: Bump version to 6.2.0 2021-10-21 21:14:12 +02:00
Sergio Betanzos
05d47fbc1e
M #~: Fix typo in vcenter vm_mad conf (#1536) 2021-10-21 17:24:30 +02:00
Pavel Czerný
38d06a92aa
F #5561: Showback computes running hours (#1527)
(cherry picked from commit af9ea24ec4)
2021-10-15 17:41:02 +02:00
Vlastimil Holer
d0f13f283e
F #5555: Improve Sunstone systemd hardening (#1529)
- Set CAP_NET_BIND_SERVICE capability to allow binding to 80
- Hide directories with SSH keys
2021-10-15 16:44:11 +02:00
Tino Vazquez
0effec897b
M #-: Bump version to 6.1.90 2021-10-14 18:28:05 +02:00
Pavel Czerný
701cfdb774
b #4193: Defaults for IMPORTED_VMS_ACTIONS (#1526) 2021-10-14 09:29:00 +02:00
Vlastimil Holer
800054de35
M #-: Refresh gems versions for 6.1.85 (#1524) 2021-10-13 16:58:03 +02:00
fuu0
4740c83458
F #5555: Secutiry options to Sunstone systemd unit
Co-authored-by: Vlastimil Holer <vholer@opennebula.io>
2021-10-11 14:48:25 +02:00
Tino Vazquez
2436bbbde3
M #-: Bump to 6.1.85 2021-10-06 16:32:52 +02:00
Carlos J. Herrera
847ea6d949
F #~: add execution permissions (#1505) 2021-10-04 10:40:37 +02:00
Vlastimil Holer
3791981ded
M #-: Refresh gems versions for 6.1.80 (#1503) 2021-10-01 13:46:34 +02:00
Tino Vazquez
f56dbfc6b4
L #-: Disable new cop from 1.22.0 2021-09-29 11:16:46 +02:00
Carlos J. Herrera
437da65842
F #5461: Use bridge to identify vCenter network (#1476)
relevant when managing networks through OneFlow
2021-09-23 16:21:32 +02:00
Petr Ospalý
4b685dc22a
M #-: Add Debian11 (#1466)
Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
2021-09-21 13:20:23 +02:00
Alejandro Huertas Herrero
03d43d399c
F #5474: rename Packet to Equinix (#1465)
* rename Packet to Equinix in provision

* rename packet to equinix in fireedge files

* Update fireedge.d in provision templates

Co-authored-by: Sergio Betanzos <sbetanzos@opennebula.io>
2021-09-17 09:51:14 +02:00
Ruben S. Montero
7af28a406c
F #5520: Dynamic load of providers for Edge Clusters
* Remove oneprovision-template command and classes
* Dynamic load of providers classes
* Configurable providers in oneprovision Web UI
* Simplify providers templates (no need of plain:)

co-authored-by: Alejandro Huertas <ahuertas@opennebula.io>
co-authored-by: Jorge Lobo <jlobo@opennebula.systems>
co-authored-by: Sergio Betanzos <sbetanzos@opennebula.io>
2021-09-16 18:04:11 +02:00
Tino Vazquez
268ccc3071
L #-: Disable new cop 2021-09-13 16:38:55 +02:00
Vlastimil Holer
190b0c6e4f
F OpenNebula/addon-context-linux#86: Update NIC parameters (#1447)
- Support METHOD and IP6_METHOD.
- Update METRIC6 to IP6_METRIC6.
- Deprecate CONTEXT_FORCE_IPV4 (unused for some time)
2021-09-10 12:19:38 +02:00
Alejandro Huertas Herrero
3147283eea
B #5491: fix frr version to 7 (#1406) 2021-08-23 11:44:55 +02:00
Ricardo Diaz
91ce868828
B #-: Fencing template in cmdline instead of stdin (#1409)
Signed-off-by: Ricardo Diaz <rdiaz@opennebula.io>
2021-08-23 11:32:58 +02:00
Tino Vazquez
c9f419ac5a
L #-: Disable naming cop 2021-07-30 13:09:32 +02:00
Frederick Borges
2d922a4ad6
B #5289: Sunstone with new schedule actions API (#1390)
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2021-07-30 12:48:05 +02:00
Ricardo Diaz
54e1c43a1b
M #-: Delete frr.conf (#1378)
From latest FRR stable bgpd.conf (and all *.conf as well) are ignored if
frr.conf is present.

Signed-off-by: Ricardo Diaz <rdiaz@opennebula.io>
2021-07-26 15:42:43 +02:00
Jan Orel
decc8c9964
B #5466: Add PCI devices desc to host.xsd (#1371) 2021-07-23 11:16:26 +02:00
Ricardo Diaz
d66f4aa523
M #-: Update Ruby gems setup in autostart scripts (#1370)
* Added donwcase when checking AUTOSTART attribute.
* Create autostart hook install links

Signed-off-by: Ricardo Diaz <rdiaz@opennebula.io>
2021-07-22 16:29:26 +02:00
Jan Orel
5d20599416
B #5462: Remove deprecated EXT ALIAS conf (#1367) 2021-07-22 11:23:21 +02:00
Sergio Betanzos
1189780843
F OpenNebula/one#5422: Fix typo 2021-07-13 18:46:22 +02:00
Sergio Betanzos
78bb1135d8
M #~: Minor fix in xsd schema files (#1359) 2021-07-13 17:57:16 +02:00
Jan Orel
2ef1a45478
L #-: Linting S3.rb (#1355) 2021-07-13 17:57:16 +02:00
Ricardo Diaz
a17a2dba4a
L #-: Autostart hook linting (#1351) 2021-07-13 17:57:14 +02:00
Tino Vazquez
3b1aa75d23
L #-: Disable Style/MixinUsage cop 2021-07-13 17:57:14 +02:00
Tino Vazquez
3a269e5113
L #-: Enable rubocop GH action 2021-07-13 17:57:14 +02:00
Ruben S. Montero
4d80a8d725
B #5453: DO ip_range, vpc name and inputs
- ip_range is pick from 172.16.0.0/12 range using cluster ID
- name is generated with vpc-one-<cluster_id>
- inputs preselect some droplet sizes

(cherry picked from commit ee6b81f830)
2021-07-13 17:57:13 +02:00
Tino Vazquez
fbd33f01b8
F #5422: Add GH Actions js linter 2021-07-09 13:28:20 +02:00
Tino Vazquez
f53df440e0 F #5422: Add eslint stub 2021-07-08 15:31:47 +02:00
Ricardo Diaz
b900491a9a
M #-: Skip null values from Equinix response (#1348)
It can happen that Equinix API responses contain null values for certain
attributes (e.g. "facility":null). This fix avoids the provision crashes
with this error "[one.vn.allocate] undefined method `each_pair' for
nil:NilClass" when creating the packet-cluster-public network.

Signed-off-by: Ricardo Diaz <rdiaz@opennebula.io>
2021-07-06 13:34:46 +02:00
Ricardo Diaz
72e3b47efd
M #~: VM autostart with hooks (#1131)
Signed-off-by: Ricardo Diaz <rdiaz@opennebula.io>
2021-07-02 10:22:33 +02:00
Pavel Czerný
80b21445b9
M #-: Fix vm/monitoring schema (#1346) 2021-07-02 09:50:30 +02:00
Tino Vazquez
e22f3d5a59
M #-: Correct path for smoke tests 2021-06-30 18:13:19 +02:00
Tino Vazquez
975cc25847
M #-: enable GitHub Actions smoke tests
Same principles that with Travis tests. This commit enables:

 - Configuration protection on branch
 - Rubocop
2021-06-30 18:10:57 +02:00
Tino Vazquez
82faaeab4b
L #-: Update cops for rubocop 1.18.0 2021-06-29 14:07:17 +02:00
Jan Orel
ae83314e63
B #-: Fix ZONE occurs in ZONE_POOL xsd (#1329) 2021-06-24 10:14:27 +02:00
Tino Vazquez
91ef3d0fe9
L #-: Revert to_h changes
not compatible with ruby 2.0.0/centos7

(cherry picked from commit 1711fac8e1)
2021-06-22 18:53:29 +02:00
Tino Vazquez
05295f1ef4 L #-: Linting for rubocop 1.17.0 2021-06-22 18:11:42 +02:00
Jan Orel
5c72738bd7
M #-: Add DISK_SIZE to VM/MONITORING xsd (#1319) 2021-06-21 09:41:26 +02:00
Pavel Czerný
8dbe2c3da8
M #-: More details to vm.xsd and vm_pool.xsd (#1316) 2021-06-18 13:24:14 +02:00
Jan Orel
ebcef1dd05
M #-: Rename last NIC on vultr to eth_one (#1294) 2021-06-11 11:22:24 +02:00
Alejandro Huertas Herrero
b1964b86d1
F #5387: add Vultr metal support (#1273) 2021-06-04 11:43:46 +02:00
Pavel Czerný
61d43e8e50
F #4510: Fix markatplace xml schema (#1271) 2021-06-04 10:11:16 +02:00
Alejandro Huertas Herrero
8b26f099ae
F #5411: add support for Docker Private Registry (#1248) 2021-05-31 13:27:53 +02:00
Jan Orel
86f174d469
F #5381: Join qcow2 + shared TM drivers (#1217) 2021-05-26 18:21:13 +02:00
Christian González
0bef8ee722
B #5385: properly manage undeployed states (LVM) (#1235) 2021-05-26 11:28:49 +02:00
Juan Antonio Escobar
d245875ca0
B #5312: fixed bug when importing a vCenter net (#1240) 2021-05-21 13:00:27 +02:00
Alejandro Huertas Herrero
7078b8d298
F #5387: change Vultr API dir (#1236) 2021-05-19 16:46:47 +02:00
Alejandro Huertas Herrero
7927c95553
F #5387: add Vultr support into OneProvision (#1229) 2021-05-19 12:24:19 +02:00
Tino Vazquez
7a11baccbd L #-: Disable new rubocop checks
Lint vCenter related files

(cherry picked from commit cf74695688)
2021-05-13 19:28:10 +02:00
Christian González
0ceef20753
F #5260: Add LVM permission to lxc nodes (#1218) 2021-05-13 16:56:42 +02:00
Jan Orel
ed5e3b0dc1
M #-: Let oned.aug parse space leading comment (#1209) 2021-05-13 15:45:27 +02:00
Ruben S. Montero
a538c4f802
M #-; Fix DO Playbook
(cherry picked from commit 85e3184976)
2021-05-12 16:23:01 +02:00
Christian González
17025ead9d
F #5260: Add fs_lvm_ssh oned.conf changes 2021-05-12 13:31:49 +02:00
Vlastimil Holer
c649213923
B #5379: Disable warnings on load of rubygems (#1199)
(cherry picked from commit 5fe824f1e7)
2021-05-11 09:24:32 +02:00
Alejandro Huertas
eafea8607f
M #-: minor changes in onecluster helper
(cherry picked from commit a9171690a79733a97b6e37580ccc9f900378be76)
2021-05-05 18:26:27 +02:00
Sergio Betanzos
0c2956e138
M #~: Google and digitalocean support in Fireedge (#1177) 2021-05-04 13:40:00 +02:00
Ruben S. Montero
2ea78eadcb
F #5270, #5272: Update virtual providers/provisions 2021-05-03 14:32:54 +02:00
Ruben S. Montero
f7d4a0e28f
F #5270, #5272: Add oned.conf changes 2021-05-01 21:53:11 +02:00
Ruben S. Montero
f1a48bdc0d
F #5270, #5272: Support for Google Compute and DigitalOcean
co-authored-by: Alejandro Huertas <ahuertas@opennebula.io>
co-authored-by: Juan Antonio <jescobar@opennebula.io>
co-authored-by: Sergio Betanzos <sbetanzos@opennebula.io>
2021-05-01 21:53:09 +02:00
Vlastimil Holer
714e075b76 M #-: Gem rexml on Ruby 3.0+ (#1175)
(cherry picked from commit 747409baca)
2021-04-30 15:49:37 +02:00
Pavel Czerný
abe30095c1
M #-: Fix oned config schema (#1153) 2021-04-29 17:56:37 +02:00
Ruben S. Montero
b03efb08ae
F #5332: Adjust inputs, show description 2021-04-29 17:18:14 +02:00
Vlastimil Holer
21cbc8ad81 M #-: Gemfile.locks for Ubuntu 21.04 and Fedora 34 (#1164)
(cherry picked from commit a853b61f1e)
2021-04-29 14:21:16 +02:00
Ruben S. Montero
824d2bd448
F #5332: On-premises provider
co-authored-by: Christian González <cgonzalez@opennebula.io>
2021-04-28 13:04:43 +02:00
Pavel Czerny
69e83eb161
F #5353: Zone standby mode. DB version number to 6.2.0
Includes the following commits from f-5353:

  - 62d3d38d7fb135b82874a5076a7f06c23675e0b7
  - 52f3f066603c478061891175c008a58cfed3dc43
  - 0e82f9e5471c3cf0e21969393299279c6e739138
  - 8c32050940f528ea876e8293e6fbbf56a373bd54
2021-04-27 10:45:58 +02:00
Pavel Czerný
6bca41f0db
M #-: Showback option to calculate only running VM (#1105)
(cherry picked from commit c5ad2698b7)
2021-04-15 11:13:56 +02:00
Vlastimil Holer
23bf3b1534
M #-: Bump version to 6.1.80 (#1073) 2021-04-06 18:14:38 +02:00
Vlastimil Holer
3218016d0e
M #-: Bump oneprovision to 6.0 (#1061) 2021-04-06 12:06:24 +02:00
Jan Orel
1187d77ef5
M #-: Add prefix method to older IPAddr (#1049)
* Revert "M #-: Update Gemfile.locks (#1040)"

This reverts commit 0dcde4b04b.

* M #-: Add prefix method to older IPAddr
2021-03-31 14:39:17 +02:00
Jan Orel
0dcde4b04b
M #-: Update Gemfile.locks (#1040)
oneprovision needs ipaddr 1.2.2
2021-03-29 15:06:17 +02:00
Ruben S. Montero
a75086d36b
M #-: Do not require CIDR in AWS IPAM 2021-03-26 16:57:48 +00:00
Vlastimil Holer
d389564fce
M #-: Update Gemfile.locks (2021/03/25) (#1029) 2021-03-25 16:47:22 +01:00
Vlastimil Holer
c23c0ee26b
M #-: Bump version to 6.0.0 (#1026) 2021-03-25 14:17:10 +01:00
Ricardo Diaz
9cd51cdd8e
B #-: Incorrect CentOS 7 AMIs in oneprovsion (#1020)
Set CentOS 8.2.2004 as default AMI for oneprovision.

Signed-off-by: Ricardo Diaz <rdiaz@opennebula.io>
2021-03-24 13:30:02 +01:00
Ricardo Diaz
0a13f68c29
M #-: Add LXC to oneprovision (#1017)
Signed-off-by: Ricardo Diaz <rdiaz@opennebula.io>
2021-03-23 19:50:36 +01:00
Pavel Czerný
a38602bbeb
F #727: Add comment about shareable to oned.conf (#1011) 2021-03-23 09:31:39 +01:00
Ruben S. Montero
4404d9b062
M #-: Add DNS input to provision 2021-03-23 09:20:08 +01:00
Jan Orel
678fc67f75
B #5305: Add MONITORING_DATA to xsd (#1010) 2021-03-22 18:09:06 +01:00
Alejandro Huertas Herrero
b5555cc6d4
M #-: add more AWS virtual instances type (#1006) 2021-03-22 12:12:25 +01:00
Ricardo Diaz
d638412a05
M #-: Remove sudoers-tmp from oneprovision (#999)
Signed-off-by: Ricardo Diaz <rdiaz@opennebula.io>
2021-03-18 16:30:53 +01:00
Ricardo Diaz
af0033379a
M #-: Set opennebula_repository_version to 5.13 (#998)
Signed-off-by: Ricardo Diaz <rdiaz@opennebula.io>
2021-03-18 16:16:27 +01:00
Vlastimil Holer
fb67699091
M #-: Enforce custom library path for guacd (#983) 2021-03-16 17:40:21 +01:00
Vlastimil Holer
341991bce1
M #-: Bump version to 5.13.90 (and year in LXC) (#981) 2021-03-16 16:35:41 +01: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
Petr Ospalý
588bfb7eb6 M #-: Remove exit timeout exception for FireEdge
Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
2021-03-12 17:10:29 +01:00
Vlastimil Holer
c8565cfce0
M #-: Change tmpfiles to /run, set 0750 on /run/one (#930) 2021-03-09 18:11:36 +01:00
Ruben S. Montero
fe8bf9a0a0
Revert "M #-: Update Ruby gem dependencies (#913)"
This reverts commit 3ece48bdbf.
2021-03-09 18:02:38 +01:00
Pavel Czerný
4133d04314
F #3124: Compact memory (#918) 2021-03-08 11:45:50 +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
Vlastimil Holer
3ece48bdbf
M #-: Update Ruby gem dependencies (#913) 2021-03-04 11:27:31 +01:00
Vlastimil Holer
4a0c15ac3c
M #-: Update Gemfile.locks (2021/03/03) (#907) 2021-03-03 16:28:08 +01:00
Ruben S. Montero
007ce2dd9a
F #5076: Fix virtual provision 2021-03-03 15:03:49 +00:00
Ruben S. Montero
6b81879bd2
F #5076: Default to kvm in metal edge_clusters 2021-03-03 12:47:32 +01:00
Ruben S. Montero
277ee87f1f
F #5076: New provision template names
- provisions (top level) are now edge-clusters
  - New edge-clusters: metal and virtual
  - New qemu IM driver
  - Removed previous templates (hybrid+)
2021-03-03 12:23:54 +01:00
Tino Vázquez
31f8df8ff8
F #5257: Remove econe server (#901)
* F #5257: Remove econe server

Also, disable hybrid section by default in Sunstone

* F #5257: Revert onecfg change

* remove amazon-ec2 unneeded gem
* remove file no longer present from install.sh
2021-03-02 20:34:57 +01:00
Vlastimil Holer
ba44f49c91
M #-: Bump version to 5.13.85 (#896) 2021-03-01 14:11:26 +01:00
Alejandro Huertas Herrero
c31316ab94
M #-: add missing XSD IMAGE_ENCRYPTED (#886) 2021-02-26 10:55:33 +01:00
Alejandro Huertas Herrero
532c4b238d
M #-: add missing PREV_STATE to image.xsd (#882) 2021-02-25 12:26:37 +01:00
rcampuz
d3db340c91
Remove ',' in a when clause with multiple options (#5259)
(cherry picked from commit ab337e83e344102bf6f94a77cdeb0f09bf9475bc)
2021-02-24 11:17:48 +01:00
Jan Orel
44a5182088
F #1428: Add backup_vms script (#858) 2021-02-23 10:06:52 +01:00
Ricardo Diaz
5e28dc58bb
M #-: use copy instead of link in firecracker role (#846)
Signed-off-by: Ricardo Diaz <rdiaz@opennebula.io>
2021-02-19 14:30:45 +01:00
Vlastimil Holer
6821d9e627
M #-: Update Ruby gem content/dependencies (#845) 2021-02-19 14:04:46 +01:00
Ricardo Diaz
76aa5274cc
M #-: oneprovider firecracker default c5n.metal (#835)
Signed-off-by: Ricardo Diaz <rdiaz@opennebula.io>
2021-02-19 13:01:00 +01:00
Ricardo Diaz
33823f8610
B #-: localhost sudo needed by firecracker role (#844)
Signed-off-by: Ricardo Diaz <rdiaz@opennebula.io>
2021-02-19 12:58:57 +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
Christian González
f6e3c4ebbb
B #: Fix minor issues of Firecracker provision (#840)
- set `opennebula_ssh_deploy_private_key` to make sure HVs can see each other.
- Add network hooks remote execution (clean)
- Rename Elastic.rb to elastic.rb
2021-02-18 18:09:05 +01:00
Ricardo Diaz
6b8c01c2fe
M #-: Configure firecracker vnms in oneprovision (#832)
Signed-off-by: Ricardo Diaz <rdiaz@opennebula.io>
2021-02-17 20:10:39 +01:00
Vlastimil Holer
0457a46045
M #-: Avoid reloading of OpenNebula distributed Ruby gems (#829) 2021-02-17 19:52:38 +01:00
Sergio Betanzos
970440f2e8
F #3951: Add templates description at markdown ext (#827) 2021-02-17 16:38:20 +01:00
Ruben S. Montero
60dd3a3cce
F #1345: Support for Image Encrypted attributes 2021-02-17 13:03:37 +00:00
Sergio Betanzos
57d87eaad3
F #3951: Fix firecracker templates for packet (#824) 2021-02-17 12:53:23 +01:00
Ricardo Diaz
948c4fb811
M #-: Add Firecracker to oneprovision for packet (#823)
Signed-off-by: Ricardo Diaz <rdiaz@opennebula.io>
2021-02-17 12:41:18 +01:00
Sergio Betanzos
50622a8bf8
F #3951: Adjust provision templates & GUI forms (#822) 2021-02-17 12:24:15 +01:00
Ricardo Diaz
72ae53d73f
M #-: Fix default packet_plan (#821)
Signed-off-by: Ricardo Diaz <rdiaz@opennebula.io>
2021-02-17 11:31:00 +01:00
Ricardo Diaz
52b2f29bc6
M #-: Add Firecracker to oneprovision (#819)
Signed-off-by: Ricardo Diaz <rdiaz@opennebula.io>
2021-02-17 09:36:05 +01:00
Alejandro Huertas Herrero
e00cfbfb75
F #1428: add new commands to autocomplete (#814) 2021-02-16 17:43:01 +01:00
Petr Ospalý
04273ca9d3
F OpenNebula/one#5178: Update supervised services (#798) 2021-02-11 19:22:41 +01:00
Vlastimil Holer
096754b63f
M #-: Bump year to 2021 (#778) 2021-02-09 16:07:56 +01:00
Frederick Borges
08f202395d
M #~: clean sunstone_guac (#774)
Signed-off-by: Frederick Borges <fborges@opennebula.io>
2021-02-09 11:34:07 +01:00
Pavel Czerný
d132bab6ad
F #5225: Support for kvm size_iops_size (#743) 2021-02-08 16:59:55 +01:00
Sergio Betanzos
0b5453a234
F #4994: Add extra info to remote connection (#764) 2021-02-08 10:40:30 +01:00
Vlastimil Holer
c5ac1a755b
M #-: Update Gemfile.locks (2021/02) (#760) 2021-02-05 12:40:24 +01:00
Petr Ospalý
3456cbf3a5
F OpenNebula/one#5178: Fix race with ssh-agent (#748)
Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
2021-02-03 22:52:40 +01:00
Alejandro Huertas Herrero
7a2fb391c0
F #5056: add new subcommand to bash auto complete (#738) 2021-02-02 11:08:38 +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
Jan Orel
44dc72dde9
M #-: Review and add AWS/Equinix providers (#706) 2021-01-25 17:55:34 +01:00
Ruben S. Montero
45bda53434
M #-: Add qemu based hybrid+ provisions 2021-01-25 12:10:43 +00:00
Jan Orel
6abf26dd1b
F #4985: Remove recoery snaps from monitor_ds (#701) 2021-01-25 11:03:13 +01:00
Alejandro Huertas Herrero
b1ed347bec
M #-: add missing snapshot dir to dummy (#699) 2021-01-25 09:51:40 +01:00
Ruben S. Montero
1ccb3642d6
M #-: Support for in-network vxlan configuration 2021-01-20 15:02:53 +01:00
Ruben S. Montero
f1c8b3d404
M #-: Add netroles to provision networks 2021-01-20 11:17:48 +01:00
Tino Vazquez
14902b9766
Merge branch 'master' into f-3951 2021-01-19 18:09:51 +01:00
Tino Vazquez
cc820fd968
M #-: Change placement of provisions tempaltes 2021-01-19 17:33:37 +01:00
Ruben S. Montero
9b71bb9d66
M #-: Update provision templates 2021-01-19 16:29:42 +01:00
Alejandro Huertas Herrero
473fc4f9da
M #-: add provision AR count (#669) 2021-01-19 12:28:15 +01:00
Tino Vazquez
721bc8fa16
Merge branch 'master' into f-3951 2021-01-19 10:20:51 +01:00
Carlos J. Herrera
2a91fe239f
L #~: linting vcenter driver (#667)
Signed-off-by: Carlos Herrera <cherrera@opennebula.io>
2021-01-18 23:28:42 +01:00
Ruben S. Montero
3ce190b989
M #-: Fix opennebula_configuration xsd 2021-01-18 17:08:33 +01:00
Jan Orel
59049b13ae
M #-: Fix updating local known_hosts (#653) 2021-01-18 09:24:12 +01:00
Sergio Betanzos
940b38a903
F #3951: Provision log (#654) 2021-01-15 14:47:52 +01:00
Jan Orel
f51765ec02
M #-: Remove internal link from provision (#636) 2021-01-15 12:28:02 +01:00
Jan Orel
06c4179868
M #-: Add sudoers-tmp workaround role to provision (#642)
This is a temporal, once beta is released this task will be removed.
2021-01-14 15:26:00 +01:00
Carlos J. Herrera
0c01395b46
L #~: Linting vcenter driver (#600)
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2021-01-14 12:42:48 +01:00
Petr Ospalý
5d7ae36c68
F OpenNebula/one#5178: Add time to supervisord log (#635)
Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
2021-01-13 19:09:49 +01:00
Ruben S. Montero
56b58e2ecc
M #-: Hybid+ add vnet instances to cluster 2021-01-13 09:59:17 +00:00
Ruben S. Montero
ce7aac40a2
M #-: Update opennebula_configuration.xsd (oned.conf) 2021-01-12 17:00:50 +00:00
Sergio Betanzos
da519d197d
M #~: Add provider name tag (#623) 2021-01-12 13:48:22 +01:00
Sergio Betanzos
dda00c05d1
M #~: Add provision_type tag (#620) 2021-01-12 11:08:52 +01:00
Vlastimil Holer
0026fa2b14
F #5217: Unify package names (#617) 2021-01-11 21:12:28 +01:00
Ruben S. Montero
ef333bc870
F #5218: Provision fixes
- Remove provision tag from provision templates
  - Support to add existing datastores to a provision
  - By default, datastore 0 is added to a provision
  - Sanity checks for nil class
2021-01-11 20:10:35 +00:00
Sergio Betanzos
d8f00ad769 F #3951: Add provider to root template 2021-01-11 18:06:24 +01:00
Sergio Betanzos
916351f2bd F #3951: Add provision & provider to plain 2021-01-11 16:33:18 +01:00
Sergio Betanzos
9802a700ce
F #3951: Fix provider templates (#609) 2021-01-11 15:25:58 +01:00
Petr Ospalý
10fa7ca4ce
F OpenNebula/one#5178: Add onedb upgrade (#606)
Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
2021-01-11 10:06:14 +01:00
Ruben S. Montero
ba3bf2b183
F #5218: BGP EVPN configuration changes
- Fixed network prefix for BGP routers
   - Support for custom CIDR blocks in AWS
2021-01-10 21:19:16 +01:00
Ruben S. Montero
22b63e6c32
F #5218: Better listen range for packet hosts 2021-01-08 15:42:37 +00:00
Pavel Czerný
d6d299e612
F #1112: Allow disk-saveas in undeployed, stopped (#591) 2021-01-08 10:50:12 +01:00
Ruben S. Montero
ee499cf4f9
F #5214 #5075: Support for private VNET
- Use VXLAN in public providers
   - Configure BGP-EVPN with FRR
   - Support for multiple RR
   - Create VNTemplate to self-provision virtual networks

Co-authored-by: Ricardo Diaz <rdiaz@opennebula.io>
2021-01-07 23:30:29 +00:00
Alejandro Huertas Herrero
9ef770cb3e
F #3951: Restructure provision templates (#599) 2021-01-07 18:06:41 +01:00
Tino Vazquez
01b7040310 F #3951: Restructure provision templates 2021-01-07 16:15:46 +01:00
Petr Ospalý
f1d7811ac2 F OpenNebula/one#5178: Ignore logrotate's failure (#585)
Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
2021-01-05 14:14:22 +01:00
Vlastimil Holer
10cc0c57ca F #5175: onecfg patch support with simple diff (#581)
Co-authored-by: Christian González <cgonzalez@opennebula.io>
2021-01-05 14:14:22 +01:00
Ruben S. Montero
5851d3d067 M #-: Fix fedora/CentOS manual compilation 2021-01-05 14:14:21 +01:00
Sergio Betanzos
1628216d9c F #3951: Fix aws provider template 2021-01-04 12:21:21 +01:00
Petr Ospalý
36e6cbe546
F OpenNebula/one#5178: Add logrotate to supervisor (#579)
Enforce logrotate before the start of any opennebula's supervisor
service - as is done similarly in the systemd services.

Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
2020-12-21 18:56:40 +01:00
Vlastimil Holer
4682a50a31
F #5214 #5075: Fix canonical ip path on Debian-like (#576) 2020-12-20 22:49:54 +01:00
Petr Ospalý
5d066ea8f4
F OpenNebula/one#5178: Add optional configs (#574)
Each supervisord service (where missing or usable) can use its own
config file which will be sourced. Thanks to this services do not rely
on properly populated environment with all needed variables.

Useful when supervisord is run like this:
% env -i /usr/bin/supervisord

Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
2020-12-18 13:12:29 +01:00
Jan Orel
e9be4e437a M #-: oneprovision: deploy priv key for snaps 2020-12-18 12:18:34 +01:00
Tino Vazquez
67a1bd70f8
L #-: Update rubocop conf file to 1.6.1
(cherry picked from commit c3eb9e73bc)
2020-12-18 11:52:13 +01:00
Jan Orel
2a178816ab B #5210: Make LDAP group_admin configurable (conf) 2020-12-18 09:59:18 +01:00
Tino Vazquez
7a45effdbf
M #-: Add provider templates 2020-12-16 13:23:34 +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
754a74c73d
F #4933: Support for vSphere 7.0 (#547)
Signed-off-by: Carlos Herrera <cherrera@opennebula.io>
2020-12-11 14:41:15 +01:00
Carlos J. Herrera
09beabdbbf
F #5201: improve monitoring in vCenter (#543)
Signed-off-by: Carlos Herrera <cherrera@opennebula.io>
2020-12-11 14:28:48 +01:00
Frederick Borges
22f08d781a F #~: Fix fireedge validations
Signed-off-by: Frederick Borges <fborges@opennebula.io>
2020-12-11 12:31:12 +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
Petr Ospalý
4f2e742984
F OpenNebula/one#5167: Add qemu-kvm symlink script (#529)
All distros will now start to use qemu-kvm-one symlink generated upon
the opennebula-node package install via qemu-kvm-one-gen helper script.
The script will try to detect and use the proper qemu-kvm binary found
on that particular system.

Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
2020-12-09 16:30:44 +01:00
Petr Ospalý
4d9a0fd5fc
B #5189: Remove oned's stale lock in supervisord (#522)
Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
2020-12-04 10:54:54 +01:00
Petr Ospalý
2edcdae638
F OpenNebula/one#5178: Add docker services (#511)
- New supervisord service containerd
- New supervisord service docker
- Small fix in function.sh to pick up also socket files

Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
2020-12-02 15:25:49 +01:00
Petr Ospalý
ff2cb0ab6d
B #5189: Add stopwaitsecs to supervisord services (#496)
By default supervisord waits only 10s before it sends SIGKILL to its
services. This commit raises this limit to 90s in all services -
matching the default in systemd (DefaultTimeoutStopSec).

Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
2020-12-01 09:58:49 +01:00
Petr Ospalý
c65a119a2e
F OpenNebula/one#5178: Add stunnel service (#481)
Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
2020-11-26 17:21:38 +01:00
Christian González
97f8bdbbb0
F #5175: Onecfg integration into OpenNebula Enterprise Tools (#474)
Co-authored-by: Alejandro Huertas Herrero <ahuertas@opennebula.systems>
Co-authored-by: Jan Orel <jorel@opennebula.systems>
Co-authored-by: Vlastimil Holer <vholer@opennebula.systems>
2020-11-25 11:59:47 +01:00
Carlos J. Herrera
2ffee26c73
F #1660: Implement live resize in vCenter (#467) 2020-11-24 18:06:13 +01:00
Jan Orel
6d4810de49
M #-: Don't use unpack1 (#457) 2020-11-20 15:34:39 +01:00
Jan Orel
d53f0a3d90
M #4089: Update xsd files (#452) 2020-11-20 10:56:39 +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