[Openstack] Error: Unable to retrieve project list.

Remo Mattei remo at italy1.com
Thu Nov 16 16:31:28 UTC 2017


Endpoints look ok but can you reach keystone? Did you try telnet to that
port? etc..

Remo

On 11/16/17 8:16 AM, Ramu, MohanX wrote:
>
>  
>
>  
>
>  
>
>  
>
>  
>
>  
>
>  
>
>  
>
>  
>
>  
>
>  
>
>  
>
>  
>
>  
>
>  
>
>  
>
>  
>
>  
>
>  
>
> Please find below my endpoints.
>
>  
>
>  
>
>  
>
> root at ubuntu-template ~(keystone)# openstack endpoint list
>
> +----------------------------------+-----------+--------------+--------------+---------+-----------+-----------------------------------------------+
>
> | ID                               | Region    | Service Name |
> Service Type | Enabled | Interface |
> URL                                           |
>
> +----------------------------------+-----------+--------------+--------------+---------+-----------+-----------------------------------------------+
>
> | 05272de3221c48cd88729c691309a5e4 | RegionOne | glance       |
> image        | True    | admin     |
> http://10.105.166.214:9292                    |
>
> | 0610c30f0289413a9301957588593045 | RegionOne | placement    |
> placement    | True    | public    |
> http://10.105.166.214:8778                    |
>
> | 0ca3def8d61840ada4f9dfeba8d870c2 | RegionOne | neutron      |
> network      | True    | public    |
> http://10.105.166.214:9696                    |
>
> | 131d67cc3e174002b44ad6b09ba51e7d | RegionOne | glance       |
> image        | True    | public    |
> http://10.105.166.214:9292                    |
>
> | 14e82eeb8ec04e0098de0b17da254e47 | RegionOne | keystone     |
> identity     | True    | public    | http://10.105.166.214:5000/v3
>                 |
>
> | 297696ce32c14a4ca03134354a7ac03a | RegionOne | nova         |
> compute      | True    | internal  |
> http://10.105.166.214:8774/v2.1/$(tenant_id)s |
>
> | 3fa2bba89a5d405dbba93cab49362f43 | RegionOne | glance       |
> image        | True    | internal  |
> http://10.105.166.214:9292                    |
>
> | 53b3056582d64b9d9564d0575223bba7 | RegionOne | keystone     |
> identity     | True    | admin     |
> http://10.105.166.214:35357/v3/               |
>
> | 54df3ab6170c4f48a82aec89770f4606 | RegionOne | keystone     |
> identity     | True    | admin     |
> http://10.105.166.214:5000/v3                 |
>
> | 5f6b73b9f0d946f2b651250bc9848086 | RegionOne | neutron      |
> network      | True    | admin     |
> http://10.105.166.214:9696                    |
>
> | 7cb4ed69e762420fa6875793d92dd209 | RegionOne | nova         |
> compute      | True    | public    |
> http://10.105.166.214:8774/v2.1/$(tenant_id)s |
>
> | 7f0ace83902b41a88ada7fa26c6e4e9e | RegionOne | placement    |
> placement    | True    | admin     |
> http://10.105.166.214:8778                    |
>
> | 7f7ce50224a843559b4417c7b7cdbaf8 | RegionOne | placement    |
> placement    | True    | internal  |
> http://10.105.166.214:8778                    |
>
> | 9830cf0855c14d8a870c8e7735e7f805 | RegionOne | keystone     |
> identity     | True    | internal  |
> http://10.105.166.214:5000/v3/                |
>
> | a28fd01d71b44c5faac08d4accb8450d | RegionOne | keystone     |
> identity     | True    | public    |
> http://10.105.166.214:5000/v3/                |
>
> | a5660dfb302b4953b0e038a1560d0f2b | RegionOne | neutron      |
> network      | True    | internal  |
> http://10.105.166.214:9696                    |
>
> | c7ea60e799de4adcad5e857af13e57ea | RegionOne | nova         |
> compute      | True    | admin     |
> http://10.105.166.214:8774/v2.1/$(tenant_id)s |
>
> | e9db5dc8a261437a82b9fa7e6341b053 | RegionOne | keystone     |
> identity     | True    | internal  |
> http://10.105.166.214:5000/v3                 |
>
> +----------------------------------+-----------+--------------+--------------+---------+-----------+-----------------------------------------------+
>
>  
>
>  
>
>  
>
> *From:*Remo Mattei [mailto:remo at italy1.com]
> *Sent:* Thursday, November 16, 2017 9:25 PM
> *To:* Ramu, MohanX <mohanx.ramu at intel.com>; Jay Pipes <jaypipes at gmail.com>
> *Cc:* openstack at lists.openstack.org
> *Subject:* Re: [Openstack] Error: Unable to retrieve project list.
>
>  
>
> did you check your endpoints? looks like it cannot reach the 10.105
> network
>
> Remo 
>
> On 11/16/17 5:35 AM, Ramu, MohanX wrote:
>
>      
>
>     Hi All,
>
>      
>
>     Facing problem in Pike dashboard UI page, not able to retrieve
>     project list. Able to get project list using CLI.
>
>      
>
>     root at ubuntu-template ~(keystone)# openstack project list
>
>     +----------------------------------+---------+
>
>     | ID                               | Name    |
>
>     +----------------------------------+---------+
>
>     | 2c74d7b8387d419794405bb1ad18801e | service |
>
>     | 2dc116cb5fd34d878c13bd6bda0d6be4 | demo    |
>
>     | e906c372bf9c4b2cac3a1d8dc466e2b9 | admin   |
>
>     +----------------------------------+---------+
>
>      
>
>     The same is script is working fine for Ocata.
>
>      
>
>     NotFound: (http://10.105.166.214:5000/v3/tenants): The resource
>     could not be found. (HTTP 404) (Request-ID:
>     req-da634764-bc1f-4549-9a1f-80514c33df9e)
>
>     [Thu Nov 16 13:04:15.783180 2017] [wsgi:error] [pid 29458:tid
>     140566047487744] ERROR openstack_auth.user Unable to retrieve
>     project list.
>
>     [Thu Nov 16 13:04:15.783335 2017] [wsgi:error] [pid 29458:tid
>     140566047487744] Traceback (most recent call last):
>
>     [Thu Nov 16 13:04:15.783412 2017] [wsgi:error] [pid 29458:tid
>     140566047487744]   File
>     "/usr/lib/python2.7/dist-packages/openstack_auth/user.py", line
>     350, in authorized_tenants
>
>     [Thu Nov 16 13:04:15.783469 2017] [wsgi:error] [pid 29458:tid
>     140566047487744]     is_federated=self.is_federated)
>
>     [Thu Nov 16 13:04:15.783521 2017] [wsgi:error] [pid 29458:tid
>     140566047487744]   File
>     "/usr/lib/python2.7/dist-packages/openstack_auth/utils.py", line
>     368, in get_project_list
>
>     [Thu Nov 16 13:04:15.783597 2017] [wsgi:error] [pid 29458:tid
>     140566047487744]     projects = client.tenants.list()
>
>     [Thu Nov 16 13:04:15.783648 2017] [wsgi:error] [pid 29458:tid
>     140566047487744]   File
>     "/usr/lib/python2.7/dist-packages/keystoneclient/v2_0/tenants.py",
>     line 124, in list
>
>     [Thu Nov 16 13:04:15.783702 2017] [wsgi:error] [pid 29458:tid
>     140566047487744]     tenant_list = self._list('/tenants%s' %
>     query, 'tenants')
>
>     [Thu Nov 16 13:04:15.783753 2017] [wsgi:error] [pid 29458:tid
>     140566047487744]   File
>     "/usr/lib/python2.7/dist-packages/keystoneclient/base.py", line
>     125, in _list
>
>     [Thu Nov 16 13:04:15.783806 2017] [wsgi:error] [pid 29458:tid
>     140566047487744]     resp, body = self.client.get(url, **kwargs)
>
>     [Thu Nov 16 13:04:15.783867 2017] [wsgi:error] [pid 29458:tid
>     140566047487744]   File
>     "/usr/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line
>     288, in get
>
>     [Thu Nov 16 13:04:15.783954 2017] [wsgi:error] [pid 29458:tid
>     140566047487744]     return self.request(url, 'GET', **kwargs)
>
>     [Thu Nov 16 13:04:15.784008 2017] [wsgi:error] [pid 29458:tid
>     140566047487744]   File
>     "/usr/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line
>     447, in request
>
>     [Thu Nov 16 13:04:15.784061 2017] [wsgi:error] [pid 29458:tid
>     140566047487744]     resp = super(LegacyJsonAdapter,
>     self).request(*args, **kwargs)
>
>     [Thu Nov 16 13:04:15.784113 2017] [wsgi:error] [pid 29458:tid
>     140566047487744]   File
>     "/usr/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line
>     192, in request
>
>     [Thu Nov 16 13:04:15.784165 2017] [wsgi:error] [pid 29458:tid
>     140566047487744]     return self.session.request(url, method,
>     **kwargs)
>
>     [Thu Nov 16 13:04:15.784216 2017] [wsgi:error] [pid 29458:tid
>     140566047487744]   File
>     "/usr/lib/python2.7/dist-packages/positional/__init__.py", line
>     101, in inner
>
>     [Thu Nov 16 13:04:15.784316 2017] [wsgi:error] [pid 29458:tid
>     140566047487744]     return wrapped(*args, **kwargs)
>
>     [Thu Nov 16 13:04:15.784387 2017] [wsgi:error] [pid 29458:tid
>     140566047487744]   File
>     "/usr/lib/python2.7/dist-packages/keystoneauth1/session.py", line
>     742, in request
>
>     [Thu Nov 16 13:04:15.784441 2017] [wsgi:error] [pid 29458:tid
>     140566047487744]     raise exceptions.from_response(resp, method, url)
>
>     [Thu Nov 16 13:04:15.784493 2017] [wsgi:error] [pid 29458:tid
>     140566047487744] NotFound:
>     (http://10.105.166.214:5000/v3/tenants): The resource could not be
>     found. (HTTP 404) (Request-ID:
>     req-6260aba2-0eba-423f-a862-bf5d4ef2c3b0)
>
>      
>
>      
>
>     Thanks & Regards,
>
>      
>
>     Mohan Ramu
>
>
>
>
>     _______________________________________________
>
>     Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>     Post to     : openstack at lists.openstack.org <mailto:openstack at lists.openstack.org>
>
>     Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>  
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20171116/200a0157/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 57844 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20171116/200a0157/attachment.png>


More information about the Openstack mailing list