1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-23 17:33:56 +03:00
Commit Graph

1884 Commits

Author SHA1 Message Date
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
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
Vlastimil Holer
5358eeba7a
F #5178: Fix +x permissions to supervisord scripts (#422) 2020-11-13 19:44:47 +01:00
Petr Ospalý
96aab61096
M #-: Fix paths and locations for fireedge/guacd (#411)
Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
2020-11-11 18:35:00 +01:00
Jan Orel
deb32cad1b
B #5166 Augeas lens: allow space after section (#404) 2020-11-10 18:00:15 +01:00
Petr Ospalý
fa22e988b0
M #-: Add supervisord services fireedge, guacd (#389)
Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
2020-11-06 11:43:18 +01:00
Vlastimil Holer
16f5499fd6
F #3951: Systemd service opennebula-guacd (#376) 2020-10-29 16:13:06 +01:00
Alejandro Huertas Herrero
6395b3f891
F #5124: implement provision actions using Terraform (#368) 2020-10-28 15:11:34 +01:00
Tino Vazquez
1fe138846f
L #-: Adjust for rubocop 1.0.0 2020-10-28 12:56:18 +01:00
Vlastimil Holer
ede778642a
M #-: Gemfile.lock for Ubuntu 20.10, Fedora 33 (#361) 2020-10-23 19:17:53 +02:00
Christian González
e4577e5023
F #5112: Increase onegate functionality for VNF (#339) 2020-10-22 12:55:27 +02:00
Vlastimil Holer
6311392a0b
F OpenNebula/one#3951: FireEdge package-lock.json, service (#333) 2020-10-19 19:02:02 +02: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
Tino Vazquez
f5a78e9b9c
F #3951: Add fireedge logrotate 2020-10-01 18:51:16 +02:00
Petr Ospalý
6fb4b2acd2
M #-: Add supervisord services definition (#269)
* M #-: Add supervisord services definition

Currently only for CentOS 8 but there should be needed only few changes
to make it work on other systems: crond, apache/httpd, mysql/mariadb...

The rest is pretty much system agnostic.

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

* M #-: Adjust supervisor directories

Co-authored-by: Vlastimil Holer <vholer@opennebula.io>
2020-09-30 17:27:20 +02:00
Frederick Borges
b861775190
F #2410: VM & Host autorefresh Fireedge (#261)
* VM & Host autorefresh Fireedge
* Autorefresh authentication

Signed-off-by: Frederick Borges <fborges@opennebula.io>
2020-09-29 14:48:00 +02:00
Frederick Borges
01653bdcf1
F #2755: Fireedge guacamole connection (#265)
* Linting Guacamole
* Guacamole with fireedge
* Guacd start with fireedge
2020-09-29 14:26:48 +02:00
Vlastimil Holer
fbb2123bbc
M #-: Update Gemfile.locks (2020/09) (#248) 2020-09-25 14:13:23 +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
fb8eb1aaed
F #664: Add service and VM templates to martketplace
- Support VM Templates as standalone entity
    - VM Templates can reference multiple Images from Marketplace
    - Service templates reference one or more VM Templates from
      Marketplace to define roles
    - Add CLI commands to import them into marketplace
    - Add Ruby OCA extensions

co-authored-by: Alejandro Huertas <ahuertas@opennebula.io>
2020-09-25 10:15:19 +02:00
Ricardo Diaz
42edaeb838
B #5101: host_error hook take arguments from stdin (#235)
Co-authored-by: Ruben S. Montero <rsmontero@opennebula.org>
Signed-off-by: Ricardo Diaz <rdiaz@opennebula.io>
2020-09-23 11:57:25 +02:00
Tino Vazquez
4afc1db028
L #-: Update for rubocop 0.91.0 2020-09-15 13:44:42 +02:00
Frederick Borges
94198be481
F #2410: Integrate vm autorefresh in sunstone-server (#201)
* Websocket autorefresh
* Integrate autorefresh in sunstone-server

Signed-off-by: Frederick Borges <fborges@opennebula.io>
2020-09-10 13:36:24 +02:00
Tino Vazquez
315ede85fc
L #-: rubocop 0.90.0 2020-09-08 19:48:05 +02:00
Tino Vazquez
5dab5aaaaa Revert "F #2410: Add gem to gemfile (#184)"
This reverts commit c76edca218.
2020-09-04 22:45:38 +02:00
Frederick Borges
c76edca218
F #2410: Add gem to gemfile (#184)
Signed-off-by: Frederick Borges <fborges@opennebula.io>
2020-09-04 15:09:34 +02:00
Ruben S. Montero
998f2ddd1e
M #-: Removed unused variables
(cherry picked from commit ce38105eff)
2020-08-06 23:55:32 +02:00
Carlos J. Herrera
3f973e5a44
L #~: Refactor vcenter driver (#110)
Signed-off-by: Carlos Herrera <cherrera@opennebula.io>
2020-07-30 19:27:23 +02:00
Alejandro Huertas Herrero
0a3a01fe2f
B #5003: add missing gem (#134) 2020-07-30 12:11:25 +02:00
Jan Orel
c92c8a8bb1
M #-: Remove old/duplicate bash compl. file (#96) 2020-07-17 14:50:38 +02:00
Tino Vazquez
cc4d80884b
L #-: Linting changes in ruby files
rubocop 0.88.0
2020-07-17 13:38:09 +02:00