#1036 closed (fixed)
Advertisement rspec for internet2 aggregate does not pass rspeclint
Reported by: | lnevers@bbn.com | Owned by: | ckotil@grnoc.iu.edu |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | I2AM | Version: | SPIRAL5 |
Keywords: | Network Stitching | Cc: | xyang@maxgigapop.net |
Dependencies: |
Description
Using 'code_tag': '2.0-9'. The advertisement rspec for http://geni-am.net.internet2.edu:12346 does not pass rspeclint:
$ rspeclint rspec-ion-internet2-edu.xml Line 6: Failed validation with root at element: Schemas validity error : Element '{http://hpn.east.isi.edu/rspec/ext/stitch/0.1/}scheduledServices': This element is not expected. Expected is one of ( {http://hpn.east.isi.edu/rspec/ext/stitch /0.1/}scheduledservices, {http://hpn.east.isi.edu/rspec/ext/stitch /0.1/}negotiatedservices, {http://hpn.east.isi.edu/rspec/ext/stitch/0.1/}lifetime, {http://hpn.east.isi.edu/rspec/ext/stitch/0.1/}node, {http://hpn.east.isi.edu/rspec /ext/stitch/0.1/}port, {http://hpn.east.isi.edu/rspec/ext/stitch/0.1/}link ). : stitching
Attachments (3)
Change History (12)
comment:1 Changed 11 years ago by
Cc: | xyang@maxgigapop.net added; ckotil@grnoc.iu.edu removed |
---|---|
Owner: | changed from xyang@maxgigapop.net to ckotil@grnoc.iu.edu |
Changed 11 years ago by
Attachment: | ion-stitch-ad-v11.xml added |
---|
comment:2 Changed 11 years ago by
Status: | new → assigned |
---|
I've loaded the new topology. Luisa, Can you please try again?
Thanks, --Chad
comment:3 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:4 Changed 11 years ago by
Just got a new Advertisement RSpec and ran rspeclint, there is a new failure:
$ rspeclint rspec-ion-internet2-edu.xml Failed to parse XML document at location rspec-ion-internet2-edu.xml: rspec-ion-internet2-edu.xml:4: parser error : Comment not terminated <!-- <rspec type="advertisement" expires="1970-01-01T <!-- Resources at AM: ^ rspec-ion-internet2-edu.xml:461: parser error : Extra content at the end of the document </rspec> ^
Attaching the rspec that cause the failure.
Changed 11 years ago by
Attachment: | lnstitch2-createsliver-request-11-ion-internet2-edu.xml added |
---|
comment:5 Changed 11 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:6 Changed 11 years ago by
Status: | reopened → new |
---|
Chad,
Can you double check the stitch topology file?
Here is what omni got from my test AM.
INFO:omni:<?xml version="1.0" ?> INFO:omni: <!-- Resources at AM: URN: unspecified_AM_URN URL: http://alpha.dragon.maxgigapop.net:12346 --> INFO:omni: <rspec expires="1969-12-31T19:00:00.000-05:00" type="advertisement" xmlns="http://www.geni.net/resources/rspec/3" xmlns:stitch="http://hpn.east.isi.edu/rspec/ext/stitch/0.1/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.geni.net/resources/rspec/3 http://www.geni.net/resources/rspec/3/ad.xsd http://hpn.east.isi.edu/rspec/ext/stitch/0.1/ http://hpn.east.isi.edu/rspec/ext/stitch/0.1/stitch-schema.xsd"> <stitching lastUpdateTime="20130112:09:30:21" xmlns="http://hpn.east.isi.edu/rspec/ext/stitch/0.1/"> <aggregate id="urn:publicid:IDN+ion.internet2.edu+authority+am" url="http://geni-am.net.internet2.edu:12346"> <aggregatetype> sfa </aggregatetype>
Here is from ION-AM: {{[ INFO:omni:<!-- No valid RSpec returned. --> <!-- <rspec type="advertisement" expires="1970-01-01T00:00:00.000Z" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.geni.net/resources/rspec/3" xmlns:stitch="http://hpn.east.isi.edu/rspec/ext/stitch/0.1/" xsi:schemaLocation="http://www.geni.net/resources/rspec/3 http://www.geni.net/resources/rspec/3/ad.xsd http://hpn.east.isi.edu/rspec/ext/stitch/0.1/ http://hpn.east.isi.edu/rspec/ext/stitch/0.1/stitch-schema.xsd"><?xml version="1.0" encoding="UTF-8"?> INFO:omni: <!-- Resources at AM:
URN: unspecified_AM_URN URL: http://geni-am.net.internet2.edu:12346
-->
INFO:omni: <stitching xmlns="http://hpn.east.isi.edu/rspec/ext/stitch/0.1/" lastUpdateTime="20130112:09:30:21">
<aggregate id="urn:publicid:IDN+ion.internet2.edu+authority+am" url="http://geni-am.net.internet2.edu:12346">
<aggregatetype>sfa</aggregatetype>
}}}
comment:7 Changed 11 years ago by
Here is from ION-AM:
[ INFO:omni:<!-- No valid RSpec returned. --> <!-- <rspec type="advertisement" expires="1970-01-01T00:00:00.000Z" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.geni.net/resources/rspec/3" xmlns:stitch="http://hpn.east.isi.edu/rspec/ext/stitch/0.1/" xsi:schemaLocation="http://www.geni.net/resources/rspec/3 http://www.geni.net/resources/rspec/3/ad.xsd http://hpn.east.isi.edu/rspec/ext/stitch/0.1/ http://hpn.east.isi.edu/rspec/ext/stitch/0.1/stitch-schema.xsd"><?xml version="1.0" encoding="UTF-8"?> INFO:omni: <!-- Resources at AM: URN: unspecified_AM_URN URL: http://geni-am.net.internet2.edu:12346 --> INFO:omni: <stitching xmlns="http://hpn.east.isi.edu/rspec/ext/stitch/0.1/" lastUpdateTime="20130112:09:30:21"> <aggregate id="urn:publicid:IDN+ion.internet2.edu+authority+am" url="http://geni-am.net.internet2.edu:12346"> <aggregatetype>sfa</aggregatetype>
comment:9 Changed 11 years ago by
Verified that latest Advertisement RSpec passes rspeclint:
omni.py listresources -a i2 -o INFO:omni:Loading config file /home/lnevers/.gcf/omni_config INFO:omni:Using control framework pg INFO:omni:Substituting AM nickname i2 with URL http://geni-am.net.internet2.edu:12346, URN urn:publicid:IDN+ion.internet2.edu+authority+cm INFO:omni:Saving output to a file. INFO:omni:Substituting AM nickname i2 with URL http://geni-am.net.internet2.edu:12346, URN urn:publicid:IDN+ion.internet2.edu+authority+cm INFO:omni:Listed advertised resources at 1 out of 1 possible aggregates. INFO:omni:Substituting AM nickname i2 with URL http://geni-am.net.internet2.edu:12346, URN urn:publicid:IDN+ion.internet2.edu+authority+cm INFO:omni:Writing to 'rspec-ion-internet2-edu.xml' INFO:omni: ------------------------------------------------------------ INFO:omni: Completed listresources: Options as run: aggregate: ['i2'] framework: pg output: True Args: listresources Result Summary: Queried resources from 1 of 1 aggregate(s). Wrote rspecs from 1 aggregate(s) to 1 file(s) Saved listresources RSpec from 'urn:publicid:IDN+ion.internet2.edu+authority+cm' (url 'http://geni-am.net.internet2.edu:12346') to file rspec-ion-internet2-edu.xml; INFO:omni: ============================================================ $ rspeclint rspec-ion-internet2-edu.xml $
Reassign to Chad.
Chad, please update the stitching topology file with the attached.