Version 59 (modified by 12 years ago) (diff) | ,
---|
- InstaGENI Aggregates Surveys
- InstaGENI Status on 05/09/2012
- InstaGENI Status on 05/07/2012
- InstaGENI Status on 05/04/2012
- InstaGENI Status on 04/27/2012
- InstaGENI Status on 04/27/2012
- InstaGENI Status on 04/25/2012
- InstaGENI Status on 04/19/2012
- InstaGENI Status Shared Nodes on 04/04/2012
- InstaGENI Status on 04/04/2012 (AM API 2.0)
- InstaGENI Status on 04/03/2012 (AM API 1.0)
- InstaGENI Status on 04/02/2012
- InstaGENI Status on 03/22/2012
This page was last updated 2012-05-09 and is out of date.
See the InstaGENI Racks Project page for current information.
InstaGENI Aggregates Surveys
A survey is being run periodically to capture the state of the InstaGENI Aggregate using GCF 1.6.1 and pgeni.gpolab.bbn.com credentials. Survey focuses on Aggregate Manager features by running:
- the AM API Acceptance test to check for AM API compliance
- Omni to setup a simple 2 node experiment and exchange traffic between the two nodes.
Since the AM API has not turned out any issue and the simple two node experiment worked, expanded survey to try additional topologies.
InstaGENI Status on 05/09/2012
Re-execute most of the topologies from the earlier surveys and here is the current status:
- 3 emulab-openvz linear topology (OK)
- 2 emulab-openvz with two shared link (OK)
- 2 emulab-openvz with one shared link (OK)
- 1 emulab-openvz at InstaGENI rack and 1 at Utah PG (ticket 10)
- 1 emulab-openvz and 1 raw-pc with shared link (OK)
InstaGENI Status on 05/07/2012
Continued testing to verify additional experiment topologies in addition to the list in the 05/04/2012 status. Tried:
- 4 VM linear topology, all in InstaGENI rack (
ticket 9)
InstaGENI Status on 05/04/2012
Re-ran AP AM API acceptance test with rspeclint checking option enabled, and again, ran without any issue.
Test focus shifted to trying various topologies for the InstaGENI Racks. Experiment topologies tested found issues, which have mostly been resolved. All InstaGENI components were in the one rack available at Utah. Each experiment was deemed completed when able to login to the assigned nodes and exchange traffic between end-points. A mix of V2 and V3 RSpecs were used.
Topologies included:
- 3 emulab-openvz on Lan1, 3 emulab-openvz on Lan2, and one host from each group connected to Lan3 (
ticket 5) in one rack. - 4 raw pc ring topology (
ticket 6) - 4 raw pc star topology (ok)
- 2 emulab-openvz nodes with shared link (
ticket 4) - 1 emulab-openvz and 1 raw-pc with shared link (
ticket 7) - 1 raw pc no interfaces (ok)
- 1 emulab-openvz at InstaGENI rack and 1 at Utah PG.(
ticket 8)
InstaGENI Status on 04/27/2012
Attempt to set up a two node of type raw-pc with share link fails with a mapper error. This was due to the RSpec not specifying a bandwidth. Once the "capacity="1000000" was added to the link, the problem was resolved and was able to reserve and use the nodes with the specified link. Adding bandwidth to each interface did not help.
Also, the mapper failure differed between InstaGENI and PG Utah, which reported a "No stitching path" error rather the failure below. Following is a capture of the createsliver mapper failure:
lnevers@sendaria:~/gcf-1.6.1$ ./src/omni.py -a insta-utah createsliver lnrawv22 instageni-v2.rspec --api-version 2 INFO:omni:Loading config file omni_config INFO:omni:Using control framework pgeni INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnrawv22 expires within 1 day on 2012-04-30 19:38:59 UTC INFO:omni:Substituting AM nickname insta-utah with URL https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0, URN unspecified_AM_URN INFO:omni:Substituting AM nickname insta-utah with URL https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0, URN unspecified_AM_URN INFO:omni:Creating sliver(s) from rspec file instageni-v2.rspec for slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnrawv22 INFO:omni:Asked https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 to reserve resources. Result: INFO:omni:<!-- Reserved resources for: Slice: lnrawv22 At AM: URL: https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 --> INFO:omni: ------------------------------------------------------------ INFO:omni: Completed createsliver: Options as run: aggregate: insta-utah api_version: 2 framework: pgeni native: True Args: createsliver lnrawv22 instageni-v2.rspec Result Summary: Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnrawv22 expires within 1 day(s) on 2012-04-30 19:38:59 UTC Asked https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 to reserve resources. No manifest Rspec returned. *** ERROR: mapper: Reached run limit. Giving up. seed = 1335813330 Physical Graph: 4 Calculating shortest paths on switch fabric. Virtual Graph: 3 Generating physical equivalence classes:3 Type precheck: Type precheck passed. Node mapping precheck: Node mapping precheck succeeded Pruning pclasses. pclass pruning complete: removed 2 pclasses, 1 remain. Type precheck: Type precheck passed. Policy precheck: Policy precheck succeeded Annealing. Adjusting dificulty estimate for fixed nodes, 1 remain. Doing melting run Reverting: forced Reverting to best solution Done BEST SCORE: 3.3 in 17000 iters and 0.004363 seconds With 3 violations Iters to find best score: 0 Violations: 3 unassigned: 1 pnode_load: 0 no_connect: 2 link_users: 0 bandwidth: 0 desires: 0 vclass: 0 delay: 0 trivial mix: 0 subnodes: 0 max_types: 0 endpoints: 0 Nodes: insta1 pc1 insta2 pc5 unassigned: tbdelay0 End Nodes Edges: linksdelaysrc/insta1-and-insta2/insta1:0,insta2:0 Mapping Failed linksdelaydst/insta1-and-insta2/insta2:0,insta1:0 Mapping Failed End Edges End solution ASSIGN FAILED: Type precheck passed. Node mapping precheck succeeded Pruning pclasses. pclass pruning complete: removed 2 pclasses, 1 remain. Type precheck passed. Policy precheck succeeded Annealing. Adjusting dificulty estimate for fixed nodes, 1 remain. Doing melting run Reverting: forced Reverting to best solution Done BEST SCORE: 3.3 in 17000 iters and 0.004363 seconds unassigned: 1 pnode_load: 0 no_connect: 2 link_users: 0 bandwidth: 0 desires: 0 vclass: 0 delay: 0 trivial mix: 0 subnodes: 0 max_types: 0 endpoints: 0 INFO:omni: ============================================================
If interested, the Omni commands and RSpec are founds here
InstaGENI Status on 04/27/2012
AM API Issues: Sliver status error no longer occurs for the test_CreateSliver. Re-ran AM API acceptance test and enabled RSpec validation option for each test. No issues were found. Output for the AM API acceptance test run can be found here and acceptance test log can be found here.
Experiment Issues: Remains unchanged from the last survey, the sliver is creates successfully, but the nodes are not available. Problem captured in http://groups.geni.net/instageni/ticket/2. See capture here for the command used, and the resulting sliverstatus showing the bad state.
InstaGENI Status on 04/25/2012
AM API Issues: Sliver status error reported which was new and not encountered in previous run. GPO Development reviewing failures. Re-ran on 04/26/2012 works and can complete without any problem for the test_CreateSliver subtest.
Experiment Issues: Sliver was creates successfully, but the OpenVZ nodes were not available. The OpenVZ problem captured in http://groups.geni.net/instageni/ticket/2
AM API Acceptance Test
The AM API Acceptance test was run on the InstaGENI Utah rack and reported 1 new failures:
$ ./am_api_accept.py -a am-undertest --api-version 2 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 703, in subtest_CreateSliverWorkflow self.subtest_SliverStatus( slicename ) File "./am_api_accept.py", line 1163, in subtest_SliverStatus % (aggName, status)) File "/home/lnevers/gcf-1.6.1/src/omni_unittest.py", line 116, in assertDict raise NotDictAssertionError, msg NotDictAssertionError: Return from 'SliverStatus' for Aggregate https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0expected to be XMLRPC struct but instead returned: False ... edited for length ... ---------------------------------------------------------------------- Ran 13 tests in 816.035s FAILED (failures=1)
The acceptance test log is attached as instageni-log-20120425.txt
Experiment with Omni Commands
List Resources
No issues found here, command output:
$ ./src/omni.py -a https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 listresources -o --api-version 2 -t GENI 3
Output files attached as rspec-boss-utah-geniracks-net-protogeni-xmlrpc-am-2-0-20120425.xml
Create slice, sliver and sliver status
Created a sliver but the nodes remained in the following state: 'geni_status': 'unknown' and 'pg_status': 'notready'.
lnevers@sendaria:~/gcf-1.6.1$ ./src/omni.py -a https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 createslice lninsta INFO:omni:Loading config file omni_configINFO:omni:Using control framework pgeni INFO:omni:Created slice with Name lninsta, URN urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lninsta, Expiration 2012-04-26 06:54:14+00:00 INFO:omni: ------------------------------------------------------------ INFO:omni: Completed createslice: Options as run: aggregate: https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 framework: pgeni native: True Args: createslice lninsta Result Summary: Created slice with Name lninsta, URN urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lninsta, Expiration 2012-04-26 06:54:14+00:00 INFO:omni: ============================================================ lnevers@sendaria:~/gcf-1.6.1$ ./src/omni.py -a https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 createsliver lninsta ./instageni-2shared.rspec --api-version 2 -t GENI 3 INFO:omni:Loading config file omni_config INFO:omni:Using control framework pgeni INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lninsta expires within 1 day on 2012-04-26 06:54:14 UTC INFO:omni:Creating sliver(s) from rspec file ./instageni-2shared.rspec for slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lninsta INFO:omni:Asked https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 to reserve resources. Result: INFO:omni:<?xml version="1.0" ?> INFO:omni:<!-- Reserved resources for: Slice: lninsta At AM: URL: https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 --> INFO:omni: <rspec type="manifest" xmlns="http://www.geni.net/resources/rspec/3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.geni.net/resources/rspec/3 http://www.geni.net/resources/rspec/3/manifest.xsd"> <node client_id="host1" component_id="urn:publicid:IDN+utah.geniracks.net+node+pc5" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="true" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+84"> <sliver_type name="emulab-openvz"/> <interface client_id="host1:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc5:eth1" mac_address="e4115bed1cb6" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+87"> <ip address="10.10.1.1" type="ipv4"/> </interface> <rs:vnode name="pcvm5-1" xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1"/> <host name="host1.lninsta.pgeni-gpolab-bbn-com.utah.geniracks.net"/> <services> <login authentication="ssh-keys" hostname="pc5.utah.geniracks.net" port="30010" username="lnevers"/> </services> </node> <node client_id="host2" component_id="urn:publicid:IDN+utah.geniracks.net+node+pc4" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="true" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+85"> <sliver_type name="emulab-openvz"/> <interface client_id="host2:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc4:eth1" mac_address="e83935b1ec9e" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+88"> <ip address="10.10.1.2" type="ipv4"/> </interface> <rs:vnode name="pcvm4-1" xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1"/> <host name="host2.lninsta.pgeni-gpolab-bbn-com.utah.geniracks.net"/> <services> <login authentication="ssh-keys" hostname="pc4.utah.geniracks.net" port="30010" username="lnevers"/> </services> </node> <link client_id="host1-and-host2" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+86" vlantag="257"> <interface_ref client_id="host1:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc5:eth1" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+87"/> <interface_ref client_id="host2:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc4:eth1" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+88"/> <property dest_id="host2:if0" source_id="host1:if0"/> <property dest_id="host1:if0" source_id="host2:if0"/> </link> </rspec> INFO:omni: ------------------------------------------------------------ INFO:omni: Completed createsliver: Options as run: aggregate: https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 api_version: 2 framework: pgeni native: True rspectype: ('GENI', '3') Args: createsliver lninsta ./instageni-2shared.rspec Result Summary: Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lninsta expires within 1 day(s) on 2012-04-26 06:54:14 UTC Reserved resources on https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0. INFO:omni: ============================================================
Also ran:
- " $ ./src/omni.py -a https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 sliverstatus lninsta --api-version 2 -t GENI 3 -o" which generated an output file attached as lninsta-sliverstatus-boss-utah-geniracks-net-protogeni-xmlrpc-am-2-0-20210425.json which showed the following states: 'geni_status'='unknown', and 'pg_status'= 'notready',
- "$ ./src/omni.py -a https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 listresources lninsta --api-version 2 -t GENI 3 -o" which generated an output file attached as lninsta-rspec-boss-utah-geniracks-net-protogeni-xmlrpc-am-2-0-20120425.xml.
InstaGENI Status on 04/19/2012
- Set up a simple two openvz nodes experiment, but when the nodes came up there was no link between the nodes. Not sure why the interfaces did not come up, verified that validity of the rspec works by creating the same experiment at the Utah PG aggregate.
- Rack Aggregate availability has been an issue, several day with the rack not available, not able to investigate issue above.
- AM API test pass except for lack of dedicated nodes. Need to re-run when the rack is available.
AM API Acceptance Test
The AM API Acceptance test was run on the InstaGENI Utah rack and reported one failure, one of the nodes was no longer available:
lnevers@sendaria:~/gcf-1.6.1/acceptance_tests/AM_API$ ./am_api_accept.py -a am-undertest --api-version 2 --debug ..F.......... ====================================================================== 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-1328080 expires within 1 day(s) on 2012-04-23 19:28:09 UTC Asked https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 to reserve resources. No manifest Rspec returned. *** Fixed physical node: pc4 not available.*** Some fixed nodes failed to map*** Fixed physical node: pc4 not available.*** Some fixed nodes failed to map*** ERROR: map per: Unretriable error. Giving up. seed = 1335213716 Physical Graph: 3 Calculating shortest paths on switch fabric. Virtual Graph: 1 Generating physical equivalence classes:3 Type precheck: Type precheck passed. Node mapping precheck: Node mapping precheck succeeded Pruning pclasses. pclass pruning complete: removed 2 pclasses, 1 remain. Type precheck: Type precheck passed. Policy precheck: Policy precheck succeeded Annealing. *** Fixed physical node: pc4 not available. *** Some fixed nodes failed to map ASSIGN FAILED: Type precheck passed. Node mapping precheck succeeded Pruning pclasses. pclass pruning complete: removed 2 pclasses, 1 remain. Type precheck passed. Policy precheck succeeded Annealing. *** Fixed physical node: pc4 not available. *** Some fixed nodes failed to map ---------------------------------------------------------------------- Ran 13 tests in 460.136s FAILED (failures=1)
Acceptance Test log is attaches as instageni-log-20120423.txt
Omni Commands
These commands were used to set up an Experiment that includes two openvz nodes. When the sliver was created it took about 20 minutes until the nodes were ready for login. Once the nodes were up, was able to login, but the nodes did not have the address from the Manifest RSpec. No addresses were configured other than control network interface. Need to reproduce to investigate further, verified that the problem does not occur at the Utah PG aggregate.
List Resources
Requested listresources from the InstaGENI aggregate. Resulting advertisement file is attached as rspec-boss-utah-geniracks-net-protogeni-xmlrpc-am-2-0-20120419.xml.
lnevers@sendaria:~/gcf-1.6.1$ ./src/omni.py -a https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 listresources -o --api-version 2 -t GENI 3 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-boss-utah-geniracks-net-protogeni-xmlrpc-am-2-0.xml' INFO:omni: ------------------------------------------------------------ INFO:omni: Completed listresources: Options as run: aggregate: https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 api_version: 2 framework: pgeni native: True output: True rspectype: ('GENI', '3') 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-boss-utah-geniracks-net-protogeni-xmlrpc-am-2-0.xml; . INFO:omni: ============================================================
Create Slice
Create the slice:
lnevers@sendaria:~/gcf-1.6.1$ ./src/omni.py -a https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 createslice lnshared INFO:omni:Loading config file omni_config INFO:omni:Using control framework pgeni INFO:omni:Created slice with Name lnshared, URN urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnshared, Expiration 2012-04-20 01:33:03+00:00 INFO:omni: ------------------------------------------------------------ INFO:omni: Completed createslice: Options as run: aggregate: https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 framework: pgeni native: True Args: createslice lnshared Result Summary: Created slice with Name lnshared, URN urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnshared, Expiration 2012-04-20 01:33:03+00:00 INFO:omni: ============================================================
Create Sliver
Created a sliver using the same request RSpec as shown in previous survey. Command output:
$ ./src/omni.py -a https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 createsliver lnshared ./instageni-2shared.rspec --api-version 2 -t GENI 3 INFO:omni:Loading config file omni_config INFO:omni:Using control framework pgeni INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnshared expires within 1 day on 2012-04-20 01:33:03 UTC INFO:omni:Creating sliver(s) from rspec file ./instageni-2shared.rspec for slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnshared INFO:omni:Asked https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 to reserve resources. Result: INFO:omni:<?xml version="1.0" ?> INFO:omni:<!-- Reserved resources for: Slice: lnshared At AM: URL: https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 --> INFO:omni: <rspec type="manifest" xmlns="http://www.geni.net/resources/rspec/3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.geni.net/resources/rspec/3 http://www.geni.net/resources/rspec/3/manifest.xsd"> <node client_id="host1" component_id="urn:publicid:IDN+utah.geniracks.net+node+pc2" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="true" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+62"> <sliver_type name="emulab-openvz"/> <interface client_id="host1:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc2:eth1" mac_address="e83935b10c7e" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+65"> <ip address="10.10.1.1" type="ipv4"/> </interface> <rs:vnode name="pcvm2-1" xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1"/> <host name="host1.lnshared.pgeni-gpolab-bbn-com.utah.geniracks.net"/> <services> <login authentication="ssh-keys" hostname="pc2.utah.geniracks.net" port="30266" username="lnevers"/> </services> </node> <node client_id="host2" component_id="urn:publicid:IDN+utah.geniracks.net+node+pc5" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="true" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+63"> <sliver_type name="emulab-openvz"/> <interface client_id="host2:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc5:eth1" mac_address="e4115bed1cb6" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+66"> <ip address="10.10.1.2" type="ipv4"/> </interface> <rs:vnode name="pcvm5-1" xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1"/> <host name="host2.lnshared.pgeni-gpolab-bbn-com.utah.geniracks.net"/> <services> <login authentication="ssh-keys" hostname="pc5.utah.geniracks.net" port="30266" username="lnevers"/> </services> </node> <link client_id="host1-and-host2" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+64" vlantag="257"> <interface_ref client_id="host1:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc2:eth1" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+65"/> <interface_ref client_id="host2:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc5:eth1" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+66"/> <property dest_id="host2:if0" source_id="host1:if0"/> <property dest_id="host1:if0" source_id="host2:if0"/> </link> </rspec> INFO:omni: ------------------------------------------------------------ INFO:omni: Completed createsliver: Options as run: aggregate: https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 api_version: 2 framework: pgeni native: True rspectype: ('GENI', '3') Args: createsliver lnshared ./instageni-2shared.rspec Result Summary: Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnshared expires within 1 day(s) on 2012-04-20 01:33:03 UTC Reserved resources on https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0. INFO:omni: ============================================================
Sliver Status
Verified the status of the requested nodes. The complete output is attached as lnshared-sliverstatus-boss-utah-geniracks-net-protogeni-xmlrpc-am-2-0-20120419.json. The hosts assigned to the sliver were pc2.utah.geniracks.net and pc5.utah.geniracks.net. The command issued:
$ ./src/omni.py -a https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 sliverstatus lnshared --api-version 2 -t GENI 3 -o INFO:omni:Loading config file omni_config INFO:omni:Using control framework pgeni INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnshared expires within 1 day on 2012-04-20 01:33:03 UTC INFO:omni:Status of Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnshared: INFO:omni:Writing to 'lnshared-sliverstatus-boss-utah-geniracks-net-protogeni-xmlrpc-am-2-0.json' INFO:omni:Sliver status for Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnshared at AM URL https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 INFO:omni: ------------------------------------------------------------ INFO:omni: Completed sliverstatus: Options as run: aggregate: https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 api_version: 2 framework: pgeni native: True output: True rspectype: ('GENI', '3') Args: sliverstatus lnshared Result Summary: Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnshared expires within 1 day(s) on 2012-04-20 01:33:03 UTC Saved sliverstatus on lnshared at AM https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 to file lnshared-sliverstatus-boss-utah-geniracks-net-protogeni-xmlrpc-am-2-0.json. Returned status of slivers on 1 of 1 possible aggregates. INFO:omni: ============================================================
Renew Sliver
Works as expected:
lnevers@sendaria:~/gcf-1.6.1$ ./src/omni.py -a https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 renewsliver lnshared --api-version 2 "2012-04-23 00:00:00 UTC" INFO:omni:Loading config file omni_config INFO:omni:Using control framework pgeni INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnshared expires on 2012-04-30 00:00:00 UTC INFO:omni:Renewing Sliver urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnshared until 2012-04-23 00:00:00+00:00 (UTC) INFO:omni:Renewed sliver urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnshared at unspecified_AM_URN (https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0) until 2012-04-23T00:00:00+00:00 (UTC) INFO:omni: ------------------------------------------------------------ INFO:omni: Completed renewsliver: Options as run: aggregate: https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 api_version: 2 framework: pgeni native: True Args: renewsliver lnshared 2012-04-23 00:00:00 UTC Result Summary: Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnshared expires on 2012-04-30 00:00:00 UTC Renewed sliver urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnshared at unspecified_AM_URN (https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0) until 2012-04-23T00:00:00+00:00 (UTC) INFO:omni: ============================================================
Login to each of the hosts
Logged into each node, but no interface was available for the address shown in the manifest RSpec.
InstaGENI Status Shared Nodes on 04/04/2012
Omni Commands
Run on 04/04/2012, this experiment creates a 2 node setup using "emulab-openvz".
Request Rspec
The following RSpec was used for the resource request:
<?xml version="1.0" encoding="UTF-8"?> <!-- Resources at AM: URN: unspecified_AM_URN URL: https://boss.utah.geniracks.net/protogeni/xmlrpc/am --> <rspec xmlns="http://www.geni.net/resources/rspec/3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.geni.net/resources/rspec/3 http://www.geni.net/resources/rspec/3/request.xsd" type="request"> <node client_id="host1" exclusive="false"> <sliver_type name="emulab-openvz" /> <interface client_id="host1:if0" /> </node> <node client_id="host2" exclusive="false"> <sliver_type name="emulab-openvz" /> <interface client_id="host2:if0" /> </node> <link client_id="host1-and-host2"> <interface_ref client_id="host1:if0"/> <interface_ref client_id="host2:if0"/> <property source_id="host1:if0" dest_id="host2:if0"/> <property source_id="host2:if0" dest_id="host1:if0"/> </link> </rspec>
Create Slice
Using pgeni.gpolab.bbn.com credentials, created a slice:
$ ./src/omni.py -a https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 createslice lnshared INFO:omni:Loading config file omni_config INFO:omni:Using control framework pgeni INFO:omni:Created slice with Name lnshared, URN urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnshared, Expiration 2012-04-04 22:54:55+00:00 INFO:omni: ------------------------------------------------------------ INFO:omni: Completed createslice: Options as run: aggregate: https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 framework: pgeni native: True Args: createslice lnshared Result Summary: Created slice with Name lnshared, URN urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnshared, Expiration 2012-04-04 22:54:55+00:00 INFO:omni: ============================================================
Create Sliver
Requested compute resources using the RSpec shown above. Command Output:
$ ./src/omni.py -a https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 createsliver lnshared ./instageni-2shared.rspec --api-version 2 -t GENI 3 INFO:omni:Loading config file omni_config INFO:omni:Using control framework pgeni INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnshared expires within 1 day on 2012-04-04 22:54:55 UTC INFO:omni:Creating sliver(s) from rspec file ./instageni-2shared.rspec for slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnshared INFO:omni:Asked https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 to reserve resources. Result: INFO:omni:<!-- Reserved resources for: Slice: lnshared At AM: URL: https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 --> INFO:omni: ------------------------------------------------------------ INFO:omni: Completed createsliver: Options as run: aggregate: https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 api_version: 2 framework: pgeni native: True rspectype: ('GENI', '3') Args: createsliver lnshared ./instageni-2shared.rspec Result Summary: Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnshared expires within 1 day(s) on 2012-04-04 22:54:55 UTC Asked https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 to reserve resources. No manifest Rspec returned. Could not verify topo INFO:omni: ============================================================
InstaGENI Status on 04/04/2012 (AM API 2.0)
Omni Commands
This section surveys AM API V2.0 features for the Utah InstaGENI rack using the AM API 2.0 for both Omni and the AM API Acceptance test.
List Resources
Command output:
$ ./src/omni.py -a https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 listresources -o --api-version 2 -t GENI 3 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-boss-utah-geniracks-net-protogeni-xmlrpc-am-2-0.xml' INFO:omni: ------------------------------------------------------------ INFO:omni: Completed listresources: Options as run: aggregate: https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 api_version: 2 framework: pgeni native: True output: True rspectype: ('GENI', '3') 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-boss-utah-geniracks-net-protogeni-xmlrpc-am-2-0.xml; . INFO:omni: ============================================================
Note: output file is attached as rspec-boss-utah-geniracks-net-protogeni-xmlrpc-am-2-0-20120404.xml.
Create Slice
Command output:
$ ./src/omni.py -a https://boss.utah.geniracks.net/protogeni/xmlrpc/am createslice lninsta2 INFO:omni:Loading config file omni_config INFO:omni:Using control framework pgeni INFO:omni:Created slice with Name lninsta2, URN urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lninsta2, Expiration 2012-04-04 20:33:04+00:00 INFO:omni: ------------------------------------------------------------ INFO:omni: Completed createslice: Options as run: aggregate: https://boss.utah.geniracks.net/protogeni/xmlrpc/am framework: pgeni native: True Args: createslice lninsta2 Result Summary: Created slice with Name lninsta2, URN urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lninsta2, Expiration 2012-04-04 20:33:04+00:00 INFO:omni: ============================================================
V3 RSpec
RSpec use with sliver below:
<?xml version="1.0" ?> <!-- Resources at AM: URN: unspecified_AM_URN URL: https://boss.utah.geniracks.net/protogeni/xmlrpc/am --> <rspec type="request" xmlns="http://www.geni.net/resources/rspec/3" xmlns:flack="http://www.protogeni.net/resources/rspec/ext/flack/1" xmlns:planetlab="http://www.planet-lab.org/resources/sfa/ext/planetlab/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.geni.net/resources/rspec/3 http://www.geni.net/resources/rspec/3/request.xsd"> <node component_id="urn:publicid:IDN+utah.geniracks.net+node+pc5" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" component_name="pc5" client_id="insta1" exclusive="true"> <sliver_type name="raw-pc"> </sliver_type> </node> <node component_id="urn:publicid:IDN+utah.geniracks.net+node+pc4" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" component_name="pc4" client_id="insta2" exclusive="true"> <sliver_type name="raw-pc"> </sliver_type> </node> </rspec>
Create Sliver
Command output:
$ ./src/omni.py -a https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 createsliver lninsta2 ./instageni-v3.rspec --api-version 2 -t GENI 3 INFO:omni:Loading config file omni_config INFO:omni:Using control framework pgeni INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lninsta2 expires within 1 day on 2012-04-04 20:33:04 UTC INFO:omni:Creating sliver(s) from rspec file ./instageni-v3.rspec for slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lninsta2 INFO:omni:Asked https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 to reserve resources. Result: INFO:omni:<?xml version="1.0" ?> INFO:omni:<!-- Reserved resources for: Slice: lninsta2 At AM: URL: https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 --> INFO:omni: <rspec type="manifest" xmlns="http://www.geni.net/resources/rspec/3" xmlns:flack="http://www.protogeni.net/resources/rspec/ext/flack/1" xmlns:planetlab="http://www.planet-lab.org/resources/sfa/ext/planetlab/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.geni.net/resources/rspec/3 http://www.geni.net/resources/rspec/3/manifest.xsd"> <node client_id="insta1" component_id="urn:publicid:IDN+utah.geniracks.net+node+pc3" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" component_name="pc3" exclusive="true" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+15"> <sliver_type name="raw-pc"> </sliver_type> <rs:vnode name="pc3" xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1"/> <host name="insta1.lninsta2.pgeni-gpolab-bbn-com.utah.geniracks.net"/> <services> <login authentication="ssh-keys" hostname="pc3.utah.geniracks.net" port="22" username="lnevers"/> </services> </node> <node client_id="insta2" component_id="urn:publicid:IDN+utah.geniracks.net+node+pc2" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" component_name="pc2" exclusive="true" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+16"> <sliver_type name="raw-pc"> </sliver_type> <rs:vnode name="pc2" xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1"/> <host name="insta2.lninsta2.pgeni-gpolab-bbn-com.utah.geniracks.net"/> <services> <login authentication="ssh-keys" hostname="pc2.utah.geniracks.net" port="22" username="lnevers"/> </services> </node> </rspec> INFO:omni: ------------------------------------------------------------ INFO:omni: Completed createsliver: Options as run: aggregate: https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 api_version: 2 framework: pgeni native: True rspectype: ('GENI', '3') Args: createsliver lninsta2 ./instageni-v3.rspec Result Summary: Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lninsta2 expires within 1 day(s) on 2012-04-04 20:33:04 UTC Reserved resources on https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0. INFO:omni: ============================================================
Sliver Status
Command output:
$ ./src/omni.py -a https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 sliverstatus lninsta2 --api-version 2 -t GENI 3 INFO:omni:Loading config file omni_config INFO:omni:Using control framework pgeni INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lninsta2 expires within 1 day on 2012-04-04 20:33:04 UTC INFO:omni:Status of Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lninsta2: INFO:omni:Sliver status for Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lninsta2 at AM URL https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 INFO:omni:{'geni_resources': [{'geni_error': '', 'geni_status': 'ready', 'geni_urn': 'urn:publicid:IDN+utah.geniracks.net+sliver+16', 'pg_manifest': {'attributes': {'client_id': 'insta2', 'component_id': 'urn:publicid:IDN+utah.geniracks.net+node+pc2', 'component_manager_id': 'urn:publicid:IDN+utah.geniracks.net+authority+cm', 'component_name': 'pc2', 'exclusive': 'true', 'sliver_id': 'urn:publicid:IDN+utah.geniracks.net+sliver+16', 'xmlns': 'http://www.geni.net/resources/rspec/3'}, 'children': [{'attributes': {'name': 'raw-pc'}, 'children': [], 'name': 'sliver_type'}, {'attributes': {'name': 'pc2', 'xmlns:rs': 'http://www.protogeni.net/resources/rspec/ext/emulab/1'}, 'children': [], 'name': 'rs:vnode'}, {'attributes': {'name': 'insta2.lninsta2.pgeni-gpolab-bbn-com.utah.geniracks.net'}, 'children': [], 'name': 'host'}, {'attributes': {}, 'children': [{'attributes': {'authentication': 'ssh-keys', 'hostname': 'pc2.utah.geniracks.net', 'port': 22, 'username': 'lnevers'}, 'children': [], 'name': 'login'}], 'name': 'services'}], 'name': 'node'}, 'pg_status': 'ready'}, {'geni_error': '', 'geni_status': 'ready', 'geni_urn': 'urn:publicid:IDN+utah.geniracks.net+sliver+15', 'pg_manifest': {'attributes': {'client_id': 'insta1', 'component_id': 'urn:publicid:IDN+utah.geniracks.net+node+pc3', 'component_manager_id': 'urn:publicid:IDN+utah.geniracks.net+authority+cm', 'component_name': 'pc3', 'exclusive': 'true', 'sliver_id': 'urn:publicid:IDN+utah.geniracks.net+sliver+15', 'xmlns': 'http://www.geni.net/resources/rspec/3'}, 'children': [{'attributes': {'name': 'raw-pc'}, 'children': [], 'name': 'sliver_type'}, {'attributes': {'name': 'pc3', 'xmlns:rs': 'http://www.protogeni.net/resources/rspec/ext/emulab/1'}, 'children': [], 'name': 'rs:vnode'}, {'attributes': {'name': 'insta1.lninsta2.pgeni-gpolab-bbn-com.utah.geniracks.net'}, 'children': [], 'name': 'host'}, {'attributes': {}, 'children': [{'attributes': {'authentication': 'ssh-keys', 'hostname': 'pc3.utah.geniracks.net', 'port': 22, 'username': 'lnevers'}, 'children': [], 'name': 'login'}], 'name': 'services'}], 'name': 'node'}, 'pg_status': 'ready'}], 'geni_status': 'ready', 'geni_urn': 'urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lninsta2', 'pg_expires': '2012-04-04T20:33:04', 'pg_status': 'ready', 'users': [{'keys': [{'key': 'ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAlyESlInEUSiB1PlMhLFsj1/x7ixbquiQznviT9VusyVdPIGscSlwrE1gjvEucDYSQEsuQvV5k0MUy8NJZkdCCJFYbSD8/rbZOxuDYGaLq2uc2F379Am2Kfn6kaJzxat41KIlVjA/XrVHaauJNY/woGatKnkuD/7faFsxk9UO1dFB+smfTF/nZ3hQOrKBHWGm7t+nbqH5iiWDjK7N7HqSP/VYRgL4U8Z62NUMuzJ09rSPGWCGPSE2YeU9GnQwtl3zlOC+ScKWrfVePiR92+3rgSqPo/97fdY4ZYX/JrwGXV/nZbor4niKq8xBPiXpbrbX+pTkjXsYmjCuITMPLXv48w== lnevers@sendaria.gpolab.bbn.com', 'type': 'ssh'}], 'login': 'lnevers', 'urn': 'urn:publicid:IDN+pgeni.gpolab.bbn.com+user+lnevers'}]} INFO:omni: ------------------------------------------------------------ INFO:omni: Completed sliverstatus: Options as run: aggregate: https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 api_version: 2 framework: pgeni native: True rspectype: ('GENI', '3') Args: sliverstatus lninsta2 Result Summary: Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lninsta2 expires within 1 day(s) on 2012-04-04 20:33:04 UTC Returned status of slivers on 1 of 1 possible aggregates. INFO:omni: ============================================================
Login to sliver hosts
Command output:
$ ssh lnevers@insta1.lninsta2.pgeni-gpolab-bbn-com.utah.geniracks.net Warning: Permanently added 'insta1.lninsta2.pgeni-gpolab-bbn-com.utah.geniracks.net,155.98.34.13' (RSA) to the list of known hosts. [lnevers@insta1 ~]$ cat /etc/issue Fedora release 15 (Lovelock) Kernel \r on an \m (\l) [lnevers@insta1 ~]$ /sbin/ifc ifcfg* ifconfig* [lnevers@insta1 ~]$ /sbin/ifconfig -a eth0 Link encap:Ethernet HWaddr E8:39:35:B1:4E:88 inet addr:155.98.34.13 Bcast:155.98.34.255 Mask:255.255.255.0 inet6 addr: fe80::ea39:35ff:feb1:4e88/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:360 errors:0 dropped:0 overruns:0 frame:0 TX packets:313 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:44069 (43.0 KiB) TX bytes:33294 (32.5 KiB) Interrupt:30 Memory:f4000000-f4012800 eth1 Link encap:Ethernet HWaddr E8:39:35:B1:4E:8A BROADCAST MULTICAST MTU:1500 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:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:37 Memory:f2000000-f2012800 eth2 Link encap:Ethernet HWaddr E8:39:35:B1:4E:B0 BROADCAST MULTICAST MTU:1500 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:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:31 Memory:f8000000-f8012800 eth3 Link encap:Ethernet HWaddr E8:39:35:B1:4E:B2 BROADCAST MULTICAST MTU:1500 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:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:39 Memory:f6000000-f6012800 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:41 errors:0 dropped:0 overruns:0 frame:0 TX packets:41 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3627 (3.5 KiB) TX bytes:3627 (3.5 KiB) [lnevers@insta1 ~]$
Renew Slice
Command output:
$ ./src/omni.py -a https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 renewslice lninsta2 2012-04-05 --api-version 2 INFO:omni:Loading config file omni_config INFO:omni:Using control framework pgeni INFO:omni.protogeni:Requesting new slice expiration '2012-04-05T00:00:00' INFO:omni:Slice lninsta2 now expires at 2012-04-05 00:00:00 UTC INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lninsta2 expires within 1 day on 2012-04-05 00:00:00 UTC INFO:omni: ------------------------------------------------------------ INFO:omni: Completed renewslice: Options as run: aggregate: https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 api_version: 2 framework: pgeni native: True Args: renewslice lninsta2 2012-04-05 Result Summary: Slice lninsta2 now expires at 2012-04-05 00:00:00 UTC Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lninsta2 expires within 1 day(s) on 2012-04-05 00:00:00 UTC INFO:omni: ============================================================
Renew Sliver
Command output:
$ ./src/omni.py -a https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 renewsliver lninsta2 2012-04-05 --api-version 2 INFO:omni:Loading config file omni_config INFO:omni:Using control framework pgeni INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lninsta2 expires within 1 day on 2012-04-05 00:00:00 UTC INFO:omni:Renewing Sliver urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lninsta2 until 2012-04-05 00:00:00+00:00 (UTC) INFO:omni:Renewed sliver urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lninsta2 at unspecified_AM_URN (https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0) until 2012-04-05T00:00:00+00:00 (UTC) INFO:omni: ------------------------------------------------------------ INFO:omni: Completed renewsliver: Options as run: aggregate: https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 api_version: 2 framework: pgeni native: True Args: renewsliver lninsta2 2012-04-05 Result Summary: Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lninsta2 expires within 1 day(s) on 2012-04-05 00:00:00 UTC Renewed sliver urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lninsta2 at unspecified_AM_URN (https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0) until 2012-04-05T00:00:00+00:00 (UTC) INFO:omni: ============================================================
Delete Sliver
Command output:
$ ./src/omni.py -a https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 deletesliver lninsta2 --api-version 2 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+lninsta2 on unspecified_AM_URN at https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 INFO:omni: ------------------------------------------------------------ INFO:omni: Completed deletesliver: Options as run: aggregate: https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 api_version: 2 framework: pgeni native: True Args: deletesliver lninsta2 Result Summary: Deleted sliver urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lninsta2 on unspecified_AM_URN at https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 INFO:omni: ============================================================
AM API Acceptance Test
Command output:
$ ./am_api_accept.py -a am-undertest --api-version 2 --debug ..F.......... ====================================================================== 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-1511291 expires within 1 day(s) on 2012-04-04 21:11:32 UTC Asked https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 to reserve resources. No manifest Rspec returned. *** Fixed physical node: pc3 not available.*** Some fixed nodes failed to map*** Fixed physical node: pc3 not available.*** Some fixed nodes failed to map*** ERROR: mapper: Unretriable error. Giving up. seed = 1333635350 Physical Graph: 3 Calculating shortest paths on switch fabric. Virtual Graph: 1 Generating physical equivalence classes:3 Type precheck: Type precheck passed. Node mapping precheck: Node mapping precheck succeeded Pruning pclasses. pclass pruning complete: removed 2 pclasses, 1 remain. Type precheck: Type precheck passed. Policy precheck: Policy precheck succeeded Annealing. *** Fixed physical node: pc3 not available. *** Some fixed nodes failed to map ASSIGN FAILED: Type precheck passed. Node mapping precheck succeeded Pruning pclasses. pclass pruning complete: removed 2 pclasses, 1 remain. Type precheck passed. Policy precheck succeeded Annealing. *** Fixed physical node: pc3 not available. *** Some fixed nodes failed to map ---------------------------------------------------------------------- Ran 13 tests in 518.062s FAILED (failures=1)
Acceptance test logs attached as instageni-log-20120404.txt. The Rspecs used for acceptance test are attached as request-v3.xml, request1-v3.xml, request2-V3.xml, request3-v3.xml
InstaGENI Status on 04/03/2012 (AM API 1.0)
This survey of the Utah InstaGENI Rack was completed for the AM API 1.0. Seems that https://boss.utah.geniracks.net/protogeni/xmlrpc/am defaults to AM API 1.0.
Omni Commands
Configuration
This configuration is used for all scenario on this page.
[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
Used the following RSpec based on the output from list resources.
#xml <?xml version="1.0" ?> <!-- Resources at AM: URN: unspecified_AM_URN URL: https://boss.utah.geniracks.net/protogeni/xmlrpc/am --> <rspec type="request" xmlns="http://www.protogeni.net/resources/rspec/2" xmlns:emulab="http://www.protogeni.net/resources/rspec/ext/emulab/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/request.xsd http://www.protogeni.net/resources/rspec/ext/emulab/1 http://www.protogeni.net/resources/rspec/ext/emulab/1/ptop_extension.xsd "> <node component_id="urn:publicid:IDN+utah.geniracks.net+node+pc5" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" component_name="pc5" client_id="insta1" exclusive="true"> <sliver_type name="raw-pc"> </sliver_type> </node> <node component_id="urn:publicid:IDN+utah.geniracks.net+node+pc4" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" component_name="pc4" client_id="insta2" exclusive="true"> <sliver_type name="raw-pc"> </sliver_type> </node> </rspec>
List Resources
Command output:
$ ./src/omni.py -a https://boss.utah.geniracks.net/protogeni/xmlrpc/am 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-boss-utah-geniracks-net-protogeni.xml' INFO:omni: ------------------------------------------------------------ INFO:omni: Completed listresources: Options as run: aggregate: https://boss.utah.geniracks.net/protogeni/xmlrpc/am 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-boss-utah-geniracks-net-protogeni.xml; . INFO:omni: ============================================================
Note: output file attached as [ rspec-boss-utah-geniracks-net-protogeni-20120403.xml]
Get Version
Command output:
$ ./src/omni.py -a https://boss.utah.geniracks.net/protogeni/xmlrpc/am getversion INFO:omni:Loading config file omni_config INFO:omni:Using control framework pgeni INFO:omni:AM URN: unspecified_AM_URN (url: https://boss.utah.geniracks.net/protogeni/xmlrpc/am) has version: INFO:omni:{ 'ad_rspec_versions': [ { 'extensions': [], 'namespace': 'http://www.protogeni.net/resources/rspec/0.1', 'schema': 'http://www.protogeni.net/resources/rspec/0.1/ad.xsd', 'type': 'ProtoGENI', 'version': '0.1'}, { 'extensions': [], 'namespace': 'http://www.protogeni.net/resources/rspec/0.2', 'schema': 'http://www.protogeni.net/resources/rspec/0.2/ad.xsd', 'type': 'ProtoGENI', 'version': '0.2'}, { 'extensions': [ 'http://www.protogeni.net/resources/rspec/ext/emulab/1'], 'namespace': 'http://www.protogeni.net/resources/rspec/2', 'schema': 'http://www.protogeni.net/resources/rspec/2/ad.xsd', 'type': 'ProtoGENI', 'version': '2'}, { 'extensions': [ 'http://www.protogeni.net/resources/rspec/ext/emulab/1'], 'namespace': 'http://www.geni.net/resources/rspec/3', 'schema': 'http://www.geni.net/resources/rspec/3/ad.xsd', 'type': 'GENI', 'version': '3'}], 'code_tag': 'd694c76864003e600b8e4e18db56d3e2a576bf39', 'default_ad_rspec': { 'type': 'ProtoGENI', 'version': '2'}, 'geni_api': 1, 'geni_api_versions': { '1': 'https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/1.0', '2': 'https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0'}, 'hostname': 'boss.utah.geniracks.net', 'hrn': 'utahgenirack.cm', 'interface': 'aggregate', 'request_rspec_versions': [ { 'extensions': [], 'namespace': 'http://www.protogeni.net/resources/rspec/0.1', 'schema': 'http://www.protogeni.net/resources/rspec/0.1/request.xsd', 'type': 'ProtoGENI', 'version': '0.1'}, { 'extensions': [], 'namespace': 'http://www.protogeni.net/resources/rspec/0.2', 'schema': 'http://www.protogeni.net/resources/rspec/0.2/request.xsd', 'type': 'ProtoGENI', 'version': '0.2'}, { 'extensions': [ 'http://www.protogeni.net/resources/rspec/ext/emulab/1'], 'namespace': 'http://www.protogeni.net/resources/rspec/2', 'schema': 'http://www.protogeni.net/resources/rspec/2/request.xsd', 'type': 'ProtoGENI', 'version': '2'}, { 'extensions': [ 'http://www.protogeni.net/resources/rspec/ext/emulab/1'], 'namespace': 'http://www.geni.net/resources/rspec/3', 'schema': 'http://www.geni.net/resources/rspec/3/request.xsd', 'type': 'GENI', 'version': '3'}], 'url': 'https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am', 'urn': 'urn:publicid:IDN+utah.geniracks.net+authority+cm'} INFO:omni: ------------------------------------------------------------ INFO:omni: Completed getversion: Options as run: aggregate: https://boss.utah.geniracks.net/protogeni/xmlrpc/am 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://boss.utah.geniracks.net/protogeni/xmlrpc/am createslice lninsta INFO:omni:Loading config file omni_config INFO:omni:Using control framework pgeni INFO:omni:Created slice with Name lninsta, URN urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lninsta, Expiration 2012-04-04 06:10:45+00:00 INFO:omni: ------------------------------------------------------------ INFO:omni: Completed createslice: Options as run: aggregate: https://boss.utah.geniracks.net/protogeni/xmlrpc/am framework: pgeni native: True Args: createslice lninsta Result Summary: Created slice with Name lninsta, URN urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lninsta, Expiration 2012-04-04 06:10:45+00:00 INFO:omni: ============================================================
Create Sliver
Command output:
$ ./src/omni.py -a https://boss.utah.geniracks.net/protogeni/xmlrpc/am createsliver lninsta instageni.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+lninsta expires within 1 day on 2012-04-04 06:10:45 UTC INFO:omni:Creating sliver(s) from rspec file instageni.rspec for slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lninsta INFO:omni:Asked https://boss.utah.geniracks.net/protogeni/xmlrpc/am to reserve resources. Result: INFO:omni:<?xml version="1.0" ?> INFO:omni:<!-- Reserved resources for: Slice: lninsta At AM: URL: https://boss.utah.geniracks.net/protogeni/xmlrpc/am --> INFO:omni: <rspec type="manifest" xmlns="http://www.protogeni.net/resources/rspec/2" xmlns:emulab="http://www.protogeni.net/resources/rspec/ext/emulab/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://www.protogeni.net/resources/rspec/ext/emulab/1 http://www.protogeni.net/resources/rspec/ext/emulab/1/ptop_extension.xsd "> <node client_id="insta1" component_id="urn:publicid:IDN+utah.geniracks.net+node+pc5" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" component_name="pc5" exclusive="true" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+4" xmlns:emulab="http://www.protogeni.net/resources/rspec/ext/emulab/1"> <sliver_type name="raw-pc"> </sliver_type> <emulab:vnode name="pc5"/> <host name="insta1.lninsta.pgeni-gpolab-bbn-com.utah.geniracks.net"/> <services> <login authentication="ssh-keys" hostname="pc5.utah.geniracks.net" port="22" username="lnevers"/> </services> </node> <node client_id="insta2" component_id="urn:publicid:IDN+utah.geniracks.net+node+pc4" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" component_name="pc4" exclusive="true" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+5" xmlns:emulab="http://www.protogeni.net/resources/rspec/ext/emulab/1"> <sliver_type name="raw-pc"> </sliver_type> <emulab:vnode name="pc4"/> <host name="insta2.lninsta.pgeni-gpolab-bbn-com.utah.geniracks.net"/> <services> <login authentication="ssh-keys" hostname="pc4.utah.geniracks.net" port="22" username="lnevers"/> </services> </node> </rspec> INFO:omni: ------------------------------------------------------------ INFO:omni: Completed createsliver: Options as run: aggregate: https://boss.utah.geniracks.net/protogeni/xmlrpc/am framework: pgeni native: True Args: createsliver lninsta instageni.rspec Result Summary: Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lninsta expires within 1 day(s) on 2012-04-04 06:10:45 UTC Reserved resources on https://boss.utah.geniracks.net/protogeni/xmlrpc/am. INFO:omni: ============================================================
Sliver Status
Command output:
$ ./src/omni.py -a https://boss.utah.geniracks.net/protogeni/xmlrpc/am sliverastatus lninsta INFO:omni:Loading config file omni_config INFO:omni:Using control framework pgeni ERROR:omni:Unknown function: sliverastatus lnevers@sendaria:~/gcf-1.6.1$ ./src/omni.py -a https://boss.utah.geniracks.net/protogeni/xmlrpc/am sliverstatus lninsta lnevers@sendaria:~/gcf-1.6.1$ ./src/omni.py -a https://boss.utah.geniracks.net/protogeni/xmlrpc/am sliverstatus lninsta INFO:omni:Loading config file omni_config INFO:omni:Using control framework pgeni INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lninsta expires within 1 day on 2012-04-04 06:10:45 UTC INFO:omni:Status of Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lninsta: INFO:omni:Sliver status for Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lninsta at AM URL https://boss.utah.geniracks.net/protogeni/xmlrpc/am INFO:omni:{'geni_resources': [{'geni_error': '', 'geni_status': 'ready', 'geni_urn': 'urn:publicid:IDN+utah.geniracks.net+sliver+4', 'pg_manifest': {'attributes': {'client_id': 'insta1', 'component_id': 'urn:publicid:IDN+utah.geniracks.net+node+pc5', 'component_manager_id': 'urn:publicid:IDN+utah.geniracks.net+authority+cm', 'component_name': 'pc5', 'exclusive': 'true', 'sliver_id': 'urn:publicid:IDN+utah.geniracks.net+sliver+4', 'xmlns': 'http://www.protogeni.net/resources/rspec/2', 'xmlns:emulab': 'http://www.protogeni.net/resources/rspec/ext/emulab/1'}, 'children': [{'attributes': {'name': 'raw-pc'}, 'children': [], 'name': 'sliver_type'}, {'attributes': {'name': 'pc5'}, 'children': [], 'name': 'emulab:vnode'}, {'attributes': {'name': 'insta1.lninsta.pgeni-gpolab-bbn-com.utah.geniracks.net'}, 'children': [], 'name': 'host'}, {'attributes': {}, 'children': [{'attributes': {'authentication': 'ssh-keys', 'hostname': 'pc5.utah.geniracks.net', 'port': 22, 'username': 'lnevers'}, 'children': [], 'name': 'login'}], 'name': 'services'}], 'name': 'node'}, 'pg_status': 'ready'}, {'geni_error': '', 'geni_status': 'ready', 'geni_urn': 'urn:publicid:IDN+utah.geniracks.net+sliver+5', 'pg_manifest': {'attributes': {'client_id': 'insta2', 'component_id': 'urn:publicid:IDN+utah.geniracks.net+node+pc4', 'component_manager_id': 'urn:publicid:IDN+utah.geniracks.net+authority+cm', 'component_name': 'pc4', 'exclusive': 'true', 'sliver_id': 'urn:publicid:IDN+utah.geniracks.net+sliver+5', 'xmlns': 'http://www.protogeni.net/resources/rspec/2', 'xmlns:emulab': 'http://www.protogeni.net/resources/rspec/ext/emulab/1'}, 'children': [{'attributes': {'name': 'raw-pc'}, 'children': [], 'name': 'sliver_type'}, {'attributes': {'name': 'pc4'}, 'children': [], 'name': 'emulab:vnode'}, {'attributes': {'name': 'insta2.lninsta.pgeni-gpolab-bbn-com.utah.geniracks.net'}, 'children': [], 'name': 'host'}, {'attributes': {}, 'children': [{'attributes': {'authentication': 'ssh-keys', 'hostname': 'pc4.utah.geniracks.net', 'port': 22, 'username': 'lnevers'}, 'children': [], 'name': 'login'}], 'name': 'services'}], 'name': 'node'}, 'pg_status': 'ready'}], 'geni_status': 'ready', 'geni_urn': 'urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lninsta', 'pg_expires': '2012-04-04T06:10:45', 'pg_status': 'ready', 'users': [{'keys': [{'key': 'ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAlyESlInEUSiB1PlMhLFsj1/x7ixbquiQznviT9VusyVdPIGscSlwrE1gjvEucDYSQEsuQvV5k0MUy8NJZkdCCJFYbSD8/rbZOxuDYGaLq2uc2F379Am2Kfn6kaJzxat41KIlVjA/XrVHaauJNY/woGatKnkuD/7faFsxk9UO1dFB+smfTF/nZ3hQOrKBHWGm7t+nbqH5iiWDjK7N7HqSP/VYRgL4U8Z62NUMuzJ09rSPGWCGPSE2YeU9GnQwtl3zlOC+ScKWrfVePiR92+3rgSqPo/97fdY4ZYX/JrwGXV/nZbor4niKq8xBPiXpbrbX+pTkjXsYmjCuITMPLXv48w== lnevers@sendaria.gpolab.bbn.com', 'type': 'ssh'}], 'login': 'lnevers', 'urn': 'urn:publicid:IDN+pgeni.gpolab.bbn.com+user+lnevers'}]} INFO:omni: ------------------------------------------------------------ INFO:omni: Completed sliverstatus: Options as run: aggregate: https://boss.utah.geniracks.net/protogeni/xmlrpc/am framework: pgeni native: True Args: sliverstatus lninsta Result Summary: Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lninsta expires within 1 day(s) on 2012-04-04 06:10:45 UTC Returned status of slivers on 1 of 1 possible aggregates. INFO:omni: ==========================================================
Login to sliver hosts
First host:
$ ssh lnevers@pc4.utah.geniracks.net Warning: Permanently added 'pc4.utah.geniracks.net,155.98.34.14' (RSA) to the list of known hosts. [lnevers@insta2 ~]$ cat /etc/issue Fedora release 15 (Lovelock) Kernel \r on an \m (\l) [lnevers@insta2 ~]$ exit logout Connection to pc4.utah.geniracks.net closed.}}}
Second host:
$ ssh lnevers@pc5.utah.geniracks.net Warning: Permanently added 'pc5.utah.geniracks.net,155.98.34.15' (RSA) to the list of known hosts. [lnevers@insta1 ~]$ /sbin/ifconfig -a eth0 Link encap:Ethernet HWaddr E4:11:5B:ED:1C:B4 inet addr:155.98.34.15 Bcast:155.98.34.255 Mask:255.255.255.0 inet6 addr: fe80::e611:5bff:feed:1cb4/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:344 errors:0 dropped:0 overruns:0 frame:0 TX packets:291 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:41887 (40.9 KiB) TX bytes:30577 (29.8 KiB) Interrupt:30 Memory:f4000000-f4012800 eth1 Link encap:Ethernet HWaddr E4:11:5B:ED:1C:B6 BROADCAST MULTICAST MTU:1500 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:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:37 Memory:f2000000-f2012800 eth2 Link encap:Ethernet HWaddr E4:11:5B:ED:1C:BC BROADCAST MULTICAST MTU:1500 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:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:31 Memory:f8000000-f8012800 eth3 Link encap:Ethernet HWaddr E4:11:5B:ED:1C:BE BROADCAST MULTICAST MTU:1500 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:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:39 Memory:f6000000-f6012800 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:41 errors:0 dropped:0 overruns:0 frame:0 TX packets:41 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3621 (3.5 KiB) TX bytes:3621 (3.5 KiB) [lnevers@insta1 ~]$ exit
Renew Slice
Command output:
$ ./src/omni.py -a https://boss.utah.geniracks.net/protogeni/xmlrpc/am renewslice lninsta 2012-04-05 INFO:omni:Loading config file omni_config INFO:omni:Using control framework pgeni INFO:omni.protogeni:Requesting new slice expiration '2012-04-05T00:00:00' INFO:omni:Slice lninsta now expires at 2012-04-05 00:00:00 UTC INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lninsta expires within 1 day on 2012-04-05 00:00:00 UTC INFO:omni: ------------------------------------------------------------ INFO:omni: Completed renewslice: Options as run: aggregate: https://boss.utah.geniracks.net/protogeni/xmlrpc/am framework: pgeni native: True Args: renewslice lninsta 2012-04-05 Result Summary: Slice lninsta now expires at 2012-04-05 00:00:00 UTC Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lninsta expires within 1 day(s) on 2012-04-05 00:00:00 UTC INFO:omni: ============================================================
Renew Sliver
Command output:
$ ./src/omni.py -a https://boss.utah.geniracks.net/protogeni/xmlrpc/am renewsliver lninsta 2012-04-05 INFO:omni:Loading config file omni_config INFO:omni:Using control framework pgeni INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lninsta expires within 1 day on 2012-04-05 00:00:00 UTC INFO:omni:Renewing Sliver urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lninsta until 2012-04-05 00:00:00+00:00 (UTC) INFO:omni:Renewed sliver urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lninsta at unspecified_AM_URN (https://boss.utah.geniracks.net/protogeni/xmlrpc/am) until 2012-04-05T00:00:00+00:00 (UTC) INFO:omni: ------------------------------------------------------------ INFO:omni: Completed renewsliver: Options as run: aggregate: https://boss.utah.geniracks.net/protogeni/xmlrpc/am framework: pgeni native: True Args: renewsliver lninsta 2012-04-05 Result Summary: Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lninsta expires within 1 day(s) on 2012-04-05 00:00:00 UTC Renewed sliver urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lninsta at unspecified_AM_URN (https://boss.utah.geniracks.net/protogeni/xmlrpc/am) until 2012-04-05T00:00:00+00:00 (UTC) INFO:omni: ============================================================
Delete Sliver
Command output:
$ ./src/omni.py -a https://boss.utah.geniracks.net/protogeni/xmlrpc/am deletesliver lninsta 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+lninsta on unspecified_AM_URN at https://boss.utah.geniracks.net/protogeni/xmlrpc/am INFO:omni: ------------------------------------------------------------ INFO:omni: Completed deletesliver: Options as run: aggregate: https://boss.utah.geniracks.net/protogeni/xmlrpc/am framework: pgeni native: True Args: deletesliver lninsta Result Summary: Deleted sliver urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lninsta on unspecified_AM_URN at https://boss.utah.geniracks.net/protogeni/xmlrpc/am INFO:omni: ============================================================
AM API Acceptance Test
Command output:
$ ./am_api_accept.py -a am-undertest --ProtoGENIv2 --debug 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 652, in subtest_CreateSliverWorkflow manifest = self.subtest_CreateSliver( slicename ) 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-012358 expires within 1 day(s) on 2012-04-04 07:24:00 UTC Asked https://boss.utah.geniracks.net/protogeni/xmlrpc/am to reserve resources. No manifest Rspec returned. <Fault 2: '*** Fixed physical node: pc5 not available.*** Some fixed nodes failed to map*** Fixed physical node: pc5 not available.*** Some fixed nodes failed to map*** ERROR: mapper: Unretriable error. Giving up.\nseed = 1333570489\nPhysical Graph: 4\nCalculating shortest paths on switch fabric.\nVirtual Graph: 1\nGenerating physical equivalence classes:3\nType precheck:\nType precheck passed.\nNode mapping precheck:\nNode mapping precheck succeeded\nPruning pclasses.\npclass pruning complete: removed 2 pclasses, 1 remain.\nType precheck:\nType precheck passed.\nPolicy precheck:\nPolicy precheck succeeded\nAnnealing.\n*** Fixed physical node: pc5 not available.\n*** Some fixed nodes failed to map\nASSIGN FAILED:\nType precheck passed.\nNode mapping precheck succeeded\nPruning pclasses.\npclass pruning complete: removed 2 pclasses, 1 remain.\nType precheck passed.\nPolicy precheck succeeded\nAnnealing.\n*** Fixed physical node: pc5 not available.\n*** Some fixed nodes failed to map\n'> ====================================================================== FAIL: test_CreateSliverWorkflow_multiSlice: Do CreateSliver workflow with multiple slices and ensure can not do ListResources on slices with the wrong credential. ---------------------------------------------------------------------- ====================================================================== 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-0124580 expires within 1 day(s) on 2012-04-04 07:25:00 UTC Asked https://boss.utah.geniracks.net/protogeni/xmlrpc/am to reserve resources. No manifest Rspec returned. <Fault 2: '*** Fixed physical node: pc4 not available.*** Some fixed nodes failed to map*** Fixed physical node: pc4 not available.*** Some fixed nodes failed to map*** ERROR: mapper: Unretriable error. Giving up.\nseed = 1333570777\nPhysical Graph: 4\nCalculating shortest paths on switch fabric.\nVirtual Graph: 1\nGenerating physical equivalence classes:3\nType precheck:\nType precheck passed.\nNode mapping precheck:\nNode mapping precheck succeeded\nPruning pclasses.\npclass pruning complete: removed 2 pclasses, 1 remain.\nType precheck:\nType precheck passed.\nPolicy precheck:\nPolicy precheck succeeded\nAnnealing.\n*** Fixed physical node: pc4 not available.\n*** Some fixed nodes failed to map\nASSIGN FAILED:\nType precheck passed.\nNode mapping precheck succeeded\nPruning pclasses.\npclass pruning complete: removed 2 pclasses, 1 remain.\nType precheck passed.\nPolicy precheck succeeded\nAnnealing.\n*** Fixed physical node: pc4 not available.\n*** Some fixed nodes failed to map\n'> ---------------------------------------------------------------------- Ran 13 tests in 303.417s FAILED (failures=2)
Acceptance test logs attached as instageni-log-20100403.txt. The Rspecs used for acceptance test are attached as request.xml, request1.xml, request2.xml, [request3.xml
InstaGENI Status on 04/02/2012
This survey of the Utah InstaGENI Rack was completed with GCF 1.6.1. Five Compute Resources have been added since the previous survey.
Omni Commands
List Resources
Command output:
$ ./src/omni.py -a https://boss.utah.geniracks.net/protogeni/xmlrpc/am 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-boss-utah-geniracks-net-protogeni.xml' INFO:omni: ------------------------------------------------------------ INFO:omni: Completed listresources: Options as run: aggregate: https://boss.utah.geniracks.net/protogeni/xmlrpc/am 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-boss-utah-geniracks-net-protogeni.xml; . INFO:omni: ============================================================
The output of the listresources is attached as rspec-boss-utah-geniracks-net-protogeni-20120402.xml.
InstaGENI Status on 03/22/2012
This survey of the Utah InstaGENI Rack was completed with GCF 1.6.1. No compute resources were available at the time of the survey.
Omni Commands
Get Version
Command output:
$ ./src/omni.py -a https://boss.utah.geniracks.net/protogeni/xmlrpc/am getversion INFO:omni:Loading config file omni_config INFO:omni:Using control framework pgeni INFO:omni:AM URN: unspecified_AM_URN (url: https://boss.utah.geniracks.net/protogeni/xmlrpc/am) has version: INFO:omni:{ 'ad_rspec_versions': [ { 'extensions': [], 'namespace': 'http://www.protogeni.net/resources/rspec/0.1', 'schema': 'http://www.protogeni.net/resources/rspec/0.1/ad.xsd', 'type': 'ProtoGENI', 'version': '0.1'}, { 'extensions': [], 'namespace': 'http://www.protogeni.net/resources/rspec/0.2', 'schema': 'http://www.protogeni.net/resources/rspec/0.2/ad.xsd', 'type': 'ProtoGENI', 'version': '0.2'}, { 'extensions': [ 'http://www.protogeni.net/resources/rspec/ext/emulab/1'], 'namespace': 'http://www.protogeni.net/resources/rspec/2', 'schema': 'http://www.protogeni.net/resources/rspec/2/ad.xsd', 'type': 'ProtoGENI', 'version': '2'}, { 'extensions': [ 'http://www.protogeni.net/resources/rspec/ext/emulab/1'], 'namespace': 'http://www.geni.net/resources/rspec/3', 'schema': 'http://www.geni.net/resources/rspec/3/ad.xsd', 'type': 'GENI', 'version': '3'}], 'code_tag': '8e5b2b2ad693c90c95c627c5e4d0d173450476e5', 'default_ad_rspec': { 'type': 'ProtoGENI', 'version': '2'}, 'geni_api': 1, 'geni_api_versions': { '1': 'https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/1.0', '2': 'https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0'}, 'hostname': 'boss.utah.geniracks.net', 'hrn': 'utahgenirack.cm', 'interface': 'aggregate', 'request_rspec_versions': [ { 'extensions': [], 'namespace': 'http://www.protogeni.net/resources/rspec/0.1', 'schema': 'http://www.protogeni.net/resources/rspec/0.1/request.xsd', 'type': 'ProtoGENI', 'version': '0.1'}, { 'extensions': [], 'namespace': 'http://www.protogeni.net/resources/rspec/0.2', 'schema': 'http://www.protogeni.net/resources/rspec/0.2/request.xsd', 'type': 'ProtoGENI', 'version': '0.2'}, { 'extensions': [ 'http://www.protogeni.net/resources/rspec/ext/emulab/1'], 'namespace': 'http://www.protogeni.net/resources/rspec/2', 'schema': 'http://www.protogeni.net/resources/rspec/2/request.xsd', 'type': 'ProtoGENI', 'version': '2'}, { 'extensions': [ 'http://www.protogeni.net/resources/rspec/ext/emulab/1'], 'namespace': 'http://www.geni.net/resources/rspec/3', 'schema': 'http://www.geni.net/resources/rspec/3/request.xsd', 'type': 'GENI', 'version': '3'}], 'url': 'https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am', 'urn': 'urn:publicid:IDN+utah.geniracks.net+authority+cm'} INFO:omni: ------------------------------------------------------------ INFO:omni: Completed getversion: Options as run: aggregate: https://boss.utah.geniracks.net/protogeni/xmlrpc/am framework: pgeni native: True Args: getversion Result Summary: Got version for 1 out of 1 aggregates INFO:omni: ============================================================
List Resources
Command Output:
$ ./src/omni.py -a https://boss.utah.geniracks.net/protogeni/xmlrpc/am listresources 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:<?xml version="1.0" ?> INFO:omni:<!-- Resources at AM: URN: unspecified_AM_URN URL: https://boss.utah.geniracks.net/protogeni/xmlrpc/am --> INFO:omni: <rspec expires="2012-03-22T18:46:57Z" generated="2012-03-22T18:46:57Z" type="advertisement" xmlns="http://www.protogeni.net/resources/rspec/2" xmlns:emulab="http://www.protogeni.net/resources/rspec/ext/emulab/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/ad.xsd http://www.protogeni.net/resources/rspec/ext/emulab/1 http://www.protogeni.net/resources/rspec/ext/emulab/1/ptop_extension.xsd "> <node component_id="urn:publicid:IDN+utah.geniracks.net+node+internet" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" component_name="internet" exclusive="true"> <hardware_type name="ipv4"> <emulab:node_type static="true" type_slots="unlimited"/> </hardware_type> <available now="true"/> <cloud/> <interface component_id="urn:publicid:IDN+utah.geniracks.net+interface+internet:border"> <emulab:interface name="border"/> </interface> <location country="US" latitude="40.768652" longitude="-111.84581"/> </node> <node component_id="urn:publicid:IDN+utah.geniracks.net+node+airswitch" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" component_name="airswitch" exclusive="true"> <hardware_type name="80211"> <emulab:node_type static="true" type_slots="unlimited"/> </hardware_type> <hardware_type name="80211a"> <emulab:node_type static="true" type_slots="unlimited"/> </hardware_type> <hardware_type name="80211b"> <emulab:node_type static="true" type_slots="unlimited"/> </hardware_type> <hardware_type name="80211g"> <emulab:node_type static="true" type_slots="unlimited"/> </hardware_type> <hardware_type name="flex900"> <emulab:node_type static="true" type_slots="unlimited"/> </hardware_type> <hardware_type name="xcvr2450"> <emulab:node_type static="true" type_slots="unlimited"/> </hardware_type> <available now="true"/> <cloud/> <interface component_id="urn:publicid:IDN+utah.geniracks.net+interface+airswitch:air"> <emulab:interface name="air"/> </interface> <location country="US" latitude="40.768652" longitude="-111.84581"/> </node> </rspec> INFO:omni: ------------------------------------------------------------ INFO:omni: Completed listresources: Options as run: aggregate: https://boss.utah.geniracks.net/protogeni/xmlrpc/am framework: pgeni native: True Args: listresources Result Summary: Retrieved resources from 1 aggregates. Wrote rspecs from 1 aggregates.
Attachments (12)
- rspec-boss-utah-geniracks-net-protogeni-xmlrpc-am-2-0-20120419.xml (33.6 KB) - added by 13 years ago.
- lnshared-sliverstatus-boss-utah-geniracks-net-protogeni-xmlrpc-am-2-0-20120419.json (16.1 KB) - added by 13 years ago.
- instageni-log-20120423.txt (25.6 KB) - added by 13 years ago.
- rspec-boss-utah-geniracks-net-protogeni-xmlrpc-am-2-0-20120425.xml (41.0 KB) - added by 13 years ago.
- instageni-log-20120425.txt (52.1 KB) - added by 13 years ago.
- lninsta-sliverstatus-boss-utah-geniracks-net-protogeni-xmlrpc-am-2-0-20120425.json (16.1 KB) - added by 13 years ago.
- lninsta-rspec-boss-utah-geniracks-net-protogeni-xmlrpc-am-2-0-20120425.xml (2.8 KB) - added by 13 years ago.
- instageni-survey-20120427.txt (8.6 KB) - added by 13 years ago.
- am_api_accept_test-20120427.txt (2.2 KB) - added by 13 years ago.
- instageni-survey-accept-20120427.txt (84.5 KB) - added by 13 years ago.
- lninsta27-sliverstatus-boss-utah-geniracks-net-protogeni-xmlrpc-am-2-0.json (16.1 KB) - added by 13 years ago.
- mapper-error.txt (5.4 KB) - added by 13 years ago.
Download all attachments as: .zip