[Fiware-lab-federation-nodes] Crete Node: Problem with glance image-create

Spyros Argyropoulos spyros at intelligence.tuc.gr
Thu Jun 2 13:01:57 CEST 2016


Hi all,

I would like to have an opinion for a problem we face, especially from 
the nodes that have already successfully established an openstack 
deployment in Kilo federated in FiwareLab.

We have already established connection with keystone proxy.
All services look to work fine in Crete Node, except of one thing (which 
was working before federated to FiwareLab):
When we try to make a snapshot from FiwareLab Portal (Region:Crete) or 
when we try to create an image from CLI with our admin account (glance 
image_create ....) we get an Authorization ERROR in the glance-api.log 
(please see below). It seems to be a problem between glance and swift 
services.

Has anybody faced a similar problem?
(We have already triple-checked the changes we have made in services 
configuration files and also cross-checked changes with other nodes).

Thank you in advance,

Spyros.

glance-api.log:

=========================================================================================

2016-06-02 09:00:30.920 39151 DEBUG keystoneclient.auth.identity.v2 
[req-c82868f7-3a87-41c3-a243-41d8f656196e 
b3bf6c918b564dadbbf36242f067e16e 00000000000003228460960090160000 - - -] 
Making authentication request to 
http://cloud.lab.fiware.org:4730/v2.0/tokens get_auth_ref 
/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/v2.py:76
2016-06-02 09:00:31.139 39151 DEBUG keystoneclient.session 
[req-c82868f7-3a87-41c3-a243-41d8f656196e 
b3bf6c918b564dadbbf36242f067e16e 00000000000003228460960090160000 - - -] 
Request returned failure status: 401 request 
/usr/lib/python2.7/dist-packages/keystoneclient/session.py:398
2016-06-02 09:00:31.139 39151 DEBUG keystoneclient.v2_0.client 
[req-c82868f7-3a87-41c3-a243-41d8f656196e 
b3bf6c918b564dadbbf36242f067e16e 00000000000003228460960090160000 - - -] 
Authorization Failed. get_raw_token_from_identity_service 
/usr/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py:188
2016-06-02 09:00:31.140 39151 ERROR swiftclient 
[req-c82868f7-3a87-41c3-a243-41d8f656196e 
b3bf6c918b564dadbbf36242f067e16e 00000000000003228460960090160000 - - -] 
Unauthorized. Check username, password and tenant name/id.
2016-06-02 09:00:31.140 39151 TRACE swiftclient Traceback (most recent 
call last):
2016-06-02 09:00:31.140 39151 TRACE swiftclient   File 
"/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 1253, in 
_retry
2016-06-02 09:00:31.140 39151 TRACE swiftclient     self.url, self.token 
= self.get_auth()
2016-06-02 09:00:31.140 39151 TRACE swiftclient   File 
"/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 1227, in 
get_auth
2016-06-02 09:00:31.140 39151 TRACE swiftclient insecure=self.insecure)
2016-06-02 09:00:31.140 39151 TRACE swiftclient   File 
"/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 420, in 
get_auth
2016-06-02 09:00:31.140 39151 TRACE swiftclient auth_version=auth_version)
2016-06-02 09:00:31.140 39151 TRACE swiftclient   File 
"/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 349, in 
get_auth_keystone
2016-06-02 09:00:31.140 39151 TRACE swiftclient     raise 
ClientException(msg)
2016-06-02 09:00:31.140 39151 TRACE swiftclient ClientException: 
Unauthorized. Check username, password and tenant name/id.
2016-06-02 09:00:31.140 39151 TRACE swiftclient
2016-06-02 09:00:31.141 39151 ERROR glance.api.v1.upload_utils 
[req-c82868f7-3a87-41c3-a243-41d8f656196e 
b3bf6c918b564dadbbf36242f067e16e 00000000000003228460960090160000 - - -] 
Failed to upload image e0308ebe-693f-498e-979c-f599f4a4b137
2016-06-02 09:00:31.141 39151 TRACE glance.api.v1.upload_utils Traceback 
(most recent call last):
2016-06-02 09:00:31.141 39151 TRACE glance.api.v1.upload_utils File 
"/usr/lib/python2.7/dist-packages/glance/api/v1/upload_utils.py", line 
113, in upload_data_to_store
2016-06-02 09:00:31.141 39151 TRACE glance.api.v1.upload_utils 
context=req.context)
2016-06-02 09:00:31.141 39151 TRACE glance.api.v1.upload_utils File 
"/usr/lib/python2.7/dist-packages/glance_store/backend.py", line 339, in 
store_add_to_backend
2016-06-02 09:00:31.141 39151 TRACE glance.api.v1.upload_utils 
context=context)
2016-06-02 09:00:31.141 39151 TRACE glance.api.v1.upload_utils File 
"/usr/lib/python2.7/dist-packages/glance_store/capabilities.py", line 
226, in op_checker
2016-06-02 09:00:31.141 39151 TRACE glance.api.v1.upload_utils return 
store_op_fun(store, *args, **kwargs)
2016-06-02 09:00:31.141 39151 TRACE glance.api.v1.upload_utils File 
"/usr/lib/python2.7/dist-packages/glance_store/_drivers/swift/store.py", 
line 492, in add
2016-06-02 09:00:31.141 39151 TRACE glance.api.v1.upload_utils 
self._create_container_if_missing(location.container, connection)
2016-06-02 09:00:31.141 39151 TRACE glance.api.v1.upload_utils File 
"/usr/lib/python2.7/dist-packages/glance_store/_drivers/swift/store.py", 
line 680, in _create_container_if_missing
2016-06-02 09:00:31.141 39151 TRACE glance.api.v1.upload_utils 
connection.head_container(container)
2016-06-02 09:00:31.141 39151 TRACE glance.api.v1.upload_utils File 
"/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 1320, in 
head_container
2016-06-02 09:00:31.141 39151 TRACE glance.api.v1.upload_utils return 
self._retry(None, head_container, container)
2016-06-02 09:00:31.141 39151 TRACE glance.api.v1.upload_utils File 
"/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 1253, in 
_retry
2016-06-02 09:00:31.141 39151 TRACE glance.api.v1.upload_utils self.url, 
self.token = self.get_auth()
2016-06-02 09:00:31.141 39151 TRACE glance.api.v1.upload_utils File 
"/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 1227, in 
get_auth
2016-06-02 09:00:31.141 39151 TRACE glance.api.v1.upload_utils 
insecure=self.insecure)
2016-06-02 09:00:31.141 39151 TRACE glance.api.v1.upload_utils File 
"/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 420, in 
get_auth
2016-06-02 09:00:31.141 39151 TRACE glance.api.v1.upload_utils 
auth_version=auth_version)
2016-06-02 09:00:31.141 39151 TRACE glance.api.v1.upload_utils File 
"/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 349, in 
get_auth_keystone
2016-06-02 09:00:31.141 39151 TRACE glance.api.v1.upload_utils raise 
ClientException(msg)
2016-06-02 09:00:31.141 39151 TRACE glance.api.v1.upload_utils 
ClientException: Unauthorized. Check username, password and tenant name/id.
===============================================================================================================================================

-- 
Spyros Argyropoulos, Computer & Informatics Eng.
Intelligent Systems Laboratory
School of Electronic and Computer Engineering
Technical University of Crete
University Campus - Kounoupidiana
73100 Chania, Crete
GREECE
Phone: +3028210 37342
Fax: +3028210 37542

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-lab-federation-nodes/attachments/20160602/2124452b/attachment.html>


More information about the Fiware-lab-federation-nodes mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy