← Back to team overview

openstack team mailing list archive

Re: nova client returning malformed request (HTTP 400)

 

Hi Ghe,
I've put in --auth_strategy=keystone to nova.conf and restarted nova-*
services but no joy...
So I rebooted and it now works.  This was the missing line.

Thanks Ghe - that's done it.

Regards,

Kev


On 14 March 2012 20:38, Ghe Rivero <ghe.rivero@xxxxxxxxxxxx> wrote:

> Hi,
>    be sure that "auth_strategy=keystone" it in your nova.conf file and
> keystone enable in /etc/nova/api-paste.ini (Not neccesarry this last step
> with new conf file format, post-essex4)
>
> Ghe Rivero
>
> On Wed, Mar 14, 2012 at 9:24 PM, Kevin Jackson <kevin@xxxxxxxxxxxxxxxxxxx>wrote:
>
>> Dear all,
>> After getting past some initial keystone issues on Essex E4 (Ubuntu 12.04
>> B1) I'm now having issues with communicating with nova using keystone.
>>
>> I've a paste of my session here: http://paste.openstack.org/show/9413/
>>
>> Essentially I've set up my keystone endpoints (which I'm pretty sure are
>> correct - but I'm sure I've said that before...) and I've set up my user
>> accordingly.
>>
>> Tenant: demo
>> User: demo
>> Password: openstack
>> Role: Member
>>
>> Tenant: service
>> User: nova
>> Password: nova
>> Role: admin
>>
>> When issuing nova list I get:
>>
>> openstack@ubuntu:~/openstack/demo$ nova list
>> Malformed request url (HTTP 400)
>>
>> nova-api.log has:
>> 2012-03-14 20:23:09 INFO nova.api.openstack.wsgi
>> [req-77ce4d2a-2a0d-4164-9dfc-e001c78237d9 5bc2fbeb8c6a4f3e9ad88fdd6d186229
>> 5bc2fbeb8c6a4f3e9ad88fdd6d186229] GET
>> http://172.16.0.5:8774/v2/1ecd90d361ad44b894b9cd627f410445/servers/detail
>> 2012-03-14 20:23:09 DEBUG nova.api.openstack.wsgi
>> [req-77ce4d2a-2a0d-4164-9dfc-e001c78237d9 5bc2fbeb8c6a4f3e9ad88fdd6d186229
>> 5bc2fbeb8c6a4f3e9ad88fdd6d186229] Unrecognized Content-Type provided in
>> request from (pid=10754) get_body
>> /usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py:697
>>
>> Debug output is in the paste.
>>
>> Anybody come across this?  I've seen this bug which possibly suggests a
>> config issue: https://bugs.launchpad.net/nova/+bug/915151 and I've seen
>> a potential pipeline issue maybe?
>>
>> Cheers,
>> Kev
>> --
>> Kevin Jackson
>> @itarchitectkev
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openstack
>> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Ghe Rivero
> *OpenStack & Distribution Engineer
> **www.stackops.com | * ghe.rivero@xxxxxxxxxxxx<diego.parrilla@xxxxxxxxxxxx>
> ** | +34 625 63 45 23 | skype:ghe.rivero*
> * <http://www.stackops.com/>
> *
>
> *
>
> ******************** ADVERTENCIA LEGAL ********************
> Le informamos, como destinatario de este mensaje, que el correo
> electrónico y las comunicaciones por medio de Internet no permiten asegurar
> ni garantizar la confidencialidad de los mensajes transmitidos, así como
> tampoco su integridad o su correcta recepción, por lo que STACKOPS
> TECHNOLOGIES S.L. no asume responsabilidad alguna por tales circunstancias.
> Si no consintiese en la utilización del correo electrónico o de las
> comunicaciones vía Internet le rogamos nos lo comunique y ponga en nuestro
> conocimiento de manera inmediata. Este mensaje va dirigido, de manera
> exclusiva, a su destinatario y contiene información confidencial y sujeta
> al secreto profesional, cuya divulgación no está permitida por la ley. En
> caso de haber recibido este mensaje por error, le rogamos que, de forma
> inmediata, nos lo comunique mediante correo electrónico remitido a nuestra
> atención y proceda a su eliminación, así como a la de cualquier documento
> adjunto al mismo. Asimismo, le comunicamos que la distribución, copia o
> utilización de este mensaje, o de cualquier documento adjunto al mismo,
> cualquiera que fuera su finalidad, están prohibidas por la ley.
>
> ***************** PRIVILEGED AND CONFIDENTIAL ****************
> We hereby inform you, as addressee of this message, that e-mail and
> Internet do not guarantee the confidentiality, nor the completeness or
> proper reception of the messages sent and, thus, STACKOPS TECHNOLOGIES S.L.
> does not assume any liability for those circumstances. Should you not agree
> to the use of e-mail or to communications via Internet, you are kindly
> requested to notify us immediately. This message is intended exclusively
> for the person to whom it is addressed and contains privileged and
> confidential information protected from disclosure by law. If you are not
> the addressee indicated in this message, you should immediately delete it
> and any attachments and notify the sender by reply e-mail. In such case,
> you are hereby notified that any dissemination, distribution, copying or
> use of this message or any attachments, for any purpose, is strictly
> prohibited by law.
>
>


-- 
Kevin Jackson
@itarchitectkev

References