Ask Your Question
0

router_gateway does not transition to the ACTIVE state from BUILD state

asked 2016-08-11 21:41:36 -0500

esaka gravatar image

updated 2016-08-12 23:50:33 -0500

I want to use a Floating IP to the instance, but router_gateway does not become ACTIVE state, therefore Floating IP is also N / A. What should I do?

external-subnet is:

+-------------------+----------------------------------------------------+
| Field             | Value                                              |
+-------------------+----------------------------------------------------+
| allocation_pools  | {"start": "192.168.1.200", "end": "192.168.1.240"} |
| cidr              | 192.168.1.0/24                                     |
| created_at        | 2016-08-11T12:57:17                                |
| description       |                                                    |
| dns_nameservers   |                                                    |
| enable_dhcp       | False                                              |
| gateway_ip        | 192.168.1.1                                        |
| host_routes       |                                                    |
| id                | c02fb305-b307-4e5c-b9e7-34345f7e27c8               |
| ip_version        | 4                                                  |
| ipv6_address_mode |                                                    |
| ipv6_ra_mode      |                                                    |
| name              | public_netapp                                      |
| network_id        | 9c904bbf-a2ec-42e1-903b-34382c30e43c               |
| subnetpool_id     |                                                    |
| tenant_id         | b0a1319f68a44364bf13cbab6816dc41                   |
| updated_at        | 2016-08-11T12:57:17                                |
+-------------------+----------------------------------------------------+

router_gateway state is:

+-----------------------+--------------------------------------------------------------------------------------+
| Field                 | Value                                                                                |
+-----------------------+--------------------------------------------------------------------------------------+
| admin_state_up        | True                                                                                 |
| allowed_address_pairs |                                                                                      |
| binding:host_id       | openstacker                                                                          |
| binding:profile       | {}                                                                                   |
| binding:vif_details   | {"port_filter": true, "ovs_hybrid_plug": true}                                       |
| binding:vif_type      | ovs                                                                                  |
| binding:vnic_type     | normal                                                                               |
| created_at            | 2016-08-12T02:17:09                                                                  |
| description           |                                                                                      |
| device_id             | b57fb17c-11f0-490a-a4f3-11c83810baab                                                 |
| device_owner          | network:router_gateway                                                               |
| dns_name              |                                                                                      |
| extra_dhcp_opts       |                                                                                      |
| fixed_ips             | {"subnet_id": "c02fb305-b307-4e5c-b9e7-34345f7e27c8", "ip_address": "192.168.1.204"} |
| id                    | b9351898-efa5-4d8a-811f-4219c711fc10                                                 |
| mac_address           | fa:16:3e:80:98:e0                                                                    |
| name                  |                                                                                      |
| network_id            | 9c904bbf-a2ec-42e1-903b-34382c30e43c                                                 |
| security_groups       |                                                                                      |
| status                | BUILD                                                                                |
| tenant_id             |                                                                                      |
| updated_at            | 2016-08-12T02:17:12                                                                  |
+-----------------------+--------------------------------------------------------------------------------------+

The interface for the external network was not found in the bridge.

[root@openstacker ~(keystone_admin)]# neutron port-list
+--------------------------------------+----------------+-------------------+---------------------------------------------------------+
| id                                   | name           | mac_address       | fixed_ips                                               |
+--------------------------------------+----------------+-------------------+---------------------------------------------------------+
| 078a86c8-4d07-4e77-b90b-be210048599e |                | fa:16:3e:3d:29:9b | {"subnet_id": "8ee9e051-6b41-48e3-a01b-749af2f5d9b1",   |
|                                      |                |                   | "ip_address": "192.168.10.103"}                         |
| 0987e7eb-d626-4353-acd5-a3789aeaf398 |                | fa:16:3e:7a:6a:76 | {"subnet_id": "8ee9e051-6b41-48e3-a01b-749af2f5d9b1",   |
|                                      |                |                   | "ip_address": "192.168.10.1"}                           |
| b9351898-efa5-4d8a-811f-4219c711fc10 | router_gateway | fa:16:3e:80:98:e0 | {"subnet_id": "c02fb305-b307-4e5c-b9e7-34345f7e27c8",   |
|                                      |                |                   | "ip_address": "192.168.1.204"}                          |
| f5e5cff9-5a31-428f-9811-6a1d666d4c55 |                | fa:16:3e:66:dd:fb | {"subnet_id": "c02fb305-b307-4e5c-b9e7-34345f7e27c8",   |
|                                      |                |                   | "ip_address": "192.168.1.205"}                          |
| f64615ee-c74d-4e7c-ae04-2ebe2a1e7430 |                | fa:16:3e:df:d3:16 | {"subnet_id": "8ee9e051-6b41-48e3-a01b-749af2f5d9b1",   |
|                                      |                |                   | "ip_address": "192.168.10.100"}                         |
+--------------------------------------+----------------+-------------------+---------------------------------------------------------+
[root@openstacker ~(keystone_admin)]#  brctl show
bridge name     bridge id               STP enabled     interfaces
qbr078a86c8-4d          8000.a28eec4767a0       no              qvb078a86c8-4d
                                                        tap078a86c8-4d
qbrccf831c1-ea          8000.000000000000       no
qbrf7fbb955-f3          8000.000000000000       no
edit retag flag offensive close merge delete

Comments

Attempt to proceed ignoring this. You should be OK.

dbaxps gravatar imagedbaxps ( 2016-08-12 03:32:30 -0500 )edit

@dbaxps How to proceed ignoring this?

liaodalin19903 gravatar imageliaodalin19903 ( 2017-08-06 03:53:02 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-08-12 16:05:16 -0500

james-denton gravatar image

There is a reason that port is stuck in BUILD. Have you verified the respective 'tap' interface is in the integration bridge? You may want to check logs for mention of the port UUID (or subset of the UUID) to see if there were any errors during provisioning.

edit flag offensive delete link more

Comments

1

Thanks, as you say, the interface for the external network was not found in the integration bridge. And, I am a beginner openstack,so does not understand where to check the provisioning log. Sorry, Could you tell me the command to log check?

esaka gravatar imageesaka ( 2016-08-12 23:48:54 -0500 )edit

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

1 follower

Stats

Asked: 2016-08-11 21:41:36 -0500

Seen: 894 times

Last updated: Aug 12 '16