RENCI-NRIG / orca5

ORCA5 Software
Eclipse Public License 1.0
2 stars 1 forks source link

PSC GENI stitching doesn't work #10

Closed ibaldin closed 9 years ago

ibaldin commented 9 years ago

Any idea why this request (already converted to NDL) doesn't work?

<rdf:RDF
    xmlns:kansei="http://geni-orca.renci.org/owl/kansei.owl#"
    xmlns:compute="http://geni-orca.renci.org/owl/compute.owl#"
    xmlns:app-color="http://geni-orca.renci.org/owl/app-color.owl#"
    xmlns:ethernet="http://geni-orca.renci.org/owl/ethernet.owl#"
    xmlns:dtn="http://geni-orca.renci.org/owl/dtn.owl#"
    xmlns:time="http://www.w3.org/2006/time#"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:openflow="http://geni-orca.renci.org/owl/openflow.owl#"
    xmlns:modify-schema="http://geni-orca.renci.org/owl/modify.owl#"
    xmlns:request="http://geni-orca.renci.org/owl/798af70a-bb53-4a21-b411-8926177491a5#"
    xmlns:layer="http://geni-orca.renci.org/owl/layer.owl#"
    xmlns:planetlab="http://geni-orca.renci.org/owl/planetlab.owl#"
    xmlns:geni="http://geni-orca.renci.org/owl/geni.owl#"
    xmlns:request-schema="http://geni-orca.renci.org/owl/request.owl#"
    xmlns:ip4="http://geni-orca.renci.org/owl/ip4.owl#"
    xmlns:orca="http://geni-orca.renci.org/owl/orca.owl#"
    xmlns:owl="http://www.w3.org/2002/07/owl#"
    xmlns:eucalyptus="http://geni-orca.renci.org/owl/eucalyptus.owl#"
    xmlns:domain="http://geni-orca.renci.org/owl/domain.owl#"
    xmlns:collections="http://geni-orca.renci.org/owl/collections.owl#"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
    xmlns:ec2="http://geni-orca.renci.org/owl/ec2.owl#"
    xmlns:topology="http://geni-orca.renci.org/owl/topology.owl#"
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" > 
  <rdf:Description rdf:about="http://geni-orca.renci.org/owl/pscNet.rdf#PSCNet/IBM/G8264/TenGigabitEthernet/1/1/ethernet">
    <ethernet:Tagged-Ethernet rdf:resource="http://geni-orca.renci.org/owl/pscNet.rdf#PSCNet/IBM/G8264/TenGigabitEthernet/1/1/ethernet/3987"/>
    <rdf:type rdf:resource="http://geni-orca.renci.org/owl/topology.owl#Interface"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://geni-orca.renci.org/owl/798af70a-bb53-4a21-b411-8926177491a5#ip-192-168-1-1">
    <ip4:netmask>255.255.255.0</ip4:netmask>
    <layer:label_ID>192.168.1.1</layer:label_ID>
    <rdf:type rdf:resource="http://geni-orca.renci.org/owl/ip4.owl#IPAddress"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://geni-orca.renci.org/owl/pscvmsite.rdf#pscvmsite/Domain">
    <topology:hasURN rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI">urn:publicid:IDN+exogeni.net:pscvmsite+authority+am</topology:hasURN>
    <rdf:type rdf:resource="http://geni-orca.renci.org/owl/topology.owl#NetworkDomain"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://geni-orca.renci.org/owl/798af70a-bb53-4a21-b411-8926177491a5#">
    <collections:element rdf:resource="http://geni-orca.renci.org/owl/798af70a-bb53-4a21-b411-8926177491a5#link"/>
    <collections:element rdf:resource="http://geni-orca.renci.org/owl/798af70a-bb53-4a21-b411-8926177491a5#eg-psc"/>
    <request-schema:hasTerm rdf:resource="http://geni-orca.renci.org/owl/798af70a-bb53-4a21-b411-8926177491a5#Term"/>
    <rdf:type rdf:resource="http://geni-orca.renci.org/owl/request.owl#Reservation"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://geni-orca.renci.org/owl/798af70a-bb53-4a21-b411-8926177491a5#link">
    <layer:bandwidth rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">20480000</layer:bandwidth>
    <topology:hasInterface rdf:resource="http://geni-orca.renci.org/owl/pscNet.rdf#PSCNet/IBM/G8264/TenGigabitEthernet/1/1/ethernet/3987"/>
    <topology:hasInterface rdf:resource="http://geni-orca.renci.org/owl/798af70a-bb53-4a21-b411-8926177491a5#eg-psc%3Aif0"/>
    <rdf:type rdf:resource="http://geni-orca.renci.org/owl/topology.owl#NetworkConnection"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://geni-orca.renci.org/owl/798af70a-bb53-4a21-b411-8926177491a5#TermEnd">
    <time:inXSDDateTime rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2015-07-12T14:42:26-04:00</time:inXSDDateTime>
    <rdf:type rdf:resource="http://www.w3.org/2006/time#Instant"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://geni-orca.renci.org/owl/pscNet.rdf#PSCNet/IBM/G8264/TenGigabitEthernet/1/1/ethernet/3987">
    <layer:label rdf:resource="http://geni-orca.renci.org/owl/798af70a-bb53-4a21-b411-8926177491a5#Label-3987"/>
    <rdf:type rdf:resource="http://geni-orca.renci.org/owl/topology.owl#Interface"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://geni-orca.renci.org/owl/798af70a-bb53-4a21-b411-8926177491a5#Term">
    <time:hasEnd rdf:resource="http://geni-orca.renci.org/owl/798af70a-bb53-4a21-b411-8926177491a5#TermEnd"/>
    <time:hasBeginning rdf:resource="http://geni-orca.renci.org/owl/798af70a-bb53-4a21-b411-8926177491a5#TermBeginning"/>
    <rdf:type rdf:resource="http://www.w3.org/2006/time#Interval"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://geni-orca.renci.org/owl/798af70a-bb53-4a21-b411-8926177491a5#2d553fdbca830020d7cf13011399d7210dcefe96">
    <topology:hasURL>http://geni-images.renci.org/images/standard/ubuntu/ub1404-v1.0.3.xml</topology:hasURL>
    <topology:hasGUID>2d553fdbca830020d7cf13011399d7210dcefe96</topology:hasGUID>
    <rdf:type rdf:resource="http://geni-orca.renci.org/owl/compute.owl#DiskImage"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://geni-orca.renci.org/owl/798af70a-bb53-4a21-b411-8926177491a5#eg-psc%3Aif0">
    <ip4:localIPAddress rdf:resource="http://geni-orca.renci.org/owl/798af70a-bb53-4a21-b411-8926177491a5#ip-192-168-1-1"/>
    <rdf:type rdf:resource="http://geni-orca.renci.org/owl/topology.owl#Interface"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://geni-orca.renci.org/owl/798af70a-bb53-4a21-b411-8926177491a5#StitchNode0">
    <topology:hasInterface rdf:resource="http://geni-orca.renci.org/owl/pscNet.rdf#PSCNet/IBM/G8264/TenGigabitEthernet/1/1/ethernet/3987"/>
    <request-schema:inDomain rdf:resource="http://geni-orca.renci.org/owl/orca.rdf#Stitching/Domain"/>
    <rdf:type rdf:resource="http://geni-orca.renci.org/owl/topology.owl#Device"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://geni-orca.renci.org/owl/798af70a-bb53-4a21-b411-8926177491a5#TermBeginning">
    <time:inXSDDateTime rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2015-07-06T14:56:48.632-04:00</time:inXSDDateTime>
    <rdf:type rdf:resource="http://www.w3.org/2006/time#Instant"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://geni-orca.renci.org/owl/798af70a-bb53-4a21-b411-8926177491a5#Label-3987">
    <layer:label_ID>3987</layer:label_ID>
    <rdf:type rdf:resource="http://geni-orca.renci.org/owl/layer.owl#Label"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://geni-orca.renci.org/owl/798af70a-bb53-4a21-b411-8926177491a5#ig-chich%3Aif0">
    <rdf:type rdf:resource="http://geni-orca.renci.org/owl/topology.owl#Interface"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://geni-orca.renci.org/owl/798af70a-bb53-4a21-b411-8926177491a5#eg-psc">
    <compute:specificCE rdf:resource="http://geni-orca.renci.org/owl/exogeni.owl#XOSmall"/>
    <domain:hasResourceType rdf:resource="http://geni-orca.renci.org/owl/compute.owl#VM"/>
    <compute:diskImage rdf:resource="http://geni-orca.renci.org/owl/798af70a-bb53-4a21-b411-8926177491a5#2d553fdbca830020d7cf13011399d7210dcefe96"/>
    <topology:hasInterface rdf:resource="http://geni-orca.renci.org/owl/798af70a-bb53-4a21-b411-8926177491a5#eg-psc%3Aif0"/>
    <request-schema:inDomain rdf:resource="http://geni-orca.renci.org/owl/pscvmsite.rdf#pscvmsite/Domain"/>
    <rdf:type rdf:resource="http://geni-orca.renci.org/owl/compute.owl#ComputeElement"/>
  </rdf:Description>
</rdf:RDF>
YufengXin commented 9 years ago

Might be a glitch during the delegation. I can create dumbbell with the stitching port successfully from the NDL Broker, but not from the rack broker. Could you please do a redeploy at the rack, AM and rack broker/controller, and re-delegate?

vjorlikowski commented 9 years ago

I have tried doing a clean-restart on PSC rack, then submitting the above request. My slice request immediately disappears from visibility in Flukes.

When I check pequod, however, I get:

pequod>show reservations for 09c54d48-82c4-4c12-8582-34851fd07808 actor psc-sm 6cc6e6ee-a33c-4ee3-904e-a521b928b22c psc-sm Slice: 09c54d48-82c4-4c12-8582-34851fd07808 1 pscvmsite.vm [ failed, nascent]
Notices: Reservation 6cc6e6ee-a33c-4ee3-904e-a521b928b22c (Slice vjo-test-PSC) is in state [Failed,None]

Last ticket update: Closed while allocating ticket Start: Mon Jul 06 14:56:48 EDT 2015 End: Tue Jul 07 14:56:48 EDT 2015 Requested end: Tue Jul 07 14:56:48 EDT 2015 828148bf-10ea-419b-8bbd-6c932e3b8dc5 psc-sm Slice: 09c54d48-82c4-4c12-8582-34851fd07808 1 pscNet.vlan [ failed, nascent]
Notices: Reservation 828148bf-10ea-419b-8bbd-6c932e3b8dc5 (Slice vjo-test-PSC) is in state [Failed,None]

Last ticket update: Closed while allocating ticket Start: Mon Jul 06 14:56:48 EDT 2015 End: Tue Jul 07 14:56:48 EDT 2015 Requested end: Tue Jul 07 14:56:48 EDT 2015

Total: 2 reservations

vjorlikowski commented 9 years ago

OK - new data point. The following request was generated in Flukes; it is a VM<->StitchPort dumbbell, and works for me when submitted to the PSC rack SM (and therefore - the rack broker).

<rdf:RDF
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:ec2="http://geni-orca.renci.org/owl/ec2.owl#"
    xmlns:layer="http://geni-orca.renci.org/owl/layer.owl#"
    xmlns:kansei="http://geni-orca.renci.org/owl/kansei.owl#"
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
    xmlns:request-schema="http://geni-orca.renci.org/owl/request.owl#"
    xmlns:app-color="http://geni-orca.renci.org/owl/app-color.owl#"
    xmlns:orca="http://geni-orca.renci.org/owl/orca.owl#"
    xmlns:geni="http://geni-orca.renci.org/owl/geni.owl#"
    xmlns:ip4="http://geni-orca.renci.org/owl/ip4.owl#"
    xmlns:planetlab="http://geni-orca.renci.org/owl/planetlab.owl#"
    xmlns:domain="http://geni-orca.renci.org/owl/domain.owl#"
    xmlns:ethernet="http://geni-orca.renci.org/owl/ethernet.owl#"
    xmlns:dtn="http://geni-orca.renci.org/owl/dtn.owl#"
    xmlns:time="http://www.w3.org/2006/time#"
    xmlns:owl="http://www.w3.org/2002/07/owl#"
    xmlns:modify-schema="http://geni-orca.renci.org/owl/modify.owl#"
    xmlns:compute="http://geni-orca.renci.org/owl/compute.owl#"
    xmlns:eucalyptus="http://geni-orca.renci.org/owl/eucalyptus.owl#"
    xmlns:collections="http://geni-orca.renci.org/owl/collections.owl#"
    xmlns:openflow="http://geni-orca.renci.org/owl/openflow.owl#"
    xmlns:request="http://geni-orca.renci.org/owl/2232034b-63df-47bf-a4a1-9157fe33f5d1#"
    xmlns:topology="http://geni-orca.renci.org/owl/topology.owl#"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema#" > 
  <rdf:Description rdf:about="http://geni-orca.renci.org/owl/pscNet.rdf#PSCNet/IBM/G8264/TenGigabitEthernet/1/1/ethernet/3987">
    <layer:label rdf:resource="http://geni-orca.renci.org/owl/2232034b-63df-47bf-a4a1-9157fe33f5d1#Label-3987"/>
    <rdf:type rdf:resource="http://geni-orca.renci.org/owl/topology.owl#Interface"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://geni-orca.renci.org/owl/2232034b-63df-47bf-a4a1-9157fe33f5d1#Link2-Node0">
    <ip4:localIPAddress rdf:resource="http://geni-orca.renci.org/owl/2232034b-63df-47bf-a4a1-9157fe33f5d1#Link2-Node0-ip-192-168-1-1"/>
    <rdf:type rdf:resource="http://geni-orca.renci.org/owl/topology.owl#Interface"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://geni-orca.renci.org/owl/2232034b-63df-47bf-a4a1-9157fe33f5d1#Link2">
    <topology:hasInterface rdf:resource="http://geni-orca.renci.org/owl/2232034b-63df-47bf-a4a1-9157fe33f5d1#Link2-Node0"/>
    <topology:hasInterface rdf:resource="http://geni-orca.renci.org/owl/pscNet.rdf#PSCNet/IBM/G8264/TenGigabitEthernet/1/1/ethernet/3987"/>
    <layer:atLayer rdf:resource="http://geni-orca.renci.org/owl/ethernet.owl#EthernetNetworkElement"/>
    <layer:bandwidth rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">20000000</layer:bandwidth>
    <rdf:type rdf:resource="http://geni-orca.renci.org/owl/topology.owl#NetworkConnection"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://geni-orca.renci.org/owl/2232034b-63df-47bf-a4a1-9157fe33f5d1#">
    <collections:element rdf:resource="http://geni-orca.renci.org/owl/2232034b-63df-47bf-a4a1-9157fe33f5d1#Link2"/>
    <collections:element rdf:resource="http://geni-orca.renci.org/owl/2232034b-63df-47bf-a4a1-9157fe33f5d1#StitchPort0"/>
    <collections:element rdf:resource="http://geni-orca.renci.org/owl/2232034b-63df-47bf-a4a1-9157fe33f5d1#Node0"/>
    <request-schema:hasTerm rdf:resource="http://geni-orca.renci.org/owl/2232034b-63df-47bf-a4a1-9157fe33f5d1#Term"/>
    <rdf:type rdf:resource="http://geni-orca.renci.org/owl/request.owl#Reservation"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://geni-orca.renci.org/owl/2232034b-63df-47bf-a4a1-9157fe33f5d1#Link2-Node0-ip-192-168-1-1">
    <ip4:netmask>255.255.255.0</ip4:netmask>
    <layer:label_ID>192.168.1.1</layer:label_ID>
    <rdf:type rdf:resource="http://geni-orca.renci.org/owl/ip4.owl#IPAddress"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://geni-orca.renci.org/owl/pscvmsite.rdf#pscvmsite/Domain">
    <rdf:type rdf:resource="http://geni-orca.renci.org/owl/topology.owl#NetworkDomain"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://geni-orca.renci.org/owl/2232034b-63df-47bf-a4a1-9157fe33f5d1#Debian+6+%28squeeze%29+v1.0.10">
    <topology:hasURL>http://geni-images.renci.org/images/standard/debian/deb6.v1.0.10.xml</topology:hasURL>
    <topology:hasGUID>c120b9d79d3f3882114c0e59cce14f671ef9b0db</topology:hasGUID>
    <rdf:type rdf:resource="http://geni-orca.renci.org/owl/compute.owl#DiskImage"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://geni-orca.renci.org/owl/2232034b-63df-47bf-a4a1-9157fe33f5d1#TermDuration">
    <time:days rdf:datatype="http://www.w3.org/2001/XMLSchema#decimal">1</time:days>
    <rdf:type rdf:resource="http://www.w3.org/2006/time#DurationDescription"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://geni-orca.renci.org/owl/pscNet.rdf#PSCNet/IBM/G8264/TenGigabitEthernet/1/1/ethernet">
    <ethernet:Tagged-Ethernet rdf:resource="http://geni-orca.renci.org/owl/pscNet.rdf#PSCNet/IBM/G8264/TenGigabitEthernet/1/1/ethernet/3987"/>
    <rdf:type rdf:resource="http://geni-orca.renci.org/owl/topology.owl#Interface"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://geni-orca.renci.org/owl/2232034b-63df-47bf-a4a1-9157fe33f5d1#Node0">
    <topology:hasInterface rdf:resource="http://geni-orca.renci.org/owl/2232034b-63df-47bf-a4a1-9157fe33f5d1#Link2-Node0"/>
    <request-schema:inDomain rdf:resource="http://geni-orca.renci.org/owl/pscvmsite.rdf#pscvmsite/Domain"/>
    <compute:diskImage rdf:resource="http://geni-orca.renci.org/owl/2232034b-63df-47bf-a4a1-9157fe33f5d1#Debian+6+%28squeeze%29+v1.0.10"/>
    <compute:specificCE rdf:resource="http://geni-orca.renci.org/owl/exogeni.owl#XOSmall"/>
    <domain:hasResourceType rdf:resource="http://geni-orca.renci.org/owl/compute.owl#VM"/>
    <rdf:type rdf:resource="http://geni-orca.renci.org/owl/compute.owl#ComputeElement"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://geni-orca.renci.org/owl/2232034b-63df-47bf-a4a1-9157fe33f5d1#Label-3987">
    <layer:label_ID>3987</layer:label_ID>
    <rdf:type rdf:resource="http://geni-orca.renci.org/owl/layer.owl#Label"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://geni-orca.renci.org/owl/2232034b-63df-47bf-a4a1-9157fe33f5d1#Term">
    <time:hasDurationDescription rdf:resource="http://geni-orca.renci.org/owl/2232034b-63df-47bf-a4a1-9157fe33f5d1#TermDuration"/>
    <rdf:type rdf:resource="http://www.w3.org/2006/time#Interval"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://geni-orca.renci.org/owl/2232034b-63df-47bf-a4a1-9157fe33f5d1#StitchPort0">
    <topology:hasInterface rdf:resource="http://geni-orca.renci.org/owl/pscNet.rdf#PSCNet/IBM/G8264/TenGigabitEthernet/1/1/ethernet/3987"/>
    <request-schema:inDomain rdf:resource="http://geni-orca.renci.org/owl/orca.rdf#Stitching/Domain"/>
    <rdf:type rdf:resource="http://geni-orca.renci.org/owl/topology.owl#Device"/>
  </rdf:Description>
</rdf:RDF>