[Openstack] [kilo]instance does not take IP from dhcp, and network:dhcp, network:router_interface show down status

디케이 zuntong at gmail.com
Sat Feb 27 18:09:00 UTC 2016


instance does not take from dhcp
I think problem is network.dhcp
because network.dhcp status is down
I checked another port
all port status is down(ext-gw, demo-gw, demo-dhcp) except for nova
instance port
what is wrong??

Information about my configuration below

[Kilo release]

192.168.10.1(router) <---> 192.168.10.102(my
laptop) <---> (vmware) <---> ext-net(192.168.10.0/24) <---> demo-net(gre,
100.100.100.0/24, gw:100.100.100.1, dhcp:100.100.100.2)

# neutron port-show 9f2b3948-9a66-4f13-afd8-78cf1a00ea73
+------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field                               | Value

                                     |
+-------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------+
| admin_state_up               | True
                                                                      |
| allowed_address_pairs     |
                                                                        |
| binding:host_id                | network
                                                                           |
| binding:profile                  | {}

     |
| binding:vif_details            | {}

    |
*| binding:vif_type               | binding_failed  *
                                                                         |
| binding:vnic_type            | normal

   |
| device_id                       |
dhcp7b60c1d9-602e-5110-8c89-a9475b89732c-bf83ff52-f4ef-4c9c-a13d-a2ecb40ca730
                                  |
| device_owner                 | *network:dhcp    *
                                                                       |
| dns_assignment             | {"hostname": "host-100-100-100-2",
"ip_address": "100.100.100.2", "fqdn":
"host-100-100-100-2.openstacklocal."} |
| dns_name                      |
                                                                      |
| extra_dhcp_opts            |
                                                                    |
| fixed_ips                       | {"subnet_id":
"541d088b-f3a8-4fdf-a916-e320a9845d15", "ip_address": "100.100.100.2"}
                       |
| id                                 | 9f2b3948-9a66-4f13-afd8-78cf1a00ea73
                                                                           |
| mac_address                | fa:16:3e:af:c4:c4

    |
| name                            |

               |
| network_id                    | bf83ff52-f4ef-4c9c-a13d-a2ecb40ca730
                                                                       |
| security_groups            |

            |
| status                          |* DOWN  *

            |
| tenant_id                     | 6ef5e95bd62946cdab6228f2870e2367
                                                                       |
+----------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------+

# neutron net-list
+-----------------------------------------------------------+----------+--------------------------------------------------------------------------------------+
| id                                                          | name   |
                         subnets
    |
+-----------------------------------------------------------+----------+--------------------------------------------------------------------------------------+
| 0b0c5264-a1ca-4d1f-8bc9-a69c1e83b96f | ext-net  |
fc59146f-1c2d-4c87-94e1-525b88ae1ced 192.168.10.0/24  |
| bf83ff52-f4ef-4c9c-a13d-a2ecb40ca730 | demo-net |
541d088b-f3a8-4fdf-a916-e320a9845d15 100.100.100.0/24 |
+------------------------------------------------------------+----------+-------------------------------------------------------------------------------------+

# neutron net-show demo-net
+------------------------------------+---------------------------------------------------+
| Field                              | Value
            |
+------------------------------------+---------------------------------------------------+
| admin_state_up             | True                                 |
| id                                 | bf83ff52-f4ef-4c9c-a13d-a2ecb40ca730
|
| mtu                              | 0                                    |
| name                            | demo-net                             |
| provider:network_type     | gre                                  |
| provider:physical_network |                                      |
| provider:segmentation_id  | 61                                   |
| router:external                 | False                                |
| shared                            | False                                |
| status                             | ACTIVE
|
| subnets                          | 541d088b-f3a8-4fdf-a916-e320a9845d15 |
| tenant_id                        | 6ef5e95bd62946cdab6228f2870e2367     |
+-------------------------------------+------------------------------------------------------------+

# neutron subnet-list
+-----------------------------------------------------------+-----------------+------------------------+---------------------------------------------------------------------------+
| id                                                          | name
  | cidr                    | allocation_pools
                      |
+------------------------------------------------------------+----------------+-----------------------+-----------------------------------------------------------------------------+
| fc59146f-1c2d-4c87-94e1-525b88ae1ced | ext-subnet  | 192.168.10.0/24  |
{"start": "192.168.10.180", "end": "192.168.10.250"} |
| 541d088b-f3a8-4fdf-a916-e320a9845d15 | demo-subnet | 100.100.100.0/24 |
{"start": "100.100.100.2", "end": "100.100.100.254"} |
+-------------------------------------------------------------+----------------+------------------------+-----------------------------------------------------------------------------+


# neutron subnet-show demo-subnet
+---------------------------+--------------------------------------------------------------------------+
| Field                    | Value
                          |
+---------------------------+---------------------------------------------------------------------------+
| allocation_pools     | {"start": "100.100.100.2", "end":
"100.100.100.254"} |
| cidr                       | 100.100.100.0/24
        |
| dns_nameservers   | 192.168.10.1                                         |
| enable_dhcp          | True
  |
| gateway_ip            | 100.100.100.1
   |
| host_routes           |
   |
| id                         | 541d088b-f3a8-4fdf-a916-e320a9845d15
        |
| ip_version             | 4
     |
| ipv6_address_mode |                                                      |
| ipv6_ra_mode        |
 |
| name                    | demo-subnet
     |
| network_id             | bf83ff52-f4ef-4c9c-a13d-a2ecb40ca730
    |
| subnetpool_id         |
   |
| tenant_id             | 6ef5e95bd62946cdab6228f2870e2367
    |
+---------------------------+----------------------------------------------------------------------------+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160228/1ba40fa3/attachment.html>


More information about the Openstack mailing list