Opened 12 years ago

Closed 12 years ago

#53 closed (fixed)

Requests for any sliver results in "No matching global declaration available for the validation root"

Reported by: lnevers@bbn.com Owned by: somebody
Priority: major Milestone: EG-EXP-5
Component: Experiment Version: SPIRAL4
Keywords: sliver creation Cc:
Dependencies:

Description

Any request to create a sliver at the BBN SM using any RSpecs that I have used successfully in the past, now results in the following failure:

  Result Summary: Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnslice expires on 2012-06-23 15:37:08 UTC
Asked https://bbn-hn.exogeni.net:3626/foam/gapi/1 to reserve resources. No manifest Rspec returned. 
<Fault 1: "<class 'lxml.etree.DocumentInvalid'>:
Element '{http://www.protogeni.net/resources/rspec/2}rspec': 
No matching global declaration available for the validation root., line 5"> 

Change History (17)

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

Victor tells me we have not changed anything in FOAM/FV setup recently. Perhaps Nick can answer this.

comment:2 Changed 12 years ago by jbs@bbn.com

Oh, I missed that this was a FOAM thing; I can probably help.

Luisa, does your rspec validate with rspeclint?

comment:3 Changed 12 years ago by jbs@bbn.com

Also, didn't you just now create a sliver at BBN ExoGENI FOAM, successfully?

comment:4 Changed 12 years ago by lnevers@bbn.com

The RSpec used is a 2 VM shared VLAN RSPec that I have used in the past:

<?xml version="1.0" encoding="UTF-8"?>
<rspec type="request"
xsi:schemaLocation="http://www.protogeni.net/resources/rspec/2
                    http://www.protogeni.net/resources/rspec/ext/shared-vlan/1
                    http://www.protogeni.net/resources/rspec/2/request.xsd"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:s="http://www.protogeni.net/resources/rspec/ext/shared-vlan/1"
    xmlns="http://www.protogeni.net/resources/rspec/2">

  <node client_id="VM" component_manager_id="urn:publicid:IDN+bbnvmsite+authority+cm" >
    <sliver_type name="m1.small">
   <disk_image name="http://geni-images.renci.org/images/standard/debian/debian-squeeze-amd64-neuca-2g.zfilesystem.sparse.v0.2.xml" version="397c431cb92
49e1f361484b08674bc3381455bb9" />
    </sliver_type>
    <interface client_id="VM:if0">
   <ip address="10.42.11.11" netmask="255.255.0.0" />
    </interface>
  </node>
  <node client_id="VM-0" component_manager_id="urn:publicid:IDN+bbnvmsite+authority+cm" >
    <sliver_type name="m1.small">
   <disk_image name="http://geni-images.renci.org/images/standard/debian/debian-squeeze-amd64-neuca-2g.zfilesystem.sparse.v0.2.xml" version="397c431cb92
49e1f361484b08674bc3381455bb9" />
    </sliver_type>
    <interface client_id="VM-0:if0">
   <ip address="10.42.11.12" netmask="255.255.255.0" />
    </interface>
  </node>
  <link client_id="lan0">
    <interface_ref client_id="VM:if0"/>
    <interface_ref client_id="VM-0:if0"/>
    <s:link_shared_vlan name="1750"/>
  </link>
</rspec>

Also rspeclint never completes successfully for the RSpecs even when they work:

$ rspeclint exo-2vm-shared-vlan.rspec 
Failed to load schema for namespace http://www.protogeni.net/resources/rspec/2 from 
location http://www.protogeni.net/resources/rspec/ext/shared-vlan/1: 
Schemas parser error : Failed to locate the main schema resource at 
'http://www.protogeni.net/resources/rspec/ext/shared-vlan/1'.

Creating a sliver with this file "exp-2vm-shared-vlan.rspec result in this error:

  Result Summary: Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+EG-EXP-5-scenario2a expires within 1 day(s) on 2012-06-23 15:27:17 UTC
Asked https://bbn-hn.exogeni.net:3626/foam/gapi/1 to reserve resources. 
No manifest Rspec returned. <Fault 1: "<class 'lxml.etree.DocumentInvalid'>:
Element '{http://www.protogeni.net/resources/rspec/2}rspec': 
No matching global declaration available for the validation root., line 8"> 

comment:5 Changed 12 years ago by jbs@bbn.com

That's not a FOAM rspec.

comment:6 Changed 12 years ago by jbs@bbn.com

Sorry, juggling too many things: To be less terse, that rspec isn't a FOAM rspec, but you're sending it to FOAM ("Asked https://bbn-hn.exogeni.net:3626/foam/gapi/1 to reserve resources"), and FOAM is saying "that's not a FOAM rspec". It passes rspeclint because it's a valid *ORCA* rspec; you need to send it to ORCA, not to FOAM.

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

Replying to ibaldin@renci.org:

Victor tells me we have not changed anything in FOAM/FV setup recently. Perhaps Nick can answer this.

I have been doing a lot of OpenFlow? testing. I am trying to run the following experiment, which has two parts:

  1. Site Hosts on Shared OF VLAN 1750 via ExoGENI FOAM/OF (slice
  2. ExoGENI VMs on Shared VLAN 1750 via ExoGENI FOAM/OF (*)

I am running 1 without problem, and trying to add part2 above. The failure is occurring with part2. Also there is another experiment running "experiment 2" which is using site hosts on multi-point non-OF VLAN 3705 via ExoGENI RACK.

comment:8 Changed 12 years ago by tmitchel@bbn.com

As far as rspeclint goes, try replacing "http://www.protogeni.net/resources/rspec/ext/shared-vlan/1" with "http://www.protogeni.net/resources/rspec/ext/shared-vlan/1/request.xsd" in the "xsi:schemaLocation" declaration.

Note: do not change the "xmlns:s" declaration, that looks correct.

comment:9 Changed 12 years ago by jbs@bbn.com

Seriously, the problem here is that you're sending an ORCA rspec to FOAM.

comment:10 Changed 12 years ago by ibaldin@renci.org

Also please note that Orca does not support (as a matter of policy) users requesting random vlans (like 3705 above). Only VLANs explicitly known as 'shared' to the Orca AM can be explicitly requested by users. Your request for 3705 will not succeed.

comment:11 in reply to:  10 Changed 12 years ago by jbs@bbn.com

Replying to ibaldin@renci.org:

Also please note that Orca does not support (as a matter of policy) users requesting random vlans (like 3705 above). Only VLANs explicitly known as 'shared' to the Orca AM can be explicitly requested by users. Your request for 3705 will not succeed.

Agreed. VLAN 3705 is part of EG-EXP-5, the "campus resources" test. We don't expect to be able to put ORCA resources onto VLAN 3705.

comment:12 Changed 12 years ago by lnevers@bbn.com

Sigh!!! I had my OpenFlow? hat on, Argh!!

I kept trying to get my OpenFlow? shared VLAN in the rack from the FOAM controller, while I should have been requesting it from the SM!! Will close this ticket!

Replying to tmitchel@bbn.com:

As far as rspeclint goes, try replacing "http://www.protogeni.net/resources/rspec/ext/shared-vlan/1" with "http://www.protogeni.net/resources/rspec/ext/shared-vlan/1/request.xsd" in the "xsi:schemaLocation" declaration.

This syntax came from email on June 13th about shared-vlan support. I will update all my RSpec to capture this.

Are there example on any of the wikis that use that original example?

comment:13 Changed 12 years ago by ibaldin@renci.org

If vlan 3705 is special, we need to configure it as such in Orca substrate description. Since we will be redeploying Orca on Monday,please let us know any other changes we need to make.

comment:14 Changed 12 years ago by jbs@bbn.com

I don't think we need ORCA to be able to put VMs onto on VLAN 3705. Luisa, do you think otherwise?

comment:15 in reply to:  14 Changed 12 years ago by lnevers@bbn.com

Replying to jbs@bbn.com:

I don't think we need ORCA to be able to put VMs onto on VLAN 3705. Luisa, do you think otherwise?

There are no ORCA VMs for VLAN 3705, only site VMs on VLAN3705 passing through the rack to get access to other GENI resources also on VLAN 3705.

comment:16 Changed 12 years ago by lnevers@bbn.com

Sorry about the ticket storm! :-)

This is not an ExoGENI issue, it is experimenter confusion! There is a lot of information to keep straight to set up an experiment that allows me to have 2 meso-scale sites, the VMs in ExoGENI rack and some campus resources (all on OF VLAN 1750). There are 8 separate sliver requests to get this done.

Closing ticket.

comment:17 Changed 12 years ago by lnevers@bbn.com

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.