OpenNebula / minione

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

It is possible to use Virtualbox or QEMU/Kvm virtual machines? #29

Closed consultit closed 5 years ago

consultit commented 5 years ago

I've tried minione with both Virtualbox and QEMU/Kvm but unsuccessfully. I installed ubuntu 18.04 and executed:

sudo bash minione --lxd

and got this:

### Checks & detection
Checking AppArmor  SKIP will try to modify

### Main deployment steps:
Configure bridge minionebr with IP 172.16.100.1/24
Enable NAT over ens3
Modify AppArmor
Install OpenNebula node version 5.8
Using ssh public key /home/marco/.ssh/id_rsa.pub
Install OpenNebula frontend version 5.8

Do you agree? [yes/no]:
yes

### Installation
Updating APT cache  OK
Creating bridge interface minionebr  OK
Restarting network  OK
Enabling IPv4 forward  OK
Configuring NAT using iptables  OK
Verify bridge by ping from it  FAILED
ping -W 3 -c 1 -I 172.16.100.1 8.8.8.8 -q
--- STDERR ---
bind: Cannot assign requested address
--------------
bmullan commented 5 years ago

I use ubuntu 18.04

I created an Ubuntu 18.04 kvm vm (several times) and installed miniONE and its worked every time?

On Sun, May 19, 2019, 2:15 PM consultit notifications@github.com wrote:

I've tried minione with both Virtualbox and QEMU/Kvm but unsuccessfully. I installed ubuntu 18.04 and executed:

sudo bash minione --lxd

and got this:

Checks & detection

Checking AppArmor SKIP will try to modify

Main deployment steps:

Configure bridge minionebr with IP 172.16.100.1/24 Enable NAT over ens3 Modify AppArmor Install OpenNebula node version 5.8 Using ssh public key /home/marco/.ssh/id_rsa.pub Install OpenNebula frontend version 5.8

Do you agree? [yes/no]: yes

Installation

Updating APT cache OK Creating bridge interface minionebr OK Restarting network OK Enabling IPv4 forward OK Configuring NAT using iptables OK Verify bridge by ping from it FAILED ping -W 3 -c 1 -I 172.16.100.1 8.8.8.8 -q --- STDERR --- bind: Cannot assign requested address

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/OpenNebula/minione/issues/29?email_source=notifications&email_token=AAM23J63CI4W3PZUPI3KBGDPWGKNBA5CNFSM4HN5BX6KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GUTDLOQ, or mute the thread https://github.com/notifications/unsubscribe-auth/AAM23J7K7D7NZOE7YRBUV6TPWGKNBANCNFSM4HN5BX6A .

bmullan commented 5 years ago

I i am though installing w the LXD Hypervisor option

On Sun, May 19, 2019, 2:25 PM brian mullan bmullan.mail@gmail.com wrote:

I use ubuntu 18.04

I created an Ubuntu 18.04 kvm vm (several times) and installed miniONE and its worked every time?

On Sun, May 19, 2019, 2:15 PM consultit notifications@github.com wrote:

I've tried minione with both Virtualbox and QEMU/Kvm but unsuccessfully. I installed ubuntu 18.04 and executed:

sudo bash minione --lxd

and got this:

Checks & detection

Checking AppArmor SKIP will try to modify

Main deployment steps:

Configure bridge minionebr with IP 172.16.100.1/24 Enable NAT over ens3 Modify AppArmor Install OpenNebula node version 5.8 Using ssh public key /home/marco/.ssh/id_rsa.pub Install OpenNebula frontend version 5.8

Do you agree? [yes/no]: yes

Installation

Updating APT cache OK Creating bridge interface minionebr OK Restarting network OK Enabling IPv4 forward OK Configuring NAT using iptables OK Verify bridge by ping from it FAILED ping -W 3 -c 1 -I 172.16.100.1 8.8.8.8 -q --- STDERR --- bind: Cannot assign requested address

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/OpenNebula/minione/issues/29?email_source=notifications&email_token=AAM23J63CI4W3PZUPI3KBGDPWGKNBA5CNFSM4HN5BX6KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GUTDLOQ, or mute the thread https://github.com/notifications/unsubscribe-auth/AAM23J7K7D7NZOE7YRBUV6TPWGKNBANCNFSM4HN5BX6A .

consultit commented 5 years ago

Hi the issue seems related to /etc/network/interfaces in ubuntu 18.04 which lacks a line like this source /etc/network/interfaces.d/* (in debian is present). But I found another issue:

...
...
Updating APT cache  FAILED

--- STDERR ---
E: The repository 'https://downloads.opennebula.org/repo/5.8/Ubuntu/18.04 stable Release' does not have a Release file.
--------------