Ask Your Question

Mirco's profile - activity

2014-12-17 10:26:28 -0500 received badge  Self-Learner (source)
2014-12-17 10:26:28 -0500 received badge  Teacher (source)
2014-12-10 00:44:08 -0500 received badge  Famous Question (source)
2014-12-04 19:00:16 -0500 received badge  Notable Question (source)
2014-12-04 14:43:12 -0500 commented answer juno 3 node configuration external network not working

http://textuploader.com/o3j3 (ifconfig here)

2014-12-04 14:20:36 -0500 commented answer juno 3 node configuration external network not working

I have run the command. I have reviewed all the details across the installation manual for the three node env,. I found only one point where I forgott to set the promiscous flag for eth0. I am googling about that problem but I have not found a reason why I do not have that routing

2014-12-04 04:46:26 -0500 received badge  Popular Question (source)
2014-12-04 02:38:58 -0500 commented answer juno 3 node configuration external network not working

the gateway 10.60.1.1. is the real gateway to internet, it is the one defined in the subnet

2014-12-04 01:42:30 -0500 commented answer juno 3 node configuration external network not working

Updated at the top. what is strange to me i that adding the subnet to the router it get as gateway 10.60.85.100 that is the first free ip of the range, I have set 10.60.1.1 as gateway as you can see from the last command. Thanks a lot for your help

2014-12-03 23:58:04 -0500 commented question juno 3 node configuration external network not working

I have changed the network configuration and layout, reboot all the nodes but without any different results

2014-12-03 16:43:51 -0500 commented question juno 3 node configuration external network not working

edited as suggested

2014-12-03 16:42:47 -0500 received badge  Editor (source)
2014-12-03 16:26:15 -0500 answered a question juno 3 node configuration external network not working
 root@controller:~# ps -ef | grep 1339
    nova      1339     1  0 06:41 ?        00:04:59 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf
    nova      2077  1339  0 06:41 ?        00:00:00 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf
    nova      2078  1339  0 06:41 ?        00:00:00 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf
    nova      2080  1339  0 06:41 ?        00:00:00 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf
    nova      2082  1339  0 06:41 ?        00:00:00 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf
    nova      2166  1339  0 06:41 ?        00:00:05 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf
    nova      2171  1339  0 06:41 ?        00:00:06 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf
    nova      2173  1339  0 06:41 ?        00:00:05 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf
    nova      2177  1339  0 06:41 ?        00:00:06 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf
    nova      2219  1339  0 06:41 ?        00:00:00 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf
    nova      2220  1339  0 06:41 ?        00:00:00 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf
    nova      2221  1339  0 06:41 ?        00:00:00 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf
    nova      2222  1339  0 06:41 ?        00:00:00 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf
    root     13981  3019  0 21:16 pts/1    00:00:00 grep --color=auto 1339



# The primary network interface
auto eth0
iface eth0 inet manual
  up ip link set dev $IFACE up
  up ifconfig $IFACE promisc
  down ip link set dev $IFACE down

root@controller:~# netstat -lntp | grep 8775
tcp        0      0 0.0.0.0:8775            0.0.0.0:*               LISTEN      1339/python

root@controller:~# neutron agent-list
+--------------------------------------+--------------------+----------+-------+----------------+---------------------------+
| id                                   | agent_type         | host     | alive | admin_state_up | binary                    |
+--------------------------------------+--------------------+----------+-------+----------------+---------------------------+
| 32f58296-5128-48e4-876e-3a847b5a27ba | Open vSwitch agent | network  | :-)   | True           | neutron-openvswitch-agent |
| 3a0b1f9a-6f09-49fc-a97d-dbae05c04666 | L3 agent           | network  | :-)   | True           | neutron-l3-agent          |
| b4e2d31a-1e2d-41f6-b3f9-3c7ad4d7c67b | Metadata agent     | network  | :-)   | True           | neutron-metadata-agent    |
| cc0599a0-27ad-4364-909e-f9a17ba0c269 | DHCP agent         | network  | :-)   | True           | neutron-dhcp-agent        |
| e540cfdb-a237-4594-abc7-1c130a56926b | Open vSwitch agent | compute1 | :-)   | True           | neutron-openvswitch-agent |
+--------------------------------------+--------------------+----------+-------+----------------+---------------------------+

root@network:~# ps -ef | grep 2685
root      2685     1  0 06:45 ?        00:00:00 /usr/bin/python /usr/bin/neutron-ns-metadata-proxy --pid_file=/var/lib/neutron/external/pids/c301e1b2-f985-43fd-a6a8-0fbf7c221ecd.pid --metadata_proxy_socket=/var/lib/neutron/metadata_proxy --router_id=c301e1b2-f985-43fd-a6a8-0fbf7c221ecd --state_path=/var/lib/neutron --metadata_port=9697 --debug --verbose --log-file=neutron-ns-metadata-proxy-c301e1b2-f985-43fd-a6a8-0fbf7c221ecd.log --log-dir=/var/log/neutron
root     18821  3260  0 09:39 pts/1    00:00:00 grep --color=auto 2685
root@network:~# ip netns exec qrouter-c301e1b2-f985-43fd-a6a8-0fbf7c221ecd iptables  -S -t nat
-P PREROUTING ACCEPT
-P INPUT ACCEPT
-P OUTPUT ACCEPT
-P POSTROUTING ACCEPT
-N neutron-l3-agent-OUTPUT
-N neutron-l3-agent-POSTROUTING
-N neutron-l3-agent-PREROUTING
-N neutron-l3-agent-float-snat
-N neutron-l3-agent-snat
-N neutron-postrouting-bottom
-A PREROUTING -j neutron-l3-agent-PREROUTING
-A OUTPUT -j neutron-l3-agent-OUTPUT
-A POSTROUTING -j neutron-l3-agent-POSTROUTING
-A POSTROUTING -j neutron-postrouting-bottom
-A neutron-l3-agent-OUTPUT -d 10.60.85.101/32 -j DNAT --to-destination 192 ...
(more)
2014-12-03 15:22:29 -0500 asked a question juno 3 node configuration external network not working

Hi, I have installed an ubuntu juno version with three separate node configuration, controller, network, compute1 Everything is working but the external network. everything seems ok, i can add the floating ip to the server (Cirros) and from inside the server I can ping the floating ip assigned. I cannot ping any external ip from the server and I cannot ping of course the ip of the server from outside. It looks like a routing problem,

From the definition I have assigned a router to the subnet (gw 10.60.1.1 from 10.60.85.100 to 10.60.85.110 mask 10.60.0.0/16) but looking from the dashboard I see that the network:router_gateway is assigned to the first ip of the range of the floating ips.

I have tried to redefine several times with different configuration but nothing seems to work I have reviews also all the settings.

From the network node I can see:

root@network:~# ip netns exec qrouter-c301e1b2-f985-43fd-a6a8-0fbf7c221ecd ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
16: qr-8c36733f-27: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default
    link/ether fa:16:3e:02:e7:85 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.1/24 brd 192.168.1.255 scope global qr-8c36733f-27
       valid_lft forever preferred_lft forever
    inet6 fe80::f816:3eff:fe02:e785/64 scope link
       valid_lft forever preferred_lft forever
21: qg-02d1751e-37: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default
    link/ether fa:16:3e:2b:90:87 brd ff:ff:ff:ff:ff:ff
    inet 10.60.85.100/16 brd 10.60.255.255 scope global qg-02d1751e-37
       valid_lft forever preferred_lft forever
    inet 10.60.85.101/32 brd 10.60.85.101 scope global qg-02d1751e-37
       valid_lft forever preferred_lft forever
    inet6 fe80::f816:3eff:fe2b:9087/64 scope link
       valid_lft forever preferred_lft forever
root@network:~# ip netns exec qrouter-c301e1b2-f985-43fd-a6a8-0fbf7c221ecd ip route
default via 10.60.1.1 dev qg-02d1751e-37
10.60.0.0/16 dev qg-02d1751e-37  proto kernel  scope link  src 10.60.85.100
192.168.1.0/24 dev qr-8c36733f-27  proto kernel  scope link  src 192.168.1.1
root@network:~#

root@network:~# ip netns exec qrouter-c301e1b2-f985-43fd-a6a8-0fbf7c221ecd iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination
neutron-l3-agent-PREROUTING  all  --  anywhere             anywhere

Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
neutron-l3-agent-OUTPUT  all  --  anywhere             anywhere

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination
neutron-l3-agent-POSTROUTING  all  --  anywhere             anywhere
neutron-postrouting-bottom  all  --  anywhere             anywhere

Chain neutron-l3-agent-OUTPUT (1 references)
target     prot opt source               destination
DNAT       all  --  anywhere             10.60.85.101         to:192.168.1.5

Chain neutron-l3-agent-POSTROUTING (1 references)
target     prot opt source               destination
ACCEPT     all ...
(more)