cant ping instance(local and floating) but router does fine
I followed step by step http://docs.openstack.org/juno/install-guide/install/yum/content/ (http://docs.openstack.org/juno/instal...) Im having
- Controller
- Compute
- Network node
My external net is 192.168.1.0/24. Interface enp5s0 on network node is added to ex-br. I have created a router, which is having assigned IP 192.168.1.67 (external). Virtual local net is 172.0.0.0
I have added a route on compute node to 172.0.0.0 via 192.168.1.67 and now im able to ping 172.0.0.1
But here is the problem comes: If am I creating instance with ext-net - it wont be created. Fails with error 'no valid host found' If Im creating instance with local net only, it goes through, but the IP is not being assigned to machine. In console its all fine:
+--------------------------------------+----------------+--------+------------+-------------+----------------------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+----------------+--------+------------+-------------+----------------------------------+
| 1f3c5e10-244f-4da6-a4ea-52b3aa76df20 | demo-instance1 | ACTIVE | - | Running | demo-net=172.0.0.2, 192.168.1.68 |
+--------------------------------------+----------------+--------+------------+-------------+----------------------------------+
But when I login into VM, there is no any IP assigned. Even if I will add to eth0 IP 172.0.0.2, I'm not able to ping the local gateway
Im a bit frustrated with this issue. I tried to look into logs at network node, and I dont really see any WARNINGs or ERRORs
BTW, all machines are Centos 7, selinux is off. Neutron looks great too:
[root@controller ~]# neutron agent-list
+--------------------------------------+--------------------+--------------------+-------+----------------+---------------------------+
| id | agent_type | host | alive | admin_state_up | binary |
+--------------------------------------+--------------------+--------------------+-------+----------------+---------------------------+
| 09ac9fa3-083c-48.. | Metadata agent | node02.localdomain | :-) | True | neutron-metadata-agent |
| 4a4ff3b8-b0b7-49.. | DHCP agent | node02.localdomain | :-) | True | neutron-dhcp-agent |
| 795e1c54-c958-43.. | Open vSwitch agent | node01.localdomain | :-) | True | neutron-openvswitch-agent |
| a42a3cab-8fc4-48.. | L3 agent | node02.localdomain | :-) | True | neutron-l3-agent |
| f2af8046-0c64-48.. | Open vSwitch agent | node02.localdomain | :-) | True | neutron-openvswitch-agent |
+--------------------------------------+--------------------+--------------------+-------+----------------+---------------------------+
I've tried nova-network and it just worked great. But neutron is demanded...
ip netns | grep private-net-id
will give you corresponding qdhcp-namespace - qdhcp-xxxxxxxxxxAs mentioned above, make sure dhcp is working and also can you explain the issue with external network i.e are you using admin account to create public n/w?
Yes, I use only admin, even to create instance. For some reason under user account neutron is not listing private net
After executing ip netns exec qdhcp-xxxxxxxxxx ifconfig it gives me: tap10f2d3fe-13: flags=4163<up,broadcast,running,multicast> mtu 1500 inet 172.0.0.3 netmask 255.255.255.0 broadcast 172.0.0.255
but ip 172.0.0.3 is not being assigned to any VM or routers. My demo VM IP is 172.0.0.2
What is tag value of tap10f2d3fe-13 on br-int ?