Ask Your Question
0

PackStack installation networking issue

asked 2014-02-18 07:06:08 -0500

BuddyBoy13 gravatar image

Hello all,

I'm installing/configuring Havana using the instructions at this link:

http://openstack.redhat.com/PackStack_All-in-One_DIY_Configuration (http://openstack.redhat.com/PackStack...)

Commands run up to this point were all from this guide:

packstack --allinone --provision-demo=n --provision-all-in-one-ovs-bridge=n
openstack-config --set /etc/neutron/dhcp_agent.ini DEFAULT ovs_use_veth True
openstack-config --set /etc/neutron/l3_agent.ini DEFAULT ovs_use_veth True
openstack-config --set /etc/neutron/dhcp_agent.ini DEFAULT enable_isolated_metadata = True
openstack-config --set /etc/neutron/dhcp_agent.ini DEFAULT enable_isolated_metadata True
openstack-config --set /etc/neutron/dhcp_agent.ini DEFAULT interface_driver neutron.agent.linux.interface.OVSInterfaceDriver
neutron net-create extnet --router:external=True
neutron subnet-create extnet --allocation-pool start=192.168.30.32,end=192.168.30.62  --gateway 192.168.30.1 --enable_dhcp=False  192.168.30.0/24
neutron router-create rdorouter
neutron router-gateway-set ea3ce1c1-6bd4-49ea-9c1d-9d0cfcc0f1db 59300b19-106c-4e2a-8f1d-a2cbd6b63c96

Almost all has gone well up to the point of setting the router's gateway. The command itself works but I am not seeing the expected output that is shown in the document. The doc says that there should be a tap interface created under br-ex and this is what connects the router to the external network. The document says I should see something similar to this:

And now is a good time to do some "looking around". Let's start with the changes to Open vSwitch.
ovs-vsctl show
74613231-71bb-4bc9-81ab-22f2bc04d53a
    Bridge br-int
        Port br-int
            Interface br-int
                type: internal
    Bridge br-ex
        Port "tap0f7a05c3-8c"
            Interface "tap0f7a05c3-8c"
        Port br-ex
            Interface br-ex
                type: internal
    ovs_version: "1.10.0"

Unfortunately, after running the gateway-set command, my ovs-vsctl show output looks the same as it did at the initial configuration. Here's my output:

[root@intbc1bl11 ~(keystone_admin)]# ovs-vsctl show
19b2b1e8-c659-4aa9-90a2-38fab8f6687b
    Bridge br-int
        Port br-int
            Interface br-int
                type: internal
    Bridge br-ex
        Port br-ex
            Interface br-ex
                type: internal
    ovs_version: "1.11.0"

ifconfig also shows no additional interfaces:

[root@intbc1bl11 openvswitch(keystone_admin)]# ifconfig
br-ex     Link encap:Ethernet  HWaddr 22:E2:0F:C4:AF:4F
          inet6 addr: fe80::20e2:fff:fec4:af4f/64 Scope:Link
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:468 (468.0 b)

br-int    Link encap:Ethernet  HWaddr C6:50:FA:10:2E:4D
          inet6 addr: fe80::c450:faff:fe10:2e4d/64 Scope:Link
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:468 (468.0 b)

eth0      Link encap:Ethernet  HWaddr 00:10:18:B9:DD:10
          inet addr:192.168.30.161  Bcast:192.168.30.255  Mask:255.255.255.0
          inet6 addr: fe80::210:18ff:feb9:dd10/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:38314 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2289 errors:0 dropped:0 overruns:0 ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-02-18 10:14:16 -0500

BuddyBoy13 gravatar image

updated 2014-02-18 10:14:53 -0500

After digging around a bit, I found the issue. The neutron user needs the ability to sudo. Once I added the account to the appropriate group, the tap interface was created.

https://bugs.launchpad.net/tripleo/+bug/1200409 (https://bugs.launchpad.net/tripleo/+b...)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2014-02-18 07:06:08 -0500

Seen: 552 times

Last updated: Feb 18 '14