← Back to team overview

registry team mailing list archive

[Bug 609203] [NEW] Error trying to start instance

 

Public bug reported:

When using InstallFest instructions on wiki, when I try to start an
instance using euca-run-instance, i get:


DEBUG:root:using _calc_signature_2
DEBUG:root:query string: AWSAccessKeyId=1c711eda-1361-4f15-9e72-7c3c97cfadce%3Aantproj&Action=RunInstances&ImageId=ami-poil8qr8&InstanceType=m1.small&KernelId=ami-ekw1rvvn&MaxCount=1&MinCount=1&RamdiskId=ami-rwa7csro&SignatureMethod=HmacSHA20
DEBUG:root:string_to_sign: POST
127.0.0.1:8773
/services/Cloud/
AWSAccessKeyId=1c711eda-1361-4f15-9e72-7c3c97cfadce%3Aantproj&Action=RunInstances&ImageId=ami-poil8qr8&InstanceType=m1.small&KernelId=ami-ekw1rvvn&MaxCount=1&MinCount=1&RamdiskId=ami-rwa7csro&SignatureMethod=HmacSHA256&SignatureVersion=2&Tim0
DEBUG:root:len(b64)=44
DEBUG:root:base64 encoded digest: mOgB60QdxV1CQ9iKFwfXj3Gb7GceTN5aP6pREP2XM7g=
DEBUG:root:user.secret: 669169e9-8975-4795-af7c-11bafcb95529
DEBUG:root:expected_signature: mOgB60QdxV1CQ9iKFwfXj3Gb7GceTN5aP6pREP2XM7g=
DEBUG:root:signature: mOgB60QdxV1CQ9iKFwfXj3Gb7GceTN5aP6pREP2XM7g=
DEBUG:api:action: RunInstances
DEBUG:api:arg: MaxCount         val: ['1']
DEBUG:api:arg: MinCount         val: ['1']
DEBUG:api:arg: ImageId          val: ['ami-poil8qr8']
DEBUG:api:arg: KernelId         val: ['ami-ekw1rvvn']
DEBUG:api:arg: RamdiskId                val: ['ami-rwa7csro']
DEBUG:api:arg: InstanceType             val: ['m1.small']
DEBUG:boto:Canonical: GET


Fri, 23 Jul 2010 15:19:17 GMT
/_images/
DEBUG:boto:Method: GET
DEBUG:boto:Path: /_images/
DEBUG:boto:Data:
DEBUG:boto:Headers: {'Date': 'Fri, 23 Jul 2010 15:19:17 GMT', 'Content-Length': '0', 'Authorization': 'AWS 1c711eda-1361-4f15-9e72-7c3c97cfadce:antproj:NYkkNXRu6qB+ZfeNSukfGD3HV5k=', 'User-Agent': 'Boto/1.9b (linux2)'}
DEBUG:boto:Host: 127.0.0.1:3333
DEBUG:boto:establishing HTTP connection
WARNING:root:400 POST /services/Cloud/ (127.0.0.1) 13.06ms
Unhandled error in Deferred:
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/nova/endpoint/api.py", line 314, in post
    self.execute(controller_name)
  File "/usr/lib/pymodules/python2.6/tornado/web.py", line 774, in wrapper
    return method(self, *args, **kwargs)
  File "/usr/lib/pymodules/python2.6/nova/endpoint/api.py", line 292, in execute
    d = request.send(context, **args)
  File "/usr/lib/pymodules/python2.6/nova/endpoint/api.py", line 117, in send
    d = defer.maybeDeferred(method, context, **args)
--- <exception caught here> ---
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 117, in maybeDeferred
    result = f(*args, **kw)
  File "/usr/lib/pymodules/python2.6/nova/auth/rbac.py", line 29, in wrapped_f
    return f(self, context, *args, **kwargs)
  File "/usr/lib/pymodules/python2.6/nova/endpoint/cloud.py", line 483, in run_instances
    image = self._get_image(context, kwargs['image_id'])
  File "/usr/lib/pymodules/python2.6/nova/endpoint/cloud.py", line 300, in _get_image
    result = images.list(context, [image_id])
  File "/usr/lib/pymodules/python2.6/nova/endpoint/images.py", line 70, in list
    result = json.loads(response.read())
  File "/usr/lib/python2.6/json/__init__.py", line 307, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.6/json/decoder.py", line 319, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.6/json/decoder.py", line 338, in raw_decode
    raise ValueError("No JSON object could be decoded")
exceptions.ValueError: No JSON object could be decoded

** Affects: nova
     Importance: Undecided
         Status: New

-- 
Error trying to start instance
https://bugs.launchpad.net/bugs/609203
You received this bug notification because you are a member of Registry
Administrators, which is subscribed to OpenStack.



Follow ups

References