[OpenStack-fr] Fwd: ERROR: Unauthorized (HTTP 401)

Mehdi BADAOUI mehdiuniv at gmail.com
Mer 15 Avr 13:23:43 UTC 2015


---------- Message transféré ----------
De : Mehdi BADAOUI <mehdiuniv at gmail.com>
Date : 15 avril 2015 15:22
Objet : Re: [OpenStack-fr] ERROR: Unauthorized (HTTP 401)
À : Trelohan Christophe <ctrelohan at voyages-sncf.com>


Merci d'avance pour votre aide,
oui, je suis déjà en mode debug

keystone.log m'affiche les deux warning suivant:
- WARNING keystone.common.wsgi [-] Authorization failed. Could not find
project, service. from 192.168.130.5

nova-api.log
WARNING keystoneclient.middleware.auth_token [-] Unexpected response from
keystone service: {u'error': {u'message': u'Could not find project,
service.', u'code': 401, u'title': u'Unauthorized'}}
WARNING keystoneclient.middleware.auth_token [-] Authorization failed for
token




Le 15 avril 2015 09:55, Trelohan Christophe <ctrelohan at voyages-sncf.com> a
écrit :

>  Bonjour,
>
>
>
> Avez-vous les logs de keystone ?
>
> Eventuellement à passer en niveau de log « Debug »
>
>
>
> Cdt
>
>
>
> *De :* Mehdi BADAOUI [mailto:mehdiuniv at gmail.com]
> *Envoyé :* mardi 14 avril 2015 14:40
> *À :* openstack-fr at lists.openstack.org
> *Objet :* [OpenStack-fr] ERROR: Unauthorized (HTTP 401)
>
>
>
> Bonjour la liste,
>
> je suis nouveau sur OpenStack, la plateforme est en place par contre j'ai
> un problème pour accéder à la DashBoard Horizon. même chose pour nova,
> Glance et Neutron.
>
>
> *root at openstack1:~# nova list ERROR: Unauthorized (HTTP 401)
> <http://dz.linkedin.com/pub/mehdi-badaoui/20/944/3ab/>*
>
>   j'ai fait un fichier "adminrc" qui est la source des variables
> d'environnement:
>
> export OS_USERNAME=admin
> export OS_PASSWORD=******
> export OS_TENANT_NAME=admin
> export OS_AUTH_URL=http://openstack1:5000/v2.0
>
> Et sur les fichiers de configurations des modules j'ai ça dans le
> [Keystone authotoken]
>
> glance-api.conf
>
> [keystone_authtoken]
> auth_host=openstack1
> auth_port=35357
> auth_protocol=http
> admin_tenant_name=service
> admin_user=glance
> admin_password=glance_pass
> auth_uri=http://openstack1:5000
>
> nova.conf
>
> [keystone_authtoken]
> auth_host=openstack1
> auth_port=35357
> auth_protocol=http
> admin_tenant_name=service
> admin_user=nova
> admin_password=nova_pass
> auth_uri=http://openstack1:5000
>
> neutron.conf
>
> [keystone_authtoken]
> auth_host=openstack1
> auth_port=35357
> auth_protocol=http
> admin_tenant_name=service
> admin_user=neutron
> admin_password=neutron_pass
> signing_dir=$state_path/keystone-signing
> auth_uri=http://openstack1:5000
>
> Sur les fichiers "log" des modules c'est toujours [ERROR 401]
>
> Est ce que quelqu'un a des pistes pour cette erreur?
>
> Merci d'avance
>
> --
>
>
>
> * [image: Image supprimée par l'expéditeur.]
> <http://dz.linkedin.com/pub/mehdi-badaoui/20/944/3ab/>*
>
>
>



-- 

*  <http://dz.linkedin.com/pub/mehdi-badaoui/20/944/3ab/>*




-- 

*  <http://dz.linkedin.com/pub/mehdi-badaoui/20/944/3ab/>*
-------------- section suivante --------------
Une pièce jointe HTML a été nettoyée...
URL: <http://lists.openstack.org/pipermail/openstack-fr/attachments/20150415/eab985ae/attachment.html>
-------------- section suivante --------------
Une pièce jointe autre que texte a été nettoyée...
Nom: ~WRD000.jpg
Type: image/jpeg
Taille: 823 octets
Desc: non disponible
URL: <http://lists.openstack.org/pipermail/openstack-fr/attachments/20150415/eab985ae/attachment.jpg>


Plus d'informations sur la liste de diffusion OpenStack-fr