= !DiCloud Evaluation = The [wiki:DICLOUD DiCloud] project delivered an integration milestone with [wiki:GushProto GUSH] supporting access to [wiki:ORCABEN ORCA] resources. Instructions were fom the GUSH [http://gush.cs.williams.edu/trac/gush/wiki/OrcaExample Orca Example] page which walks through a scenario that uses ORCA, ProtoGENI and !PlanetLab resources. Evaluation Time Frame: October 19, 2011 and November 18, 2011 = !DiCloud Findings = Initially ran into 2 problems accessing the ORCA aggregate, in particular one problem was in the RSPEC to NDL converter. This component is being modified for GEC12, RENCI folks suggested that GIR evaluation be postponed to after GEC12. After GEC12, used GUSH revision 166 to set up a slice with resources, but had to update GUSH revision 167 due to changes made to accommodate ORCA. The changes in Gush revision 166, were not sufficient, GUSH fails while parsing sliver information upon startup...waiting for resoulution. Also GUSH is not able to able to get a listresources for the ORCA aggregate. = !DiCloud How-to = '''November 18, 2011 Evaluation''' [[BR]] Using the following omni_config: {{{ [omni] users = lnevers [lnevers] urn = urn:publicid:IDN+emulab.net+user+lnevers keys=~/.ssh/id_rsa.pub [pg] type=pg ch = https://www.emulab.net:443/protogeni/xmlrpc/ch sa = https://www.emulab.net:443/protogeni/xmlrpc/sa cert = ~/.ssl/protogeni/encrypted-cleartext.pem key = ~/.ssl/protogeni/encrypted-cleartext.pem }}} and the following directory.xml: {{{ }}} Created a slice with ORCA resources: {{{ $ helper-scripts/handle-geni.py -n -f pg -a https://www.emulab.net/protogeni/xmlrpc/am createslice gush-orca-ln INFO:omni:Loading config file omni_config INFO:omni:Using control framework pg Created slice with Name gush-orca-ln, URN urn:publicid:IDN+emulab.net+slice+gush-orca-ln $ helper-scripts/handle-geni.py -n -f pg -a https://geni.renci.org:11443/orca/xm.rspec createsliver gush-orca-ln orca INFO:omni:Loading config file omni_config INFO:omni:Using control framework pg Asked https://geni.renci.org:11443/orca/xmlrpc to reserve resources. Result: Request id: 7ad19305-79e3-460d-8d8b-80b59efde6d3 [ Slice UID: b90bfe5f-31c6-4d84-9f8d-c8f28106cb9c | Reservation UID: 824f9da8-1a91-4eec-9bbe-55b4e14198d1 | Resource Type: dukevmsite.vm | Resource Units: 1 ] [ Slice UID: b90bfe5f-31c6-4d84-9f8d-c8f28106cb9c | Reservation UID: 3d4c342e-2d2b-4c86-b0cc-313a5b82f1b2 | Resource Type: dukevmsite.vm | Resource Units: 1 ] [ Slice UID: b90bfe5f-31c6-4d84-9f8d-c8f28106cb9c | Reservation UID: 8a863cfe-1be7-4776-9591-f8a35af76610 | Resource Type: dukevmsite.vlan | Resource Units: 1 ] $ }}} Verified resources availability: {{{ $ helper-scripts/handle-geni.py -n -f pg -a https://geni.renci.org:11443/orca/xmlrpc sliverstatus gush-orca-ln INFO:omni:Loading config file omni_config INFO:omni:Using control framework pg INFO:omni:Sliver at https://geni.renci.org:11443/orca/xmlrpc: "> 99999 }}} Started GUSH to manage nodes: {{{ $ ./gush -P 15555 gush> Gush has learned about the slice gush-orca-ln. Updated information on the slice gush-orca-ln is available. gush> connect root@152.3.144.103:11400 Error: Could not find any hosts matching the given string. gush> info nodes There are 0 known nodes: gush> quit }}} Note: The problem above may be due to a parsing error for the slice information, waiting on resolution. '''October 18 Evaluation''' [[BR]] Defined the omni_config setting to access the aggregates: {{{ [omni] users = lnevers [plc] type=sfa authority=plc.bbn user=plc.bbn.lnevers cert=~/.gcf/plc.bbn.lnevers.gid key=~/.gcf/lnevers.pkey registry=http://www.planet-lab.org:12345 slicemgr=http://www.planet-lab.org:12347 [pg] type=pg ch = https://www.emulab.net:443/protogeni/xmlrpc/ch sa = https://www.emulab.net:443/protogeni/xmlrpc/sa cert = ~/.ssl/protogeni/encrypted-cleartext.pem key = ~/.ssl/protogeni/encrypted-cleartext.pem [lnevers] urn = urn:publicid:IDN+emulab.net+user+lnevers keys=~/.ssh/id_rsa.pub }}} Defined the directory.xml for each of the !PlanetLab, ProtoGENI, and ORCA resource managers: {{{ }}} Created a slice for the experiment: {{{ $ helper-scripts/handle-geni.py -n -f pg -a https://www.emulab.net/protogeni/xmlrpc/am createslice gush-orca-gir INFO:omni:Loading config file omni_config INFO:omni:Using control framework pg Created slice with Name gush-orca-gir, URN urn:publicid:IDN+emulab.net+slice+gush-orca-gir }}} Defined an ORCA rspec file named orca.rpec: {{{ }}} Created a sliver with the GUSH handle-geni.py script: {{{ $ helper-scripts/handle-geni.py -n -f pg -a https://geni.renci.org:11443/orca/xmlrpc createsliver gush-orca-gir orca.rspec INFO:omni:Loading config file omni_config INFO:omni:Using control framework pg Asked https://geni.renci.org:11443/orca/xmlrpc to reserve resources. Result: Request id: 0f107a55-e551-437d-ba74-596cdf805870 [ Slice UID: 75fa10a8-4eeb-4425-ae22-b23356ba7c99 | Reservation UID: 259e7c3c-8f2c-42c5-a05e-c20d13318ee6 | Resource Type: acisrencivmsite.vm | Resource Units: 1 ] [ Slice UID: 75fa10a8-4eeb-4425-ae22-b23356ba7c99 | Reservation UID: c491d907-c2e0-432c-a769-2312f68362bd | Resource Type: acisrencivmsite.vm | Resource Units: 1 ] [ Slice UID: 75fa10a8-4eeb-4425-ae22-b23356ba7c99 | Reservation UID: 856481d6-5cca-4de9-a002-6474611e1671 | Resource Type: acisrencivmsite.vlan | Resource Units: 1 ] }}} Verified the sliver status: {{{ $ helper-scripts/handle-geni.py -n -f pg -a https://geni.renci.org:11443/orca/xmlrpc sliverstatus gush-orca-gir INFO:omni:Loading config file omni_config INFO:omni:Using control framework pg INFO:omni:Sliver at https://geni.renci.org:11443/orca/xmlrpc: "> 99999 }}} ''Note: Expiration time 99999 needs explanation.'' Brought up gush to connect to ORCA slice gush-orca-gir, but it fails {{{ $ ./gush -P 15555 gush> Gush has learned about the slice gush-orca-ln. An error occurred when updating information on the slice/user gush-orca-ln. }}}