Skip to content

Instantly share code, notes, and snippets.

@ejfinneran
Created September 2, 2011 16:40
Show Gist options
  • Save ejfinneran/1189112 to your computer and use it in GitHub Desktop.
Save ejfinneran/1189112 to your computer and use it in GitHub Desktop.
Nova-API describe key pairs w/ filters
AWSAccessKeyId=8c0b75a4-0535-4154-8276-2fbd92bf93b3%3Amyproject&Action=DescribeKeyPairs&Filter.1.Name=key-name&Filter.1.Value.1=openstack&SignatureMethod=HmacSHA256&SignatureVers
ion=2&Timestamp=2011-09-02T16%3A38%3A42Z&Version=2011-05-15 from (pid=881) _calc_signature_2 /usr/lib/pymodules/python2.6/nova/auth/signer.py:144
2011-09-02 11:38:42,672 DEBUG nova.signer [-] len(b64)=44 from (pid=881) _calc_signature_2 /usr/lib/pymodules/python2.6/nova/auth/signer.py:147
2011-09-02 11:38:42,673 DEBUG nova.signer [-] base64 encoded digest: H+j/YSIHpRrWq37o+zl+PSZZM2BUsiPFqqatcc3fOPw= from (pid=881) _calc_signature_2 /usr/lib/pymodules/python2.6/no
va/auth/signer.py:148
2011-09-02 11:38:42,673 DEBUG nova.auth.manager [-] user.secret: f87a53c2-2961-462b-a62b-ecf00516c4b7 from (pid=881) authenticate /usr/lib/pymodules/python2.6/nova/auth/manager.p
y:314
2011-09-02 11:38:42,673 DEBUG nova.auth.manager [-] expected_signature: H+j/YSIHpRrWq37o+zl+PSZZM2BUsiPFqqatcc3fOPw= from (pid=881) authenticate /usr/lib/pymodules/python2.6/nova
/auth/manager.py:315
2011-09-02 11:38:42,673 DEBUG nova.auth.manager [-] signature: H+j/YSIHpRrWq37o+zl+PSZZM2BUsiPFqqatcc3fOPw= from (pid=881) authenticate /usr/lib/pymodules/python2.6/nova/auth/man
ager.py:316
2011-09-02 11:38:42,687 AUDIT nova.api [H1NQPIO038VU-IB1US7M ej myproject] Authenticated Request For ej:myproject)
2011-09-02 11:38:42,687 DEBUG nova.api [-] action: DescribeKeyPairs from (pid=881) __call__ /usr/lib/pymodules/python2.6/nova/api/ec2/__init__.py:216
2011-09-02 11:38:42,687 DEBUG nova.api [-] arg: Filter.1.Name val: key-name from (pid=881) __call__ /usr/lib/pymodules/python2.6/nova/api/ec2/__init__.py:218
2011-09-02 11:38:42,688 DEBUG nova.api [-] arg: Filter.1.Value.1 val: openstack from (pid=881) __call__ /usr/lib/pymodules/python2.6/nova/api/ec2/__init__.py:218
2011-09-02 11:38:42,706 DEBUG nova.api.request [-] <?xml version="1.0" ?><DescribeKeyPairsResponse xmlns="http://ec2.amazonaws.com/doc/2011-05-15/"><requestId>H1NQPIO038VU-IB1US7
M</requestId><keySet><item><keyName>openstack</keyName><keyFingerprint>77:56:3d:57:f2:c2:a5:d0:e9:73:3e:99:4f:29:1e:eb</keyFingerprint></item></keySet></DescribeKeyPairsResponse>
from (pid=881) _render_response /usr/lib/pymodules/python2.6/nova/api/ec2/apirequest.py:171
2011-09-02 11:38:42,707 INFO nova.api [H1NQPIO038VU-IB1US7M ej myproject] 0.63383s 172.241.0.101 POST /services/Cloud CloudController:DescribeKeyPairs 200 [None] application/x-ww
w-form-urlencoded text/xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment