Error: 'NoneType' object has no attribute 'has_service_catalog'

asked 2016-01-24 05:27:29 -0500

Radinno gravatar image

updated 2016-01-24 06:47:19 -0500

Installing the controller node of Juno on a x86 machine running Ubuntu Server 14.04, I get 'NoneType' object has no attribute 'has_service_catalog' error when I enter keystone --os-tenant-name demo --os-username demo --os-password DEMO_PASS \ --os-auth-url http://controller:35357/v2.0 token-get (Juno installation guide, Ch.3 - Add the Identity service, Section "Verify operation", Step 6).

Couldn't find much info about it... just that it might have something to do with the python packages distributed with the OS. Just to clarify, all other operation-verification actions (as 'admin') work just fine.

Thoughts anyone?

NOTE:

Resetting all, and trying the same command without environment variables results in the following error: The request you have made requires authentication. (HTTP 401)

Trying to verify admin commands restrictions, by typing keystone --os-tenant-name demo --os-username demo --os-password DEMO_PASS \ --os-auth-url http://controller:35357/v2.0 user-list I expect to get You are not authorized to perform the requested action, admin_required. (HTTP 403).

Instead, I get the same The request you have made requires authentication. (HTTP 401)

edit retag flag offensive close merge delete