<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Poor Richards's head.<div>What cinder-api logs give you ? </div><div>you see the call in there ?</div><div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="font-weight: normal; font-family: Helvetica; "><b style="color: rgb(19, 112, 138); ">Razique Mahroua</b></span><span class="Apple-style-span" style="font-weight: normal; font-family: Helvetica; color: rgb(19, 112, 138); "><b> - </b></span><span class="Apple-style-span" style="font-family: Helvetica; "><span class="Apple-style-span" style="font-weight: normal; font-family: Helvetica; "><b style="color: rgb(19, 112, 138); ">Nuage & Co</b></span><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; border-collapse: separate; border-spacing: 0px; -webkit-text-decorations-in-effect: none; "><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="font-weight: normal; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; "><font class="Apple-style-span" color="#13708a"><a href="mailto:razique.mahroua@gmail.com">razique.mahroua@gmail.com</a></font></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; "><font class="Apple-style-span" color="#13708a">Tel : +33 9 72 37 94 15</font></div></span><br class="Apple-interchange-newline"><span></span><span style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-weight: normal; font-style: normal; "></span><span style="color: rgb(0, 0, 0); font-weight: normal; "></span></span><span style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span><span><span><img height="125" width="125" id="da599c81-c4ee-4a71-ad71-0a8ba2bd343a" apple-width="yes" apple-height="yes" src="cid:00E07450-433E-43E6-9005-48B8FD5C669F@la.fabrique"></span>
</span></span></span></span></span></span></div>
<br><div><div>Le 14 déc. 2012 à 14:50, Richard Shaw <<a href="mailto:richard@aggress.net">richard@aggress.net</a>> a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi,<br><br>Yes that banging sound is my head on the desk.  Having cinder issues, keystone's in place and verified as working, glance is verified as working so I know some auth with keystone's working.<br><br>Here's the error:<br><br>root@vagrant-precise-pangolin:~# cinder --debug create --display_name test 1<br>connect: (10.0.2.15, 5000)<br>send: 'POST /v2.0/tokens HTTP/1.1\r\nHost: 10.0.2.15:5000\r\nContent-Length: 103\r\ncontent-type: application/json\r\naccept-encoding: gzip, deflate\r\naccept: application/json\r\nuser-agent: python-cinderclient\r\n\r\n{"auth": {"tenantName": "admin", "passwordCredentials": {"username": "admin", "password": "password"}}}'<br>reply: 'HTTP/1.1 200 OK\r\n'<br>header: Vary: X-Auth-Token<br>header: Content-Type: application/json<br>header: Date: Fri, 14 Dec 2012 13:25:16 GMT<br>header: Transfer-Encoding: chunked<br>connect: (localhost, 8776)<br>connect fail: (u'localhost', 8776)<br>DEBUG (shell:473) n/a (HTTP 400)<br>Traceback (most recent call last):<br>  File "/usr/lib/python2.7/dist-packages/cinderclient/shell.py", line 470, in main<br>    OpenStackCinderShell().main(sys.argv[1:])<br>  File "/usr/lib/python2.7/dist-packages/cinderclient/shell.py", line 421, in main<br>    args.func(self.cs, args)<br>  File "/usr/lib/python2.7/dist-packages/cinderclient/v1/shell.py", line 231, in do_create<br>    metadata=volume_metadata)<br>  File "/usr/lib/python2.7/dist-packages/cinderclient/v1/volumes.py", line 138, in create<br>    return self._create('/volumes', body, 'volume')<br>  File "/usr/lib/python2.7/dist-packages/cinderclient/base.py", line 149, in _create<br>    resp, body = self.api.client.post(url, body=body)<br>  File "/usr/lib/python2.7/dist-packages/cinderclient/client.py", line 141, in post<br>    return self._cs_request(url, 'POST', **kwargs)<br>  File "/usr/lib/python2.7/dist-packages/cinderclient/client.py", line 126, in _cs_request<br>    **kwargs)<br>  File "/usr/lib/python2.7/dist-packages/cinderclient/client.py", line 109, in request<br>    raise exceptions.from_response(resp, body)<br>BadRequest: n/a (HTTP 400)<br>ERROR: n/a (HTTP 400)<br><br>I'm running:<br><br>OS: Ubuntu 12.04LTS<br>Release: Folsom<br><br>Here's what I've got in my cinder.conf.  Sql connection verified<br><br>[DEFAULT]<br>rootwrap_config = /etc/cinder/rootwrap.conf<br>api_paste_confg = /etc/cinder/api-paste.ini<br>iscsi_helper = tgtadm<br>volume_name_template = volume-%s<br>volume_group = cinder-volumes<br>verbose = True<br>auth_strategy = keystone<br>state_path = /var/lib/cinder<br>volumes_dir = /var/lib/cinder/volumes<br>sql_connection = <a href="mysql://cinder:password@127.0.0.1/password">mysql://cinder:password@127.0.0.1/password</a><br>osapi_volume_listen_port=5900<br><br>Here's what I've got in my api-paste.ini<br><br>#############<br># Openstack #<br>#############<br><br>[composite:osapi_volume]<br>use = call:cinder.api.openstack.urlmap:urlmap_factory<br>/: osvolumeversions<br>/v1: openstack_volume_api_v1<br><br>[composite:openstack_volume_api_v1]<br>use = call:cinder.api.auth:pipeline_factory<br>noauth = faultwrap sizelimit noauth osapi_volume_app_v1<br>keystone = faultwrap sizelimit authtoken keystonecontext osapi_volume_app_v1<br>keystone_nolimit = faultwrap sizelimit authtoken keystonecontext osapi_volume_app_v1<br><br>[filter:faultwrap]<br>paste.filter_factory = cinder.api.openstack:FaultWrapper.factory<br><br>[filter:noauth]<br>paste.filter_factory = cinder.api.openstack.auth:NoAuthMiddleware.factory<br><br>[filter:sizelimit]<br>paste.filter_factory = cinder.api.sizelimit:RequestBodySizeLimiter.factory<br><br>[app:osapi_volume_app_v1]<br>paste.app_factory = cinder.api.openstack.volume:APIRouter.factory<br><br>[pipeline:osvolumeversions]<br>pipeline = faultwrap osvolumeversionapp<br><br>[app:osvolumeversionapp]<br>paste.app_factory = cinder.api.openstack.volume.versions:Versions.factory<br><br>##########<br># Shared #<br>##########<br><br>[filter:keystonecontext]<br>paste.filter_factory = cinder.api.auth:CinderKeystoneContext.factory<br><br>[filter:authtoken]<br>paste.filter_factory = keystone.middleware.auth_token:filter_factory<br>auth_host = 127.0.0.1<br>auth_port = 35357<br>service_host = 127.0.0.1<br>service_port = 5000<br>auth_protocol = http<br>admin_tenant_name = service<br>admin_user = cinder<br>admin_password = password<br>signing_dirname = /tmp/keystone-signing-nova<br>~                                                <br><br>Any help would be gratefully received and will hasten the end of my head banging.<br><br>Thanks<br><br>Richard<br><br><br><br><br>_______________________________________________<br>Mailing list: <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>Unsubscribe : <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>More help   : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br></blockquote></div><br></div></body></html>