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

Trelohan Christophe ctrelohan at voyages-sncf.com
Mer 15 Avr 14:24:45 UTC 2015


S’agit-il d’une infra sur plusieurs nœud ?
Le tenant « service » est-il bien créé ?

De : Sebastien DEON [mailto:sebastien.deon at pharmagest.com]
Envoyé : mercredi 15 avril 2015 15:39
À : 'Mehdi BADAOUI'; openstack-fr at lists.openstack.org
Objet : Re: [OpenStack-fr] Fwd: ERROR: Unauthorized (HTTP 401)

Bonjour,

Tu as peut-être un pb de firewall qui bloque l’accès (arrête le service iptable ou firewalld)

SD

De : Mehdi BADAOUI [mailto:mehdiuniv at gmail.com]
Envoyé : mercredi 15 avril 2015 15:24
À : openstack-fr at lists.openstack.org<mailto:openstack-fr at lists.openstack.org>
Objet : [OpenStack-fr] Fwd: ERROR: Unauthorized (HTTP 401)


---------- Message transféré ----------
De : Mehdi BADAOUI <mehdiuniv at gmail.com<mailto: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<mailto: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<mailto: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<mailto:mehdiuniv at gmail.com>]
Envoyé : mardi 14 avril 2015 14:40
À : openstack-fr at lists.openstack.org<mailto: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 supprimée par l'expéditeur.] <http://dz.linkedin.com/pub/mehdi-badaoui/20/944/3ab/>



--


 [http://www.pole-esg.fr/images/picto-linkedin-22x22.png] <http://dz.linkedin.com/pub/mehdi-badaoui/20/944/3ab/>




--


 [http://www.pole-esg.fr/images/picto-linkedin-22x22.png] <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/b0f4641c/attachment.html>
-------------- section suivante --------------
Une pièce jointe autre que texte a été nettoyée...
Nom: image001.jpg
Type: image/jpeg
Taille: 823 octets
Desc: image001.jpg
URL: <http://lists.openstack.org/pipermail/openstack-fr/attachments/20150415/b0f4641c/attachment.jpg>


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