following guide to configure neutron, but cannot ping gateway of demo-net.
Hello, I meet a problem when I configure the neutron following http://docs.openstack.org/icehouse/in...
I use three machines, named as controller, compute1 and network as the guide advises.
My demo-net, which is tenant net, is 192.168.1.0/24.
My ext-net, which is external net, is 203.0.113.0/24.
I start the instance, but the instance has no ip just after boot. I use "sudo ifconfig eth0 192.168.1.4", but I cannot success to ping 192.168.1.1, which is the gateway of demo-net.
Two instances can ping each other as if I have configured ip on them.
On the fourth machine with ip 203.0.113.12, which connects the same phycical switch as all above three, I cannot ping 203.0.113.101, which should be the gateway of ext-net.
I catch the error message about every 5 seconds as below:
[root@network stx]# tail -f /var/log/neutron/dhcp-agent.log | grep ERROR
2014-08-27 14:14:12.842 25378 ERROR neutron.agent.dhcp_agent [-] Unable to enable dhcp for cb6c1995-834f-43d4-a658-03a95de10585.
Would you please to help me find out where I make a mistake?
Does need any extra configuration on br-ex, br-int or br-tun?
My configuration is as below:
[root@controller stx]# keystone user-list
+----------------------------------+------------+---------+-------+
| id | name | enabled | email |
+----------------------------------+------------+---------+-------+
| 0e50b432440e413393ccb28558671677 | admin | True | |
| 1590e07bf0594fb1a03fad70400893e5 | ceilometer | True | |
| 5144a28f6d874d9b8ffcf4dcb8efc6d2 | demo | True | |
| 286b1aa6f25842e0a5cf081b3c07bd28 | glance | True | |
| 64e18f4fd5c849abb25c5b3c06ba4b0e | heat | True | |
| 07a317be32224c59881273054a2f9e4d | neutron | True | |
| 68068c72379749cc83ec3cdc4137a93b | nova | True | |
| 5e2718c6e4324ce7a4127a4633c64144 | swift | True | |
+----------------------------------+------------+---------+-------+
[root@controller stx]# keystone tenant-list
+----------------------------------+---------+---------+
| id | name | enabled |
+----------------------------------+---------+---------+
| abe21dfa863a4c399721eed59ad1845b | admin | True |
| 28e76f4806fa455bb7b87f0e51232533 | demo | True |
| 8c8d2aab5f1c4e4182ad2982582612b2 | service | True |
+----------------------------------+---------+---------+
[root@controller stx]# keystone service-list
+----------------------------------+------------+----------------+------------------------------+
| id | name | type | description |
+----------------------------------+------------+----------------+------------------------------+
| 18c10b125f6543fe9926c62dbea9d1c1 | ceilometer | metering | Telemetry |
| 5389a02daee1433ca6afe40e23ec3a83 | glance | image | OpenStack Image Service |
| adeb3cd4e86a46bd87948e5938dcb923 | heat | orchestration | Orchestration |
| 57c87b9a0f1146cfa27356578ae0e835 | heat-cfn | cloudformation | Orchestration CloudFormation |
| 0f14e7b4fed14a54a2af22fa74513dc7 | keystone | identity | OpenStack Identity |
| 1bf816e263c64373a921a4e600169f04 | neutron | network | OpenStack Networking |
| c0d92ebda3ad41989bb16b1b78c36fdf | nova | compute | OpenStack Compute |
| a562e30a6b5b44d7888629b6a9aefb84 | swift | object-store | OpenStack Object Storage |
+----------------------------------+------------+----------------+------------------------------+
[root@controller stx]# keystone endpoint-list
+----------------------------------+-----------+----------------------------------------------+----------------------------------------------+-----------------------------------------+----------------------------------+
| id | region | publicurl | internalurl | adminurl | service_id |
+----------------------------------+-----------+----------------------------------------------+----------------------------------------------+-----------------------------------------+----------------------------------+
| 1b61b6bb817146c19ca6eb55c4066f02 | regionOne | http://controller:9292 | http://controller:9292 | http://controller:9292 | 5389a02daee1433ca6afe40e23ec3a83 |
| 2b9e8187bc0f415e99ed7263a9713317 | regionOne | http://controller:8000/v1 | http://controller:8000/v1 | http://controller:8000/v1 | 57c87b9a0f1146cfa27356578ae0e835 |
| 2c58721201134b7b9ff12e3ca5299d25 | regionOne | http://controller:9696 | http://controller:9696 | http://controller:9696 | 1bf816e263c64373a921a4e600169f04 |
| 726fde8671424be2a391799c7bbdf7c7 | regionOne | http://controller:5000/v2.0 | http://controller:5000/v2.0 | http://controller:35357/v2.0 | 0f14e7b4fed14a54a2af22fa74513dc7 |
| 7678152dc08444169897596facd752b6 | regionOne | http://controller:8004/v1/%(tenant_id)s | http://controller:8004/v1/%(tenant_id)s | http://controller:8004/v1/%(tenant_id)s | adeb3cd4e86a46bd87948e5938dcb923 |
| 9c9300f8577d448080cea33e1c395b5c | regionOne | http://controller:8777 | http://controller:8777 | http://controller:8777 | 18c10b125f6543fe9926c62dbea9d1c1 |
| c09e18a471574dbd9f22fe1a80aa0390 | regionOne | http://controller:8774/v2/%(tenant_id)s | http://controller:8774/v2/%(tenant_id)s | http://controller:8774/v2/%(tenant_id)s | c0d92ebda3ad41989bb16b1b78c36fdf |
| f57bb26460ff4938a3b9cf24cf7f5b0d | regionOne | http://controller:8080/v1/AUTH_%(tenant_id)s | http://controller:8080/v1/AUTH_%(tenant_id)s | http://controller:8080 | a562e30a6b5b44d7888629b6a9aefb84 |
+----------------------------------+-----------+----------------------------------------------+----------------------------------------------+-----------------------------------------+----------------------------------+
[root@controller stx]# neutron net-list
+--------------------------------------+----------+-----------------------------------------------------+
| id | name | subnets |
+--------------------------------------+----------+-----------------------------------------------------+
| cb6c1995-834f-43d4-a658-03a95de10585 | demo-net | 6540ebe2-7be8-402c-8a2d-07e02314d812 192.168.1.0/24 |
| ee1a8f22-d68f-4e9b-9d03-0376c25bce8c | ext-net | a8f783a3-2708-4b0d-a6a0-ed33f72b3728 203.0.113.0/24 |
+--------------------------------------+----------+-----------------------------------------------------+
[root@controller stx]# neutron subnet-list
+--------------------------------------+-------------+----------------+----------------------------------------------------+
| id | name | cidr | allocation_pools |
+--------------------------------------+-------------+----------------+----------------------------------------------------+
| 6540ebe2-7be8-402c-8a2d-07e02314d812 | demo-subnet | 192.168.1.0/24 | {"start": "192.168.1.2", "end": "192.168.1.254"} |
| a8f783a3-2708-4b0d-a6a0-ed33f72b3728 ...
Whats the status of dhcp agent ? Go to system info -> Network agents , in your horizon admin tab and check the status of all agents .
Thanks and sorry for late. I have five agents with their host as below
Besides, their "Status" is all "Enable", "States" is all "Up", "Update At" is "0 minute