External Network showing up on Horizon for tenant user [closed]

asked 2014-02-11 22:14:05 -0500

wei-wen-chen gravatar image

I have 2 installations, one is Havana 2013.2.1 and the other is IceHouse top of tree bits. For Havana tenant user, network views always show external network; for IceHouse, only tenant owned/shared networks are displayed, not the external network. From backend neutron CLI, both icehouse and havana will list external network from "net-list" command, as showing below. Does anyone know there is fix associated with this issue in Havana that is already in place in IceHouse?

neutron net-list -v

DEBUG: neutronclient.neutron.v2_0.network.ListNetwork get_data(Namespace(columns=[], fields=[], formatter='table', page_size=None, quote_mode='nonnumeric', request_format='json', show_details=False, sort_dir=[], sort_key=[])) DEBUG: neutronclient.client REQ: curl -i http://localhost:35357/v2.0/tokens -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-neutronclient" -d '{"auth": {"tenantName": "demo", "passwordCredentials": {"username": "weiwen", "password": "weiwen"}}}' …… DEBUG: neutronclient.client REQ: curl -i http://10.1.1.1:9696/v2.0/networks.json -X GET -H "X-Auth-Token: " -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-neutronclient"

DEBUG: neutronclient.client RESP:{'date': 'Wed, 05 Feb 2014 09:28:11 GMT', 'status': '200', 'content-length': '524', 'content-type': 'application/json; charset=UTF-8', 'content-location': 'http://10.1.1.1:9696/v2.0/networks.json'} {"networks": [{"status": "ACTIVE", "subnets": ["226f6fbf-319b-44fc-a4c0-a15bcfc722a6"], "name": "public", "router:external": true, "tenant_id": "85962b878eaf4e0eb180b68d7683093f", "admin_state_up": true, "shared": false, "id": "639c8a12-b1d1-45a1-8920-a84c0b4ff2ee"}, {"status": "ACTIVE", "subnets": ["70ddc5e4-9367-4b54-8134-0e55919e98f8"], "name": "private", "router:external": false, "tenant_id": "60d0b5559299468281b02694f19d1429", "admin_state_up": true, "shared": false, "id": "d96296e8-0eaf-45a7-bd2b-e27eec83e2fd"}]}

+--------------------------------------+---------+------------------------------------------------------+ | id | name | subnets | +--------------------------------------+---------+------------------------------------------------------+ | 639c8a12-b1d1-45a1-8920-a84c0b4ff2ee | public | 226f6fbf-319b-44fc-a4c0-a15bcfc722a6 | | d96296e8-0eaf-45a7-bd2b-e27eec83e2fd | private | 70ddc5e4-9367-4b54-8134-0e55919e98f8 192.168.10.0/24 | +--------------------------------------+---------+------------------------------------------------------+

Thanks ahead.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by rbowen
close date 2016-09-21 15:55:47.182587

Comments

Closing: This references a version of OpenStack which has been marked End Of Life - https://releases.openstack.org/ Please open a new question if you're still experiencing this with a more recent version of OpenStack.

rbowen gravatar imagerbowen ( 2016-09-21 15:55:41 -0500 )edit