Opened 9 years ago

Last modified 9 years ago

#7 new defect

instrumentize getting "Malformed arguments" error from sliverstatus call

Reported by: johren@bbn.com Owned by: nasir@netlab.uky.edu
Priority: major Component: Bootstrapping
Version: SPIRAL4 Keywords:
Cc: jp_reed@yahoo.com Dependencies:

Description

Starting today (9/27) instrumentize started failing on an InstaGENI slice with a "KeyError?" when checking the status of the sliver. Debug output shows the following:

geniuser@UserWorkspace:~/Tutorials/GEMINI/common$ instrumentize.py -f ~/.ssl/johrenpgeni.pem -d -n johGEM1209271429
SplitResult(scheme='https', netloc='www.pgeni.gpolab.bbn.com:12369', path='/protogeni/xmlrpc/sa', query='', fragment='') GetCredential
Got my SA credential

SplitResult(scheme='https', netloc='www.pgeni.gpolab.bbn.com:12369', path='/protogeni/xmlrpc/sa', query='', fragment='') Resolve
{'creator_uuid': 'a435896e-631f-11e1-8136-000c29cca98b', 'uuid': 'a5cba72f-08d9-11e2-8a62-000c29cca98b', 'urn': 'urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+johGEM1209271429', 'component_managers': ['urn:publicid:IDN+utah.geniracks.net+authority+cm'], 'hrn': 'bbn-pgeni.johGEM1209271429', 'gid': 'MIIDdzCCAuCgAwIBAgICIWIwDQYJKoZIhvcNAQEEBQAwgdAxCzAJBgNVBAYTAlVT\nMRYwFAYDVQQIEw1NYXNzYWNodXNldHRzMRIwEAYDVQQHEwlDYW1icmlkZ2UxHDAa\nBgNVBAoTE0dFTkkgUHJvamVjdCBPZmZpY2UxHjAcBgNVBAsTFUNlcnRpZmljYXRl\nIEF1dGhvcml0eTEiMCAGA1UEAxMZYm9zcy5wZ2VuaS5ncG9sYWIuYmJuLmNvbTEz\nMDEGCSqGSIb3DQEJARYkdGVzdGJlZC1vcHNAb3BzLnBnZW5pLmdwb2xhYi5iYm4u\nY29tMB4XDTEyMDkyNzE4MjkyNVoXDTE4MDMyMDE5MjkyNVowgbYxCzAJBgNVBAYT\nAlVTMRYwFAYDVQQIEw1NYXNzYWNodXNldHRzMRwwGgYDVQQKExNHRU5JIFByb2pl\nY3QgT2ZmaWNlMSMwIQYDVQQLExpiYm4tcGdlbmkuam9oR0VNMTIwOTI3MTQyOTEt\nMCsGA1UEAxMkYTVjYmE3MmYtMDhkOS0xMWUyLThhNjItMDAwYzI5Y2NhOThiMR0w\nGwYJKoZIhvcNAQkBFg5qb2hyZW5AYmJuLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOB\njQAwgYkCgYEAvSvHFxw6M/h80xDu3Oo66Du7fzrH38ZXLewQOvIT3931CeR93h8f\nrftPH0lz9sakZLwFdEGPz5P4GuPc0t0q/HPgWVLxOJcPX/XTIbkl14UIqJWfxS4O\nLnTLpiRHVIkXsOXeeGv158qdySLdkcbUDpNpYx9k1WbymO4W7OzyPMcCAwEAAaN4\nMHYwHQYDVR0OBBYEFJ65pY4/Mv0rX9wKrhFlIHXc6dPFMEcGA1UdEQRAMD6GPHVy\nbjpwdWJsaWNpZDpJRE4rcGdlbmkuZ3BvbGFiLmJibi5jb20rc2xpY2Uram9oR0VN\nMTIwOTI3MTQyOTAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3DQEBBAUAA4GBAJiQ+iLK\nj4061M5iSu/JK2XV9CohB1pKpmp7eM8IVN4Md6LL0Xu6UTm35kJSMeLIUD6TgWLT\nJ7hSfwMyV/18pGv4XF4Aq9DfTC5ZPjAker6Jec95ccRQR5R8UGRDVfZ4DPrXWPUq\niwYzinNFqxWT5fXvl/VHCU9DIk4US/ryXHFM\n', 'creator_urn': 'urn:publicid:IDN+pgeni.gpolab.bbn.com+user+johren'}

This Slice spans these CMs ['urn:publicid:IDN+utah.geniracks.net+authority+cm']

Asking for slice credential for johGEM1209271429

SplitResult(scheme='https', netloc='www.pgeni.gpolab.bbn.com:12369', path='/protogeni/xmlrpc/sa', query='', fragment='') GetCredential
Got the slice credential

SplitResult(scheme='https', netloc='www.pgeni.gpolab.bbn.com:12369', path='/protogeni/xmlrpc/sa', query='', fragment='') Resolve
Found user record at the SA
{'output': '', 'code': 0, 'value': {'uuid': 'a435896e-631f-11e1-8136-000c29cca98b', 'slices': ['urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+johrenIRODSDB', 'urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+johrenOpenStack', 'urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+johGEM1209270849', 'urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+johGEM1209270851', 'urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+johGEM1209270853', 'urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+johrenGIMICN3', 'urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+johGEM1209271429', 'urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+johGEM1209271415', 'urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+johGEM1209261622', 'urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+johGEM1209271421', 'urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+johGEM1209261742'], 'urn': 'urn:publicid:IDN+pgeni.gpolab.bbn.com+user+johren', 'subauthorities': {'urn:publicid:IDN+pgeni.gpolab.bbn.com:gimi+authority+sa': 'https://www.pgeni.gpolab.bbn.com:12369/protogeni/xmlrpc/project/GIMI/sa', 'urn:publicid:IDN+pgeni.gpolab.bbn.com:gemini+authority+sa': 'https://www.pgeni.gpolab.bbn.com:12369/protogeni/xmlrpc/project/GEMINI/sa', 'urn:publicid:IDN+pgeni.gpolab.bbn.com:gpostaffers+authority+sa': 'https://www.pgeni.gpolab.bbn.com:12369/protogeni/xmlrpc/project/GpoStaffers/sa'}, 'name': 'Jeanne Ohren', 'hrn': 'bbn-pgeni.johren', 'gid': 'MIID8jCCA1ugAwIBAgICEMQwDQYJKoZIhvcNAQEEBQAwgdAxCzAJBgNVBAYTAlVT\nMRYwFAYDVQQIEw1NYXNzYWNodXNldHRzMRIwEAYDVQQHEwlDYW1icmlkZ2UxHDAa\nBgNVBAoTE0dFTkkgUHJvamVjdCBPZmZ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oUl9gMCo5qvnjb\nkqI5lG/Mv79wlvWcZeKm3D9pnB0oN8GvFvymtC4OP/somIlma+8iPoEDYkOtJaKj\nhdGybGerZUZwSYo4HQbPlZCY7Lz6lTxFZWZiCTvHJhpXszKhAD1cxlvqFsh1OJ/U\n/2R01d1p\n', 'pubkeys': [{'type': 'ssh', 'key': 'ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAyOKoNUv8HN4aVoqE3GEhEx8wkFZVGFim3Bvny58h/6+cJ6MvEkwLPeVnF/gvChdPAv2URvRsUfVBkOchF2JJhUdjGoBhPtEqIUKDkxK1GUEOH/SY1FWcFW/CUYrFj7d2OQdjl9Oi5AsTbQZc0ezTNYepzVzDaBQ3y/dRo6y/xpnR3aFESj4+IO9h3++tnyv1TJc/8eGl+pBWRBzyMhEA119J7Psvq5IMhdV+/+2v0FFriP3AwcwUoYCap2J7ia/zUsYDWiYIhjDaEWTypPH0usNnsCJdjLRuueyRnrFpCvcgfnhrwN/0+c78hPqVCQ2HwPhECvx1u/nSlng457Frmw== johren@alfheim.gpolab.bbn.com'}, {'type': 'ssh', 'key': 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCbNoKEyRFBartr8WpeTAvHxzBcs4TXQpv1cSsuHSMfivytwmCX3ew/oSkwfLEr0tLcP0M5ENfNZszRxgCnOV0jwZNeWu4nw3zmeYWHyEr/L60ZjART21xKy1qc0auh0LCUK4IGRAWC4s8Fjr8IVhwE2cCquq4+CgAtbYCVcTqP8uryjSIxi/STyCnVT6rtXjuZAz0DltPP09++9s6/pzmJIKm44KaTqSapEQHhdga4OmaT7zoTylomlNlwXo9SHsDuYyNEUDV7rrtOwGGINrDZlhQWq68MTBpUTY5KZOKIVyfTM9BtH44O0DMR5d8Ys3m+axLMimggSkgeobvYmL/J testuser@UserWorkspace'}], 'email': 'johren@bbn.com', 'uid': 'johren'}}
Your user account details obtained are: 
Username		: johren
UserURN		: urn:publicid:IDN+pgeni.gpolab.bbn.com+user+johren
Email ID		: johren@bbn.com
Certificate Issuer	: bbn-pgeni

SplitResult(scheme='https', netloc='www.emulab.net:12369', path='/protogeni/xmlrpc/ch', query='', fragment='') ListComponents

***************************************
* List of CM registerd at the Clearing House *
***************************************


utahemulab.cm[urn:publicid:IDN+emulab.net+authority+cm]: https://www.emulab.net:12369/protogeni/xmlrpc/cm

wail.cm[urn:publicid:IDN+schooner.wail.wisc.edu+authority+cm]: https://www.schooner.wail.wisc.edu/protogeni/xmlrpc/cm

cmulab.cm[urn:publicid:IDN+cmcl.cs.cmu.edu+authority+cm]: https://boss.cmcl.cs.cmu.edu/protogeni/xmlrpc/cm

jonlab.cm[urn:publicid:IDN+jonlab.tbres.emulab.net+authority+cm]: https://myboss.jonlab.tbres.emulab.net:12369/protogeni/xmlrpc/cm

cis.fiu.edu.cm[urn:publicid:IDN+cis.fiu.edu+authority+cm]: https://pg-boss.cis.fiu.edu:12369/protogeni/xmlrpc/cm

cron.loni.org.cm[urn:publicid:IDN+cron.loni.org+authority+cm]: https://www.cron.loni.org/protogeni/xmlrpc/cm

shadowgeni.cm[urn:publicid:IDN+shadownet.uky.emulab.net+authority+cm]: https://shadownet.uky.emulab.net/protogeni/xmlrpc/cm

mygeni.cm[urn:publicid:IDN+example.org+authority+cm]: https://host.linux.geni.emulab.net/protogeni/xmlrpc/cm

plc.sa[urn:publicid:IDN+plc+authority+sa]: https://planet-lab.org:12346

beelab.cm[urn:publicid:IDN+geelab.geni.emulab.net+authority+cm]: https://myboss.geelab.geni.emulab.net:12369/protogeni/xmlrpc/cm

ETRI-CM1.cm[urn:publicid:IDN+etri-cm1.kreonet.net+authority+cm]: https://etri-cm1.kreonet.net/protogeni/xmlrpc/cm

ukgeni.cm[urn:publicid:IDN+uky.emulab.net+authority+cm]: https://www.uky.emulab.net:12369/protogeni/xmlrpc/cm

bbn-pgeni.cm[urn:publicid:IDN+pgeni.gpolab.bbn.com+authority+cm]: https://www.pgeni.gpolab.bbn.com:12369/protogeni/xmlrpc/cm

xenlab.cm[urn:publicid:IDN+xen-leelab.testbed.emulab.net+authority+cm]: https://myboss.xen-leelab.testbed.emulab.net:12369/protogeni/xmlrpc/cm

utahgenirack.cm[urn:publicid:IDN+utah.geniracks.net+authority+cm]: https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/cm

wall3geni.cm[urn:publicid:IDN+wall3.test.ibbt.be+authority+cm]: https://www.wall3.test.ibbt.be:12369/protogeni/xmlrpc/cm

genicloud.hplabs.sa[urn:publicid:IDN+genicloud:hplabs+authority+sa]: https://opencirrus-07501.hpl.hp.com:12346/

Talking to CM HRN = utahgenirack.cm

SplitResult(scheme='https', netloc='boss.utah.geniracks.net:12369', path='/protogeni/xmlrpc/am', query='', fragment='') SliverStatus
{'output': 'Malformed arguments: Missing arguments', 'code': {'am_type': 'protogeni', 'geni_code': 1, 'am_code': 1}, 'value': 0}
Traceback (most recent call last):
  File "/home/geniuser/src/UW/instrumentize.py", line 180, in <module>
    if(response["geni_status"] != "ready"):
KeyError: 'geni_status'

Change History (1)

comment:1 Changed 9 years ago by johren@bbn.com

Looks like the default AM_API version changed. I've been able to work around it by adding 'version="1.0"' to the arguments for all of the do_method calls.

Note: See TracTickets for help on using tickets.