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

M #-: Remove firecracker from provision (#3165)

This commit is contained in:
Jan Orel 2024-07-24 12:07:44 +02:00 committed by GitHub
parent 997843633d
commit d8de623004
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
10 changed files with 0 additions and 118 deletions

View File

@ -4,7 +4,6 @@
- ddc
- opennebula-repository
- { role: opennebula-node-kvm, when: oneprovision_hypervisor == 'kvm' or oneprovision_hypervisor == 'qemu' }
- { role: opennebula-node-firecracker, when: oneprovision_hypervisor == 'firecracker' }
- { role: opennebula-node-lxc, when: oneprovision_hypervisor == 'lxc' }
- opennebula-ssh
- role: iptables

View File

@ -4,7 +4,6 @@
- ddc
- opennebula-repository
- { role: opennebula-node-kvm, when: oneprovision_hypervisor == 'kvm' }
- { role: opennebula-node-firecracker, when: oneprovision_hypervisor == 'firecracker' }
- { role: opennebula-node-lxc, when: oneprovision_hypervisor == 'lxc' }
- opennebula-ssh
- role: iptables

View File

@ -4,7 +4,6 @@
- ddc
- opennebula-repository
- { role: opennebula-node-kvm, when: oneprovision_hypervisor == 'kvm' }
- { role: opennebula-node-firecracker, when: oneprovision_hypervisor == 'firecracker' }
- { role: opennebula-node-lxc, when: oneprovision_hypervisor == 'lxc' }
- opennebula-ssh
- role: frr

View File

@ -1,9 +0,0 @@
# opennebula-node-firecracker
## Description
Install the opennebula-node-firecracker package.
## Requirements
OpenNebula repository must be configured before executing this role.

View File

@ -1,14 +0,0 @@
---
###############################################################################
# Valid defaults
###############################################################################
# Virtual network drivers to be enabled to work with Firecracker
opennebula_node_firecracker_network_drivers:
- elastic
- vxlan
# Required virtual network types
opennebula_node_firecracker_network_hook_types:
- clean
- pre

View File

@ -1,61 +0,0 @@
---
- block:
- name: Update centos-release package
yum: name=centos-release state=latest
register: yum_result
until: yum_result is succeeded
retries: 3
delay: 10
- name: Install qemu-ev repository
yum: name=centos-release-qemu-ev state=latest
register: yum_result
until: yum_result is succeeded
retries: 3
delay: 10
- name: Install qemu-kvm-ev
yum: name=qemu-kvm-ev state=present
register: yum_result
until: yum_result is succeeded
retries: 3
delay: 10
when:
- ansible_distribution == "CentOS"
- ansible_distribution_major_version == "7"
- opennebula_node_kvm_use_ev
- block:
- name: Enable RHEV repo
command: subscription-manager repos --enable {{ opennebula_node_kvm_rhev_repo }}
register: sm_result
until: sm_result is succeeded
retries: 3
delay: 10
- name: Instal RHEV
yum: name=qemu-kvm-rhev state=latest
until: yum_result is succeeded
retries: 3
delay: 10
when:
- ansible_distribution == "RedHat"
- ansible_distribution_major_version == "7"
- opennebula_node_kvm_use_ev
- name: Install libgcrypt
package:
name: libgcrypt
state: latest
register: pkg_result
until: pkg_result is succeeded
retries: 3
delay: 10
when:
- ansible_os_family == "RedHat"
- ansible_distribution_major_version == "8"
- name: Install OpenNebula node Firecracker package
yum: name=opennebula-node-firecracker state=latest
register: yum_result
until: yum_result is succeeded
retries: 3
delay: 10

View File

@ -1,10 +0,0 @@
---
- name: Install OpenNebula node Firecracker package
apt:
name: opennebula-node-firecracker
state: latest
register: apt_result
until: apt_result is success
retries: 3
delay: 10

View File

@ -1,19 +0,0 @@
---
# Workaround for non-unified cgroups v2 not supported by Firecracker yet
# https://github.com/firecracker-microvm/firecracker/issues/841 ?
- name: Reconfigure cgroups
include_role:
name: cgroups1
when: |
(ansible_distribution == 'Fedora') or
(ansible_distribution == 'Debian' and ansible_distribution_version is version_compare('11', '>='))
- name: Install OpenNebula node Firecracker package
package:
name: opennebula-node-firecracker
state: latest
register: result
until: result is success
retries: 3
delay: 10

View File

@ -4,7 +4,6 @@
- ddc
- opennebula-repository
- { role: opennebula-node-kvm, when: oneprovision_hypervisor == 'kvm' or oneprovision_hypervisor == 'qemu' }
- { role: opennebula-node-firecracker, when: oneprovision_hypervisor == 'firecracker' }
- { role: opennebula-node-lxc, when: oneprovision_hypervisor == 'lxc' }
- opennebula-ssh
- role: iptables

View File

@ -4,7 +4,6 @@
- ddc
- opennebula-repository
- { role: opennebula-node-kvm, when: oneprovision_hypervisor == 'kvm' or oneprovision_hypervisor == 'qemu' }
- { role: opennebula-node-firecracker, when: oneprovision_hypervisor == 'firecracker' }
- { role: opennebula-node-lxc, when: oneprovision_hypervisor == 'lxc' }
- opennebula-ssh
- role: iptables