[Openstack] Problem with adding up addresses to ext-net

Gary Kotton gkotton at vmware.com
Tue Nov 3 04:11:53 UTC 2015


Hi,
>From the trace below it appears that your subnet is exhausted. Which
version are you using?
Thanks
Gary

On 11/3/15, 4:33 AM, "Kim Hindart" <kim.hindart at citynetwork.se> wrote:

>Hello! 
>
>We are experiencing problems when we want to make a subnet with external
>ip addresses. Just wanted to check if someone has had similar problem?
>
>[root at cc-control01-sto2 ~(keystone_admin)]# neutron --debug
>--os-endpoint-type=adminURL subnet-create --name
>ext-subnet-188-240-222-2-188-240-222-254 --allocation-pool
>start=188.240.222.2,end=188.240.222.254 --disable-dhcp --gateway
>188.240.222.1 --dns-nameserver 185.2.152.101  --dns-nameserver
>185.2.152.102  ext-net 188.240.222.0/24
>DEBUG: keystoneclient.session REQ: curl -g -i -X GET
>https://urldefense.proofpoint.com/v2/url?u=http-3A__10.101.0.101-3A5000_v2
>.0_&d=BQICAg&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=VlZxHpZBmzzkW
>T5jqz9JYBk8YTeq9N3-diTlNj4GyNc&m=juzaZvDRkqWWGDtU-9wQYA_egCrgu7Tu8JkwtzFZ0
>fI&s=RWl0FtR7K7rqZ9EXfJvmDL2MgIspTKQQSI8ZhAmfHC0&e=  -H "Accept:
>application/json" -H "User-Agent: python-keystoneclient"
>DEBUG: keystoneclient.session RESP: [200] content-length: 351 vary:
>X-Auth-Token connection: keep-alive date: Mon, 02 Nov 2015 14:50:30 GMT
>content-type: application/json x-openstack-request-id:
>req-35c31eaa-f932-46fd-80cd-2b63602b55a1
>RESP BODY: {"version": {"status": "stable", "updated":
>"2014-04-17T00:00:00Z", "media-types": [{"base": "application/json",
>"type": "application/vnd.openstack.identity-v2.0+json"}], "id": "v2.0",
>"links": [{"href":
>"https://urldefense.proofpoint.com/v2/url?u=https-3A__identity01.citycloud
>.com-3A5000_v2.0_&d=BQICAg&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r
>=VlZxHpZBmzzkWT5jqz9JYBk8YTeq9N3-diTlNj4GyNc&m=juzaZvDRkqWWGDtU-9wQYA_egCr
>gu7Tu8JkwtzFZ0fI&s=ho-9pu2ELhAPe-aOpUVvgc0Jgpm6xi_tG01ggHXC7fo&e= ",
>"rel": "self"}, {"href": "http://docs.openstack.org/", "type":
>"text/html", "rel": "describedby"}]}}
>
>DEBUG: stevedore.extension found extension EntryPoint.parse('table =
>cliff.formatters.table:TableFormatter')
>DEBUG: stevedore.extension found extension EntryPoint.parse('shell =
>cliff.formatters.shell:ShellFormatter')
>DEBUG: stevedore.extension found extension EntryPoint.parse('value =
>cliff.formatters.value:ValueFormatter')
>DEBUG: neutronclient.neutron.v2_0.subnet.CreateSubnet
>get_data(Namespace(allocation_pools=[{u'start': u'188.240.222.2', u'end':
>u'188.240.222.254'}], cidr=u'188.240.222.0/24', columns=[],
>disable_dhcp=True, dns_nameservers=[u'185.2.152.101', u'185.2.152.102'],
>enable_dhcp=False, formatter='table', gateway=u'188.240.222.1',
>host_routes=None, ip_version=4, ipv6_address_mode=None,
>ipv6_ra_mode=None, max_width=0,
>name=u'ext-subnet-188-240-222-2-188-240-222-254', network_id=u'ext-net',
>no_gateway=False, prefix='', prefixlen=None, request_format='json',
>subnetpool=None, tenant_id=None, variables=[]))
>DEBUG: keystoneclient.auth.identity.v2 Making authentication request to
>https://urldefense.proofpoint.com/v2/url?u=https-3A__identity01.citycloud.
>com-3A5000_v2.0_tokens&d=BQICAg&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-
>uEs&r=VlZxHpZBmzzkWT5jqz9JYBk8YTeq9N3-diTlNj4GyNc&m=juzaZvDRkqWWGDtU-9wQYA
>_egCrgu7Tu8JkwtzFZ0fI&s=2p-b0GQD629r_eyIB1t0WPX0GVwJmKpUUxeNiYb5w3g&e=
>DEBUG: keystoneclient.session REQ: curl -g -i -X GET
>https://urldefense.proofpoint.com/v2/url?u=http-3A__int.sto2.citycloud.com
>-3A9696_v2.0_networks.json-3Ffields-3Did-26name-3Dext-2Dnet&d=BQICAg&c=Sqc
>l0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=VlZxHpZBmzzkWT5jqz9JYBk8YTeq9N3
>-diTlNj4GyNc&m=juzaZvDRkqWWGDtU-9wQYA_egCrgu7Tu8JkwtzFZ0fI&s=odjS5-6fHItET
>WVeQP67nuwpH3NHntoFoU9YRFsB5HQ&e=  -H "User-Agent: python-neutronclient"
>-H "Accept: application/json" -H "X-Auth-Token:
>{SHA1}47c4eed15c6790066c3138cf5f96255b1b9dc179"
>DEBUG: keystoneclient.session RESP: [200] date: Mon, 02 Nov 2015 14:50:30
>GMT connection: keep-alive content-type: application/json; charset=UTF-8
>content-length: 62 x-openstack-request-id:
>req-08cd3433-7f53-45c2-be3c-187c17b7d84b
>RESP BODY: {"networks": [{"id": "3e4a9105-7b10-4186-a053-dc9373bba0f4"}]}
>
>DEBUG: keystoneclient.session REQ: curl -g -i -X POST
>https://urldefense.proofpoint.com/v2/url?u=http-3A__int.sto2.citycloud.com
>-3A9696_v2.0_subnets.json&d=BQICAg&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNt
>Xt-uEs&r=VlZxHpZBmzzkWT5jqz9JYBk8YTeq9N3-diTlNj4GyNc&m=juzaZvDRkqWWGDtU-9w
>QYA_egCrgu7Tu8JkwtzFZ0fI&s=XpoJoui3JIdtK2fN2eTa-B8F7brGme9GVxLHxRhKGUc&e=
> -H "User-Agent: python-neutronclient" -H "Content-Type:
>application/json" -H "Accept: application/json" -H "X-Auth-Token:
>{SHA1}47c4eed15c6790066c3138cf5f96255b1b9dc179" -d '{"subnet":
>{"ip_version": 4, "allocation_pools": [{"start": "188.240.222.2", "end":
>"188.240.222.254"}], "gateway_ip": "188.240.222.1", "name":
>"ext-subnet-188-240-222-2-188-240-222-254", "enable_dhcp": false,
>"network_id": "3e4a9105-7b10-4186-a053-dc9373bba0f4", "cidr":
>"188.240.222.0/24", "dns_nameservers": ["185.2.152.101",
>"185.2.152.102"]}}'
>DEBUG: keystoneclient.session RESP:
>DEBUG: neutronclient.v2_0.client Error message: {"NeutronError":
>{"message": "No more IP addresses available on network
>3e4a9105-7b10-4186-a053-dc9373bba0f4.", "type":
>"IpAddressGenerationFailure", "detail": ""}}
>ERROR: neutronclient.shell No more IP addresses available on network
>3e4a9105-7b10-4186-a053-dc9373bba0f4.
>Traceback (most recent call last):
>  File "/usr/lib/python2.7/site-packages/neutronclient/shell.py", line
>766, in run_subcommand
>    return run_command(cmd, cmd_parser, sub_argv)
>  File "/usr/lib/python2.7/site-packages/neutronclient/shell.py", line
>101, in run_command
>    return cmd.run(known_args)
>  File 
>"/usr/lib/python2.7/site-packages/neutronclient/common/command.py", line
>29, in run
>    return super(OpenStackCommand, self).run(parsed_args)
>  File "/usr/lib/python2.7/site-packages/cliff/display.py", line 91, in
>run
>    column_names, data = self.take_action(parsed_args)
>  File 
>"/usr/lib/python2.7/site-packages/neutronclient/common/command.py", line
>35, in take_action
>    return self.get_data(parsed_args)
>  File 
>"/usr/lib/python2.7/site-packages/neutronclient/neutron/v2_0/__init__.py",
> line 475, in get_data
>    data = obj_creator(body)
>  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py",
>line 102, in with_params
>    ret = self.function(instance, *args, **kwargs)
>  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py",
>line 597, in create_subnet
>    return self.post(self.subnets_path, body=body)
>  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py",
>line 298, in post
>    headers=headers, params=params)
>  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py",
>line 211, in do_request
>    self._handle_fault_response(status_code, replybody)
>  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py",
>line 185, in _handle_fault_response
>    exception_handler_v20(status_code, des_error_body)
>  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py",
>line 70, in exception_handler_v20
>    status_code=status_code)
>IpAddressGenerationFailureClient: No more IP addresses available on
>network 3e4a9105-7b10-4186-a053-dc9373bba0f4.
>
>
>Sent from my iPhone
>_______________________________________________
>Mailing list: 
>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>Post to     : openstack at lists.openstack.org
>Unsubscribe : 
>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack





More information about the Openstack mailing list