Version 9 (modified by 12 years ago) (diff) | ,
---|
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 mostly 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. T
InstaGENI Status on 04/19/2012
Omni Commands
These command set up an Experiment that includes two nodes....
List Resources
Requested listresources and resulting manifest file is attached as rspec-boss-utah-geniracks-net-protogeni-xmlrpc-am-2-0-20120419.xml.
Create Slice
Create the slice command output:
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: ============================================================ 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, comple output is attached as XXX
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 12 years ago.
- lnshared-sliverstatus-boss-utah-geniracks-net-protogeni-xmlrpc-am-2-0-20120419.json (16.1 KB) - added by 12 years ago.
- instageni-log-20120423.txt (25.6 KB) - added by 12 years ago.
- rspec-boss-utah-geniracks-net-protogeni-xmlrpc-am-2-0-20120425.xml (41.0 KB) - added by 12 years ago.
- instageni-log-20120425.txt (52.1 KB) - added by 12 years ago.
- lninsta-sliverstatus-boss-utah-geniracks-net-protogeni-xmlrpc-am-2-0-20120425.json (16.1 KB) - added by 12 years ago.
- lninsta-rspec-boss-utah-geniracks-net-protogeni-xmlrpc-am-2-0-20120425.xml (2.8 KB) - added by 12 years ago.
- instageni-survey-20120427.txt (8.6 KB) - added by 12 years ago.
- am_api_accept_test-20120427.txt (2.2 KB) - added by 12 years ago.
- instageni-survey-accept-20120427.txt (84.5 KB) - added by 12 years ago.
- lninsta27-sliverstatus-boss-utah-geniracks-net-protogeni-xmlrpc-am-2-0.json (16.1 KB) - added by 12 years ago.
- mapper-error.txt (5.4 KB) - added by 12 years ago.
Download all attachments as: .zip