Trying to use Vultr with 7.0

Please, describe the problem here and provide additional information below (if applicable) …


Versions of the related components and OS (frontend, hypervisors, VMs): opennebula 7.0 frontend, lxc-node host on vultr, I use to use oneprovision to create lxc containers

Steps to reproduce:

Current results:I cannot get a ip address on my lxc container using vultr host

Expected results:

I wanted to use vultr for my lxc conntainers and would use oneprovison with my previous version of opennebula.

I have added my host manually like I would do a kvm but of course used lxc node. the container spins up but I cannot figure out how to get my second address to work in the container like it use to with onprovision i seems vultr uses dhcp and just adds the address to enps01 I looked at my old setup and I see elastic driver instead of bridge othewise than that everything else seems to work.

Any help would be appreciated

Thanks -vizo-

So it looks like vultr aliases the second ip to the nic en1ps0 and since I want to do use a linux bridge I set this up in my /etc/network/interfaces file

auto enp1s0
iface enp1s0 inet manual

auto br0
iface br0 inet static
address 45.N.N.N
netmask 255.255.254.0
gateway 45.N.N.1
dns-nameservers 1.1.1.1
bridge_ports enp1s0
bridge_stp off
bridge_fd 0

post-up ip route add 169.254.0.0/16 dev br0 || true

he second ip address is a /32 and I set up my network template like so auto enp1s0

VIRTUAL NETWORK TEMPLATE
BRIDGE=“br0”
BRIDGE_TYPE=“linux”
CLUSTER=“105”
DNS=“1.1.1.1”
NETWORK_MASK=“255.255.255.255”
OUTER_VLAN_ID=“”
PHYDEV=“”
SECURITY_GROUPS=“0”
VLAN_ID=“”
VN_MAD=“bridge”

And a sigle ip address in of my second ip in address range but I still get not network access from the lxc container

can anyone tell me what I might be missing to get this working in 7.0 I think I am close but cant see why this wouldnt work

Thanks

Try to check the one-context logs within the container for clues as to why the networking fails. If the container is imported from the LinuxContainers marketplace, then, take a look at the /var/log/chroot.log within the container to see if something went wrong with the auto contextualization injection.

I dont see any network failures, it get a ip address from contexulization but I cant seem to route out of the container I think because its the real ip address is a /32 and has no gateway and I am stumped.

Ok I was looking at what I used before with vultr and came across this Vultr Edge Cluster — OpenNebula 6.0.4 documentation I dont have the skill set I think to implement this without oneprovision anyone have any ideas to use vultr without oneprovision?