Failed to create system : Failed to allocate an IP address on xxxx.com from the range

I keep getting the same error "Failed to create system : Failed to allocate an IP address on xxxx.com from the range" when trying to create a VM. I have each Xen host set to use the blocks set up under IP Addresses. I've been manually assigning IPs for some time now but would rather figure this out.

Status: 
Closed (fixed)

Comments

Check the page at Host Systems -> IP Addresses ... it will show you all the IP ranges and for each address what it is used by. From the error, it sounds like they are all in use.

Steffan's picture
Submitted by Steffan on Sat, 03/25/2017 - 19:55 Pro Licensee

Not even close to being used up. 30 or so vacant.

Steffan's picture
Submitted by Steffan on Sun, 03/26/2017 - 00:43 Pro Licensee

Sent you directly the list showing you just how many there are.

If you ping any of those that are shown as free, do you get a response back?

Wait ... in the original error, is that the full error message? Because it seems truncated - there should be something after "range".

Steffan's picture
Submitted by Steffan on Sun, 03/26/2017 - 01:15 Pro Licensee

That was all of it. Feel free to log into the CM Master and try to create a VM. You can see the error exactly.

Make sure that on the Xen or KVM Host page, that an IP range is selected - it sounds like one is missing.

Steffan's picture
Submitted by Steffan on Mon, 03/27/2017 - 01:39 Pro Licensee

I did all that before submitting the ticket. All hosts are configured the same way. Did you log into the CM Master and look? They're all set up per the book.

Sure ... what are the IP and credentials?

Steffan's picture
Submitted by Steffan on Mon, 03/27/2017 - 16:24 Pro Licensee

Same you've used all this time. I'll resend via email.

I had a look at your system, and the IP ranges look correct at first glance. Which type of VM were you trying to create, and on which host system?

Steffan's picture
Submitted by Steffan on Mon, 03/27/2017 - 23:01 Pro Licensee

Any kind of VM whether a CM image or an empty image all have the same same issue. Most recently was a CentOS 7 image. All hosts produce the same error. All servers are doing Xen.

I think I see what it could be - which bridge are you selecting at VM creation time? If it's br1, there don't appear to be any IP ranges assigned to it.

Steffan's picture
Submitted by Steffan on Tue, 03/28/2017 - 10:04 Pro Licensee

I only recently tried adding that br1. It has never assigned IPs. It's only an issue right now because I have a client who is trying to create virtual machines and cannot because of this issue. A poncho now, I have just manually I signed it because I didn't want to deal with it.

Do you mind if I try to create a VM, and if so on which host?

Steffan's picture
Submitted by Steffan on Tue, 03/28/2017 - 22:58 Pro Licensee

By all means, please do so. Any host you like. They are configured exactly the same.

Ok, I was able to fix this by selecting your br0 and br1 bridges on each of the host pages under Xen Host Systems.

Your original config should work though - I will fix this in the next release.

Status: Active » Fixed
Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.