Ask Your Question
0

euca-describe-images does not work

asked 2011-06-30 16:41:33 -0500

Hi,

I carried out the scripted install

$> wget --no-check-certificate https://github.com/dubsquared/OpenStack-NOVA-Installer-Script/raw/master/nova-CC-install-v1.1.sh (https://github.com/dubsquared/OpenSta...) $> sudo chmod 755 nova-CC-install-v1.1.sh

and it successfully complete (without finding dnsmasq ... )

then euca-describe-instances silently returns, however, euca-describe-images gives an error shown below:

$> euca-describe-images UnknownError: An unknown error has occurred. Please try your request again. $>

the /var/log/nova/nova-api.log for this entry query and nova.conf have been copy-pasted over here.

Please let me know ff someone is able to locate the mistake/problem

thanks, -upendra

========== nova-api.log =========== 2011-06-30 12:35:50,273 DEBUG nova.auth.manager [-] Looking up user: u'413e67ee-8ad4-4b41-a786-e6aace156613' from (pid=30810) authenticate /usr/lib/pymodules/python2.6/nova/auth/manager.py:277 2011-06-30 12:35:50,279 DEBUG nova.auth.manager [-] user: User('upendra', 'upendra', '413e67ee-8ad4-4b41-a786-e6aace156613', '26b84301-7015-4004-9b56-dd9b7a5b83d4', True) from (pid=30810) authenticate /usr/lib/pymodules/python2.6/nova/auth/manager.py:279 2011-06-30 12:35:50,288 DEBUG nova.signer [-] using _calc_signature_2 from (pid=30810) _calc_signature_2 /usr/lib/pymodules/python2.6/nova/auth/signer.py:126 2011-06-30 12:35:50,288 DEBUG nova.signer [-] query string: AWSAccessKeyId=413e67ee-8ad4-4b41-a786-e6aace156613%3Amyproject&Action=DescribeImages&Owner.1=self&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2011-06-30T16%3A35%3A50&Version=2009-11-30 from (pid=30810) _calc_signature_2 /usr/lib/pymodules/python2.6/nova/auth/signer.py:142 2011-06-30 12:35:50,289 DEBUG nova.signer [-] string_to_sign: GET 9.59.230.122:8773 /services/Cloud/ AWSAccessKeyId=413e67ee-8ad4-4b41-a786-e6aace156613%3Amyproject&Action=DescribeImages&Owner.1=self&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2011-06-30T16%3A35%3A50&Version=2009-11-30 from (pid=30810) _calc_signature_2 /usr/lib/pymodules/python2.6/nova/auth/signer.py:144 2011-06-30 12:35:50,289 DEBUG nova.signer [-] len(b64)=44 from (pid=30810) _calc_signature_2 /usr/lib/pymodules/python2.6/nova/auth/signer.py:147 2011-06-30 12:35:50,289 DEBUG nova.signer [-] base64 encoded digest: nigBCZgwtzbVK7T08ksP5Sr5bh14jBoNMaqcMe7aCoA= from (pid=30810) _calc_signature_2 /usr/lib/pymodules/python2.6/nova/auth/signer.py:148 2011-06-30 12:35:50,289 DEBUG nova.auth.manager [-] user.secret: 26b84301-7015-4004-9b56-dd9b7a5b83d4 from (pid=30810) authenticate /usr/lib/pymodules/python2.6/nova/auth/manager.py:322 2011-06-30 12:35:50,290 DEBUG nova.auth.manager [-] expected_signature: nigBCZgwtzbVK7T08ksP5Sr5bh14jBoNMaqcMe7aCoA= from (pid=30810) authenticate /usr/lib/pymodules/python2.6/nova/auth/manager.py:323 2011-06-30 12:35:50,290 DEBUG nova.auth.manager [-] signature: nigBCZgwtzbVK7T08ksP5Sr5bh14jBoNMaqcMe7aCoA= from (pid=30810) authenticate /usr/lib/pymodules/python2.6/nova/auth/manager.py:324 2011-06-30 12:35:50,290 AUDIT nova.api [I3BJRIEJQ2J5-PREFWKM upendra myproject] Authenticated Request For upendra:myproject) 2011-06-30 12:35:50,291 DEBUG nova.api [-] action: DescribeImages from (pid=30810) __call__ /usr/lib/pymodules/python2.6/nova/api/ec2/__init__.py:214 2011-06-30 12:35:50,291 DEBUG nova.api [-] arg: Owner.1 val: self from (pid=30810) __call__ /usr/lib/pymodules/python2.6/nova/api/ec2/__init__.py:216 2011-06-30 12:35:50,292 ERROR nova.api [I3BJRIEJQ2J5-PREFWKM upendra myproject] 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 ... (more)

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2011-07-18 20:36:47 -0500

Thanks, Upendra! I ran into this issue as well. Installing Glance solved my problem.

edit flag offensive delete link more
0

answered 2011-07-01 08:57:53 -0500

I managed to fix it.

the document does not mention anything about glance; apparently it is important as image image manipulation commands eventually call the glance service.

so the fix is simple

$> sudo apt-get install -y glance $> sudo glance-control glance-api start

this fixes the problem.

thanks, -upendra

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-06-30 16:41:33 -0500

Seen: 39 times

Last updated: Jul 18 '11