Opened 4 years ago

Closed 4 years ago

#1400 closed (fixed)

AL2S AM cannot handle disk_image elements with URL attributes

Reported by: tupty@bbn.com Owned by: luke@grnoc.iu.edu
Priority: critical Milestone:
Component: STITCHING Version: SPIRAL7
Keywords: GENI Network Stitching Cc:
Dependencies:

Description

I was standing up a stitched slice between nysernet-ig and illinois-ig with an RSpec that used to work with the ION AM. As of the transition of nysernet-ig over to AL2S, stitching is now required to go through AL2S for this slice.

When stitcher calls createsliver on the AL2S AM, it fails with the following error:

22:54:00 ERROR   :  {'output': "Element '{http://www.geni.net/resources/rspec/3}disk_image', attribute 'url': The attribute 'url' is not allowed., line 19", 'code': {'geni_code': 1}}

Any disk_image elements in the RSpec are destined for other component managers within the GENI racks, and should therefore be ignored by the AL2S AM. I am attaching my request RSpec and the expanded RSpec.

Attachments (2)

fsfw-two-site-request.xml (10.7 KB) - added by tupty@bbn.com 4 years ago.
Original request RSpec
fsfw-expanded-request-rspec.xml (14.6 KB) - added by tupty@bbn.com 4 years ago.
Expanded request RSpec

Download all attachments as: .zip

Change History (6)

Changed 4 years ago by tupty@bbn.com

Attachment: fsfw-two-site-request.xml added

Original request RSpec

Changed 4 years ago by tupty@bbn.com

Expanded request RSpec

comment:1 Changed 4 years ago by tupty@bbn.com

It looks like this problem is happening for all FOAM aggregates. This is a big issue, because the AL2S AM will be a part of the stitching workflow most of the time, and it means that experimenters cannot use custom images referenced by URL with stitching.

comment:2 Changed 4 years ago by tupty@bbn.com

I don't know the ins-and-outs of FOAM, but maybe updating the schemas could fix this? The schemas in bitbucket's FOAM repo for barnstomer are mostly timestamped 2012. The "DiskImageContents" listed under https://bitbucket.org/barnstorm/foam/src/d2e63bd971396c1fd2f4817770a70714d5f76847/schemas/request-common.xsd?at=0.14-MAINT do not include a URL attribute, but they do include a URL attribute for the current authoritative location of the same schema: http://www.geni.net/resources/rspec/3/request-common.xsd

comment:3 Changed 4 years ago by tupty@bbn.com

Priority: majorcritical

comment:4 Changed 4 years ago by tupty@bbn.com

Resolution: fixed
Status: newclosed

Luke made a quick fix of pulling down the latest schema from geni.net, which fixed things up. It took me a while to set up a successful test slice due to failed slivers in the racks I was using, but I was eventually able to verify that the fix is working.

This should be all set!

Note: See TracTickets for help on using tickets.