Submitted by sgrayban on Sun, 01/05/2020 - 14:45
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
I am passing this to Jamie for review.
Submitted by sgrayban on Mon, 01/06/2020 - 17:03 Comment #2
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.
Submitted by sgrayban on Mon, 01/06/2020 - 17:16 Comment #3
Why is this not assigned to Jamie ??
Submitted by JamieCameron on Mon, 01/13/2020 - 00:33 Comment #4
Can you add a screenshot of what you see on the VM creation form, in the IP address section?
Submitted by UKFanInTN on Tue, 01/14/2020 - 04:50 Comment #5
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.
Submitted by sgrayban on Tue, 01/14/2020 - 13:16 Comment #6
Thanks and I was afraid of that.
That's the part that confuses me. Can you give a example ?
Submitted by UKFanInTN on Tue, 01/14/2020 - 14:38 Comment #7
The VM is assigned to csquareddemos.com on IP 51.81.111.144.
Screenshot and vid in the link:
https://drive.google.com/drive/folders/1Hmjb1FFJUj8RjjoJDLA104n2MUqSBmlG...
If either of you want access to tinker around, let me know and I'll set it up.