2013-01-21 17:48:30 |
Julie Pichon |
description |
When creating a subnet during the network creation process, if the user doesn't include a CIDR the subnet mask defaults to /32, making it impossible to allocate an IP when launching an instance later on (Quantum logs: IpAddressGenerationFailure No more IP addresses available on network). It's easy to miss when creating a new network.
Steps to reproduce:
1. Go to the network page and create a new network
2. On the subnet page, specify an ip without a netmask
3. Try to launch an instance with that network
Actual results:
The subnet was created with a netmask of /32 and the instance errors.
Expected results:
Probably creating a subnet without a netmask should fail. Quantum does allow you to create a subnet with cidr 32, but because providing the cidr is mandatory this problem is less likely to happen. |
When creating a subnet during the network creation process, if the user doesn't include a mask in the Network address field, the subnet mask defaults to /32, making it impossible to allocate an IP when launching an instance later on (Quantum logs: IpAddressGenerationFailure No more IP addresses available on network). It's easy to miss when creating a new network.
Steps to reproduce:
1. Go to the network page and create a new network
2. On the subnet page, specify an ip without a netmask
3. Try to launch an instance with that network
Actual results:
The subnet was created with a netmask of /32 and the instance errors.
Expected results:
Probably creating a subnet without a netmask should fail. Quantum does allow you to create a subnet with cidr /32, but because providing the netmask is mandatory this problem is less likely to happen. |
|