[Openstack] 'NoneType' object has no attribute 'service_catalog' with openstack command

Matt Kassawara mkassawara at gmail.com
Fri Oct 16 13:36:44 UTC 2015


Ubuntu has not published official packages for Liberty, so your
installation is probably using RC1 pre-release packages. Also, I cannot
reproduce your issue on any of my labs that I use to develop the
installation guide. Did you forget to unset the OS_TOKEN OS_URL environment
variables?

On Fri, Oct 16, 2015 at 4:57 AM, Nasir Mahmood <nasir.mahmood at gmail.com>
wrote:

> Takaaki,
>
>
> please submit the bug report to launchpad. That would be more appropriate
> and helpful for required changes being accommodated in either future
> release or the patches etc.
>
> Regards,
>
>
> On Fri, Oct 16, 2015 at 3:23 PM, Takaaki Suzuki <captain at midokura.com>
> wrote:
>
>> Hi OpenStack users.
>>
>> I'm deploying the OpenStack Liberty release now. I'm following the
>> openstack documents now. but I had a small issue of openstack command.
>>
>> the openstack document mentioned a script of "admin-openrc.sh" on the doc.
>>
>> http://docs.openstack.org/liberty/install-guide-ubuntu/keystone-openrc.html
>> but it is not correct when you've created the file.
>>
>> root at liberty-controller:~# cat admin-openrc.sh
>> export OS_PROJECT_DOMAIN_ID=default
>> export OS_USER_DOMAIN_ID=default
>> export OS_PROJECT_NAME=admin
>> export OS_TENANT_NAME=admin
>> export OS_USERNAME=admin
>> export OS_PASSWORD=admin_password
>> export OS_AUTH_URL=http://192.168.10.75:35357/v3
>> export OS_IDENTITY_API_VERSION=3
>>
>> root at liberty-controller:~# source admin-openrc.sh
>> root at liberty-controller:~# openstack token issue
>> 'NoneType' object has no attribute 'service_catalog'
>>
>> I think probably, You will see the error message with openstack command.
>> You need to add a line "export OS_AUTH_TYPE=password" in the file.
>>
>> root at liberty-controller:~# cat admin-openrc.sh
>> export OS_PROJECT_DOMAIN_ID=default
>> export OS_USER_DOMAIN_ID=default
>> export OS_PROJECT_NAME=admin
>> export OS_TENANT_NAME=admin
>> export OS_USERNAME=admin
>> export OS_PASSWORD=admin_password
>> export OS_AUTH_URL=http://192.168.10.75:35357/v3
>> export OS_AUTH_TYPE=password
>> export OS_IDENTITY_API_VERSION=3
>>
>> root at liberty-controller:~# source admin-openrc.sh
>> root at liberty-controller:~# openstack token issue
>> +------------+----------------------------------+
>> | Field      | Value                            |
>> +------------+----------------------------------+
>> | expires    | 2015-10-16T11:14:53.136807Z      |
>> | id         | 77b45917e7674d9aaf3ebc361b73e992 |
>> | project_id | 6699e8ce63fb4cb09152d72bf127f381 |
>> | user_id    | e51550a454a449c1b1ed06edc39a074f |
>> +------------+----------------------------------+
>>
>> It works well :) hope this help when you've installed the Liberty.
>>
>> Thanks
>> ---
>> Midokura
>> Takaaki Captain Suzuki
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Mailing list:
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> Post to     : openstack at lists.openstack.org
>> Unsubscribe :
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>
>>
>
>
> --
> Nasir Mahmood
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : 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/20151016/60cc397c/attachment.html>


More information about the Openstack mailing list