Comment 5 for bug 719002

Revision history for this message
Kost (kost-isi) wrote : Re: [Bug 719002] Re: local image service fails on uec-publish-tarball

That fixed the problem. Thanks.

----- Original Message -----
From: "Christian Berendt" <email address hidden>
To: <email address hidden>
Sent: Tuesday, February 15, 2011 8:36:36 AM
Subject: [Bug 719002] Re: local image service fails on uec-publish-tarball

Your pasted logging looks like bug #719093. Please apply the commited
patch in bug #719093 and retry it...

--
You received this bug notification because you are a direct subscriber
of the bug.
https://bugs.launchpad.net/bugs/719002

Title:
  local image service fails on uec-publish-tarball

Status in OpenStack Compute (Nova):
  New

Bug description:
  I tried all the image_service options, none worked for me. Anyway,
  the local image service fails on a uec-publish-tarball...

  root@island109:/etc/nova# uec-publish-tarball ttylinux-uec-amd64-12.1_2.6.35-22_1.tar.gz mybucket2
  Mon Feb 14 16:19:21 EST 2011: ====== extracting image ======
  kernel : ttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz
  ramdisk: ttylinux-uec-amd64-12.1_2.6.35-22_1-initrd
  image : ttylinux-uec-amd64-12.1_2.6.35-22_1.img
  Mon Feb 14 16:19:21 EST 2011: ====== bundle/upload kernel ======
  failed to register ttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz.manifest.xml
  failed: euca-register mybucket2/ttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz.manifest.xml
  UnknownError: An unknown error has occurred. Please try your request again.failed to upload kernel
  root@island109:/etc/nova# vim /var/log/nova/nova-api.log

  --------
  from nova-api.py....

   /services/Cloud/
  359 AWSAccessKeyId=832adbe6-c64a-488f-9f3a-8679cd740da8%3Aadminproject&Action=RegisterImage&ImageLocation=mybucket2%2Fttylinux-uec-amd64-12.1_ 2.6.35-22_1-vmlinuz.manifest.xml&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2011-02-14T21%3A19%3A22&Version=2009-11-30 from M ainProcess (pid=22084) _calc_signature_2 /usr/lib/pymodules/python2.6/nova/auth/signer.py:144
  360 2011-02-14 16:19:22,587 DEBUG nova.signer [-] len(b64)=44 from MainProcess (pid=22084) _calc_signature_2 /usr/lib/pymodules/python2.6/nova /auth/signer.py:147
  361 2011-02-14 16:19:22,587 DEBUG nova.signer [-] base64 encoded digest: V2ZXyehQv3gywXxCzgiWRmsUn3zJBbj4pbOG1IdbVZo= from MainProcess (pid=22 084) _calc_signature_2 /usr/lib/pymodules/python2.6/nova/auth/signer.py:148
  362 2011-02-14 16:19:22,588 DEBUG nova.auth.manager [-] user.secret: abe8cdde-afbf-4a58-94c4-3c27b27ab7b6 from MainProcess (pid=22084) authent icate /usr/lib/pymodules/python2.6/nova/auth/manager.py:305
  363 2011-02-14 16:19:22,588 DEBUG nova.auth.manager [-] expected_signature: V2ZXyehQv3gywXxCzgiWRmsUn3zJBbj4pbOG1IdbVZo= from MainProcess (pid =22084) authenticate /usr/lib/pymodules/python2.6/nova/auth/manager.py:306
  364 2011-02-14 16:19:22,588 DEBUG nova.auth.manager [-] signature: V2ZXyehQv3gywXxCzgiWRmsUn3zJBbj4pbOG1IdbVZo= from MainProcess (pid=22084) a uthenticate /usr/lib/pymodules/python2.6/nova/auth/manager.py:307
  365 2011-02-14 16:19:22,596 AUDIT nova.api [N59Y-EI3T4IH6D-XU7-W admin adminproject] Authenticated Request For admin:adminproject)
  366 2011-02-14 16:19:22,597 DEBUG nova.api [-] action: RegisterImage from MainProcess (pid=22084) __call__ /usr/lib/pymodules/python2.6/nova/a pi/ec2/__init__.py:211
  367 2011-02-14 16:19:22,597 DEBUG nova.api [-] arg: ImageLocation val: mybucket2/ttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz.manifest.xm l from MainProcess (pid=22084) __call__ /usr/lib/pymodules/python2.6/nova/api/ec2/__init__.py:213
  368 2011-02-14 16:19:22,603 ERROR nova.api [N59Y-EI3T4IH6D-XU7-W admin adminproject] Unexpected error raised: 'LocalImageService' object has n o attribute 'register'
  369 (nova.api): TRACE: Traceback (most recent call last):
  370 (nova.api): TRACE: File "/usr/lib/pymodules/python2.6/nova/api/ec2/__init__.py", line 316, in __call__
  371 (nova.api): TRACE: result = api_request.invoke(context)
  372 (nova.api): TRACE: File "/usr/lib/pymodules/python2.6/nova/api/ec2/apirequest.py", line 128, in invoke
  373 (nova.api): TRACE: result = method(context, **args)
  374 (nova.api): TRACE: File "/usr/lib/pymodules/python2.6/nova/api/ec2/cloud.py", line 874, in register_image
  375 (nova.api): TRACE: image_id = self.image_service.register(context, image_location)
  376 (nova.api): TRACE: AttributeError: 'LocalImageService' object has no attribute 'register'
  377 (nova.api): TRACE:
  378 2011-02-14 16:19:22,604 ERROR nova.api [N59Y-EI3T4IH6D-XU7-W admin adminproject] Environment: {"HTTP_AUTHORIZATION": "AWS 832adbe6-c64a-48 8f-9f3a-8679cd740da8:adminproject:nXZA4Uq5ooFhLChQNcUMpPLgep4=", "CONTENT_TYPE": "text/plain", "SCRIPT_NAME": "/services/Cloud", "HTTP_DAT E": "Mon, 14 Feb 2011 21:19:22 GMT", "REQUEST_METHOD": "GET", "HTTP_HOST": "65.123.202.109:8773", "PATH_INFO": "/", "SERVER_PROTOCOL": "HT TP/1.0", "QUERY_STRING": "AWSAccessKeyId=832adbe6-c64a-488f-9f3a-8679cd740da8%3Aadminproject&Action=RegisterImage&ImageLocation=mybucket2% 2Fttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz.manifest.xml&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2011-02-14T21%3A19%3A22 &Version=2009-11-30&Signature=V2ZXyehQv3gywXxCzgiWRmsUn3zJBbj4pbOG1IdbVZo%3D", "CONTENT_LENGTH": "0", "HTTP_USER_AGENT": "Boto/1.9b (linux 2)", "SERVER_NAME": "65.123.202.109", "REMOTE_ADDR": "65.123.202.109", "wsgi.url_scheme": "http", "SERVER_PORT": "8773", "GATEWAY_INTERFAC E": "CGI/1.1", "HTTP_ACCEPT_ENCODING": "identity"}
  379 2011-02-14 16:19:22,604 ERROR nova.api [N59Y-EI3T4IH6D-XU7-W admin adminproject] UnknownError: An unknown error has occurred. Please try y our request again.

To unsubscribe from this bug, go to:
https://bugs.launchpad.net/nova/+bug/719002/+subscribe