wiki:GENIRacksHome/ExogeniRacks/AggregateSurvey

Version 73 (modified by lnevers@bbn.com, 12 years ago) (diff)

--

This page was last updated 2012-05-08 and is out of date.
See the ExoGENI Racks Project page for current information.

ExoGENI Aggregates Survey

This page captures the current state of the ExoGENI Aggregate Manager functions using pgeni.gpolab.bbn.com credentials and GCF 1.6.1 captured. Each survey includes:

  1. GPO Development team analysis of survey results.
  2. Results from the GENI AM API Acceptance Tests
  3. Experiment using Omni commands.

Status 05/08/2012

Re-executed most of the survey tests and overall the survey did not run into the "unknown slice error" which was the most common failure last week. Also verified the state of the tickets reported last week and updated tickets to reflect status.

  • 5 node linear topology
  • 4 VMs ring topology with IP addresses (OK) without IP addresses (ticket 14)
  • 2 VMs on lan1, 2 VMs on lan2, and one host from each group connected to lan3 ( ok )
    • 2 VM (2 at BBN ExoGENI rack) (OK)
    • 2 VM 1 at BBN ExoGENI rack and 1 at RENCI ExoGENI. ( OK)
    • 1 VM with no interface and no link (ok)
    • 1 VM with interface but no link. (ticket 8)

Also re-executed AM API acceptance test and found that results are same as 05/02/2012, and (ticket15] is still an issue.

Status 05/03/2012

AM API Acceptance tests

One issue remains which finds that requested component_if in manifest does not match the requested component_id in the request RSpec (ticket15]. Following is a capture of the failure:

$ ./am_api_accept.py -a am-undertest -V 2 --debug --ProtoGENIv2 --un-bound
F.F..........
======================================================================
FAIL: test_CreateSliver: Passes if the sliver creation workflow succeeds.  Use --rspec-file to replace the default request RSpec.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./am_api_accept.py", line 612, in test_CreateSliver
    self.subtest_CreateSliverWorkflow()
  File "./am_api_accept.py", line 683, in subtest_CreateSliverWorkflow
    "but did not." % slicename)
  File "/home/lnevers/gcf-1.6.1-mod1/src/omni_unittest.py", line 161, in assertClientIDsEqual
    raise NotEqualClientIDsError, msg
NotEqualClientIDsError: Request RSpec and Manifest RSpec returned by 'ListResources' on slice 'acclne-154406' expected to have same client_ids but did not.

======================================================================
FAIL: test_CreateSliverWorkflow_multiSlice: Do CreateSliver workflow with multiple slices and ensure can not do ListResources on slices with the wrong credential.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./am_api_accept.py", line 977, in test_CreateSliverWorkflow_multiSlice
    "but did not." % slicenames[i])
  File "/home/lnevers/gcf-1.6.1-mod1/src/omni_unittest.py", line 161, in assertClientIDsEqual
    raise NotEqualClientIDsError, msg
NotEqualClientIDsError: Request RSpec and Manifest RSpec returned by 'ListResources' on slice 'acclne-1545040' expected to have same client_ids but did not.
----------------------------------------------------------------------
Ran 13 tests in 278.409s
FAILED (failures=2)

Experiment using Omni

  • 3 VMs on lan1, 3 VMs on lan2, and one host from each group connected to Lan3 (ticket 9)
  • 2 VMs on lan1, 2 VMs on lan2, and one host from each group connected to lan3 (ok)
  • 4 VM ring topology with no IP specified (ticket 14)
  • 4 VM ring topology with IP specified (ticket 14)
  • 4 VM nodes with 1 shared link_type lan (ticket 14)
  • 3 VM nodes with 1 shared link_type lan (ticket 9)
  • 2 VM nodes with 1 shared link_type lan (ticket 9)
  • 1 VM with interface but no link. (ticket 8)
  • 1 VM at BBN ExoGENI rack and 1 at RENCI ExoGENI. (ok)

Status 04/30/2012

AM API Acceptance tests

Current run reports 2 failures this is an improvement since the 04/25/2012 (failures=2, errors=3)

$ ./am_api_accept.py -a am-undertest -V 2 --debug --ProtoGENIv2
F.F..........
======================================================================
FAIL: test_CreateSliver: Passes if the sliver creation workflow succeeds.  Use --rspec-file to replace the default request RSpec.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./am_api_accept.py", line 625, in test_CreateSliver
    self.subtest_CreateSliverWorkflow()
  File "./am_api_accept.py", line 659, in subtest_CreateSliverWorkflow
    self.assertRspecType( request, 'request')
  File "/home/lnevers/gcf-1.6.1/src/omni_unittest.py", line 165, in assertRspecType
    raise WrongRspecType, msg
WrongRspecType: RSpec expected to have type 'request' but schema was not correct.

======================================================================
FAIL: test_CreateSliverWorkflow_multiSlice: Do CreateSliver workflow with multiple slices and ensure can not do ListResources on slices with the wrong credential.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./am_api_accept.py", line 935, in test_CreateSliverWorkflow_multiSlice
    self.assertRspecType( "".join(request[i]), 'request')
  File "/home/lnevers/gcf-1.6.1/src/omni_unittest.py", line 165, in assertRspecType
    raise WrongRspecType, msg
WrongRspecType: RSpec expected to have type 'request' but schema was not correct.

----------------------------------------------------------------------
Ran 13 tests in 289.870s

FAILED (failures=2)

Acceptance test log is attached [xxx here]

Experiments using Omni

Ran a new experiment with 2 node and a shared specified capacity link. No problems were found. This is in addition to the experiments that were run successfully on 2012-04-25.

Status 04/25/2012

GPO Dev Team Analysis

Status update on AM API issues listed in the section below:

The following are old issues which are resolved, note the numbering is *NOT* from the ticket system

1 ListResources at ExoSM returns multiple advertisement RSpecs. This is neither valid XML nor valid RSpec.
2 ExoGENI advertises RSpec GENI v3 support in GetVersion, but the RSpecs (ad & manifest) are ProtoGENI v2. Make the RSpecs use the GENI v3 schema. (As a fallback, change the GetVersion return).
3 Missing schemaLocation declarations for all used schemas
4 All Ad & manifest RSpecs must pass rspeclint, but currently do not.
5 GetVersion: The top-level (parallel to code and value) is missing a geni_api entry. Without this entry AM API v1 clients can't discover why they can't talk to this aggregate.
6 SliverStatus: Return at least a geni_resources entry that is empty, if not including all contained slivers.
8 ListResources does not handle the geni_compressed flag properly. The return value is always compressed, even if geni_compressed is set to False.

AM API Acceptance Tests

Using the RSpec from the previous survey was not able to run the test with the same options as on 04/25/2012. The AM API acceptance test defaults to RSpec V3 while the RSpec I had been using were V2. This mismatch was not reported as a problem last time, but now seems to cause all 13 tests to fail. If interested in this mismatched RSpec versions scenario, see the command output and the log for details.

Re-run acceptance test with the new argument "--ProtoGENIv2" for the V2 RSpecs:

$ ./am_api_accept.py -a am-undertest -V 2 --debug --ProtoGENIv2
F.F....E..EE.
======================================================================
ERROR: test_ListResources: Passes if 'ListResources' returns an advertisement RSpec.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./am_api_accept.py", line 328, in test_ListResources
    self.subtest_ListResources()
  File "./am_api_accept.py", line 607, in subtest_ListResources
    self.assertRspecType( rspec, 'advertisement', typeOnly=typeOnly)
  File "/home/lnevers/gcf-1.6.1/src/omni_unittest.py", line 161, in assertRspecType
    if not rspec_util.is_rspec_of_type( rspec, type=type, version=version, typeOnly=typeOnly ):
  File "/home/lnevers/gcf-1.6.1/src/geni/util/rspec_util.py", line 110, in is_rspec_of_type
    if actual_type.lower() != type.lower():
AttributeError: 'NoneType' object has no attribute 'lower'

======================================================================
ERROR: test_ListResources_geni_available: Passes if 'ListResources' returns an advertisement RSpec.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./am_api_accept.py", line 342, in test_ListResources_geni_available
    self.subtest_ListResources()
  File "./am_api_accept.py", line 607, in subtest_ListResources
    self.assertRspecType( rspec, 'advertisement', typeOnly=typeOnly)
  File "/home/lnevers/gcf-1.6.1/src/omni_unittest.py", line 161, in assertRspecType
    if not rspec_util.is_rspec_of_type( rspec, type=type, version=version, typeOnly=typeOnly ):
  File "/home/lnevers/gcf-1.6.1/src/geni/util/rspec_util.py", line 110, in is_rspec_of_type
    if actual_type.lower() != type.lower():
AttributeError: 'NoneType' object has no attribute 'lower'

======================================================================
ERROR: test_ListResources_geni_compressed: Passes if 'ListResources' returns an advertisement RSpec.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./am_api_accept.py", line 335, in test_ListResources_geni_compressed
    self.subtest_ListResources()
  File "./am_api_accept.py", line 607, in subtest_ListResources
    self.assertRspecType( rspec, 'advertisement', typeOnly=typeOnly)
  File "/home/lnevers/gcf-1.6.1/src/omni_unittest.py", line 161, in assertRspecType
    if not rspec_util.is_rspec_of_type( rspec, type=type, version=version, typeOnly=typeOnly ):
  File "/home/lnevers/gcf-1.6.1/src/geni/util/rspec_util.py", line 110, in is_rspec_of_type
    if actual_type.lower() != type.lower():
AttributeError: 'NoneType' object has no attribute 'lower'

======================================================================
FAIL: test_CreateSliver: Passes if the sliver creation workflow succeeds.  Use --rspec-file to replace the default request RSpec.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./am_api_accept.py", line 625, in test_CreateSliver
    self.subtest_CreateSliverWorkflow()
  File "./am_api_accept.py", line 659, in subtest_CreateSliverWorkflow
    self.assertRspecType( request, 'request')
  File "/home/lnevers/gcf-1.6.1/src/omni_unittest.py", line 165, in assertRspecType
    raise WrongRspecType, msg
WrongRspecType: RSpec expected to have type 'request' but schema was not correct.

======================================================================
FAIL: test_CreateSliverWorkflow_multiSlice: Do CreateSliver workflow with multiple slices and ensure can not do ListResources on slices with the wrong credential.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./am_api_accept.py", line 935, in test_CreateSliverWorkflow_multiSlice
    self.assertRspecType( "".join(request[i]), 'request')
  File "/home/lnevers/gcf-1.6.1/src/omni_unittest.py", line 165, in assertRspecType
    raise WrongRspecType, msg
WrongRspecType: RSpec expected to have type 'request' but schema was not correct.

----------------------------------------------------------------------
Ran 13 tests in 319.353s

FAILED (failures=2, errors=3)

The acceptance test log for the 2 failures and 3 errors is attached as exogeni-log-20120425-1.txt.

Experiments with Omni Commands

Ran several experiments using various combinations of aggregates and hosts, only one very minor issue was found relating to requesting resources at the wrong component manager, see ticket ticket 2 for details. Following are the Experiments that were tested:

  1. Set up a 2 nodes (1@BBN, 1@RENCI) experiment using the ExoSM (https://geni.renci.org:11443/orca/xmlrpc) only. Same RSpec as previous survey (04/11/2012). This experiment worked as expected. Two nodes were allocated and the requested addresses were configured on the hosts with the requested link. Verified connectivity between the two hosts by running ping concurrently on each host in each direction for 10 minutes.
  1. Set up a 2 nodes (1@BBN, 1@RENCI) experiment using the BBN SM (https://bbn-hn.exogeni.gpolab.bbn.com:11443/orca/xmlrpc) for the local resources and the ExoSM (https://geni.renci.org:11443/orca/xmlrpc) at RENCI. Requested addresses for nodes, but no link. Worked as expected.
  1. Set up a 2 nodes (1@BBN, 1@RENCI) experiment using RENCI ExoSM (https://geni.renci.org:11443/orca/xmlrpc). Requested addresses for nodes, but no link. Worked as expected.
  1. Created a 2 node (2@BBN) experiment using BBN SM (https://bbn-hn.exogeni.gpolab.bbn.com:11443/orca/xmlrpc). See RSpec [here]. This experiment worked as expected. Two nodes were allocated and the requested addresses were configured on the hosts with the requested link. Verified connectivity.
  1. Created a 2 node (2@RENCI) experiment using RENCI SM (https://bbn-hn.exogeni.gpolab.bbn.com:11443/orca/xmlrpc). See RSpec [here]. This experiment worked as expected. Two nodes were allocated and the requested addresses were configured on the hosts with the requested link. Verified connectivity.

List Resources

Ran list resources at each of the 3 aggregates:

 $ ./src/omni.py -a https://bbn-hn.exogeni.net:11443/orca/xmlrpc listresources -o   # BBN rack SM
 $ ./src/omni.py -a https://rci-hn.exogeni.net:11443/orca/xmlrpc listresources -o  # RENCI rack SM
 $ ./src/omni.py -a  https://geni.renci.org:11443/orca/xmlrpc listresources -o     # ExoGENI SM

List resources output file attached as rspec-bbn-hn-exogeni-net-11443-orca-20120425.xml, rspec-rci-hn-exogeni-net-11443-orca-20120425.xml and rspec-geni-renci-org-11443-orca-20120425.xml.

Get Version

Verified fallback changed to get version showing that RSpec V3 is not supported:

$ ./src/omni.py -a https://bbn-hn.exogeni.gpolab.bbn.com:11443/orca/xmlrpc getversion       INFO:omni:Loading config file omni_config
INFO:omni:Using control framework pgeni
INFO:omni:AM URN: unspecified_AM_URN (url: https://bbn-hn.exogeni.gpolab.bbn.com:11443/orca/xmlrpc) has version:
INFO:omni:{   'code': {   'geni_code': 0},
    'geni_api': 2,
    'value': {   'geni_ad_rspec_versions': [   {   'extensions': [   'http://hpn.east.isi.edu/rspec/ext/stitch/0.1/stitch-schema.xsd',
                                                                     'http://www.protogeni.net/resources/rspec/ext/emulab/1/ptop_extension.xsd'],
                                                   'namespace': 'http://www.protogeni.net/resources/rspec/2',
                                                   'schema': 'http://www.protogeni.net/resources/rspec/2/ad.xsd',
                                                   'type': 'ProtoGENI',
                                                   'version': '2'}],
                 'geni_api': 2,
                 'geni_api_versions': {   '1': 'https://geni.renci.org:11443/orca/xmlrpc/geniV1',
                                          '2': 'https://geni.renci.org:11443/orca/xmlrpc/geni'},
                 'geni_request_rspec_versions': [   {   'extensions': [],
                                                        'namespace': 'http://www.protogeni.net/resources/rspec/2',
                                                        'schema': 'http://www.protogeni.net/resources/rspec/2/request.xsd',
                                                        'type': 'ProtoGENI',
                                                        'version': '2'}]}}
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed getversion:
  Options as run:
		aggregate: https://bbn-hn.exogeni.gpolab.bbn.com:11443/orca/xmlrpc
		framework: pgeni
		native: True

  Args: getversion
  Result Summary: 
Got version for 1 out of 1 aggregates
INFO:omni: ============================================================

Create slice, sliver and sliver status

lnevers@sendaria:~/gcf-1.6.1$ ./src/omni.py createslice lnexo11                                         
INFO:omni:Loading config file omni_config
INFO:omni:Using control framework pgeni
INFO:omni:Created slice with Name lnexo11, URN urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnexo11, Expiration 2012-04-26 03:02:49+00:00
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed createslice:

  Options as run:
		framework: pgeni
		native: True

  Args: createslice lnexo11

  Result Summary: Created slice with Name lnexo11, URN urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnexo11, Expiration 2012-04-26 03:02:49+00:00
 
INFO:omni: ============================================================
lnevers@sendaria:~/gcf-1.6.1$ ./src/omni.py -a https://bbn-hn.exogeni.net:11443/orca/xmlrpc createsliver lnexo11 ./orca-2site-2bbn.rspec 
INFO:omni:Loading config file omni_config
INFO:omni:Using control framework pgeni
INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnexo11 expires within 1 day on 2012-04-26 03:02:49 UTC
INFO:omni:Creating sliver(s) from rspec file ./orca-2site-2bbn.rspec for slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnexo11
INFO:omni:Asked https://bbn-hn.exogeni.net:11443/orca/xmlrpc to reserve resources. Result:
INFO:omni:<?xml version="1.0" ?>
INFO:omni:<!-- Reserved resources for:
	Slice: lnexo11
	At AM:
	URL: https://bbn-hn.exogeni.net:11443/orca/xmlrpc
 -->
INFO:omni:
<rspec type="manifest" xmlns="http://www.protogeni.net/resources/rspec/2" xmlns:ns2="http://hpn.east.isi.edu/rspec/ext/stitch/0.1/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.protogeni.net/resources/rspec/2 http://www.protogeni.net/resources/rspec/2/manifest.xsd http://hpn.east.isi.edu/rspec/ext/stitch/0.1/ http://hpn.east.isi.edu/rspec/ext/stitch/0.1/stitch-schema.xsd">  
      <node client_id="f5ccf9e5-8993-4a7d-b734-6f4a9b516622#geni1" component_id="urn:publicid:IDN+geni-orca.renci.org+bbnvmsite.rdf#bbnvmsite/Domain" exclusive="true" sliver_id="urn:publicid:IDN+geni-orca.renci.org+sliver+urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnexo11+f5ccf9e5-8993-4a7d-b734-6f4a9b516622#geni1">    
            <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>    
            <services/>    
            <interface client_id="f5ccf9e5-8993-4a7d-b734-6f4a9b516622#geni1:if1"/>    
      </node>  
      <node client_id="f5ccf9e5-8993-4a7d-b734-6f4a9b516622#geni2" component_id="urn:publicid:IDN+geni-orca.renci.org+bbnvmsite.rdf#bbnvmsite/Domain" exclusive="true" sliver_id="urn:publicid:IDN+geni-orca.renci.org+sliver+urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnexo11+f5ccf9e5-8993-4a7d-b734-6f4a9b516622#geni2">    
            <sliver_type name="m1.large">      
                  <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>    
            <services/>    
            <interface client_id="f5ccf9e5-8993-4a7d-b734-6f4a9b516622#geni2:if1"/>    
      </node>  
      <link client_id="f5ccf9e5-8993-4a7d-b734-6f4a9b516622#center" sliver_id="urn:publicid:IDN+geni-orca.renci.org+sliver+urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnexo11+f5ccf9e5-8993-4a7d-b734-6f4a9b516622#center">    
            <interface_ref client_id="f5ccf9e5-8993-4a7d-b734-6f4a9b516622#geni1:if1"/>    
            <interface_ref client_id="f5ccf9e5-8993-4a7d-b734-6f4a9b516622#geni2:if1"/>    
      </link>  
      <ns2:stitching xsi:nil="true"/>  
</rspec>
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed createsliver:

  Options as run:
		aggregate: https://bbn-hn.exogeni.net:11443/orca/xmlrpc
		framework: pgeni
		native: True

  Args: createsliver lnexo11 ./orca-2site-2bbn.rspec

  Result Summary: Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnexo11 expires within 1 day(s) on 2012-04-26 03:02:49 UTC
Reserved resources on https://bbn-hn.exogeni.net:11443/orca/xmlrpc.  
INFO:omni: ============================================================
lnevers@sendaria:~/gcf-1.6.1$ ./src/omni.py -a https://bbn-hn.exogeni.net:11443/orca/xmlrpc sliverstatus lnexo11  INFO:omni:Loading config file omni_config
INFO:omni:Using control framework pgeni
INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnexo11 expires within 1 day on 2012-04-26 03:02:49 UTC
INFO:omni:Status of Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnexo11:
INFO:omni:Sliver status for Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnexo11 at AM URL https://bbn-hn.exogeni.net:11443/orca/xmlrpc
INFO:omni:{'geni_resources': '',
 'geni_status': 'ready',
 'geni_urn': 'urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnexo11'}
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed sliverstatus:

  Options as run:
		aggregate: https://bbn-hn.exogeni.net:11443/orca/xmlrpc
		framework: pgeni
		native: True

  Args: sliverstatus lnexo11

  Result Summary: Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnexo11 expires within 1 day(s) on 2012-04-26 03:02:49 UTC
Returned status of slivers on 1 of 1 possible aggregates. 
INFO:omni: ============================================================

Also ran the following:

Status 04/11/2012

AM API acceptance tests status: This run reported 4 failures and 2 errors, which is different than the previous survey which reported 6 failures. Waiting for software updates to verify resolution of issues listed in the 03/20/2012 status section.

Experiment status: Several issues were encountered in trying to set up a simple 2 site experiment with one node at BBN and one node at RENCI. Issues encountered are listed in Experiment with Omni commands section. Most issues were resolved at the time of the experiment, one issues from the experiment seemed critical, the issue that causes OpenFlow Switches to crash with minimal amounts of traffic.

GPO Dev Team Analysis

The issues reported by the AM API acceptance test are related to critical or major items that were reported to the ExoGENI team at the 04/11/2012 conference call. Waiting for software update to verify resolution of the AM API acceptance test failures. Individual issues a listed in the 03/20/2012 status section.

AM API Acceptance Tests

The AM API acceptance test reported 4 failure and 2 errors. This is different than the previous survey which showed 6 failures, need GPO Development team analysis for the AM API results.

lnevers@sendaria:~/gcf-1.6.1/acceptance_tests/AM_API$ ./am_api_accept.py -a am-undertest -V 2 --debug
F.F...FE..ENot wellformed XML:  not well-formed (invalid token): line 1, column 16
F.
======================================================================
ERROR: test_ListResources: Passes if 'ListResources' returns an advertisement RSpec.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./am_api_accept.py", line 328, in test_ListResources
    self.subtest_ListResources()
  File "./am_api_accept.py", line 607, in subtest_ListResources
    self.assertRspecType( rspec, 'advertisement', typeOnly=typeOnly)
  File "/home/lnevers/gcf-1.6.1/src/omni_unittest.py", line 161, in assertRspecType
    if not rspec_util.is_rspec_of_type( rspec, type=type, version=version, typeOnly=typeOnly ):
  File "/home/lnevers/gcf-1.6.1/src/geni/util/rspec_util.py", line 110, in is_rspec_of_type
    if actual_type.lower() != type.lower():
AttributeError: 'NoneType' object has no attribute 'lower'

======================================================================
ERROR: test_ListResources_geni_available: Passes if 'ListResources' returns an advertisement RSpec.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./am_api_accept.py", line 342, in test_ListResources_geni_available
    self.subtest_ListResources()
  File "./am_api_accept.py", line 607, in subtest_ListResources
    self.assertRspecType( rspec, 'advertisement', typeOnly=typeOnly)
  File "/home/lnevers/gcf-1.6.1/src/omni_unittest.py", line 161, in assertRspecType
    if not rspec_util.is_rspec_of_type( rspec, type=type, version=version, typeOnly=typeOnly ):
  File "/home/lnevers/gcf-1.6.1/src/geni/util/rspec_util.py", line 110, in is_rspec_of_type
    if actual_type.lower() != type.lower():
AttributeError: 'NoneType' object has no attribute 'lower'

======================================================================
FAIL: test_CreateSliver: Passes if the sliver creation workflow succeeds.  Use --rspec-file to replace the default request RSpec.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./am_api_accept.py", line 625, in test_CreateSliver
    self.subtest_CreateSliverWorkflow()
  File "./am_api_accept.py", line 659, in subtest_CreateSliverWorkflow
    self.assertRspecType( request, 'request')
  File "/home/lnevers/gcf-1.6.1/src/omni_unittest.py", line 165, in assertRspecType
    raise WrongRspecType, msg
WrongRspecType: RSpec expected to have type 'request' but schema was not correct.

======================================================================
FAIL: test_CreateSliverWorkflow_multiSlice: Do CreateSliver workflow with multiple slices and ensure can not do ListResources on slices with the wrong credential.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./am_api_accept.py", line 935, in test_CreateSliverWorkflow_multiSlice
    self.assertRspecType( "".join(request[i]), 'request')
  File "/home/lnevers/gcf-1.6.1/src/omni_unittest.py", line 165, in assertRspecType
    raise WrongRspecType, msg
WrongRspecType: RSpec expected to have type 'request' but schema was not correct.

======================================================================
FAIL: test_GetVersion: Passes if a 'GetVersion' returns an XMLRPC struct containing 'geni_api' and other parameters defined in Change Set A.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./am_api_accept.py", line 271, in test_GetVersion
    self.assertKeyValueType( 'GetVersion', agg, vers, 'extensions', type([]) )
  File "/home/lnevers/gcf-1.6.1/src/omni_unittest.py", line 208, in assertKeyValueType
    % (method, aggName, key, str(dictionary)))
AssertionError: Return from 'GetVersion' at https://geni.renci.org:11443/orca/xmlrpc expected to have entry 'extensions' but instead returned: 
{'namespace': 'http://www.protogeni.net/resources/rspec/2', 'version': '3', 'type': 'GENI', 'schema': 'http://www.protogeni.net/resources/rspec/2/request.xsd'}
... edited for length ...

======================================================================
FAIL: test_ListResources_geni_compressed: Passes if 'ListResources' returns an advertisement RSpec.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./am_api_accept.py", line 335, in test_ListResources_geni_compressed
    self.subtest_ListResources()
  File "./am_api_accept.py", line 602, in subtest_ListResources
    % (agg_name, rspec[:100]))
AssertionError: Return from 'ListResources' at aggregate 'unspecified_AM_URN' expected to be XML but instead returned: 
eAHsvWtv2zoWLvz9/Aoj820yjm9J2hhND9o0b2cPuoONXmZeYDAoFFtxhDpyIDu9/PvDi7hESqREUZTsVCsFasu2SGot8llXLr76
... edited for length ...

----------------------------------------------------------------------
Ran 13 tests in 341.524s

FAILED (failures=4, errors=2)

The acceptance test log for this test run is attached as exogeni-log-20120411.txt

Experiment with Omni Commands

The following section capture a two node experiment (one at RENCI one at BBN). Several tries were required to get the two VMs (one per rack) up and exchanging traffic. In the various attempts there were various issues:

  • Ran into a couple of NDL converter problems
  • Some information about a slice seemed to be cached somewhere in the environment which caused some stale state information to interfere with the experiment. Had to create a new slice and sliver to get around this provlem.
  • When the experiment was eventually set up, the nodes were not able to communicate due to an OpenFlow switch problem that required a reboot. This failure occurred twice.

List Resources

The output from the listresources was reviewed to write the RSpec for a two ExoGENI sites (BBN and RENCI) experiment. Minor Issue: At first, not sure which is the RENCI Component manager ID for the RENCI ExoGENI. This is the list of potential choices: acisrencivmsite, bbnvmsite,dukevmsite, nerscvmsite, uhoustonvmsite, rcivmsite, uncvmsite. The naming does not clearly identify the ExoGENI racks. The RENCI ExoGENI rack is rcivmsite and the BBN ExoGENI rack is bbnvmsite.

lnevers@sendaria:~/gcf-1.6.1$  ./src/omni.py -a https://geni.renci.org:11443/orca/xmlrpc listresources -o
INFO:omni:Loading config file omni_config
INFO:omni:Using control framework emulab
INFO:omni:Saving output to a file.
INFO:omni:Listed resources on 1 out of 1 possible aggregates.
INFO:omni:Writing to 'rspec-geni-renci-org-11443-orca.xml'
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed listresources:

  Options as run:
		aggregate: https://geni.renci.org:11443/orca/xmlrpc
		framework: emulab
		native: True
		output: True

  Args: listresources

  Result Summary: Retrieved resources from 1 aggregates.
Wrote rspecs from 1 aggregates to 1 files
Saved listresources RSpec at 'unspecified_AM_URN' to file rspec-geni-renci-org-11443-orca.xml; . 
INFO:omni: ============================================================

output attached as rspec-renci-org-11443-orca-20120411.xml

Create Slice

No issues of feedback here. Command output:

./src/omni.py -a  https://geni.renci.org:11443/orca/xmlrpc  -n createslice lnevers6orca
INFO:omni:Loading config file omni_config
INFO:omni:Using control framework emulab
INFO:omni:Created slice with Name lnevers6orca, URN urn:publicid:IDN+emulab.net+slice+lnevers6orca, Expiration 2012-04-12 00:25:14+00:00
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed createslice:
  Options as run:
		aggregate: https://geni.renci.org:11443/orca/xmlrpc
		framework: emulab
		native: True
  Args: createslice lnevers6orca
  Result Summary: Created slice with Name lnevers6orca, URN urn:publicid:IDN+emulab.net+slice+lnevers6orca, Expiration 2012-04-12 00:25:14+00:00
INFO:omni: ============================================================

Note, the sections below are listed in reverse-chronological order with the final attempt listed first.

Create Sliver Try-4

Issue: It seems that re-using the slice name caused for the nodes in the same rack to fail as described in Try-3, so deleted sliver and slice and create a new slice name (lnevers9orca) for the 2 site sliver:

lnevers@sendaria:~/gcf-1.6.1$ ./src/omni.py -a  https://geni.renci.org:11443/orca/xmlrpc  -n createsliver lnevers9orca ./orca-2site.rspec 
INFO:omni:Loading config file omni_config
INFO:omni:Using control framework emulab
INFO:omni:Slice urn:publicid:IDN+emulab.net+slice+lnevers9orca expires within 1 day on 2012-04-12 02:11:47 UTC
INFO:omni:Creating sliver(s) from rspec file ./orca-2site.rspec for slice urn:publicid:IDN+emulab.net+slice+lnevers9orca
INFO:omni:Asked https://geni.renci.org:11443/orca/xmlrpc to reserve resources. Result:
INFO:omni:<?xml version="1.0" ?>
INFO:omni:<!-- Reserved resources for:
	Slice: lnevers9orca
	At AM:
	URL: https://geni.renci.org:11443/orca/xmlrpc
 -->
INFO:omni:
<rspec type="manifest" xmlns="http://www.protogeni.net/resources/rspec/2" xmlns:ns2="http://hpn.east.isi.edu/rspec/ext/stitch/0.1/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.protogeni.net/resources/rspec/2 http://www.protogeni.net/resources/rspec/2/manifest.xsd http://hpn.east.isi.edu/rspec/ext/stitch/0.1/ http://hpn.east.isi.edu/rspec/ext/stitch/0.1/stitch-schema.xsd">  
      <link client_id="3272589c-517e-4bcd-86d1-934e2cfa5669#center">    
            <interface_ref client_id="bbnNet.rdf#BbnNet/IBM/G8052/TenGigabitEthernet/1/1/ethernet"/>    
            <interface_ref client_id="bbnvmsite.rdf#Bbn/ExoGeni/TenGigabitEthernet/1/ethernet"/>    
            <interface_ref client_id="rcivmsite.rdf#Rci/ExoGeni/TenGigabitEthernet/1/ethernet"/>    
            <interface_ref client_id="rciNet.rdf#RciNet/IBM/G8052/TenGigabitEthernet/1/1/ethernet"/>    
      </link>  
      <ns2:stitching>    
            <ns2:path id="3272589c-517e-4bcd-86d1-934e2cfa5669#center">      
                  <ns2:hop id="hop1" type="strict">        
                        <ns2:link id="bbnNet.rdf#bbnNet/Domain/vlan/62ac38ca-6887-41e1-a022-47029cb1d549/vlan">          
                              <ns2:capacity>            0          </ns2:capacity>          
                              <ns2:switchingCapabilityDescriptor>            
                                    <ns2:switchingcapType>              l2sc            </ns2:switchingcapType>            
                                    <ns2:encodingType>              ethernet            </ns2:encodingType>            
                                    <ns2:switchingCapabilitySpecificInfo>              
                                          <ns2:switchingCapabilitySpecificInfo_L2sc/>              
                                    </ns2:switchingCapabilitySpecificInfo>            
                              </ns2:switchingCapabilityDescriptor>          
                        </ns2:link>        
                        <ns2:nextHop>          hop2        </ns2:nextHop>        
                  </ns2:hop>      
                  <ns2:hop id="hop2" type="strict">        
                        <ns2:link id="nlr.rdf#nlr/Domain/vlan/d19cb14f-65b8-4133-a82a-a810651d2000/vlan">          
                              <ns2:capacity>            0          </ns2:capacity>          
                              <ns2:switchingCapabilityDescriptor>            
                                    <ns2:switchingcapType>              l2sc            </ns2:switchingcapType>            
                                    <ns2:encodingType>              ethernet            </ns2:encodingType>            
                                    <ns2:switchingCapabilitySpecificInfo>              
                                          <ns2:switchingCapabilitySpecificInfo_L2sc/>              
                                    </ns2:switchingCapabilitySpecificInfo>            
                              </ns2:switchingCapabilityDescriptor>          
                        </ns2:link>        
                        <ns2:nextHop>          hop3        </ns2:nextHop>        
                  </ns2:hop>      
                  <ns2:hop id="hop3" type="strict">        
                        <ns2:link id="ben.rdf#ben/Domain/vlan/afe97e3c-82d6-4c5f-8f48-df21bbf5e16f/vlan">          
                              <ns2:capacity>            0          </ns2:capacity>          
                              <ns2:switchingCapabilityDescriptor>            
                                    <ns2:switchingcapType>              l2sc            </ns2:switchingcapType>            
                                    <ns2:encodingType>              ethernet            </ns2:encodingType>            
                                    <ns2:switchingCapabilitySpecificInfo>              
                                          <ns2:switchingCapabilitySpecificInfo_L2sc/>              
                                    </ns2:switchingCapabilitySpecificInfo>            
                              </ns2:switchingCapabilityDescriptor>          
                        </ns2:link>        
                        <ns2:nextHop>          hop4        </ns2:nextHop>        
                  </ns2:hop>      
                  <ns2:hop id="hop4" type="strict">        
                        <ns2:link id="rciNet.rdf#rciNet/Domain/vlan/c4a51e17-1312-42ea-af26-11421c6b7f98/vlan">          
                              <ns2:capacity>            0          </ns2:capacity>          
                              <ns2:switchingCapabilityDescriptor>            
                                    <ns2:switchingcapType>              l2sc            </ns2:switchingcapType>            
                                    <ns2:encodingType>              ethernet            </ns2:encodingType>            
                                    <ns2:switchingCapabilitySpecificInfo>              
                                          <ns2:switchingCapabilitySpecificInfo_L2sc/>              
                                    </ns2:switchingCapabilitySpecificInfo>            
                              </ns2:switchingCapabilityDescriptor>          
                        </ns2:link>        
                        <ns2:nextHop>          null        </ns2:nextHop>        
                  </ns2:hop>      
            </ns2:path>    
      </ns2:stitching>  
</rspec>
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed createsliver:
  Options as run:
		aggregate: https://geni.renci.org:11443/orca/xmlrpc
		framework: emulab
		native: True
  Args: createsliver lnevers9orca ./orca-2site.rspec
  Result Summary: Slice urn:publicid:IDN+emulab.net+slice+lnevers9orca expires within 1 day(s) on 2012-04-12 02:11:47 UTC
Reserved resources on https://geni.renci.org:11443/orca/xmlrpc.  
INFO:omni: ============================================================

List Resources for Sliver Try-4

NO issues for this command:

lnevers@sendaria:~/gcf-1.6.1$ ./src/omni.py -a  https://geni.renci.org:11443/orca/xmlrpc  -n listresources  lnevers9orca INFO:omni:Loading config file omni_config
INFO:omni:Using control framework emulab
INFO:omni:Gathering resources reserved for slice lnevers9orca.
INFO:omni:Listed resources on 1 out of 1 possible aggregates.
INFO:omni:<?xml version="1.0" ?>
INFO:omni:<!-- Resources for:
	Slice: lnevers9orca
	at AM:
	URN: unspecified_AM_URN
	URL: https://geni.renci.org:11443/orca/xmlrpc
 -->
INFO:omni:
<rspec type="manifest" xmlns="http://www.protogeni.net/resources/rspec/2" xmlns:ns2="http://hpn.east.isi.edu/rspec/ext/stitch/0.1/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.protogeni.net/resources/rspec/2 http://www.protogeni.net/resources/rspec/2/manifest.xsd http://hpn.east.isi.edu/rspec/ext/stitch/0.1/ http://hpn.east.isi.edu/rspec/ext/stitch/0.1/stitch-schema.xsd">  
      <node client_id="3272589c-517e-4bcd-86d1-934e2cfa5669#geni2" component_id="urn:publicid:IDN+geni-orca.renci.org+rcivmsite.rdf#rcivmsite/Domain" exclusive="true" sliver_id="urn:publicid:IDN+geni-orca.renci.org+sliver+urn:publicid:IDN+emulab.net+slice+lnevers9orca+3272589c-517e-4bcd-86d1-934e2cfa5669#geni2">    
            <sliver_type name="m1.large">      
                  <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>    
            <services>      
                  <login authentication="ssh-keys" hostname="152.54.14.75" port="22" username="root"/>      
            </services>    
            <interface client_id="3272589c-517e-4bcd-86d1-934e2cfa5669#geni2:if1"/>    
            <interface client_id="3272589c-517e-4bcd-86d1-934e2cfa5669#geni2:if2"/>    
      </node>  
      <node client_id="3272589c-517e-4bcd-86d1-934e2cfa5669#geni1" component_id="urn:publicid:IDN+geni-orca.renci.org+bbnvmsite.rdf#bbnvmsite/Domain" exclusive="true" sliver_id="urn:publicid:IDN+geni-orca.renci.org+sliver+urn:publicid:IDN+emulab.net+slice+lnevers9orca+3272589c-517e-4bcd-86d1-934e2cfa5669#geni1">    
            <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>    
            <services>      
                  <login authentication="ssh-keys" hostname="192.1.242.15" port="22" username="root"/>      
            </services>    
            <interface client_id="3272589c-517e-4bcd-86d1-934e2cfa5669#geni1:if1"/>    
            <interface client_id="3272589c-517e-4bcd-86d1-934e2cfa5669#geni1:if2"/>    
      </node>  
      <link client_id="3272589c-517e-4bcd-86d1-934e2cfa5669#center">    
            <interface_ref client_id="bbnNet.rdf#BbnNet/IBM/G8052/TenGigabitEthernet/1/1/ethernet"/>    
            <interface_ref client_id="bbnNet.rdf#BbnNet/IBM/G8052/TenGigabitEthernet/1/0/ethernet"/>    
            <interface_ref client_id="3272589c-517e-4bcd-86d1-934e2cfa5669#geni1:if2"/>    
            <interface_ref client_id="rciNet.rdf#RciNet/IBM/G8052/TenGigabitEthernet/1/0/ethernet"/>    
            <interface_ref client_id="rciNet.rdf#RciNet/IBM/G8052/TenGigabitEthernet/1/1/ethernet"/>    
            <interface_ref client_id="3272589c-517e-4bcd-86d1-934e2cfa5669#geni2:if1"/>    
      </link>  
      <ns2:stitching>    
            <ns2:path id="3272589c-517e-4bcd-86d1-934e2cfa5669#center">      
                  <ns2:hop id="hop1" type="strict">        
                        <ns2:link id="bbnNet.rdf#bbnNet/Domain/vlan/62ac38ca-6887-41e1-a022-47029cb1d549/vlan">          
                              <ns2:capacity>            0          </ns2:capacity>          
                              <ns2:switchingCapabilityDescriptor>            
                                    <ns2:switchingcapType>              l2sc            </ns2:switchingcapType>            
                                    <ns2:encodingType>              ethernet            </ns2:encodingType>            
                                    <ns2:switchingCapabilitySpecificInfo>              
                                          <ns2:switchingCapabilitySpecificInfo_L2sc>                
                                                <ns2:vlanRangeAvailability>                  2602                </ns2:vlanRangeAvailability>                
                                          </ns2:switchingCapabilitySpecificInfo_L2sc>              
                                    </ns2:switchingCapabilitySpecificInfo>            
                              </ns2:switchingCapabilityDescriptor>          
                        </ns2:link>        
                        <ns2:nextHop>          hop2        </ns2:nextHop>        
                  </ns2:hop>      
                  <ns2:hop id="hop2" type="strict">        
                        <ns2:link id="nlr.rdf#nlr/Domain/vlan/d19cb14f-65b8-4133-a82a-a810651d2000/vlan">          
                              <ns2:capacity>            0          </ns2:capacity>          
                              <ns2:switchingCapabilityDescriptor>            
                                    <ns2:switchingcapType>              l2sc            </ns2:switchingcapType>            
                                    <ns2:encodingType>              ethernet            </ns2:encodingType>            
                                    <ns2:switchingCapabilitySpecificInfo>              
                                          <ns2:switchingCapabilitySpecificInfo_L2sc>                
                                                <ns2:vlanRangeAvailability>                  2602                </ns2:vlanRangeAvailability>                
                                          </ns2:switchingCapabilitySpecificInfo_L2sc>              
                                    </ns2:switchingCapabilitySpecificInfo>            
                              </ns2:switchingCapabilityDescriptor>          
                        </ns2:link>        
                        <ns2:nextHop>          hop3        </ns2:nextHop>        
                  </ns2:hop>      
                  <ns2:hop id="hop3" type="strict">        
                        <ns2:link id="ben.rdf#ben/Domain/vlan/afe97e3c-82d6-4c5f-8f48-df21bbf5e16f/vlan">          
                              <ns2:capacity>            0          </ns2:capacity>          
                              <ns2:switchingCapabilityDescriptor>            
                                    <ns2:switchingcapType>              l2sc            </ns2:switchingcapType>            
                                    <ns2:encodingType>              ethernet            </ns2:encodingType>            
                                    <ns2:switchingCapabilitySpecificInfo>              
                                          <ns2:switchingCapabilitySpecificInfo_L2sc/>              
                                    </ns2:switchingCapabilitySpecificInfo>            
                              </ns2:switchingCapabilityDescriptor>          
                        </ns2:link>        
                        <ns2:nextHop>          hop4        </ns2:nextHop>        
                  </ns2:hop>      
                  <ns2:hop id="hop4" type="strict">        
                        <ns2:link id="rciNet.rdf#rciNet/Domain/vlan/c4a51e17-1312-42ea-af26-11421c6b7f98/vlan">          
                              <ns2:capacity>            0          </ns2:capacity>          
                              <ns2:switchingCapabilityDescriptor>            
                                    <ns2:switchingcapType>              l2sc            </ns2:switchingcapType>            
                                    <ns2:encodingType>              ethernet            </ns2:encodingType>            
                                    <ns2:switchingCapabilitySpecificInfo>              
                                          <ns2:switchingCapabilitySpecificInfo_L2sc>                
                                                <ns2:vlanRangeAvailability>                  1020                </ns2:vlanRangeAvailability>                
                                          </ns2:switchingCapabilitySpecificInfo_L2sc>              
                                    </ns2:switchingCapabilitySpecificInfo>            
                              </ns2:switchingCapabilityDescriptor>          
                        </ns2:link>        
                        <ns2:nextHop>          null        </ns2:nextHop>        
                  </ns2:hop>      
            </ns2:path>    
      </ns2:stitching>  
</rspec>
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed listresources:
  Options as run:
		aggregate: https://geni.renci.org:11443/orca/xmlrpc
		framework: emulab
		native: True
  Args: listresources lnevers9orca
  Result Summary: Retrieved resources for slice lnevers9orca from 1 aggregates.
Wrote rspecs from 1 aggregates. 
INFO:omni: ============================================================

Login to the nodes Try-4

The following nodes were assigned to the sliver in try-4:

  • Node geni2 @ rcivmsite: control addr: "152.54.14.75" data plane addr: "172.16.1.1"
  • Node geni1 @ bbnvmsite: control addr:"192.1.242.15" dataplane addr: "172.16.1.2"

ISSUE: first ran into a problem where the nodes did not exchange traffic which was resolved by rebooting the OpenFlow Switches at each site.

Logged into each RENCI node geni2:

lnevers@sendaria:~/gcf-1.6.1$ ssh root@152.54.14.75
Warning: Permanently added '152.54.14.75' (RSA) to the list of known hosts.
Linux debian 2.6.32-5-amd64 #1 SMP Mon Jan 16 16:22:28 UTC 2012 x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue Jul 26 13:12:00 2011 from 10.0.2.1
root@debian:~# cat /etc/issue
Debian GNU/Linux 6.0 \n \l

root@debian:~# /sbin/ifconfig -a
eth0      Link encap:Ethernet  HWaddr 02:16:3e:56:1e:24  
          inet addr:10.103.0.3  Bcast:10.103.0.255  Mask:255.255.255.0
          inet6 addr: fe80::16:3eff:fe56:1e24/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:182 errors:0 dropped:0 overruns:0 frame:0
          TX packets:160 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:27049 (26.4 KiB)  TX bytes:23336 (22.7 KiB)

eth1      Link encap:Ethernet  HWaddr 52:54:00:89:46:a7  
          inet addr:172.16.1.2  Bcast:172.16.1.255  Mask:255.255.255.0
          inet6 addr: fe80::5054:ff:fe89:46a7/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:16 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1128 (1.1 KiB)  TX bytes:398 (398.0 B)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@debian:~# 

login to the BBN node geni1:

lnevers@sendaria:~/gcf-1.6.1$ ssh root@192.1.242.15
Warning: Permanently added '192.1.242.15' (RSA) to the list of known hosts.
Linux debian 2.6.32-5-amd64 #1 SMP Mon Jan 16 16:22:28 UTC 2012 x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue Jul 26 13:12:00 2011 from 10.0.2.1
root@debian:~# cat /etc/issue
Debian GNU/Linux 6.0 \n \l

root@debian:~# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 02:16:3e:34:88:a5  
          inet addr:10.103.0.17  Bcast:10.103.0.255  Mask:255.255.255.0
          inet6 addr: fe80::16:3eff:fe34:88a5/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:171 errors:0 dropped:0 overruns:0 frame:0
          TX packets:165 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:25386 (24.7 KiB)  TX bytes:23658 (23.1 KiB)

eth1      Link encap:Ethernet  HWaddr 52:54:00:1f:a8:24  
          inet addr:172.16.1.1  Bcast:172.16.1.255  Mask:255.255.255.0
          inet6 addr: fe80::5054:ff:fe1f:a824/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:18 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1260 (1.2 KiB)  TX bytes:398 (398.0 B)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@debian:~# ping 172.16.1.2 -c 5
PING 172.16.1.2 (172.16.1.2) 56(84) bytes of data.
From 172.16.1.1 icmp_seq=2 Destination Host Unreachable
From 172.16.1.1 icmp_seq=3 Destination Host Unreachable
From 172.16.1.1 icmp_seq=4 Destination Host Unreachable
From 172.16.1.1 icmp_seq=5 Destination Host Unreachable

--- 172.16.1.2 ping statistics ---
5 packets transmitted, 0 received, +4 errors, 100% packet loss, time 4000ms
pipe 3

After a reboot of the OF switches traffic was exchanged.

Create Sliver Try-3

After another converter issue was resolved which was potentially a memory leak related to redeploying it into tomcat multiple times (not during runtime), deleted sliver and tried to re-create the sliver. Issue: Found out that the VMs were both at BBN site again, rather than as requested (1 at BBN and 1 at RENCI):

lnevers@sendaria:~/gcf-1.6.1$ ./src/omni.py -a  https://geni.renci.org:11443/orca/xmlrpc  -n createsliver lnevers6orca ./orca-2site.rspec 
INFO:omni:Loading config file omni_config
INFO:omni:Using control framework emulab
INFO:omni:Slice urn:publicid:IDN+emulab.net+slice+lnevers6orca expires within 1 day on 2012-04-12 00:25:14 UTC
INFO:omni:Creating sliver(s) from rspec file ./orca-2site.rspec for slice urn:publicid:IDN+emulab.net+slice+lnevers6orca
INFO:omni:Asked https://geni.renci.org:11443/orca/xmlrpc to reserve resources. Result:
INFO:omni:<?xml version="1.0" ?>
INFO:omni:<!-- Reserved resources for:
	Slice: lnevers6orca
	At AM:
	URL: https://geni.renci.org:11443/orca/xmlrpc
 -->
INFO:omni:
<rspec type="manifest" xmlns="http://www.protogeni.net/resources/rspec/2" xmlns:ns2="http://hpn.east.isi.edu/rspec/ext/stitch/0.1/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.protogeni.net/resources/rspec/2 http://www.protogeni.net/resources/rspec/2/manifest.xsd http://hpn.east.isi.edu/rspec/ext/stitch/0.1/ http://hpn.east.isi.edu/rspec/ext/stitch/0.1/stitch-schema.xsd">  
      <link client_id="7e607028-823f-41bf-b9f9-8e2660a608f4#center">    
            <interface_ref client_id="bbnNet.rdf#BbnNet/IBM/G8052/TenGigabitEthernet/1/1/ethernet"/>    
            <interface_ref client_id="bbnvmsite.rdf#Bbn/ExoGeni/TenGigabitEthernet/1/ethernet"/>    
            <interface_ref client_id="rcivmsite.rdf#Rci/ExoGeni/TenGigabitEthernet/1/ethernet"/>    
            <interface_ref client_id="rciNet.rdf#RciNet/IBM/G8052/TenGigabitEthernet/1/1/ethernet"/>    
      </link>  
      <ns2:stitching>    
            <ns2:path id="7e607028-823f-41bf-b9f9-8e2660a608f4#center">      
                  <ns2:hop id="hop1" type="strict">        
                        <ns2:link id="bbnNet.rdf#bbnNet/Domain/vlan/a1b65c5c-aa43-401d-8e95-2b9720b0234f/vlan">          
                              <ns2:capacity>            0          </ns2:capacity>          
                              <ns2:switchingCapabilityDescriptor>            
                                    <ns2:switchingcapType>              l2sc            </ns2:switchingcapType>            
                                    <ns2:encodingType>              ethernet            </ns2:encodingType>            
                                    <ns2:switchingCapabilitySpecificInfo>              
                                          <ns2:switchingCapabilitySpecificInfo_L2sc/>              
                                    </ns2:switchingCapabilitySpecificInfo>            
                              </ns2:switchingCapabilityDescriptor>          
                        </ns2:link>        
                        <ns2:nextHop>          hop2        </ns2:nextHop>        
                  </ns2:hop>      
                  <ns2:hop id="hop2" type="strict">        
                        <ns2:link id="nlr.rdf#nlr/Domain/vlan/0d3b21e1-a885-4ce4-a1f1-59f68a32edbd/vlan">          
                              <ns2:capacity>            0          </ns2:capacity>          
                              <ns2:switchingCapabilityDescriptor>            
                                    <ns2:switchingcapType>              l2sc            </ns2:switchingcapType>            
                                    <ns2:encodingType>              ethernet            </ns2:encodingType>            
                                    <ns2:switchingCapabilitySpecificInfo>              
                                          <ns2:switchingCapabilitySpecificInfo_L2sc/>              
                                    </ns2:switchingCapabilitySpecificInfo>            
                              </ns2:switchingCapabilityDescriptor>          
                        </ns2:link>        
                        <ns2:nextHop>          hop3        </ns2:nextHop>        
                  </ns2:hop>      
                  <ns2:hop id="hop3" type="strict">        
                        <ns2:link id="ben.rdf#ben/Domain/vlan/21abdadc-7b11-450a-a707-c72aabe721fc/vlan">          
                              <ns2:capacity>            0          </ns2:capacity>          
                              <ns2:switchingCapabilityDescriptor>            
                                    <ns2:switchingcapType>              l2sc            </ns2:switchingcapType>            
                                    <ns2:encodingType>              ethernet            </ns2:encodingType>            
                                    <ns2:switchingCapabilitySpecificInfo>              
                                          <ns2:switchingCapabilitySpecificInfo_L2sc/>              
                                    </ns2:switchingCapabilitySpecificInfo>            
                              </ns2:switchingCapabilityDescriptor>          
                        </ns2:link>        
                        <ns2:nextHop>          hop4        </ns2:nextHop>        
                  </ns2:hop>      
                  <ns2:hop id="hop4" type="strict">        
                        <ns2:link id="rciNet.rdf#rciNet/Domain/vlan/0116f272-4d3b-4686-9c0f-5e7c3c29d5d8/vlan">          
                              <ns2:capacity>            0          </ns2:capacity>          
                              <ns2:switchingCapabilityDescriptor>            
                                    <ns2:switchingcapType>              l2sc            </ns2:switchingcapType>            
                                    <ns2:encodingType>              ethernet            </ns2:encodingType>            
                                    <ns2:switchingCapabilitySpecificInfo>              
                                          <ns2:switchingCapabilitySpecificInfo_L2sc/>              
                                    </ns2:switchingCapabilitySpecificInfo>            
                              </ns2:switchingCapabilityDescriptor>          
                        </ns2:link>        
                        <ns2:nextHop>          null        </ns2:nextHop>        
                  </ns2:hop>      
            </ns2:path>    
      </ns2:stitching>  
</rspec>
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed createsliver:

  Options as run:
		aggregate: https://geni.renci.org:11443/orca/xmlrpc
		framework: emulab
		native: True

  Args: createsliver lnevers6orca ./orca-2site.rspec

  Result Summary: Slice urn:publicid:IDN+emulab.net+slice+lnevers6orca expires within 1 day(s) on 2012-04-12 00:25:14 UTC
Reserved resources on https://geni.renci.org:11443/orca/xmlrpc.  
INFO:omni: ============================================================

Create Sliver Try-2

After Ilia removed converter hack (see try-1), deleted sliver and tried to re-create the sliver. Issue: Ran into the following NDL converter error:

lnevers@sendaria:~/gcf-1.6.1$ ./src/omni.py -a  https://geni.renci.org:11443/orca/xmlrpc  -n createsliver lnevers6orca ./orca-2site.rspec 
INFO:omni:Loading config file omni_config
INFO:omni:Using control framework emulab
INFO:omni:Slice urn:publicid:IDN+emulab.net+slice+lnevers6orca expires within 1 day on 2012-04-12 00:25:14 UTC
INFO:omni:Creating sliver(s) from rspec file ./orca-2site.rspec for slice urn:publicid:IDN+emulab.net+slice+lnevers6orca
INFO:omni:Asked https://geni.renci.org:11443/orca/xmlrpc to reserve resources. Result:
INFO:omni:<!-- Reserved resources for:
	Slice: lnevers6orca
	At AM:
	URL: https://geni.renci.org:11443/orca/xmlrpc
 -->
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed createsliver:

  Options as run:
		aggregate: https://geni.renci.org:11443/orca/xmlrpc
		framework: emulab
		native: True

  Args: createsliver lnevers6orca ./orca-2site.rspec

  Result Summary: Slice urn:publicid:IDN+emulab.net+slice+lnevers6orca expires within 1 day(s) on 2012-04-12 00:25:14 UTC
Asked https://geni.renci.org:11443/orca/xmlrpc to reserve resources. No manifest Rspec returned. Error encountered converting manifest to RSpec: Unable to contact/use any of specified NDL-RSPEC converters at http://geni.renci.org:12080/ndl-conversion/ 
INFO:omni: ============================================================

Create Sliver Try-1

Created a sliver with one Compute Resource at BBN and one Compute Resource at RENCI. Issue: Each of the 2 nodes assigned were both on the bbnvmsite. Ilia checking converter and found old hack, which he removed..

lnevers@sendaria:~/gcf-1.6.1$ ./src/omni.py -a  https://geni.renci.org:11443/orca/xmlrpc  -n createsliver lnevers6orca ./orca-2site.rspec 
INFO:omni:Loading config file omni_config
INFO:omni:Using control framework emulab
INFO:omni:Slice urn:publicid:IDN+emulab.net+slice+lnevers6orca expires within 1 day on 2012-04-12 00:25:14 UTC
INFO:omni:Creating sliver(s) from rspec file ./orca-2site.rspec for slice urn:publicid:IDN+emulab.net+slice+lnevers6orca
INFO:omni:Asked https://geni.renci.org:11443/orca/xmlrpc to reserve resources. Result:
INFO:omni:<?xml version="1.0" ?>
INFO:omni:<!-- Reserved resources for:
	Slice: lnevers6orca
	At AM:
	URL: https://geni.renci.org:11443/orca/xmlrpc
 -->
INFO:omni:
<rspec xmlns="http://www.protogeni.net/resources/rspec/2" xmlns:ns2="http://hpn.east.isi.edu/rspec/ext/stitch/0.1/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.protogeni.net/resources/rspec/2 http://www.protogeni.net/resources/rspec/2/manifest.xsd http://hpn.east.isi.edu/rspec/ext/stitch/0.1/ http://hpn.east.isi.edu/rspec/ext/stitch/0.1/stitch-schema.xsd">  
      <node client_id="2e002510-1ba1-4b4f-a7ad-4ad62a1b36f1#geni1" component_id="urn:publicid:IDN+geni-orca.renci.org+bbnvmsite.rdf#bbnvmsite/Domain" exclusive="true" sliver_id="urn:publicid:IDN+geni-orca.renci.org+sliver+urn:publicid:IDN+emulab.net+slice+lnevers6orca+2e002510-1ba1-4b4f-a7ad-4ad62a1b36f1#geni1">    
            <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>    
            <services/>    
            <interface client_id="2e002510-1ba1-4b4f-a7ad-4ad62a1b36f1#geni1:if1"/>    
      </node>  
      <node client_id="2e002510-1ba1-4b4f-a7ad-4ad62a1b36f1#geni2" component_id="urn:publicid:IDN+geni-orca.renci.org+bbnvmsite.rdf#bbnvmsite/Domain" exclusive="true" sliver_id="urn:publicid:IDN+geni-orca.renci.org+sliver+urn:publicid:IDN+emulab.net+slice+lnevers6orca+2e002510-1ba1-4b4f-a7ad-4ad62a1b36f1#geni2">    
            <sliver_type name="m1.large">      
                  <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>    
            <services/>    
            <interface client_id="2e002510-1ba1-4b4f-a7ad-4ad62a1b36f1#geni2:if1"/>    
      </node>  
      <link client_id="2e002510-1ba1-4b4f-a7ad-4ad62a1b36f1#center" sliver_id="urn:publicid:IDN+geni-orca.renci.org+sliver+urn:publicid:IDN+emulab.net+slice+lnevers6orca+2e002510-1ba1-4b4f-a7ad-4ad62a1b36f1#center">    
            <interface_ref client_id="2e002510-1ba1-4b4f-a7ad-4ad62a1b36f1#geni1:if1"/>    
            <interface_ref client_id="2e002510-1ba1-4b4f-a7ad-4ad62a1b36f1#geni2:if1"/>    
      </link>  
      <ns2:stitching xsi:nil="true"/>  
</rspec>
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed createsliver:

  Options as run:
		aggregate: https://geni.renci.org:11443/orca/xmlrpc
		framework: emulab
		native: True

  Args: createsliver lnevers6orca ./orca-2site.rspec

  Result Summary: Slice urn:publicid:IDN+emulab.net+slice+lnevers6orca expires within 1 day(s) on 2012-04-12 00:25:14 UTC
Reserved resources on https://geni.renci.org:11443/orca/xmlrpc.  
INFO:omni: ============================================================

The RSpec file orca-2site.rspec defined the following:

#xml
<?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/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_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="397c431cb9249e1f361484b08674bc3381455bb
9" />
 </sliver_type>
 <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+rcivmsite+authority+cm">
 <sliver_type name="m1.large">
   <disk_image name="http://geni-images.renci.org/images/standard/debian/debian-squeeze-amd64-neuca-2g.zfilesystem.sparse.v0.2.xml" version="397c431cb9249e1f361484b08674bc3381455bb
9" />
 </sliver_type>
 <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>

Sliver Status Try-1

No issues found.

lnevers@sendaria:~/gcf-1.6.1$ ./src/omni.py -a  https://geni.renci.org:11443/orca/xmlrpc  -n sliverstatus lnevers6orca 
INFO:omni:Loading config file omni_config
INFO:omni:Using control framework emulab
INFO:omni:Slice urn:publicid:IDN+emulab.net+slice+lnevers6orca expires within 1 day on 2012-04-12 00:25:14 UTC
INFO:omni:Status of Slice urn:publicid:IDN+emulab.net+slice+lnevers6orca:
INFO:omni:Sliver status for Slice urn:publicid:IDN+emulab.net+slice+lnevers6orca at AM URL https://geni.renci.org:11443/orca/xmlrpc
INFO:omni:{'geni_status': 'ready',
 'geni_urn': 'urn:publicid:IDN+emulab.net+slice+lnevers6orca'}
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed sliverstatus:

  Options as run:
		aggregate: https://geni.renci.org:11443/orca/xmlrpc
		framework: emulab
		native: True

  Args: sliverstatus lnevers6orca

  Result Summary: Slice urn:publicid:IDN+emulab.net+slice+lnevers6orca expires within 1 day(s) on 2012-04-12 00:25:14 UTC
Returned status of slivers on 1 of 1 possible aggregates. 
INFO:omni: ============================================================

List Resources for Slice Try-1

Issue: To determine which node were in the slice, ran a listresources, but found both VM were at BBN site rather than as requested (1 at BBN and one at RENCI):

lnevers@sendaria:~/gcf-1.6.1$ ./src/omni.py -a  https://geni.renci.org:11443/orca/xmlrpc  -n listresources  lnevers6orca 
INFO:omni:Loading config file omni_config
INFO:omni:Using control framework emulab
INFO:omni:Gathering resources reserved for slice lnevers6orca.
INFO:omni:Listed resources on 1 out of 1 possible aggregates.
INFO:omni:<?xml version="1.0" ?>
INFO:omni:<!-- Resources for:
	Slice: lnevers6orca
	at AM:
	URN: unspecified_AM_URN
	URL: https://geni.renci.org:11443/orca/xmlrpc
 -->
INFO:omni:
<rspec xmlns="http://www.protogeni.net/resources/rspec/2" xmlns:ns2="http://hpn.east.isi.edu/rspec/ext/stitch/0.1/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.protogeni.net/resources/rspec/2 http://www.protogeni.net/resources/rspec/2/manifest.xsd http://hpn.east.isi.edu/rspec/ext/stitch/0.1/ http://hpn.east.isi.edu/rspec/ext/stitch/0.1/stitch-schema.xsd">  
      <node client_id="2e002510-1ba1-4b4f-a7ad-4ad62a1b36f1#geni1" component_id="urn:publicid:IDN+geni-orca.renci.org+bbnvmsite.rdf#bbnvmsite/Domain" exclusive="true" sliver_id="urn:publicid:IDN+geni-orca.renci.org+sliver+urn:publicid:IDN+emulab.net+slice+lnevers6orca+2e002510-1ba1-4b4f-a7ad-4ad62a1b36f1#geni1">    
            <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>    
            <services>      
                  <login authentication="ssh-keys" hostname="192.1.242.15" port="22" username="root"/>      
            </services>    
            <interface client_id="2e002510-1ba1-4b4f-a7ad-4ad62a1b36f1#geni1:if1"/>    
            <interface client_id="2e002510-1ba1-4b4f-a7ad-4ad62a1b36f1#geni1:if2"/>    
      </node>  
      <node client_id="2e002510-1ba1-4b4f-a7ad-4ad62a1b36f1#geni2" component_id="urn:publicid:IDN+geni-orca.renci.org+bbnvmsite.rdf#bbnvmsite/Domain" exclusive="true" sliver_id="urn:publicid:IDN+geni-orca.renci.org+sliver+urn:publicid:IDN+emulab.net+slice+lnevers6orca+2e002510-1ba1-4b4f-a7ad-4ad62a1b36f1#geni2">    
            <sliver_type name="m1.large">      
                  <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>    
            <services>      
                  <login authentication="ssh-keys" hostname="192.1.242.16" port="22" username="root"/>      
            </services>    
            <interface client_id="2e002510-1ba1-4b4f-a7ad-4ad62a1b36f1#geni2:if1"/>    
            <interface client_id="2e002510-1ba1-4b4f-a7ad-4ad62a1b36f1#geni2:if2"/>    
      </node>  
      <link client_id="2e002510-1ba1-4b4f-a7ad-4ad62a1b36f1#center" sliver_id="urn:publicid:IDN+geni-orca.renci.org+sliver+urn:publicid:IDN+emulab.net+slice+lnevers6orca+2e002510-1ba1-4b4f-a7ad-4ad62a1b36f1#center">    
            <interface_ref client_id="2e002510-1ba1-4b4f-a7ad-4ad62a1b36f1#geni2:if1"/>    
            <interface_ref client_id="2e002510-1ba1-4b4f-a7ad-4ad62a1b36f1#geni1:if1"/>    
      </link>  
      <ns2:stitching xsi:nil="true"/>  
</rspec>
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed listresources:

  Options as run:
		aggregate: https://geni.renci.org:11443/orca/xmlrpc
		framework: emulab
		native: True

  Args: listresources lnevers6orca

  Result Summary: Retrieved resources for slice lnevers6orca from 1 aggregates.
Wrote rspecs from 1 aggregates. 
INFO:omni: ============================================================

Get Version

lnevers@sendaria:~/gcf-1.6.1$ ./src/omni.py -a https://geni.renci.org:11443/orca/xmlrpc getversion     
INFO:omni:Loading config file omni_config
INFO:omni:Using control framework emulab
INFO:omni:AM URN: unspecified_AM_URN (url: https://geni.renci.org:11443/orca/xmlrpc) has version:
INFO:omni:{   'code': {   'geni_code': 0},
    'value': {   'geni_ad_rspec_versions': [   {   'extensions': 'http://hpn.east.isi.edu/rspec/ext/stitch/0.1/stitch-schema.xsd, http://www.protogeni.net/resources/rspec/ext/emulab/1/ptop_extension.xsd',
                                                   'namespace': 'http://www.protogeni.net/resources/rspec/2',
                                                   'schema': 'http://www.protogeni.net/resources/rspec/2/ad.xsd',
                                                   'type': 'GENI',
                                                   'version': '3'}],
                 'geni_api': 2,
                 'geni_api_versions': {   '1': 'https://geni.renci.org:11443/orca/xmlrpc/geniV1',
                                          '2': 'https://geni.renci.org:11443/orca/xmlrpc/geni'},
                 'geni_request_rspec_versions': [   {   'namespace': 'http://www.protogeni.net/resources/rspec/2',
                                                        'schema': 'http://www.protogeni.net/resources/rspec/2/request.xsd',
                                                        'type': 'GENI',
                                                        'version': '3'}]}}
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed getversion:

  Options as run:
		aggregate: https://geni.renci.org:11443/orca/xmlrpc
		framework: emulab
		native: True

  Args: getversion

  Result Summary: 
Got version for 1 out of 1 aggregates
 
INFO:omni: ============================================================

Status 03/20/2012

Attempt to access the ExoGENI AM at https://bbn-hn.exogeni.gpolab.bbn.com:11443/orca/xmlrpc resulted in connection refused. Using ExoSM as suggested by Ilia.

GPO Dev Team Analysis

The GPO Software development team analyzed the results from this test run and came up with the following list of Known issues with ExoGENI's AM API implementation.

Priorities (from Trac): blocker, critical, major, minor, trivial
Status: where things stand - open, closed, etc.
Categories: AM API, RSpec, Acceptance Test, Stitching, Question
Issues are ordered by priority, and by relative importance within priority.

Critical Issues

ID Priority Status Category Description
1 critical AM API ListResources at ExoSM returns multiple advertisement RSpecs. This is neither valid XML nor valid RSpec.
2 critical RSpec ExoGENI advertises RSpec GENI v3 support in GetVersion, but the RSpecs (ad & manifest) are ProtoGENI v2. Make the RSpecs use the GENI v3 schema. (As a fallback, change the GetVersion return).
3 critical RSpec missing schemaLocation declarations for all used schemas
4 critical RSpec All Ad & manifest RSpecs must pass rspeclint, but currently do not

Major Issues

ID Priority Status Category Description
5 major AM API GetVersion: The top-level (parallel to code and value) is missing a geni_api entry. Without this entry AM API v1 clients can't discover why they can't talk to this aggregate.
6 major AM API SliverStatus: Return at least a geni_resources entry that is empty, if not including all contained slivers.
7 major Acceptance Test There is no 'extensions' field listed in geni_request_rspec_versions and geni_ad_rspec_version in the return from GetVersion. Add it, including all used extensions.
8 major Acceptance Test ListResources does not handle the geni_compressed flag properly. The return value is always compressed, even if geni_compressed is set to False.

Minor Issues

ID Priority Status Category Description
9 minor RSpec Does ExoGENI honor the sliver_type or ignore it? It seems to give a VM for a sliver_type of "raw_pc".
10 minor AM API CreateSliver results in a NullPointerException if a link references a non-existent node. <link client_id="center"> <interface_ref client_id="geni1:0"/> <interface_ref client_id="geni2:0"/> </link> when node geni1 is not in the request.
11 minor Stitching Test stitching schema validity by using Omni's libstitch. Multiple undocumented conventions about IDs may need to be followed.
12 minor RSpec You list 1 node with a hardware_type 'vm-cloud'. What about at least listing multiple sliver_types for the different EC2 style VM types, with the appropriate type_slots value for each sliver type?
13 minor RSpec You list 1 node for each of 2 or 3 different hardware types, all for the same site. Is information duplicated? Could these reasonably be combined in any way?
14 minor RSpec The dataplane IP address is missing from the manifest RSpec
15 minor RSpec Add more info to the <interface> tag in manifest: PG includes the <ip> sub-element with IP, netmask, type
16 minor RSpec Change structure of component_manager_id. AM URNs should be of the form <prefix>+name+authority+am. So use prefix+<SM site name+domain name>+authority+am
17 minor RSpec Ad component_manager_id values are unlike those in sample request RSpec. Shouldn't this break something? Make these match.
18 minor RSpec client_id values are changed in the manifest from the request (add a UUID), making it hard for experimenters/tools to reconcile. Can these be kept the same?
19 minor RSpec Add more information to the RSpec if possible: <component_manager> sub-element on links, indicating the 2 AMs that control the endpoints of this link.
20 minor RSpec Add more information to the RSpec if possible: <property> sub-element on links specifying dest_id and source_id
21 minor RSpec Add more info / check form of interface component_id. Compare to PG form: prefix+site+interface+node/switch name:port #:name of remote, e.g. emulab.net+interface+procurve=pgeni-wash:10:ion
22 minor RSpec Simplify sliver ID. How about prefix+<site>+sliver+AM name + slice name+client_id?
23 minor RSpec Node component_id is the site name, making all reservations part of this same node. Maybe change exclusive to False?
24 minor Question Are the assigned client_id values from the RSpec available within the running Node/vm?
25 minor Stitching RSpec Stitching extension says scheduled=true. Probably should be false.
26 minor Stitching RSpec stitching extension has same component_id for both port and link. Seems wrong. Maybe OK? PG has the link ID being the ID of the interface of the corresponding node. So this part of the Orca ad seems like a mistake.
27 minor RSpec The starlight Ad RSpec lists hardware_type name=orca-transit-net twice. Not a real problem, just not what he intended probably.

AM API Acceptance Tests

This section captures the GENI AM API Acceptance Test results using the ORCA ExoSM and GPO ExoGENI rack compute resources.

Acceptance tests output:

$ ./am_api_accept.py -a am-undertest -V 2 --debug
F.F...FNot wellformed XML:  junk after document element: line 42, column 0
F..Not wellformed XML:  junk after document element: line 42, column 0
FNot wellformed XML:  not well-formed (invalid token): line 1, column 12
F.
======================================================================
FAIL: test_CreateSliver: Passes if the sliver creation workflow succeeds.  Use --rspec-file to replace the default request RSpec.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./am_api_accept.py", line 625, in test_CreateSliver
    self.subtest_CreateSliverWorkflow()
  File "./am_api_accept.py", line 659, in subtest_CreateSliverWorkflow
    self.assertRspecType( request, 'request')
  File "/home/lnevers/gcf-1.6.1/src/omni_unittest.py", line 165, in assertRspecType
    raise WrongRspecType, msg
WrongRspecType: RSpec expected to have type 'request' but schema was not correct.

======================================================================
FAIL: test_CreateSliverWorkflow_multiSlice: Do CreateSliver workflow with multiple slices and ensure can not do ListResources on slices with the wrong credential.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./am_api_accept.py", line 931, in test_CreateSliverWorkflow_multiSlice
    manifest[i] = "".join(self.subtest_CreateSliver( slicenames[i] ))
  File "./am_api_accept.py", line 1116, in subtest_CreateSliver
    "but instead nothing returned. AM returned:\n %s"%text)
  File "/home/lnevers/gcf-1.6.1/src/omni_unittest.py", line 112, in assertIsNotNone
    raise NotNoneAssertionError, msg
NotNoneAssertionError: Return from 'CreateSliver'expected to be XML file but instead nothing returned. AM returned:
 Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+acclne-1500470 expires within 1 day(s) on 2012-03-21 21:00:48 UTC
Asked https://geni.renci.org:11443/orca/xmlrpc to reserve resources. No manifest Rspec returned. ERROR: Exception encountered: java.lang.NullPointerException

======================================================================
FAIL: test_GetVersion: Passes if a 'GetVersion' returns an XMLRPC struct containing 'geni_api' and other parameters defined in Change Set A.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./am_api_accept.py", line 271, in test_GetVersion
    self.assertKeyValueType( 'GetVersion', agg, vers, 'extensions', type([]) )
  File "/home/lnevers/gcf-1.6.1/src/omni_unittest.py", line 208, in assertKeyValueType
    % (method, aggName, key, str(dictionary)))
AssertionError: Return from 'GetVersion' at https://geni.renci.org:11443/orca/xmlrpc expected to have entry 'extensions' but instead returned: 
{'namespace': 'http://www.protogeni.net/resources/rspec/2', 'version': '3', 'type': 'GENI', 'schema': 'http://www.protogeni.net/resources/rspec/2/request.xsd'}
... edited for length ...

======================================================================
FAIL: test_ListResources: Passes if 'ListResources' returns an advertisement RSpec.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./am_api_accept.py", line 328, in test_ListResources
    self.subtest_ListResources()
  File "./am_api_accept.py", line 602, in subtest_ListResources
    % (agg_name, rspec[:100]))
AssertionError: Return from 'ListResources' at aggregate 'unspecified_AM_URN' expected to be XML but instead returned: 
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rspec xmlns:ns2="http://hpn.east.isi.edu/rs
... edited for length ...

======================================================================
FAIL: test_ListResources_geni_available: Passes if 'ListResources' returns an advertisement RSpec.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./am_api_accept.py", line 342, in test_ListResources_geni_available
    self.subtest_ListResources()
  File "./am_api_accept.py", line 602, in subtest_ListResources
    % (agg_name, rspec[:100]))
AssertionError: Return from 'ListResources' at aggregate 'unspecified_AM_URN' expected to be XML but instead returned: 
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rspec xmlns:ns2="http://hpn.east.isi.edu/rs
... edited for length ...

======================================================================
FAIL: test_ListResources_geni_compressed: Passes if 'ListResources' returns an advertisement RSpec.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./am_api_accept.py", line 335, in test_ListResources_geni_compressed
    self.subtest_ListResources()
  File "./am_api_accept.py", line 602, in subtest_ListResources
    % (agg_name, rspec[:100]))
AssertionError: Return from 'ListResources' at aggregate 'unspecified_AM_URN' expected to be XML but instead returned: 
eAHtXetv2zi2/z5/hZH77fo68qPNtEbTwbbNdmfRKRZ93PthsSgUR3WEceRAktP2v798iIeHEiVTJOXYUwZoY8UieXh4+ON5kXzx
... edited for length ...

----------------------------------------------------------------------
Ran 13 tests in 240.826s

FAILED (failures=6)

Two tests were run for individual AM API Compliance test based on GPO Dev request, their results are captured in this page.

test_ListResources_geni_compressed only

Test output:

$ ./am_api_accept.py -a am-undertest -V 2 --debug Test.test_ListResources_geni_compressed
Not wellformed XML:  syntax error: line 1, column 0
F
======================================================================
FAIL: test_ListResources_geni_compressed: Passes if 'ListResources' returns an advertisement RSpec.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./am_api_accept.py", line 335, in test_ListResources_geni_compressed
    self.subtest_ListResources()
  File "./am_api_accept.py", line 602, in subtest_ListResources
    % (agg_name, rspec[:100]))
AssertionError: Return from 'ListResources' at aggregate 'unspecified_AM_URN' expected to be XML but instead returned: 
eAHtXVtv2zq2ft+/wsh5Oz6OfGkzrdF0MG0znT3oLgZt9zkPg0GhOKojbFsOJLmXf394ERcXJUqmSMqxdxmgjRWL5OLi4sd1I/ni
... edited for length ...

----------------------------------------------------------------------
Ran 1 test in 5.628s

FAILED (failures=1)

Files attached are: acceptance-listresource.log and a the tee output for the same test test_ListResources_geni_compressed-log.txt.

Experiment with Omni Commands

Configuration

The following Omni config was used with GPO ProtoGENI credentials:

[omni]
default_cf = pgeni
users = lnevers

# ---------- Users ----------
[lnevers]
urn = urn:publicid:IDN+pgeni.gpolab.bbn.com+user+lnevers
keys = ~/.ssh/id_rsa.pub

# ---------- Frameworks ----------
[pgeni]
type = pg
ch = https://www.emulab.net:443/protogeni/xmlrpc/ch
sa = https://www.pgeni.gpolab.bbn.com:443/protogeni/xmlrpc/sa
cert = ~/.ssl/pgeni/encrypted-cleartext.pem
key = ~/.ssl/pgeni/encrypted-cleartext.pem
verbose=false

[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

RSpec

Based on Ilia's input to use the component_manager_id via the ExoSM (https://geni.renci.org:11443/xmlrpc/orca) generated the following Rspec:

<?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/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_manager_id="urn:publicid:IDN+bbnvmsite+authority+cm">
      <sliver_type name="raw-pc">
        <disk_image name="http://geni-images.renci.org/images/gush/gush-deb5-i386.xml" version="25f53b64cfe44dd1604447
f04b7b533bb67dea1e" />
      </sliver_type>
      <interface client_id="geni1:0">
        <ip address="172.16.1.1" netmask="255.255.0.0" />
      </interface>
   </node>
   <node client_id="geni2" component_manager_id="urn:publicid:IDN+bbnvmsite+authority+cm">
      <sliver_type name="raw-pc">
        <disk_image name="http://geni-images.renci.org/images/gush/gush-deb5-i386.xml" version="25f53b64cfe44dd1604447
f04b7b533bb67dea1e" />
      </sliver_type>
      <interface client_id="geni2:0" >
        <ip address="172.16.1.2" netmask="255.255.0.0" />
      </interface>
    </node>
    <link client_id="center">
      <interface_ref client_id="geni1:0" />
      <interface_ref client_id="geni2:0" />
    </link>
</rspec>

List Resources

The listreources output at the ExoSM showed the following and output file is attached:

$ ./src/omni.py -a https://geni.renci.org:11443/orca/xmlrpc listresources -o
INFO:omni:Loading config file omni_config
INFO:omni:Using control framework pgeni
INFO:omni:Saving output to a file.
INFO:omni:Listed resources on 1 out of 1 possible aggregates.
INFO:omni:Writing to 'rspec-geni-renci-org-11443-orca.xml'
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed listresources:

  Options as run:
                aggregate: https://geni.renci.org:11443/orca/xmlrpc
                framework: pgeni
                native: True
                output: True
  Args: listresources
  Result Summary: Retrieved resources from 1 aggregates.
Wrote rspecs from 1 aggregates to 1 files
Saved listresources RSpec at 'unspecified_AM_URN' to file rspec-geni-renci-org-11443-orca.xml; . 
INFO:omni: ============================================================

Results are attached as rspec-geni-renci-org-11443-orca-20120320.xml

If run with the --no-compress option then the results look as follows:

$ ./src/omni.py -a  https://geni.renci.org:11443/orca/xmlrpc  listresources --no-compress
INFO:omni:Loading config file omni_config
INFO:omni:Using control framework pgeni
INFO:omni:Listed resources on 1 out of 1 possible aggregates.
INFO:omni:<!-- Resources at AM:
        URN: unspecified_AM_URN
        URL: https://geni.renci.org:11443/orca/xmlrpc
 -->
INFO:omni:eAHtXVuP2zqSfp9fYfS+rdctX5KexEjnYJL0ZDLICQa57D4MBoHaVtzCsaWGJHeSf7+8iEVSomTe5LZP2EBiyzbJYrH41YVF8sVvP3bb0UNSlGmeXV/ML
qcXoyRb5es021xffPn898mzi1FZxdk63uZZcn3xMykvfnv5lxdFeZ+sRqhwVi6zcn59cVdV98sourvPLpO4rC7TMr1M1vuI/DBKflRRWaXV6i6aXs6iC1oSSn3//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XK0MZ7CTeZfOD9T3A/usLF7vf8jETI7+aMUYBbWj3dxFm
+S4qt2GDTeV3d5kVY/x7xysh7MH8W23DOHeL09zYirRvFDnG7j220yyvLv1xd4JUBawulMCzr69u5G196gwaMbvIUNA/VKD5o2nnY9aDRKhpalf2Cq0PvH38StQbg0z
hCwd1+8xU078COs1jGLmnoiZ7la1xA//ijCnYBDUpdto7O8FQJ+bxQIAZu1F4vJk7/+R0EBUbF4WRYtUcQrBN0v+fIZVcfwRfdiWfcCW7Oy7l92127rOXjjD/DIJaKLqbGHCToUUvtKhgGpMGrNEYAv+st3D1Szwu5f9rdg4TlL0wbKox6FxTXGmvYrhdX24hoex8n8+fNw6VfYp30y+7SbtyMKz5Iq9eOlCLUTFSo8i625+ylCxX0N
CfrZ/44HMHn9b2Bodk/jivMMeQ3odKd2hjvRYKdHq3jRstqTOAm2tm6O9+4i+hjrMatECEcwmYn+he5ZFK85f3uDBUXwevmahs9UcUYSs9EYPehZoibdxLdpdVPdJYW
mDLu7mIw2K3ZZO5jE7l7lu/s8Q2KlHwXC5WCEDdjZlF2aKcwqsL0mWcRUgBV/Q8LI0xCXZv/UMOJOGllwYHRZs+1sxCZDE1REZxA91Ww5dETiSWGL2KuhhKUPWg4xy1p
EQqL56VyOwQSAAYbwLNrAAowyF5M4lrbBK6EZYhFr4Cee6LLJyGcro4lYj3/OcNaAHAOuSQEmw4PVGX0q2D1k04XwVkuAQ3hLPbtFRoHcKu7CeIqiW09DcAsb421G0vmGsVvxHYbPI8J60yxW3L3bm1gEAe1mYBq+UMahifbqjl03K+v+ZXfttgsXD
EmZStbQjQ5MhEnkAv5efI6gBURwo3H7sINIOb9ERoEABy3QZAtKn3uMfUMWANb04hVa4Be7yP64TIRJ5KIFGMkqF+BAMCFgvzh3A/Z72HIQPAAL7KfzkOcTElwwS8H9f8AKzrc=
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed listresources:

  Options as run:
                aggregate: https://geni.renci.org:11443/orca/xmlrpc
                framework: pgeni
                geni_compressed: False
                native: True

  Args: listresources

  Result Summary: Retrieved resources from 1 aggregates.
Wrote rspecs from 1 aggregates. 
INFO:omni: ============================================================

Get Version

Command output:

$ ./src/omni.py -a https://geni.renci.org:11443/orca/xmlrpc getversion      
INFO:omni:Loading config file omni_config
INFO:omni:Using control framework pgeni
INFO:omni:AM URN: unspecified_AM_URN (url: https://geni.renci.org:11443/orca/xmlrpc) has version:
INFO:omni:{   'code': {   'geni_code': 0},
    'value': {   'geni_ad_rspec_versions': [   {   'extensions': 'http://hpn.east.isi.edu/rspec/ext/stitch/0.1/stitch-schema.xsd, http://www.protogeni.net/resources/rspec/ext/emulab/1/ptop_extension.xsd',
                                                   'namespace': 'http://www.protogeni.net/resources/rspec/2',
                                                   'schema': 'http://www.protogeni.net/resources/rspec/2/ad.xsd',
                                                   'type': 'GENI',
                                                   'version': '3'}],
                 'geni_api': 2,
                 'geni_api_versions': {   '1': 'https://geni.renci.org:11443/orca/xmlrpc/geniV1',
                                          '2': 'https://geni.renci.org:11443/orca/xmlrpc/geni'},
                 'geni_request_rspec_versions': [   {   'namespace': 'http://www.protogeni.net/resources/rspec/2',
                                                        'schema': 'http://www.protogeni.net/resources/rspec/2/request.xsd',
                                                        'type': 'GENI',
                                                        'version': '3'}]}}
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed getversion:
  Options as run:
                aggregate: https://geni.renci.org:11443/orca/xmlrpc
                framework: pgeni
                native: True

  Args: getversion
  Result Summary: 
Got version for 1 out of 1 aggregates
INFO:omni: ============================================================

Create Slice

Command Output:

$ ./src/omni.py -a  https://geni.renci.org:11443/orca/xmlrpc  -n createslice lnevers6orca INFO:omni:Loading config file omni_config
INFO:omni:Using control framework pgeni
INFO:omni:Created slice with Name lnevers6orca, URN urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers6orca, Expiration 2012-03-21 02:22:46+00:00
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed createslice:
  Options as run:
                aggregate: https://geni.renci.org:11443/orca/xmlrpc
                framework: pgeni
                native: True

  Args: createslice lnevers6orca
  Result Summary: Created slice with Name lnevers6orca, URN urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers6orca, Expiration 2012-03-21 02:22:46+00:00
INFO:omni: ============================================================

Create Sliver

Created sliver with two compute resources from the GPO ExoGENI rack, command output:

$ ./src/omni.py -a  https://geni.renci.org:11443/orca/xmlrpc  -n createsliver lnevers6orca orca-bbn-ln.rspec 
INFO:omni:Loading config file omni_config
INFO:omni:Using control framework pgeni
INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers6orca expires within 1 day on 2012-03-21 02:22:46 UTC
INFO:omni:Creating sliver(s) from rspec file orca-bbn-ln.rspec for slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers6orca
INFO:omni:Asked https://geni.renci.org:11443/orca/xmlrpc to reserve resources. Result:
INFO:omni:<?xml version="1.0" ?>
INFO:omni:<!-- Reserved resources for:
        Slice: lnevers6orca
        At AM:
        URL: https://geni.renci.org:11443/orca/xmlrpc
 -->
INFO:omni:
<rspec xmlns="http://www.protogeni.net/resources/rspec/2" xmlns:ns2="http://hpn.east.isi.edu/rspec/ext/stitch/0.1/">  
      <node client_id="9049cc87-caee-48c3-bfd7-57f986fb6375#geni1" component_id="urn:publicid:IDN+geni-orca.renci.org+bbnvmsite.rdf#bbnvmsite/Domain" exclusive="true" sliver_id="urn:publicid:IDN+geni-orca.renci.org+sliver+urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers6orca+9049cc87-caee-48c3-bfd7-57f986fb6375#geni1">    
            <sliver_type name="m1.small">      
                  <disk_image name="http://geni-images.renci.org/images/gush/gush-deb5-i386.xml" version="25f53b64cfe44dd1604447f04b7b533bb67dea1e"/>      
            </sliver_type>    
            <services/>    
            <interface client_id="9049cc87-caee-48c3-bfd7-57f986fb6375#geni1:if1"/>    
      </node>  
      <node client_id="9049cc87-caee-48c3-bfd7-57f986fb6375#geni2" component_id="urn:publicid:IDN+geni-orca.renci.org+bbnvmsite.rdf#bbnvmsite/Domain" exclusive="true" sliver_id="urn:publicid:IDN+geni-orca.renci.org+sliver+urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers6orca+9049cc87-caee-48c3-bfd7-57f986fb6375#geni2">    
            <sliver_type name="m1.small">      
                  <disk_image name="http://geni-images.renci.org/images/gush/gush-deb5-i386.xml" version="25f53b64cfe44dd1604447f04b7b533bb67dea1e"/>      
            </sliver_type>    
            <services/>    
            <interface client_id="9049cc87-caee-48c3-bfd7-57f986fb6375#geni2:if1"/>    
      </node>  
      <link client_id="9049cc87-caee-48c3-bfd7-57f986fb6375#center" sliver_id="urn:publicid:IDN+geni-orca.renci.org+sliver+urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers6orca+9049cc87-caee-48c3-bfd7-57f986fb6375#center">    
            <interface_ref client_id="9049cc87-caee-48c3-bfd7-57f986fb6375#geni1:if1"/>    
            <interface_ref client_id="9049cc87-caee-48c3-bfd7-57f986fb6375#geni2:if1"/>    
      </link>  
      <ns2:stitching xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>  
</rspec>
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed createsliver:
  Options as run:
                aggregate: https://geni.renci.org:11443/orca/xmlrpc
                framework: pgeni
                native: True

  Args: createsliver lnevers6orca orca-bbn-ln.rspec
  Result Summary: Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers6orca expires within 1 day(s) on 2012-03-21 02:22:46 UTC
Reserved resources on https://geni.renci.org:11443/orca/xmlrpc.  
INFO:omni: ============================================================

Sliver Status

Command output:

$ ./src/omni.py -a  https://geni.renci.org:11443/orca/xmlrpc  -n sliverstatus lnevers6orca 
INFO:omni:Loading config file omni_config
INFO:omni:Using control framework pgeni
INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers6orca expires within 1 day on 2012-03-21 02:22:46 UTC
INFO:omni:Status of Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers6orca:
INFO:omni:Sliver status for Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers6orca at AM URL https://geni.renci.org:11443/orca/xmlrpc
INFO:omni:{'geni_status': 'ready',
 'geni_urn': 'urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers6orca'}
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed sliverstatus:

  Options as run:
                aggregate: https://geni.renci.org:11443/orca/xmlrpc
                framework: pgeni
                native: True

  Args: sliverstatus lnevers6orca

  Result Summary: Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers6orca expires within 1 day(s) on 2012-03-21 02:22:46 UTC
Returned status of slivers on 1 of 1 possible aggregates. 
INFO:omni: ============================================================

The list of compute resource assigned can be found after some delay (10-15 minutes?), as follows:

$ ./src/omni.py -a  https://geni.renci.org:11443/orca/xmlrpc  listresources lnevers6orca 
INFO:omni:Loading config file omni_config
INFO:omni:Using control framework pgeni
INFO:omni:Gathering resources reserved for slice lnevers6orca.
INFO:omni:Listed resources on 1 out of 1 possible aggregates.
INFO:omni:<?xml version="1.0" ?>
INFO:omni:<!-- Resources for:
        Slice: lnevers6orca
        at AM:
        URN: unspecified_AM_URN
        URL: https://geni.renci.org:11443/orca/xmlrpc
 -->
INFO:omni:
<rspec xmlns="http://www.protogeni.net/resources/rspec/2" xmlns:ns2="http://hpn.east.isi.edu/rspec/ext/stitch/0.1/">  
      <node client_id="9049cc87-caee-48c3-bfd7-57f986fb6375#geni1" component_id="urn:publicid:IDN+geni-orca.renci.org+bbnvmsite.rdf#bbnvmsite/Domain" exclusive="true" sliver_id="urn:publicid:IDN+geni-orca.renci.org+sliver+urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers6orca+9049cc87-caee-48c3-bfd7-57f986fb6375#geni1">    
            <sliver_type name="m1.small">      
                  <disk_image name="http://geni-images.renci.org/images/gush/gush-deb5-i386.xml" version="25f53b64cfe44dd1604447f04b7b533bb67dea1e"/>      
            </sliver_type>    
            <services>      
                  <login authentication="ssh-keys" hostname="192.1.242.26" port="22" username="root"/>      
            </services>    
            <interface client_id="9049cc87-caee-48c3-bfd7-57f986fb6375#geni1:if1"/>    
            <interface client_id="9049cc87-caee-48c3-bfd7-57f986fb6375#geni1:if2"/>    
      </node>  
      <node client_id="9049cc87-caee-48c3-bfd7-57f986fb6375#geni2" component_id="urn:publicid:IDN+geni-orca.renci.org+bbnvmsite.rdf#bbnvmsite/Domain" exclusive="true" sliver_id="urn:publicid:IDN+geni-orca.renci.org+sliver+urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers6orca+9049cc87-caee-48c3-bfd7-57f986fb6375#geni2">    
            <sliver_type name="m1.small">      
                  <disk_image name="http://geni-images.renci.org/images/gush/gush-deb5-i386.xml" version="25f53b64cfe44dd1604447f04b7b533bb67dea1e"/>      
            </sliver_type>    
            <services>      
                  <login authentication="ssh-keys" hostname="192.1.242.25" port="22" username="root"/>      
            </services>    
            <interface client_id="9049cc87-caee-48c3-bfd7-57f986fb6375#geni2:if1"/>    
            <interface client_id="9049cc87-caee-48c3-bfd7-57f986fb6375#geni2:if2"/>    
      </node>  
      <link client_id="9049cc87-caee-48c3-bfd7-57f986fb6375#center" sliver_id="urn:publicid:IDN+geni-orca.renci.org+sliver+urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers6orca+9049cc87-caee-48c3-bfd7-57f986fb6375#center">    
            <interface_ref client_id="9049cc87-caee-48c3-bfd7-57f986fb6375#geni2:if2"/>    
            <interface_ref client_id="9049cc87-caee-48c3-bfd7-57f986fb6375#geni1:if2"/>    
      </link>  
      <ns2:stitching xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>  
</rspec>
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed listresources:
  Options as run:
                aggregate: https://geni.renci.org:11443/orca/xmlrpc
                framework: pgeni
                native: True

  Args: listresources lnevers6orca
  Result Summary: Retrieved resources for slice lnevers6orca from 1 aggregates.
Wrote rspecs from 1 aggregates. 
INFO:omni: ============================================================

Login to Sliver Hosts

Connected to the first host and determined dataplane IP address:

$ ssh root@192.1.242.25
Linux debian 2.6.28-11-server #42-Ubuntu SMP Fri Apr 17 02:48:10 UTC 2009 i686

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue Mar 20 20:51:26 2012 from sendaria.gpolab.bbn.com
debian:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 02:16:3e:40:5d:75  
          inet addr:10.103.0.20  Bcast:10.103.0.255  Mask:255.255.255.0
          inet6 addr: fe80::16:3eff:fe40:5d75/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:20756 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21460 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2418876 (2.3 MiB)  TX bytes:3800180 (3.6 MiB)
          Interrupt:10 

eth1      Link encap:Ethernet  HWaddr 52:54:00:72:49:54  
          inet addr:172.16.1.2  Bcast:172.16.255.255  Mask:255.255.0.0
          inet6 addr: fe80::5054:ff:fe72:4954/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:487 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:22504 (21.9 KiB)  TX bytes:748 (748.0 B)
          Interrupt:11 Base address:0x2000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

Logged into second host and determined its IP address:

$ ssh root@192.1.242.26
Linux debian 2.6.28-11-server #42-Ubuntu SMP Fri Apr 17 02:48:10 UTC 2009 i686

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue Mar 20 20:53:02 2012 from sendaria.gpolab.bbn.com
debian:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 02:16:3e:63:d6:4a  
          inet addr:10.103.0.21  Bcast:10.103.0.255  Mask:255.255.255.0
          inet6 addr: fe80::16:3eff:fe63:d64a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:20739 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21438 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2409052 (2.2 MiB)  TX bytes:3792295 (3.6 MiB)
          Interrupt:10 

eth1      Link encap:Ethernet  HWaddr 52:54:00:cf:06:67  
          inet addr:172.16.1.1  Bcast:172.16.255.255  Mask:255.255.0.0
          inet6 addr: fe80::5054:ff:fecf:667/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:485 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:22386 (21.8 KiB)  TX bytes:748 (748.0 B)
          Interrupt:11 Base address:0x2000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:336 (336.0 B)  TX bytes:336 (336.0 B)

On the second hosts pinged the first host:

debian:~# ping 10.103.0.20 -c 5
PING 10.103.0.20 (10.103.0.20) 56(84) bytes of data.
64 bytes from 10.103.0.20: icmp_seq=1 ttl=64 time=0.687 ms
64 bytes from 10.103.0.20: icmp_seq=2 ttl=64 time=0.617 ms
64 bytes from 10.103.0.20: icmp_seq=3 ttl=64 time=0.636 ms
64 bytes from 10.103.0.20: icmp_seq=4 ttl=64 time=0.701 ms
64 bytes from 10.103.0.20: icmp_seq=5 ttl=64 time=0.616 ms

--- 10.103.0.20 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 3996ms
rtt min/avg/max/mdev = 0.616/0.651/0.701/0.042 ms
debian:~# 
debian:~# 

Get Slice Credentials

Command output:

$  ./src/omni.py -o -a  https://geni.renci.org:11443/orca/xmlrpc getslicecred  lnevers6orca
INFO:omni:Loading config file omni_config
INFO:omni:Using control framework pgeni
INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers6orca expires within 1 day on 2012-03-21 02:22:46 UTC
INFO:omni:Retrieved slice cred for slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers6orca
INFO:omni:Wrote slice lnevers6orca credential to file 'lnevers6orca-cred.xml'
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed getslicecred:
  Options as run:
                aggregate: https://geni.renci.org:11443/orca/xmlrpc
                framework: pgeni
                native: True
                output: True

  Args: getslicecred lnevers6orca
  Result Summary: Saved slice lnevers6orca cred to file lnevers6orca-cred.xml 
INFO:omni: ============================================================

Print Slice Expiration

Command output:

$ ./src/omni.py -a  https://geni.renci.org:11443/orca/xmlrpc  print_slice_expiration lnevers6orca 
INFO:omni:Loading config file omni_config
INFO:omni:Using control framework pgeni
INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers6orca expires within 1 day on 2012-03-21 02:22:46 UTC
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed print_slice_expiration:
  Options as run:
                aggregate: https://geni.renci.org:11443/orca/xmlrpc
                framework: pgeni
                native: True
  Args: print_slice_expiration lnevers6orca
  Result Summary: Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers6orca expires within 1 day(s) on 2012-03-21 02:22:46 UTC 
INFO:omni: ============================================================

Renew Slice

Command output:

$ ./src/omni.py -a  https://geni.renci.org:11443/orca/xmlrpc renewslice lnevers6orca "2012-03-22T17:03:31.381392+00:00"              
INFO:omni:Loading config file omni_config
INFO:omni:Using control framework pgeni
INFO:omni.protogeni:Requesting new slice expiration '2012-03-22T17:03:31.381392+00:00'
INFO:omni:Slice lnevers6orca now expires at 2012-03-22 17:03:31.381392+00:00 UTC
INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers6orca expires on 2012-03-22 17:03:31 UTC
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed renewslice:

  Options as run:
                aggregate: https://geni.renci.org:11443/orca/xmlrpc
                framework: pgeni
                native: True

  Args: renewslice lnevers6orca 2012-03-22T17:03:31.381392+00:00

  Result Summary: Slice lnevers6orca now expires at 2012-03-22 17:03:31.381392+00:00 UTC
Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers6orca expires on 2012-03-22 17:03:31 UTC 
INFO:omni: ============================================================

Renew Sliver

Command output:

$ ./src/omni.py -a  https://geni.renci.org:11443/orca/xmlrpc renewsliver lnevers6orca "2012-03-22T17:01:31.381392+00:00" 
INFO:omni:Loading config file omni_config
INFO:omni:Using control framework pgeni
INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers6orca expires on 2012-03-22 17:03:31 UTC
INFO:omni:Renewing Sliver urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers6orca until 2012-03-22 17:01:31.381392+00:00 (UTC)
INFO:omni:Renewed sliver urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers6orca at unspecified_AM_URN (https://geni.renci.org:11443/orca/xmlrpc) until 2012-03-22T17:01:31.381392+00:00 (UTC)
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed renewsliver:

  Options as run:
                aggregate: https://geni.renci.org:11443/orca/xmlrpc
                framework: pgeni
                native: True

  Args: renewsliver lnevers6orca 2012-03-22T17:01:31.381392+00:00

  Result Summary: Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers6orca expires on 2012-03-22 17:03:31 UTC
Renewed sliver urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers6orca at unspecified_AM_URN (https://geni.renci.org:11443/orca/xmlrpc) until 2012-03-22T17:01:31.381392+00:00 (UTC)
 
INFO:omni: ============================================================

Delete Sliver

Command output:

$ ./src/omni.py -a  https://geni.renci.org:11443/orca/xmlrpc deletesliver lnevers6orca
INFO:omni:Loading config file omni_config
INFO:omni:Using control framework pgeni
INFO:omni:Deleted sliver urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers6orca on unspecified_AM_URN at https://geni.renci.org:11443/orca/xmlrpc
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed deletesliver:

  Options as run:
                aggregate: https://geni.renci.org:11443/orca/xmlrpc
                framework: pgeni
                native: True

  Args: deletesliver lnevers6orca

  Result Summary: Deleted sliver urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers6orca on unspecified_AM_URN at https://geni.renci.org:11443/orca/xmlrpc 
INFO:omni: ============================================================

Verified that sliver no longer existed:

$ ./src/omni.py -a  https://geni.renci.org:11443/orca/xmlrpc sliverstatus lnevers6orca
INFO:omni:Loading config file omni_config
INFO:omni:Using control framework pgeni
INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers6orca expires on 2012-03-22 17:03:31 UTC
INFO:omni:Status of Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers6orca:
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed sliverstatus:

  Options as run:
                aggregate: https://geni.renci.org:11443/orca/xmlrpc
                framework: pgeni
                native: True

  Args: sliverstatus lnevers6orca

  Result Summary: Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers6orca expires on 2012-03-22 17:03:31 UTC

Failed to get SliverStatus on lnevers6orca at AM https://geni.renci.org:11443/orca/xmlrpc: ERROR: unable to get slice status for urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers6orca
Returned status of slivers on 0 of 1 possible aggregates. 
INFO:omni: ============================================================

Status 01/19/2012

This survey was completed using the ORCA RENCI aggregate with GCF 1.5.2 on 01/19/2012.

AM API acceptance tests with ORCA Aggregate

$ ./am_api_v1_accept.py -a am-undertest
FFFFFFFFFFFFF
======================================================================
FAIL: test_CreateSliver: Passes if the sliver creation workflow succeeds.  Use --rspec-file to replace the default request RSpec.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./am_api_v1_accept.py", line 483, in test_CreateSliver
    self.subtest_CreateSliverWorkflow()
  File "./am_api_v1_accept.py", line 500, in subtest_CreateSliverWorkflow
    manifest = self.subtest_CreateSliver( slicename )
  File "./am_api_v1_accept.py", line 838, in subtest_CreateSliver
    self.assertTrue( self.checkRequestRSpecVersion() )
  File "./am_api_v1_accept.py", line 107, in checkRequestRSpecVersion
    return self.checkRSpecVersion(type='request')
  File "./am_api_v1_accept.py", line 135, in checkRSpecVersion
    list )
  File "/home/lnevers/gcf-1.5.2-rc2/src/omni_unittest.py", line 233, in assertReturnPairKeyValue
    self.assertPairKeyValue( method, aggName, dictionary, keyA, keyB, valueType=valueType)
  File "/home/lnevers/gcf-1.5.2-rc2/src/omni_unittest.py", line 216, in assertPairKeyValue
    % (method, aggName, keyA, keyB,  str(dictionary)[:100]))
AssertionError: Return from 'GetVersion' at https://geni.renci.org:11443/orca/xmlrpc expected to have entry 'request_rspec_versions' or 'geni_request_rspec_versions' but instead returned: 
{'implementation': 'ORCA', 'geni_api': 1}
... edited for length ...

======================================================================
FAIL: test_CreateSliverWorkflow_fail_notexist:  Passes if the sliver creation workflow fails when the slice has never existed.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./am_api_v1_accept.py", line 619, in test_CreateSliverWorkflow_fail_notexist
    self.subtest_CreateSliverWorkflow_failure( slicename )
  File "./am_api_v1_accept.py", line 627, in subtest_CreateSliverWorkflow_failure
    self.assertRaises(NotDictAssertionError, self.subtest_ListResources, slicename )
AssertionError: Return from 'GetVersion' at https://geni.renci.org:11443/orca/xmlrpc expected to have entry 'ad_rspec_versions' or 'geni_ad_rspec_versions' but instead returned: 
{'implementation': 'ORCA', 'geni_api': 1}
... edited for length ...

======================================================================
FAIL: test_CreateSliverWorkflow_multiSlice: Do CreateSliver workflow with multiple slices and ensure can not do ListResources on slices with the wrong credential.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./am_api_v1_accept.py", line 703, in test_CreateSliverWorkflow_multiSlice
    manifest[i] = "".join(self.subtest_CreateSliver( slicenames[i] ))
  File "./am_api_v1_accept.py", line 838, in subtest_CreateSliver
    self.assertTrue( self.checkRequestRSpecVersion() )
  File "./am_api_v1_accept.py", line 107, in checkRequestRSpecVersion
    return self.checkRSpecVersion(type='request')
  File "./am_api_v1_accept.py", line 135, in checkRSpecVersion
    list )
  File "/home/lnevers/gcf-1.5.2-rc2/src/omni_unittest.py", line 233, in assertReturnPairKeyValue
    self.assertPairKeyValue( method, aggName, dictionary, keyA, keyB, valueType=valueType)
  File "/home/lnevers/gcf-1.5.2-rc2/src/omni_unittest.py", line 216, in assertPairKeyValue
    % (method, aggName, keyA, keyB,  str(dictionary)[:100]))
AssertionError: Return from 'GetVersion' at https://geni.renci.org:11443/orca/xmlrpc expected to have entry 'request_rspec_versions' or 'geni_request_rspec_versions' but instead returned: 
{'implementation': 'ORCA', 'geni_api': 1}
... edited for length ...

======================================================================
FAIL: test_CreateSliver_badrspec_emptyfile: Passes if the sliver creation workflow fails when the request RSpec is an empty file.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./am_api_v1_accept.py", line 962, in test_CreateSliver_badrspec_emptyfile
    self.subtest_MinCreateSliverWorkflow, slice_name )
AssertionError: Return from 'GetVersion' at https://geni.renci.org:11443/orca/xmlrpc expected to have entry 'request_rspec_versions' or 'geni_request_rspec_versions' but instead returned: 
{'implementation': 'ORCA', 'geni_api': 1}
... edited for length ...

======================================================================
FAIL: test_CreateSliver_badrspec_malformed: Passes if the sliver creation workflow fails when the request RSpec is not well-formed XML.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./am_api_v1_accept.py", line 990, in test_CreateSliver_badrspec_malformed
    self.subtest_MinCreateSliverWorkflow, slice_name )
AssertionError: Return from 'GetVersion' at https://geni.renci.org:11443/orca/xmlrpc expected to have entry 'request_rspec_versions' or 'geni_request_rspec_versions' but instead returned: 
{'implementation': 'ORCA', 'geni_api': 1}
... edited for length ...

======================================================================
FAIL: test_CreateSliver_badrspec_manifest: Passes if the sliver creation workflow fails when the request RSpec is a manifest RSpec.  --bad-rspec-file allows you to replace the RSpec with an alternative.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./am_api_v1_accept.py", line 1003, in test_CreateSliver_badrspec_manifest
    % self.options_copy.rspec_file )
AssertionError: Request RSpec file, 'bad.xml' for 'CreateSliver' call expected to exist but does not.

======================================================================
FAIL: test_GetVersion: Passes if a 'GetVersion' returns an XMLRPC struct containing 'geni_api = 1' and other parameters defined in Change Set A.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./am_api_v1_accept.py", line 217, in test_GetVersion
    list )
  File "/home/lnevers/gcf-1.5.2-rc2/src/omni_unittest.py", line 233, in assertReturnPairKeyValue
    self.assertPairKeyValue( method, aggName, dictionary, keyA, keyB, valueType=valueType)
  File "/home/lnevers/gcf-1.5.2-rc2/src/omni_unittest.py", line 216, in assertPairKeyValue
    % (method, aggName, keyA, keyB,  str(dictionary)[:100]))
AssertionError: Return from 'GetVersion' at https://geni.renci.org:11443/orca/xmlrpc expected to have entry 'request_rspec_versions' or 'geni_request_rspec_versions' but instead returned: 
{'implementation': 'ORCA', 'geni_api': 1}
... edited for length ...

======================================================================
FAIL: test_ListResources: Passes if 'ListResources' returns an advertisement RSpec.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./am_api_v1_accept.py", line 235, in test_ListResources
    self.subtest_ListResources()
  File "./am_api_v1_accept.py", line 358, in subtest_ListResources
    self.assertTrue( self.checkAdRSpecVersion() )
  File "./am_api_v1_accept.py", line 105, in checkAdRSpecVersion
    return self.checkRSpecVersion(type='ad')
  File "./am_api_v1_accept.py", line 135, in checkRSpecVersion
    list )
  File "/home/lnevers/gcf-1.5.2-rc2/src/omni_unittest.py", line 233, in assertReturnPairKeyValue
    self.assertPairKeyValue( method, aggName, dictionary, keyA, keyB, valueType=valueType)
  File "/home/lnevers/gcf-1.5.2-rc2/src/omni_unittest.py", line 216, in assertPairKeyValue
    % (method, aggName, keyA, keyB,  str(dictionary)[:100]))
AssertionError: Return from 'GetVersion' at https://geni.renci.org:11443/orca/xmlrpc expected to have entry 'ad_rspec_versions' or 'geni_ad_rspec_versions' but instead returned: 
{'implementation': 'ORCA', 'geni_api': 1}
... edited for length ...

======================================================================
FAIL: test_ListResources_badCredential_alteredObject: Run ListResources with a User Credential that has been altered (so the signature doesn't match).
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./am_api_v1_accept.py", line 257, in test_ListResources_badCredential_alteredObject
    self.subtest_ListResources_badCredential(self.alterSignedObject)
  File "./am_api_v1_accept.py", line 316, in subtest_ListResources_badCredential
    self.assertRaises(NotDictAssertionError, self.subtest_ListResources, usercred=broken_usercred)
AssertionError: Return from 'GetVersion' at https://geni.renci.org:11443/orca/xmlrpc expected to have entry 'ad_rspec_versions' or 'geni_ad_rspec_versions' but instead returned: 
{'implementation': 'ORCA', 'geni_api': 1}
... edited for length ...

======================================================================
FAIL: test_ListResources_badCredential_malformedXML: Run ListResources with a User Credential that is missing it's first character (so that it is invalid XML).
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./am_api_v1_accept.py", line 254, in test_ListResources_badCredential_malformedXML
    self.subtest_ListResources_badCredential(self.removeFirstChar)
  File "./am_api_v1_accept.py", line 316, in subtest_ListResources_badCredential
    self.assertRaises(NotDictAssertionError, self.subtest_ListResources, usercred=broken_usercred)
AssertionError: Return from 'GetVersion' at https://geni.renci.org:11443/orca/xmlrpc expected to have entry 'ad_rspec_versions' or 'geni_ad_rspec_versions' but instead returned: 
{'implementation': 'ORCA', 'geni_api': 1}
... edited for length ...

======================================================================
FAIL: test_ListResources_geni_available: Passes if 'ListResources' returns an advertisement RSpec.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./am_api_v1_accept.py", line 249, in test_ListResources_geni_available
    self.subtest_ListResources()
  File "./am_api_v1_accept.py", line 358, in subtest_ListResources
    self.assertTrue( self.checkAdRSpecVersion() )
  File "./am_api_v1_accept.py", line 105, in checkAdRSpecVersion
    return self.checkRSpecVersion(type='ad')
  File "./am_api_v1_accept.py", line 135, in checkRSpecVersion
    list )
  File "/home/lnevers/gcf-1.5.2-rc2/src/omni_unittest.py", line 233, in assertReturnPairKeyValue
    self.assertPairKeyValue( method, aggName, dictionary, keyA, keyB, valueType=valueType)
  File "/home/lnevers/gcf-1.5.2-rc2/src/omni_unittest.py", line 216, in assertPairKeyValue
    % (method, aggName, keyA, keyB,  str(dictionary)[:100]))
AssertionError: Return from 'GetVersion' at https://geni.renci.org:11443/orca/xmlrpc expected to have entry 'ad_rspec_versions' or 'geni_ad_rspec_versions' but instead returned: 
{'implementation': 'ORCA', 'geni_api': 1}
... edited for length ...

======================================================================
FAIL: test_ListResources_geni_compressed: Passes if 'ListResources' returns an advertisement RSpec.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./am_api_v1_accept.py", line 242, in test_ListResources_geni_compressed
    self.subtest_ListResources()
  File "./am_api_v1_accept.py", line 358, in subtest_ListResources
    self.assertTrue( self.checkAdRSpecVersion() )
  File "./am_api_v1_accept.py", line 105, in checkAdRSpecVersion
    return self.checkRSpecVersion(type='ad')
  File "./am_api_v1_accept.py", line 135, in checkRSpecVersion
    list )
  File "/home/lnevers/gcf-1.5.2-rc2/src/omni_unittest.py", line 233, in assertReturnPairKeyValue
    self.assertPairKeyValue( method, aggName, dictionary, keyA, keyB, valueType=valueType)
  File "/home/lnevers/gcf-1.5.2-rc2/src/omni_unittest.py", line 216, in assertPairKeyValue
    % (method, aggName, keyA, keyB,  str(dictionary)[:100]))
AssertionError: Return from 'GetVersion' at https://geni.renci.org:11443/orca/xmlrpc expected to have entry 'ad_rspec_versions' or 'geni_ad_rspec_versions' but instead returned: 
{'implementation': 'ORCA', 'geni_api': 1}
... edited for length ...

======================================================================
FAIL: test_ListResources_untrustedCredential: Passes if 'ListResources' FAILS to return an advertisement RSpec when using a credential from an untrusted Clearinghouse.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./am_api_v1_accept.py", line 353, in test_ListResources_untrustedCredential
    self.assertRaises(NotDictAssertionError, self.subtest_ListResources, usercredfile=self.options_copy.untrusted_usercredfile)
AssertionError: Return from 'GetVersion' at https://geni.renci.org:11443/orca/xmlrpc expected to have entry 'ad_rspec_versions' or 'geni_ad_rspec_versions' but instead returned: 
{'implementation': 'ORCA', 'geni_api': 1}
... edited for length ...

----------------------------------------------------------------------
Ran 13 tests in 114.099s

FAILED (failures=13)

Experiment with Omni Commands

Configuration

The following configuration was used for all commands captured below:

[omni]
default_cf = pg
users = lnevers
# ---------- Users ----------
[lnevers]
urn = urn:publicid:IDN+emulab.net+user+lnevers
keys = ~/.ssh/id_rsa.pub
# ---------- Frameworks ----------
[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
verbose=false

Rspec

The Rspec that was successfully used to get ORCA resource is shown here, this version is the modified sample version of the rspec initially provided at the ORCA site:

<?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/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">
 <sliver_type name="raw-pc">
   <disk_image
name="http://geni-images.renci.org/images/regression/regression-deb5-i386.xml"
version="ea80af6601a2a000ec5b050d7e7701f26db096fc" />
 </sliver_type>
 <interface client_id="geni1:0">
<ip address="172.16.1.1" netmask="255.255.0.0" />
 </interface>
</node>
<node client_id="geni2">
 <sliver_type name="raw-pc">
   <disk_image
name="http://geni-images.renci.org/images/regression/regression-deb5-i386.xml"
version="ea80af6601a2a000ec5b050d7e7701f26db096fc" />
 </sliver_type>
 <interface client_id="geni2:0" >
<ip address="172.16.1.2" netmask="255.255.0.0" /> 
 </interface>
</node>
<link client_id="center">
  <interface_ref client_id="geni1:0" />
  <interface_ref client_id="geni2:0" />
</link>
</rspec>

Original Rspec sample

The initial Rspec example provided at the ORCA site example includes a gush image and service tags definitions and his captured here for historical reasons. This rspec has also successfully been used to reserve and access resource.

<?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/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">
 <sliver_type name="raw-pc">
   <disk_image
name="http://geni-images.renci.org/images/gush/gush-deb5-i386.xml"
version="25f53b64cfe44dd1604447f04b7b533bb67dea1e" />
 </sliver_type>
 <services>
   <execute shell="sh" command="sudo hostname `cat
/var/emulab/boot/realname`.`cat /var/emulab/boot/mydomain`"/>
 </services>
 <interface client_id="geni1:0">
    <ip address="172.16.1.1" netmask="255.255.0.0" />
 </interface>
</node>
<node client_id="geni2">
 <sliver_type name="raw-pc">
   <disk_image
name="http://geni-images.renci.org/images/gush/gush-deb5-i386.xml"
version="25f53b64cfe44dd1604447f04b7b533bb67dea1e" />
 </sliver_type>
 <services>
   <execute shell="sh" command="sudo hostname `cat
/var/emulab/boot/realname`.`cat /var/emulab/boot/mydomain`"/>
 </services>
 <interface client_id="geni2:0" >
   <ip address="172.16.1.2" netmask="255.255.0.0" />
 </interface>
</node>
<link client_id="center">
  <interface_ref client_id="geni1:0" />
  <interface_ref client_id="geni2:0" />
</link>
</rspec>

Credentials

This experiment did not use the pgeni.gpolab.bbn.com credentials because the RENCI ORCA aggregate is not federated with GPO PG (see ticket #3340 for details). Emulab credentials were used.

List Resources

$ ./src/omni.py -a https://geni.renci.org:11443/orca/xmlrpc listresources -o
INFO:omni:Loading config file omni_config
INFO:omni:Using control framework pg
INFO:omni:Saving output to a file.
INFO:omni:Listed resources on 1 out of 1 possible aggregates.
INFO:omni:Writing to 'rspec-geni-renci-org-11443-orca.xml'
INFO:omni:<!-- Resources at AM:
        URN: unspecified_AM_URN
        URL: https://geni.renci.org:11443/orca/xmlrpc
 -->
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed listresources:

  Options as run:
                aggregate: https://geni.renci.org:11443/orca/xmlrpc
                framework: pg
                native: True
                output: True
  Args: listresources

  Result Summary: Retrieved resources from 1 aggregates.
Wrote rspecs from 1 aggregates to 1 files
Saved listResources RSpec at unspecified_AM_URN to file rspec-geni-renci-org-11443-orca.xml. 
INFO:omni: ============================================================

The file rspec-geni-renci-org-11443-orca.xml is attached for reference.

Get Version

$ ./src/omni.py -a  https://geni.renci.org:11443/orca/xmlrpc getversion
INFO:omni:Loading config file omni_config
INFO:omni:Using control framework pg
INFO:omni:AM URN: unspecified_AM_URN (url: https://geni.renci.org:11443/orca/xmlrpc) has version:
INFO:omni:{   'geni_api': 1, 'implementation': 'ORCA'}
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed getversion:

  Options as run:
                aggregate: https://geni.renci.org:11443/orca/xmlrpc
                framework: pg
                native: True

  Args: getversion

  Result Summary: 
Got version for 1 out of 1 aggregates
 
INFO:omni: ============================================================

Create Slice

$ ./src/omni.py -a  https://geni.renci.org:11443/orca/xmlrpc  -n createslice lnevers5orca 
INFO:omni:Loading config file omni_config
INFO:omni:Using control framework pg
INFO:omni:Created slice with Name lnevers5orca, URN urn:publicid:IDN+emulab.net+slice+lnevers5orca, Expiration 2012-01-20 06:40:43+00:00
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed createslice:

  Options as run:
                aggregate: https://geni.renci.org:11443/orca/xmlrpc
                framework: pg
                native: True

  Args: createslice lnevers5orca

  Result Summary: Created slice with Name lnevers5orca, URN urn:publicid:IDN+emulab.net+slice+lnevers5orca, Expiration 2012-01-20 06:40:43+00:00
 
INFO:omni: ============================================================

Create Sliver

$ ./src/omni.py -a  https://geni.renci.org:11443/orca/xmlrpc  -n createsliver lnevers5orca orca.rspec
INFO:omni:Loading config file omni_config
INFO:omni:Using control framework pg
INFO:omni:Slice urn:publicid:IDN+emulab.net+slice+lnevers5orca expires within 1 day on 2012-01-20 06:40:43 UTC
INFO:omni:Creating sliver(s) from rspec file orca.rspec for slice urn:publicid:IDN+emulab.net+slice+lnevers5orca
<type 'exceptions.Exception'>
INFO:omni:Asked https://geni.renci.org:11443/orca/xmlrpc to reserve resources. Result:
INFO:omni:<!-- Reserved resources for:
        Slice: lnevers5orca
        At AM:
        URL: https://geni.renci.org:11443/orca/xmlrpc
 -->
INFO:omni:Request id: beef29a2-f969-462a-857c-7a5cf4bb06ee
[   Slice UID: 701b86e2-6b2e-490a-a753-44c9db8719f6 | Reservation UID: 49d36d9d-6129-4859-9b15-0d9bfc496579 | Resource Type: dukevmsite.vm | Resource Units: 1 ] 
[   Slice UID: 701b86e2-6b2e-490a-a753-44c9db8719f6 | Reservation UID: d6cb897b-2140-4777-9d23-a622bc697bc7 | Resource Type: dukevmsite.vm | Resource Units: 1 ] 
[   Slice UID: 701b86e2-6b2e-490a-a753-44c9db8719f6 | Reservation UID: 08f0bf79-9b94-46ea-8ce9-cdaadcb4f4bb | Resource Type: dukevmsite.vlan | Resource Units: 1 ] 

INFO:omni: ------------------------------------------------------------
INFO:omni: Completed createsliver:

  Options as run:
                aggregate: https://geni.renci.org:11443/orca/xmlrpc
                framework: pg
                native: True

  Args: createsliver lnevers5orca orca.rspec

  Result Summary: Slice urn:publicid:IDN+emulab.net+slice+lnevers5orca expires within 1 day(s) on 2012-01-20 06:40:43 UTC
Asked https://geni.renci.org:11443/orca/xmlrpc to reserve resources. No manifest Rspec returned.  
INFO:omni: ============================================================

Sliver Status

Sliver nodes create is slow for newly added images (11-12 minutes). Nodes using images that are known to the VM server will start in 2-3 minutes.

to the VM server will be to make the 2 nodes available. The sliverstatus looks as follows:

$ ./src/omni.py -a https://geni.renci.org:11443/orca/xmlrpc sliverstatus lnevers5orca  
INFO:omni:Loading config file omni_config
INFO:omni:Using control framework pg
INFO:omni:Slice urn:publicid:IDN+emulab.net+slice+lnevers5orca expires within 1 day on 2012-01-20 06:40:43 UTC
INFO:omni:Status of Slice urn:publicid:IDN+emulab.net+slice+lnevers5orca:
INFO:omni:'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
INFO:omni:Sliver status for Slice urn:publicid:IDN+emulab.net+slice+lnevers5orca at AM URL https://geni.renci.org:11443/orca/xmlrpc
INFO:omni:\n
<rspec xmlns:ns2="http://hpn.east.isi.edu/rspec/ext/stitch/0.1/" xmlns="http://www.protogeni.net/resources/rspec/2">\n
    <node sliver_id="urn:publicid:IDN+geni-orca.renci.org+sliver+urn:publicid:IDN+emulab.net+slice+lnevers5orca+5a195175-5586-4fba-8c70-e0e1b9363902#geni2/ab965229-ea55-4ff9-a1f2-7fa9196fe173" exclusive="true" client_id="5a195175-5586-4fba-8c70-e0e1b9363902#geni2/ab965229-ea55-4ff9-a1f2-7fa9196fe173">\n
        <sliver_type name="vm"/>\n
        <services>\n
            <login username="root" port="22" hostname="152.3.144.106" authentication="ssh-keys"/>\n
        </services>\n
        <interface client_id="5a195175-5586-4fba-8c70-e0e1b9363902#geni2/ab965229-ea55-4ff9-a1f2-7fa9196fe173:if1"/>\n
    </node>\n 
   <node sliver_id="urn:publicid:IDN+geni-orca.renci.org+sliver+urn:publicid:IDN+emulab.net+slice+lnevers5orca+5a195175-5586-4fba-8c70-e0e1b9363902#geni1/6dfe035c-2d71-4c9d-831e-9fffb6f9160c" exclusive="true" client_id="5a195175-5586-4fba-8c70-e0e1b9363902#geni1/6dfe035c-2d71-4c9d-831e-9fffb6f9160c">\n
        <sliver_type name="vm"/>\n
        <services>\n
            <login username="root" port="22" hostname="152.3.144.105" authentication="ssh-keys"/>\n
        </services>\n
        <interface client_id="5a195175-5586-4fba-8c70-e0e1b9363902#geni1/6dfe035c-2d71-4c9d-831e-9fffb6f9160c:if1"/>\n
    </node>\n
    <link sliver_id="urn:publicid:IDN+geni-orca.renci.org+sliver+urn:publicid:IDN+emulab.net+slice+lnevers5orca+5a195175-5586-4fba-8c70-e0e1b9363902#center/85fb01d4-7f1c-4c19-b18d-3becf7610c76" client_id="5a195175-5586-4fba-8c70-e0e1b9363902#center/85fb01d4-7f1c-4c19-b18d-3becf7610c76">\n
        <interface_ref client_id="5a195175-5586-4fba-8c70-e0e1b9363902#geni2/ab965229-ea55-4ff9-a1f2-7fa9196fe173:if1"/>\n
        <interface_ref client_id="5a195175-5586-4fba-8c70-e0e1b9363902#geni1/6dfe035c-2d71-4c9d-831e-9fffb6f9160c:if1"/>\n
    </link>\n</rspec>\n'
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed sliverstatus:

  Options as run:
                aggregate: https://geni.renci.org:11443/orca/xmlrpc
                framework: pg
                native: True

  Args: sliverstatus lnevers5orca

  Result Summary: Slice urn:publicid:IDN+emulab.net+slice+lnevers5orca expires within 1 day(s) on 2012-01-20 06:40:43 UTC
Returned status of slivers on 1 of 1 possible aggregates. 
INFO:omni: ============================================================

Login to sliver hosts

Log in as root on the ORCA hosts as follows:

$ ssh root@152.3.144.105              
Linux debian 2.6.28-11-server #42-Ubuntu SMP Fri Apr 17 02:48:10 UTC 2009 i686

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sun May 17 22:26:17 2009
debian:~# ifconfig -a
eth0      Link encap:Ethernet  HWaddr d0:0d:3d:95:07:cd  
          inet addr:192.168.4.2  Bcast:192.168.4.127  Mask:255.255.255.128
          inet6 addr: fe80::d20d:3dff:fe95:7cd/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1000 errors:0 dropped:0 overruns:0 frame:0
          TX packets:114 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:77810 (75.9 KiB)  TX bytes:17282 (16.8 KiB)

eth1      Link encap:Ethernet  HWaddr 52:54:00:fb:d7:e1  
          inet addr:172.16.1.1  Bcast:172.16.255.255  Mask:255.255.0.0
          inet6 addr: fe80::5054:ff:fefb:d7e1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:15 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:670 (670.0 B)  TX bytes:468 (468.0 B)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

debian:~# ping 172.16.1.2
PING 172.16.1.2 (172.16.1.2) 56(84) bytes of data.
64 bytes from 172.16.1.2: icmp_seq=1 ttl=64 time=3.29 ms
64 bytes from 172.16.1.2: icmp_seq=2 ttl=64 time=0.578 ms
^C
--- 172.16.1.2 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1002ms
rtt min/avg/max/mdev = 0.578/1.935/3.293/1.358 ms
debian:~# logout
Connection to 152.3.144.105 closed.

Get Version

$ ./src/omni.py -a  https://geni.renci.org:11443/orca/xmlrpc getversion
INFO:omni:Loading config file omni_config
INFO:omni:Using control framework pg
INFO:omni:AM URN: unspecified_AM_URN (url: https://geni.renci.org:11443/orca/xmlrpc) has version:
INFO:omni:{   'geni_api': 1, 'implementation': 'ORCA'}
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed getversion:

  Options as run:
                aggregate: https://geni.renci.org:11443/orca/xmlrpc
                framework: pg
                native: True

  Args: getversion

  Result Summary: 
Got version for 1 out of 1 aggregates
 
INFO:omni: ============================================================

List Aggregate

$ ./src/omni.py -a  https://geni.renci.org:11443/orca/xmlrpc listaggregates
INFO:omni:Loading config file omni_config
INFO:omni:Using control framework pg
INFO:omni:Listing 1 aggregates...
INFO:omni:  Aggregate 1:
        unspecified_AM_URN 
        https://geni.renci.org:11443/orca/xmlrpc
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed listaggregates:

  Options as run:
                aggregate: https://geni.renci.org:11443/orca/xmlrpc
                framework: pg
                native: True

  Args: listaggregates

  Result Summary: Found 1 aggregate. URN: unspecified_AM_URN; URL: https://geni.renci.org:11443/orca/xmlrpc 
INFO:omni: ============================================================

List My Slices

$ ./src/omni.py -a  https://geni.renci.org:11443/orca/xmlrpc listmyslices lnevers
INFO:omni:Loading config file omni_config
INFO:omni:Using control framework pg
INFO:omni:User 'lnevers' has slices: 
        urn:publicid:IDN+emulab.net+slice+lnevers4orca
        urn:publicid:IDN+emulab.net+slice+lnevers5orca
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed listmyslices:

  Options as run:
                aggregate: https://geni.renci.org:11443/orca/xmlrpc
                framework: pg
                native: True

  Args: listmyslices lnevers

  Result Summary: Found 2 slices for user 'lnevers'.
 
INFO:omni: ============================================================

Get Slice Credentials

$ ./src/omni.py -o -a  https://geni.renci.org:11443/orca/xmlrpc getslicecred lnevers5orca 
INFO:omni:Loading config file omni_config
INFO:omni:Using control framework pg
INFO:omni:Slice urn:publicid:IDN+emulab.net+slice+lnevers5orca expires within 1 day on 2012-01-20 06:40:43 UTC
INFO:omni:Retrieved slice cred for slice urn:publicid:IDN+emulab.net+slice+lnevers5orca
INFO:omni:Wrote slice lnevers5orca credential to file 'lnevers5orca-cred.xml'
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed getslicecred:

  Options as run:
                aggregate: https://geni.renci.org:11443/orca/xmlrpc
                framework: pg
                native: True
                output: True

  Args: getslicecred lnevers5orca

  Result Summary: Saved slice lnevers5orca cred to file lnevers5orca-cred.xml 
INFO:omni: ============================================================ 

Print Slice Expiration

$ ./src/omni.py -a  https://geni.renci.org:11443/orca/xmlrpc  print_slice_expiration lnevers5orca
INFO:omni:Loading config file omni_config
INFO:omni:Using control framework pg
INFO:omni:Slice urn:publicid:IDN+emulab.net+slice+lnevers5orca expires within 1 day on 2012-01-20 06:40:43 UTC
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed print_slice_expiration:

  Options as run:
                aggregate: https://geni.renci.org:11443/orca/xmlrpc
                framework: pg
                native: True

  Args: print_slice_expiration lnevers5orca

  Result Summary: Slice urn:publicid:IDN+emulab.net+slice+lnevers5orca expires within 1 day(s) on 2012-01-20 06:40:43 UTC 
INFO:omni: ============================================================

Renew Slice

$ ./src/omni.py -a  https://geni.renci.org:11443/orca/xmlrpc  renewslice lnevers5orca 2012-01-22
INFO:omni:Loading config file omni_config
INFO:omni:Using control framework pg
INFO:omni.protogeni:Requesting new slice expiration '2012-01-22T00:00:00'
INFO:omni:Slice lnevers5orca now expires at 2012-01-22 00:00:00 UTC
INFO:omni:Slice urn:publicid:IDN+emulab.net+slice+lnevers5orca expires on 2012-01-22 00:00:00 UTC
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed renewslice:

  Options as run:
                aggregate: https://geni.renci.org:11443/orca/xmlrpc
                framework: pg
                native: True

  Args: renewslice lnevers5orca 2012-01-22

  Result Summary: Slice lnevers5orca now expires at 2012-01-22 00:00:00 UTC
Slice urn:publicid:IDN+emulab.net+slice+lnevers5orca expires on 2012-01-22 00:00:00 UTC 
INFO:omni: ============================================================

Renew Sliver

$ ./src/omni.py -a  https://geni.renci.org:11443/orca/xmlrpc  renewsliver lnevers5orca 2012-01-22
INFO:omni:Loading config file omni_config
INFO:omni:Using control framework pg
INFO:omni:Slice urn:publicid:IDN+emulab.net+slice+lnevers5orca expires on 2012-01-22 00:00:00 UTC
INFO:omni:Renewing Sliver urn:publicid:IDN+emulab.net+slice+lnevers5orca until 2012-01-22 00:00:00+00:00 (UTC)
INFO:omni:Renewed sliver urn:publicid:IDN+emulab.net+slice+lnevers5orca at unspecified_AM_URN (https://geni.renci.org:11443/orca/xmlrpc) until 2012-01-22T00:00:00+00:00 (UTC)
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed renewsliver:

  Options as run:
                aggregate: https://geni.renci.org:11443/orca/xmlrpc
                framework: pg
                native: True

  Args: renewsliver lnevers5orca 2012-01-22

  Result Summary: Slice urn:publicid:IDN+emulab.net+slice+lnevers5orca expires on 2012-01-22 00:00:00 UTC
Renewed sliver urn:publicid:IDN+emulab.net+slice+lnevers5orca at unspecified_AM_URN (https://geni.renci.org:11443/orca/xmlrpc) until 2012-01-22T00:00:00+00:00 (UTC)
 
INFO:omni: ============================================================

Delete Sliver

$ ./src/omni.py -a  https://geni.renci.org:11443/orca/xmlrpc  -n deletesliver lnevers4orca orca.rspec              
INFO:omni:Loading config file omni_config
INFO:omni:Using control framework pg
INFO:omni:Deleted sliver urn:publicid:IDN+emulab.net+slice+lnevers4orca on unspecified_AM_URN at https://geni.renci.org:11443/orca/xmlrpc
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed deletesliver:

  Options as run:
                aggregate: https://geni.renci.org:11443/orca/xmlrpc
                framework: pg
                native: True

  Args: deletesliver lnevers4orca orca.rspec

  Result Summary: Deleted sliver urn:publicid:IDN+emulab.net+slice+lnevers4orca on unspecified_AM_URN at https://geni.renci.org:11443/orca/xmlrpc 
INFO:omni: ============================================================

Attachments (25)