OpenNebula / minione

Easy to use deployment tool for an OpenNebula evaluation environment
Apache License 2.0
173 stars 55 forks source link

Error in network definition: expected mapping (check indentation) #58

Open Marietto2008 opened 4 years ago

Marietto2008 commented 4 years ago

tried to install opennebula on ubuntu 20 :

root@ziomario-I5:/home/ziomario/Scrivania# sudo bash minione

Checks & detection

Checking augeas is installed SKIP will try to install Checking AppArmor SKIP will try to modify Checking for present ssh key SKIP Checking (iptables|netfilter)-persistent are installed SKIP will try to install

Main deployment steps:

Install OpenNebula frontend version 5.12 Configure bridge minionebr with IP 172.16.100.1/24 Enable NAT over enp3s0 Modify AppArmor Install OpenNebula KVM node Export appliance and update VM template Install augeas-tools iptables-persistent netfilter-persistent

Do you agree? [yes/no]: yes

Installation

Updating APT cache OK Install augeas-tools iptables-persistent netfilter-persistent OK Creating bridge interface minionebr OK Bring bridge interfaces up FAILED

--- STDERR --- /etc/netplan/01-network-manager-all.yaml:2:9: Error in network definition: expected mapping (check indentation) network: ^

this is my 01-network-manager-all.yaml file :

Let NetworkManager manage all devices on this system

network: version: 2 renderer: NetworkManager

ethernets:

eno1:

dhcp4: no

disable existing configuration for ethernet

addresses: [10.0.0.30/24]

gateway4: 10.0.0.1

nameservers:

addresses: [10.0.0.10]

dhcp6: no

add configuration for bridge interface

bridges:

br0:

interfaces: [eno1]

dhcp4: no

addresses: [10.0.0.30/24]

gateway4: 10.0.0.1

nameservers:

addresses: [10.0.0.10]

parameters:

stp: false

dhcp6: no

xorel commented 3 years ago

That looks like a problem in your netplan network definition, minione only creates /etc/netplan/minione.yaml when it detect netplan is used.