Opened 7 years ago

Closed 7 years ago

#125 closed (fixed)

AM API V1 URL does not exist at ExoSM and BBN SM

Reported by: lnevers@bbn.com Owned by: somebody
Priority: major Milestone:
Component: AM Version: SPIRAL5
Keywords: Cc:
Dependencies:

Description

According to getversion the ExoGENI SM supports AM API V1 and V2:

$ omni.py getversion -a eg-sm       
....
   'geni_api': 2,
    'geni_api_versions': {   '1': 'https://geni.renci.org:11443/orca/xmlrpc/geniV1',
                             '2': 'https://geni.renci.org:11443/orca/xmlrpc/geni'},

{{{

Attempts to execute command with AM API V1 URL fail:
{{{
$  omni.py listresources  -a https://geni.renci.org:11443/orca/xmlrpc/geniV1
  ....
ERROR:omni.protogeni:Call for GetVersion at https://geni.renci.org:11443/orca/xmlrpc/geniV1 
failed.: ProtocolError: <ProtocolError for geni.renci.org:11443/orca/xmlrpc/geniV1: 
404 Not Found>
ERROR:omni.protogeni:    ..... Run with --debug for more information
WARNING:omni:Couldnt get api version supported from GetVersion: AM 
https://geni.renci.org:11443/orca/xmlrpc/geniV1 failed getversion (empty): 
ProtocolError: <ProtocolError for geni.renci.org:11443/orca/xmlrpc/geniV1: 404 Not Found>
WARNING:omni:Got no api_version from getversion at 
https://geni.renci.org:11443/orca/xmlrpc/geniV1? AM https://geni.renci.org:11443/orca/xmlrpc/geniV1 failed 
getversion (empty): ProtocolError: <ProtocolError for geni.renci.org:11443/orca/xmlrpc/geniV1: 404 Not Found>

}}}
}}}

Change History (2)

comment:1 Changed 7 years ago by ibaldin@renci.org

We're no longer maintaining V1 interface. I took out its advertizement. Next time we redeploy it won't be there.

comment:2 Changed 7 years ago by lnevers@bbn.com

Resolution: fixed
Status: newclosed

This problem no longer exists, the current getversion only lists API Version 2 at RENCI, GPO and ExoSM, following is the output from the ExoSM getversion:

$ omni.py getversion -a eg-sm lnexo                                   
INFO:omni:Loading config file /home/lnevers/.gcf/omni_config
INFO:omni:Using control framework pg
INFO:omni:Substituting AM nickname eg-sm with URL https://geni.renci.org:11443/orca/xmlrpc, URN unspecified_AM_URN
INFO:omni:AM URN: unspecified_AM_URN (url: https://geni.renci.org:11443/orca/xmlrpc) has version:
INFO:omni:{   'geni_ad_rspec_versions': [   {   'extensions': [   'http://hpn.east.isi.edu/rspec/ext/stitch/0.1/stitch-schema.xsd',
                                                        'http://www.protogeni.net/resources/rspec/ext/emulab/1/ptop_extension.xsd'],
                                      'namespace': 'http://www.geni.net/resources/rspec/3',
                                      'schema': 'http://www.geni.net/resources/rspec/3/ad.xsd',
                                      'type': 'GENI',
                                      'version': '3'}],
    'geni_api': 2,
    'geni_api_versions': {   '2': 'https://geni.renci.org:11443/orca/xmlrpc/geni'},
    'geni_request_rspec_versions': [   {   'extensions': [   'http://www.protogeni.net/resources/rspec/ext/shared-vlan/1',
                                                             'http://www.geni.net/resources/rspec/ext/postBootScript/1'],
                                           'namespace': 'http://www.geni.net/resources/rspec/3',
                                           'schema': 'http://www.geni.net/resources/rspec/3/request.xsd',
                                           'type': 'GENI',
                                           'version': '3'}],
    'orca_version': 'ORCA Camano: v.3.1-extended.build-5072'}
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed getversion:

  Options as run:
		aggregate: ['eg-sm']
		framework: pg
		noGetVersionCache: True

  Args: getversion lnexo

  Result Summary: 
Got version for https://geni.renci.org:11443/orca/xmlrpc
 
INFO:omni: ============================================================
Note: See TracTickets for help on using tickets.