[[PageOutline(1-2)]]
= 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 =
1. Unable to have node exchange traffic when a two OpenVZ node setup was created. Interfaces did not come up [[BR]]
2. Rack Aggregate availability .
== AM API Acceptance Test ==
The AM API Acceptance test was run on the InstaGENI Utah rack and the following results
== Omni Commands ==
These command set up an Experiment that includes two 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.
=== List Resources ===
Requested listresources from the InstaGENI aggregate. Resulting advertisement file is attached as
[http://groups.geni.net/geni/attachment/wiki/GENIRacksHome/InstageniRacks/AggregateSurvey/rspec-boss-utah-geniracks-net-protogeni-xmlrpc-am-2-0-20120419.xml 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 [wiki:GENIRacksHome/InstageniRacks/AggregateSurvey#RequestRspec 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:
INFO:omni:
INFO:omni:
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 [http://groups.geni.net/geni/attachment/wiki/GENIRacksHome/InstageniRacks/AggregateSurvey/lnshared-sliverstatus-boss-utah-geniracks-net-protogeni-xmlrpc-am-2-0-20120419.json 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:
{{{
}}}
=== 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:
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 [http://groups.geni.net/syseng/attachment/wiki/InstaGENIwithOmni/rspec-boss-utah-geniracks-net-protogeni-xmlrpc-am-2-0-20120404.xml 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:
{{{
}}}
=== 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:
INFO:omni:
INFO:omni:
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 [http://groups.geni.net/syseng/attachment/wiki/InstaGENIwithOmni/instageni-log-20120404.txt instageni-log-20120404.txt]. The Rspecs used for acceptance test are attached as
[http://groups.geni.net/syseng/attachment/wiki/InstaGENIwithOmni/request-v3.xml request-v3.xml], [http://groups.geni.net/syseng/attachment/wiki/InstaGENIwithOmni/request1-v3.xml request1-v3.xml], [http://groups.geni.net/syseng/attachment/wiki/InstaGENIwithOmni/request2-v3.xml request2-V3.xml],
[http://groups.geni.net/syseng/attachment/wiki/InstaGENIwithOmni/request3-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
}}}
=== 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:
INFO:omni:
INFO:omni:
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.
======================================================================
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.
----------------------------------------------------------------------
Ran 13 tests in 303.417s
FAILED (failures=2)
}}}
Acceptance test logs attached as [http://groups.geni.net/syseng/attachment/wiki/InstaGENIwithOmni/instageni-log-20120403.txt instageni-log-20100403.txt]. The Rspecs used for acceptance test are attached as [http://groups.geni.net/syseng/attachment/wiki/InstaGENIwithOmni/request.xml request.xml], [http://groups.geni.net/syseng/attachment/wiki/InstaGENIwithOmni/request1.xml request1.xml], [http://groups.geni.net/syseng/attachment/wiki/InstaGENIwithOmni/request2.xml request2.xml],
[[http://groups.geni.net/syseng/attachment/wiki/InstaGENIwithOmni/request3.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 [http://groups.geni.net/syseng/attachment/wiki/InstaGENIwithOmni/rspec-boss-utah-geniracks-net-protogeni-20120402.xml 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:
INFO:omni:
INFO:omni:
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.
}}}