[rhos-list] quantum network_vlan_ranges

Robert Kukura rkukura at redhat.com
Wed Jul 24 17:34:58 UTC 2013


On 07/24/2013 12:34 PM, Chen, Hao wrote:
> Thanks Rob.
> 
> (1) When checked the log files I found the following line coming out every second in /var/log/secure. Not sure what it means.
> ...
> Jul 24 08:49:22 cloud1 sudo:  quantum : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/quantum-rootwrap /etc/quantum/rootwrap.conf ovs-vsctl --timeout=2 list-ports br-int
> Jul 24 08:49:22 cloud1 sudo:  quantum : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/quantum-rootwrap /etc/quantum/rootwrap.conf ovs-vsctl --timeout=2 list-ports br-int

This is normal. The openvswitch-agent is polling OVS periodically to
determine if any new virtual NICs have attached to br-int.

> ...
> 
> (2) Start openvswitch in 9.8.1.2. should be in 9.7. Configuring the L3 Agent as  9.7.3. requires this service to run ovs-vsctl.

You are right. Actually, section 9.8 on the L2 agent should be before
the sections on the other agents. I've added this to the same doc BZ
referenced below.

Note that if you are really using a provider external network instead of
an external bridge, you do not need to follow 9.7.3.A (run "ovs-vsctl
add-br br-ex" or setup /etc/sysconfig/network-scripts/ifcfg-br-ex).

Also, with RHOS 3.0 and network namespaces enabled, you should not need
to set router_id, regardless of whether you are using a provider
external network or an external bridge. I've added this to the BZ as well.

Finally, I'd recommend using the latest RHOS 3.0 docs at
https://access.redhat.com/site/documentation/en-US/Red_Hat_OpenStack
rather than the preview version.

-Bob

> 
> Hao
> 
> -----Original Message-----
> From: Robert Kukura [mailto:rkukura at redhat.com] 
> Sent: July 23, 2013 17:20
> To: Chen, Hao
> Cc: rhos-list at redhat.com
> Subject: Re: [rhos-list] quantum network_vlan_ranges
> 
> On 07/23/2013 04:43 PM, Chen, Hao wrote:
>>> [root at cloud1 ~(keystone_admin)]# quantum router-interface-add
>>> 7f5823a5-5a41-4c00-affe-4062b54445f9
>>> 2a8743f4-fd25-4b9f-8c12-987e23a4cbdc
>>> Bad router request: Router already has a port on subnet 
>>> 2a8743f4-fd25-4b9f-8c12-987e23a4cbdc
>>>
>>
>> Is it possible that you've already added this subnet's network as a gateway with "quantum router-gateway-set ..."? The same network/subnet cannot be connected to a router as both a gateway and as an interface.
>>
>> Thanks Bob for the answer. Indeed, I used "quantum router-gateway-set ...". Followed the link bellow and tried to execute Step 6  "quantum router-interface-add ..." right after Step 5  "quantum router-gateway-set ...". I guess that is the problem.    
>> https://access.redhat.com/site/documentation/en-US/Red_Hat_OpenStack_P
>> review/3/html/Installation_and_Configuration_Guide/Configuring_a_Provi
>> der_Network1.html
>>
> 
> Hi Hao,
> 
> Glad that was it! I've filed bug
> https://bugzilla.redhat.com/show_bug.cgi?id=987711 against the documentation for this. Feel free to add yourself to the CC list and/or add any additional relevant information.
> 
>> Hao
>>
> 
> Thanks,
> 
> -Bob
> 




More information about the rhos-list mailing list