Ask Your Question
3

Openstack router showing external port interface down. Any ideas?

asked 2013-05-03 22:43:16 -0500

alexk gravatar image

Folks, I need your help, if I may. I can't get my tenant VM ports go online

Tenant Float ID:     32a4985e-f811-499f-96b8-6f6f6689b660

root@control1:/opt# quantum floatingip-show 32a4985e-f811-499f-96b8-6f6f6689b660
+---------------------+--------------------------------------+
| Field               | Value                                |
+---------------------+--------------------------------------+
| fixed_ip_address    | 10.1.1.11                            |
| floating_ip_address | 192.168.1.4                          |
| floating_network_id | 8ef700e6-c31e-4b9e-814d-fc337e6a909f |
| id                  | 32a4985e-f811-499f-96b8-6f6f6689b660 |
| port_id             | 0fd628e2-c0ee-4bef-b9fa-cfbd7c155b7e |
| router_id           | f7eb686c-ad39-43b4-884f-82b81043f077 |
| tenant_id           | bceb9ad400714bfc8dcfae3d0e33be1a     |
+---------------------+--------------------------------------+

Display current available ports:

root@control1:/opt# quantum port-list

+--------------------------------------+------+-------------------+------------------------------------------------------------------------------------+
| id                                   | name | mac_address       | fixed_ips                                                                          |
+--------------------------------------+------+-------------------+------------------------------------------------------------------------------------+
| 0fd628e2-c0ee-4bef-b9fa-cfbd7c155b7e |      | fa:16:3e:f5:da:cd | {"subnet_id": "6d86f156-6b22-4fce-b0a7-365dfc6291ad", "ip_address": "10.1.1.11"}   |
| 2c9227b9-faa4-41d6-8eff-93c4bb6410a0 |      | fa:16:3e:5c:a9:55 | {"subnet_id": "760e45b3-0a04-43bb-8e53-bbd36d8b493e", "ip_address": "192.168.1.4"} |
| 65cb829e-0b22-4438-b719-bf334a114db0 |      | fa:16:3e:3a:e7:ca | {"subnet_id": "760e45b3-0a04-43bb-8e53-bbd36d8b493e", "ip_address": "192.168.1.2"} |
| b0c10deb-ddfb-45b3-bb1a-0757159bc68a |      | fa:16:3e:16:38:43 | {"subnet_id": "6d86f156-6b22-4fce-b0a7-365dfc6291ad", "ip_address": "10.1.1.12"}   |
| ecbc2561-9e68-44fb-a074-b9257d64d0f2 |      | fa:16:3e:1d:c8:ca | {"subnet_id": "6d86f156-6b22-4fce-b0a7-365dfc6291ad", "ip_address": "10.1.1.1"}    |
+--------------------------------------+------+-------------------+------------------------------------------------------------------------------------+

Display current tentant ports:

root@control1:/opt# quantum port-show 0fd628e2-c0ee-4bef-b9fa-cfbd7c155b7e

+----------------------+----------------------------------------------------------------------------------+
| Field                | Value                                                                            |
+----------------------+----------------------------------------------------------------------------------+
| admin_state_up       | True                                                                             |
| binding:capabilities | {"port_filter": false}                                                           |
| binding:vif_type     | ovs                                                                              |
| device_id            | a6068b20-3fcc-4ab1-b50d-7273813724d7                                             |
| device_owner         | compute:None                                                                     |
| fixed_ips            | {"subnet_id": "6d86f156-6b22-4fce-b0a7-365dfc6291ad", "ip_address": "10.1.1.11"} |
| id                   | 0fd628e2-c0ee-4bef-b9fa-cfbd7c155b7e                                             |
| mac_address          | fa:16:3e:f5:da:cd                                                                |
| name                 |                                                                                  |
| network_id           | 46f229a0-9b0f-42a9-9a36-e26edbc219a7                                             |
| status               | **DOWN**                                                                             |
| tenant_id            | bceb9ad400714bfc8dcfae3d0e33be1a                                                 |
+----------------------+----------------------------------------------------------------------------------+

Display second port:

root@control1:/opt# quantum port-show 2c9227b9-faa4-41d6-8eff-93c4bb6410a0

+----------------------+------------------------------------------------------------------------------------+
| Field                | Value                                                                              |
+----------------------+------------------------------------------------------------------------------------+
| admin_state_up       | True                                                                               |
| binding:capabilities | {"port_filter": false}                                                             |
| binding:vif_type     | ovs                                                                                |
| device_id            | 32a4985e-f811-499f-96b8-6f6f6689b660                                               |
| device_owner         | network:floatingip                                                                 |
| fixed_ips            | {"subnet_id": "760e45b3-0a04-43bb-8e53-bbd36d8b493e", "ip_address": "192.168.1.4"} |
| id                   | 2c9227b9-faa4-41d6-8eff-93c4bb6410a0                                               |
| mac_address          | fa:16:3e:5c:a9:55                                                                  |
| name                 |                                                                                    |
| network_id           | 8ef700e6-c31e-4b9e-814d-fc337e6a909f                                               |
| status               |  **DOWN**                                                                              |
| tenant_id            |                                                                                    |
+----------------------+------------------------------------------------------------------------------------+

I don't understand why would ports won't go active. I also checked my router port and it is also displaying as DOWN. I thought I did create port for my VM correctly:

root@control1:/opt# quantum port-create --tenant-id=bceb9ad400714bfc8dcfae3d0e33be1a --fixed-ip subnetid=6d86f156-6b22-4fce-b0a7-365dfc6291ad,ipaddress=10.1.1.11 demo_net1

Created a new port:

+----------------------+----------------------------------------------------------------------------------+
| Field                | Value                                                                            |
+----------------------+----------------------------------------------------------------------------------+
| admin_state_up       | True                                                                             |
| binding:capabilities | {"port_filter": false}                                                           |
| binding:vif_type     | ovs                                                                              |
| device_id            |                                                                                  |
| device_owner         |                                                                                  |
| fixed_ips            | {"subnet_id": "6d86f156-6b22-4fce-b0a7-365dfc6291ad", "ip_address": "10.1.1.11"} |
| id                   | 0fd628e2-c0ee-4bef-b9fa-cfbd7c155b7e                                             |
| mac_address          | fa:16:3e:f5:da:cd                                                                |
| name                 |                                                                                  |
| network_id           | 46f229a0-9b0f-42a9-9a36-e26edbc219a7                                             |
| status               | **DOWN**                                                                             |
| tenant_id            | bceb9ad400714bfc8dcfae3d0e33be1a                                                 |
+----------------------+----------------------------------------------------------------------------------+

..but it seems that is is also displaying a port as DOWN. Any tips ? Any help?

Thanks,

Alex

edit retag flag offensive close merge delete

Comments

I've try to update the port using this command quantum port-update <port_id> --admin_state_up true but still port is showing status DOWN. Any tip as how to make this UP?

d3O gravatar imaged3O ( 2013-10-17 20:54:58 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-08-08 11:05:43 -0500

darragh-oreilly gravatar image

updated 2013-10-03 09:24:59 -0500

This is a bug see https://bugs.launchpad.net/neutron/+bug/1192883 . But it does not affect the operation of the router, so you can disregard the DOWN status.

edit flag offensive delete link more

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: 2013-05-03 22:43:16 -0500

Seen: 4,822 times

Last updated: Oct 03 '13