Help Needed in Registering image

Asked by naangilsunder

hi ,

i have installed nova in my local environment.The setup went successfully.and all the relevant service are up and running now.
My issue is while i tried to register a image am getting error

euca-register win2k3_bucket/memdisk.manifest.xml
"UnknownError: An unknown error has occurred. Please try your request again."

Log file : /var/log/nova/nova-api.log
-------------------------------------------------
2011-07-07 11:59:02,334 DEBUG nova.auth.manager [-] Looking up user: u'cd889521-f66f-4c1c-bf31-894c5b4c8e7a' from (pid=22527) authenticate /usr/lib/pymodules/python2.6/nova/auth/manager.py:277
2011-07-07 11:59:02,337 DEBUG nova.auth.manager [-] user: User('admin', 'admin', 'cd889521-f66f-4c1c-bf31-894c5b4c8e7a', '471787fe-05e2-4792-8fcc-4d7a14f41927', True) from (pid=22527) authenticate /usr/lib/pymodules/python2.6/nova/auth/manager.py:279
2011-07-07 11:59:02,347 AUDIT nova.api [Q9-KQWCKDDNT1X6DNM-X admin CNext] Authenticated Request For admin:CNext)
2011-07-07 11:59:02,348 DEBUG nova.api [-] action: RegisterImage from (pid=22527) __call__ /usr/lib/pymodules/python2.6/nova/api/ec2/__init__.py:214
2011-07-07 11:59:02,348 DEBUG nova.api [-] arg: ImageLocation val: win2k3_bucket/memdisk.manifest.xml from (pid=22527) __call__ /usr/lib/pymodules/python2.6/nova/api/ec2/__init__.py:216
2011-07-07 11:59:02,361 DEBUG nova.image.glance [-] Creating image in Glance. Metadata passed in {'status': 'queued', 'is_public': True, 'container_format': 'aki', 'disk_format': 'aki', 'properties': {'image_location': u'win2k3_bucket/memdisk.manifest.xml', 'image_state': 'pending', 'project_id': 'CNext', 'architecture': 'x86_64'}} from (pid=22527) create /usr/lib/pymodules/python2.6/nova/image/glance.py:157
2011-07-07 11:59:02,362 DEBUG nova.image.glance [-] Metadata after formatting for Glance {'status': 'queued', 'container_format': 'aki', 'disk_format': 'aki', 'properties': {'image_location': u'win2k3_bucket/memdisk.manifest.xml', 'image_state': 'pending', 'project_id': 'CNext', 'architecture': 'x86_64'}, 'is_public': True} from (pid=22527) create /usr/lib/pymodules/python2.6/nova/image/glance.py:160
2011-07-07 11:59:02,362 ERROR nova.api [Q9-KQWCKDDNT1X6DNM-X admin CNext] Unexpected error raised: Unable to connect to server. Got error: [Errno 111] ECONNREFUSED
(nova.api): TRACE: Traceback (most recent call last):
(nova.api): TRACE: File "/usr/lib/pymodules/python2.6/nova/api/ec2/__init__.py", line 320, in __call__
(nova.api): TRACE: result = api_request.invoke(context)
(nova.api): TRACE: File "/usr/lib/pymodules/python2.6/nova/api/ec2/apirequest.py", line 78, in invoke
(nova.api): TRACE: result = method(context, **args)
(nova.api): TRACE: File "/usr/lib/pymodules/python2.6/nova/api/ec2/cloud.py", line 1155, in register_image
(nova.api): TRACE: image = self.image_service.create(context, metadata)
(nova.api): TRACE: File "/usr/lib/pymodules/python2.6/nova/image/s3.py", line 61, in create
(nova.api): TRACE: image = self._s3_create(context, metadata)
(nova.api): TRACE: File "/usr/lib/pymodules/python2.6/nova/image/s3.py", line 160, in _s3_create
(nova.api): TRACE: image = self.service.create(context, metadata)
(nova.api): TRACE: File "/usr/lib/pymodules/python2.6/nova/image/glance.py", line 163, in create
(nova.api): TRACE: sent_service_image_meta, data)
(nova.api): TRACE: File "/usr/lib/pymodules/python2.6/glance/client.py", line 135, in add_image
(nova.api): TRACE: res = self.do_request("POST", "/images", body, headers)
(nova.api): TRACE: File "/usr/lib/pymodules/python2.6/glance/client.py", line 54, in do_request
(nova.api): TRACE: headers, params)
(nova.api): TRACE: File "/usr/lib/pymodules/python2.6/glance/common/client.py", line 148, in do_request
(nova.api): TRACE: "server. Got error: %s" % e)
(nova.api): TRACE: ClientConnectionError: Unable to connect to server. Got error: [Errno 111] ECONNREFUSED
(nova.api): TRACE:
2011-07-07 11:59:02,363 ERROR nova.api [Q9-KQWCKDDNT1X6DNM-X admin CNext] Environment: {"HTTP_AUTHORIZATION": "AWS cd889521-f66f-4c1c-bf31-894c5b4c8e7a:CNext:paV/0Ir6jmOsmSFGoll3HJz2GgA=", "CONTENT_TYPE": "text/plain", "SCRIPT_NAME": "/services/Cloud", "HTTP_DATE": "Thu, 07 Jul 2011 11:59:02 GMT", "REQUEST_METHOD": "GET", "HTTP_HOST": "172.21.8.131:8773", "PATH_INFO": "/", "SERVER_PROTOCOL": "HTTP/1.0", "QUERY_STRING": "AWSAccessKeyId=cd889521-f66f-4c1c-bf31-894c5b4c8e7a%3ACNext&Action=RegisterImage&ImageLocation=win2k3_bucket%2Fmemdisk.manifest.xml&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2011-07-07T11%3A59%3A02&Version=2009-11-30&Signature=wA1FBoTrUdMisB6uo4iwH63wXlaMcSK2JW3w6Bf%2BbaE%3D", "CONTENT_LENGTH": "0", "HTTP_USER_AGENT": "Boto/1.9b (linux2)", "SERVER_NAME": "172.21.8.131", "REMOTE_ADDR": "172.21.8.131", "wsgi.url_scheme": "http", "SERVER_PORT": "8773", "GATEWAY_INTERFACE": "CGI/1.1", "HTTP_ACCEPT_ENCODING": "identity"}
2011-07-07 11:59:02,364 ERROR nova.api [Q9-KQWCKDDNT1X6DNM-X admin CNext] UnknownError: An unknown error has occurred. Please try your request again.
2011-07-07 11:59:02,364 INFO nova.api [Q9-KQWCKDDNT1X6DNM-X admin CNext] 0.31070s 172.21.8.131 GET /services/Cloud/ CloudController:RegisterImage 400 [Boto/1.9b (linux2)] text/plain text/xml

pls help

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Solved by:
naangilsunder
Solved:
Last query:
Last reply:
Revision history for this message
naangilsunder (naangilsunder) said :
#1

hi,

the below link help me in solving the issue

https://answers.launchpad.net/nova/+question/163298

Thanks
Sundervel