Opened 12 years ago

Closed 12 years ago

#54 closed (fixed)

Unable to create a sliver with Bare metal node

Reported by: lnevers@bbn.com Owned by: ibaldin@renci.org
Priority: major Milestone: EG-EXP-4
Component: Experiment Version: SPIRAL4
Keywords: bare metal Cc:
Dependencies:

Description

Tried creating two slivers with bare metal and both failed. Both RSpecs pass rpseclint:

=> Experiment 1: Includes 1 bare metal with one interface and fails as follows:

Asked https://geni.renci.org:11443/orca/xmlrpc to reserve resources. No manifest 
Rspec returned. ERROR: Exception encountered: orca.ndl.NdlException: Interface 
3008dd15-a116-4eb2-83dd-b86efea6a7f3#geni1-if0 should be owned by exactly two 
entities (a node and a connection/vlan), instead: 1 

=> Experiment 2: 1 bare metal and one VM on one lan:

Asked https://geni.renci.org:11443/orca/xmlrpc to reserve resources. No manifest 
Rspec returned. ERROR: Exception encountered: orca.ndl.NdlException: Interface 
90a7f613-86ec-47f5-be59-98ce55cd111a#geni1-if0 should be owned by exactly two 
entities (a node and a connection/vlan), instead: 1 

=> Experiment 1 RSpec:

<?xml version="1.0" encoding="UTF-8"?>
<rspec type="request" 
	xsi:schemaLocation="http://www.geni.net/resources/rspec/3 
	          	    http://www.geni.net/resources/rspec/3/request.xsd
                            http://www.protogeni.net/resources/rspec/ext/shared-vlan/1
                            http://www.protogeni.net/resources/rspec/ext/shared-vlan/1/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.geni.net/resources/rspec/3">

<node client_id="geni1" component_id="urn:publicid:IDN+geni-orca.renci.org+node+bbnvmsite.rdf#bbnvmsite/Domain/baremetalce" component_manager_id="urn:publicid:IDN+geni-orca.renci.
org+authority+bbnvmsite.rdf#bbnvmsite/Domain/baremetalce+orca-sm" component_name="bbnvmsite.rdf#bbnvmsite/Domain/baremetalce" exclusive="false">    
<interface client_id="geni1:0">
    <ip address="172.16.1.1" netmask="255.255.255.0" />
 </interface>
</node>
  <link client_id="lan0">
    <component_manager name="urn:publicid:IDN+bbnvmsite+authority+cm"/>
    <interface_ref client_id="geni1:if0"/>
    <link_type name="lan"/>
  </link>
</rspec>

=> Experiment 2 RSpec:

<?xml version="1.0" encoding="UTF-8"?>
<rspec type="request" 
	xsi:schemaLocation="http://www.geni.net/resources/rspec/3 
	          	    http://www.geni.net/resources/rspec/3/request.xsd
                            http://www.protogeni.net/resources/rspec/ext/shared-vlan/1
                            http://www.protogeni.net/resources/rspec/ext/shared-vlan/1/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.geni.net/resources/rspec/3">
<node client_id="geni1" component_id="urn:publicid:IDN+geni-orca.renci.org+node+bbnvmsite.rdf#bbnvmsite/Domain/baremetalce" component_manager_id="urn:publicid:IDN+geni-orca.renci.
org+authority+bbnvmsite.rdf#bbnvmsite/Domain/baremetalce+orca-sm" component_name="bbnvmsite.rdf#bbnvmsite/Domain/baremetalce" exclusive="false">    
<interface client_id="geni1:0">
    <ip address="172.16.1.1" netmask="255.255.255.0" />
 </interface>
</node>
 <node client_id="geni2" 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="397c431cb9249e1f361484b08674bc3381455bb9" />
    </sliver_type>
    <interface client_id="geni2:if0">
   <ip address="172.16.1.2" netmask="255.255.255.0" />
    </interface>
  </node>
  <link client_id="lan0">
    <component_manager name="urn:publicid:IDN+bbnvmsite+authority+cm"/>
    <interface_ref client_id="geni1:if0"/>
    <interface_ref client_id="geni2:if0"/>
    <property source_id="geni1:if0" dest_id="geni2:if0" />
    <property source_id="geni2:if0" dest_id="geni1:if0" />
    <link_type name="lan"/>
  </link>
</rspec>

Change History (4)

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

Also tried to create a 2 bare metal sliver (1@bbn and 1@rci) via ExoSM, this attempt generated a different error:

Result Summary: Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+2bare expires 
on 2012-06-29 11:24:50 UTC
Asked https://geni.renci.org:11443/orca/xmlrpc to reserve resources. No manifest
Rspec returned. Error encountered converting RSpec to NDL via converter service: 
ERROR converting from RSpec2 request to RDF-XML:java.lang.Exception: 
ERROR: unable to parse RSpec document: javax.xml.bind.UnmarshalException
 - with linked exception:
[org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'rspec'.] 

The following RSpec was used (passes rspeclint):

<rspec type="request"
xsi:schemaLocation="http://www.protogeni.net/resources/rspec/2
                                          http://www.protogeni.net/resources/rspec/2/request.xsd"
    xmlns:flack="http://www.protogeni.net/resources/rspec/ext/flack/1"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="http://www.protogeni.net/resources/rspec/2">

<node client_id="geni1" component_id="urn:publicid:IDN+geni-orca.renci.org+node+bbnvmsite.rdf#bbnvmsite/Domain/baremetalce" component
_manager_id="urn:publicid:IDN+geni-orca.renci.org+authority+bbnvmsite.rdf#bbnvmsite/Domain/baremetalce+orca-sm" component_name="bbnvm
site.rdf#bbnvmsite/Domain/baremetalce" exclusive="false">    
 <interface client_id="geni1:0">
    <ip address="172.16.1.1" netmask="255.255.255.0" />
 </interface>
</node>
 <node client_id="geni2" component_id="urn:publicid:IDN+geni-orca.renci.org+node+rcivmsite.rdf#rcivmsite/Domainbaremetalce" component
_manager_id="urn:publicid:IDN+geni-orca.renci.org+authority+rcivmsite.rdf#rcivmsite/Domain/baremetalce+orca-sm" component_name="rcivm
site.rdf#rcivmsite/Domain/baremetalce" exclusive="false">
 <interface client_id="geni2:0" >
   <ip address="172.16.1.2" netmask="255.255.255.0" />
 </interface>
</node>
<link client_id="center">
  <interface_ref client_id="geni1:0" />
  <interface_ref client_id="geni2:0" />
</link>
</rspec>

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

Oops, looks like the 2 bare metal RSpec was still RSpec V2 rather than V3. Once I modified the RSpec to V3, than the error reported is the same as all other attempts to use the bare metal:

Embedding workflow ERROR: 1:Insufficient resources or Unknown domain: http://geni-orca.renci.org/owl/geni-orca.renci.org.rdf#geni-orca.renci.org/Domain/vlan:vlan:0! Requested: vlan:1 

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

Owner: changed from somebody to ibaldin@renci.org
Status: newassigned

I haven't actually enabled bare-metal in request rspec converter yet. Bear with me.

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

Resolution: fixed
Status: assignedclosed

This issue is resolved, I am able to reserve both bare metal nodes at BBN and RENCI.

Note: See TracTickets for help on using tickets.