GENI-NSF / geni-tools

Omni, stitcher, GCF sample aggregate manager, and other GENI tools.
Other
11 stars 15 forks source link

Changing to non ExoSM URL broken #740

Closed ahelsing closed 9 years ago

ahelsing commented 9 years ago

When stitcher gets the ExoSM URL from the SCS and tries to find the real rack URL using the agg_nick_cache, it is stripping off the https prefix:

10/13 10:51:15 WARNING  stitchhandler.py:1899 <Aggregate urn:publicid:IDN+exogeni.net:tamuvmsite+authority+am> used ExoSM URL. Changing to tamu-hn.exogeni.net:11443/orca/xmlrpc

Where the SCS gave us:

                                                                  { 'aggregate_url': 'http://geni.renci.org:11443/orca/xmlrpc',
                                                                    'aggregate_urn': 'urn:publicid:IDN+exogeni.net:tamuNet+authority+am',
                                                                    'hop_urn': 'urn:publicid:IDN+exogeni.net:tamuvmsite+interface+TAMU:ExoGeni:TenGigabitEthernet:1:ethernet',
                                                                    'import_vlans': False},

Imported from trac ticket #740, created by ahelsing on 10-13-2014 at 15:02, last modified: 10-14-2014 at 08:56

ahelsing commented 9 years ago

See stitchhandler line 1866

Trac comment by ahelsing on 10-13-2014 at 15:04

ahelsing commented 9 years ago

To test: add an entry in your omni_config duplicating the URN, but putting in a fake URL for the AM. (say, http://www.geni.net) Run with --noReservation and --debug And then see what is printed as the alternate URL for the AM, in the summary of all aggregates.

Trac comment by ahelsing on 10-13-2014 at 20:01