[Openstack-operators] Neutron Documentation

Alvise Dorigo alvise.dorigo at pd.infn.it
Tue Jan 7 10:17:45 UTC 2014


On Jan 6, 2014, at 3:14 PM, Steve Gordon wrote:

> 
> 
> ----- Original Message -----
>> From: "Alvise Dorigo" <alvise.dorigo at pd.infn.it>
>> To: "Sankarshan Mukhopadhyay" <sankarshan.mukhopadhyay at gmail.com>
>> Cc: openstack-operators at lists.openstack.org
>> Sent: Sunday, January 5, 2014 9:22:34 AM
>> Subject: Re: [Openstack-operators] Neutron Documentation
>> 
>> Hi Sankarshan,
>> in the same site you suggested I found also a version “4”:
>> 
>> https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform/
>> 
>> Do you know if that is ‘good’ (or still in beta) as the “3” version ?
>> I’ve seen the version “3” still talks about “quantum” which was replaced by
>> neutron (just a rename as far as I know).
>> 
>> thanks,
>> 
>> 	A.
> 
> Red Hat Enterprise Linux OpenStack Platform 3 is Grizzly based (hence the documentation for that version still correctly refers to Quantum), 4 is Havana based. Both are fully (and concurrently) supported.

Hi Steve, Sankarshan,

I'm following the guide "4" for Havana. For what concern Neutron, everything works smooth until the section 13.6 "Configuring an external provider network". I execute these steps as described there:

neutron net-create EXTERNAL_NAME --router:external True --provider:network_type TYPE --provider:physical_network PHYSICAL_NAME --provider:segmentation_id VLAN_TAG
(OK)

neutron subnet-create --gateway GATEWAY --allocation-pool start=IP_RANGE_START,end=IP_RANGE_END --disable-dhcp EXTERNAL_NAME EXTERNAL_CIDR
(OK)

neutron router-create NAME
(OK)

neutron router-gateway-set ROUTER NETWORK
(OK)

(of course I replaced the labels with the proper names, IPs, ID, etc...)

The last command of section 13.6 fails:

neutron router-interface-add myRouter dc8ea9c9-c737-4ab3-8abb-f62284b078f8
400-{u'NeutronError': {u'message': u'Bad router request: Router already has a port on subnet dc8ea9c9-c737-4ab3-8abb-f62284b078f8', u'type': u'BadRequest', u'detail': u''}}


This is my net and subnet list:

bash-4.1$ neutron net-list
+--------------------------------------+---------+-------------------------------------------------------+
| id                                   | name    | subnets                                               |
+--------------------------------------+---------+-------------------------------------------------------+
| 6f0b45e1-143f-4c1c-acb4-414210e9dbb9 | esterna | dc8ea9c9-c737-4ab3-8abb-f62284b078f8 192.168.120.0/24 |
+--------------------------------------+---------+-------------------------------------------------------+
bash-4.1$ neutron subnet-list
+--------------------------------------+----------------+------------------+--------------------------------------------------------+
| id                                   | name           | cidr             | allocation_pools                                       |
+--------------------------------------+----------------+------------------+--------------------------------------------------------+
| dc8ea9c9-c737-4ab3-8abb-f62284b078f8 | subnet_externa | 192.168.120.0/24 | {"start": "192.168.120.100", "end": "192.168.120.150"} |
+--------------------------------------+----------------+------------------+--------------------------------------------------------+

I've never execute an interface-add for myRouter before, but it says that "Router already has a port".

What am I doing wrong ?

thanks,

	A.

> 
> Thanks,
> 
> Steve

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1756 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20140107/5fcf1970/attachment.bin>


More information about the OpenStack-operators mailing list