Cannot see Router External IP

asked 2014-02-17 05:54:32 -0500

Mathias Ewald gravatar image

Hi, using OS as a member user of a non-admin project, I could see that my router's external IP address is invisible to me:

root@controller:~# neutron router-list
+--------------------------------------+------+-----------------------------------------------------------------------------+
| id                                   | name | external_gateway_info                                                       |
+--------------------------------------+------+-----------------------------------------------------------------------------+
| fe148a0a-f1ac-438f-b0d0-3257bf2dc94d | r01  | {"network_id": "77402a8c-a4bf-47d3-a212-319c251f5913", "enable_snat": true} |
+--------------------------------------+------+-----------------------------------------------------------------------------+
root@controller:~# neutron router-port-list fe148a0a-f1ac-438f-b0d0-3257bf2dc94d
+--------------------------------------+------+-------------------+-----------------------------------------------------------------------------------+
| id                                   | name | mac_address       | fixed_ips                                                                         |
+--------------------------------------+------+-------------------+-----------------------------------------------------------------------------------+
| cc2c57cc-f7d6-4f9c-adde-df2fd1557258 |      | fa:16:3e:f6:62:f2 | {"subnet_id": "7935d80c-9195-4058-a650-06614cf1c922", "ip_address": "172.16.0.1"} |
+--------------------------------------+------+-------------------+-----------------------------------------------------------------------------------+
root@controller:~#

As admin it works:

root@controller:~# neutron router-port-list  56488291-b079-478a-9700-b86f3fbe6ae4
+--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------+
| id                                   | name | mac_address       | fixed_ips                                                                            |
+--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------+
| 636203f1-407b-4e5f-b82e-c087dd2ee9d7 |      | fa:16:3e:52:66:79 | {"subnet_id": "bb299ecd-f127-4cda-91b9-525790e193cc", "ip_address": "192.168.0.100"} |
| a6a8f899-96cf-4b88-990e-dfa81fcc0153 |      | fa:16:3e:16:4c:34 | {"subnet_id": "b80ff1b3-ab57-4934-a953-6e64c35f13fc", "ip_address": "172.16.0.1"}    |
+--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------+
root@controller:~#

Is there any reason why we hide this from the tenant?

cheers Mathias

edit retag flag offensive close merge delete