KVM instance setup not creating Ip for network interfaces

I added the IP Prange in the KVM host IP address allocation ranges.

When creating the new KVM instance a network interface for the assigned IP is never created. Isn't this suppose to happen automatically ?

Status: 
Active

Comments

Ilia's picture
Submitted by Ilia on Sun, 01/05/2020 - 15:29

Assigned: Unassigned ยป

I am passing this to Jamie for review.

Ok so the instance is running as I can VNC into it but it seems that the IP isn't getting setup via the br0 bridge.

If I run "cloudmin run-command --host test.csquared.ventures "ip link set dev eth0 up"" it times out.

Why is this not assigned to Jamie ??

Can you add a screenshot of what you see on the VM creation form, in the IP address section?

Okay, noob speaking here, so feel free to call out anything stupid. I think that trying to automate anything with OVHcloud is going to be a lost cause, guys. I can spin up a VM, ping it, get Apache to work on it, etc, but I have no idea how you would automate it.

Every VM with OVHcloud has to have a virtual MAC address paired to the IP. So when I set up a VM, I have to go to Host and Networking Options and manually enter the IP address for the VM - the netmask stays 255.255.255.0 - the gateway has to be the first 3 octets of the servers primary IP address with the final octet being 254. Then I have to go to Advanced options and put in the virtual MAC address for the network device that is pair to the IP that I used. That's the only way I've been able to get it to work consistently. I've got a video of me running through the setup of one if you want it. I know that OVHcloud has some APIs available, but I don't know if any of them would help with this, nor do I know if it would even be worth the trouble.

Thanks and I was afraid of that.

the gateway has to be the first 3 octets of the servers primary IP address with the final octet being 254

That's the part that confuses me. Can you give a example ?