= IG-XN-5: Xen Single Rack Resources Tests =
This test case verifies various Xen resources allocation scenarios in the Utah InstaGENI rack. For overall status see the [wiki:GENIRacksHome/InstageniRacks/XenTestStatus InstaGENI Xen Virtualization Test Status] page.
= Test Status =
This section captures the status for each step in the acceptance test plan.
||'''Scenario''' || '''State''' || ''' Ticket ''' || '''Notes''' ||
|| 1. 2 Xen exclusive hosts with 1 link|| || || ||
|| 2. 3 Xen non-exclusive hosts 1 link || || || ||
|| 3. 1 Xen exclusive host and 1 Xen non-exclusive host with 1 link|| || || ||
|| 4. 1 Xen exclusive host and 1 OpenVZ exclusive host with 1 link|| || || ||
|| 5. 1 Xen non-exclusive host and 1 OpenVZ non-exclusive host with 1 link|| || || ||
|| 6. 2 Xen host connected by 2 links || || || ||
[[BR]]
|| '''State Legend''' || '''Description''' ||
|| [[Color(green,Pass)]] || Test completed and met all criteria ||
|| [[Color(#98FB98,Pass: most criteria)]] || Test completed and met most criteria. Exceptions documented ||
|| [[Color(red,Fail)]] || Test completed and failed to meet criteria. ||
|| [[Color(yellow,Complete)]] || Test completed but will require re-execution due to expected changes ||
|| [[Color(orange,Blocked)]] || Blocked by ticketed issue(s). ||
|| [[Color(#63B8FF,In Progress)]] || Currently under test. ||
[[BR]]
== Test Execution Details ==
This testing is executed with GENI Clearinghouse Credentials. No assumptions are made.
=== 1. 2 Xen exclusive hosts with one link ===
Using the following RSpec request two exclusive hosts:
{{{
...
...
}}}
Create slice:
{{{
$ omni.py createslice IG-XN-5-1
...
Result Summary: Created slice with Name IG-XN-5-1, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+IG-XN-5-1, Expiration 2013-08-20 00:54:05
}}}
Create a sliver:
{{{
$ omni.py -a ig-utah createsliver IG-XN-5-1 ./IG-XN-5-1.rspec
20:59:48 INFO omni: Loading config file /home/lnevers/.gcf/omni_config
20:59:48 INFO omni: Using control framework portal
20:59:48 INFO omni: Substituting AM nickname ig-utah with URL https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0, URN urn:publicid:IDN+utah.geniracks.net+authority+cm
20:59:49 INFO omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+IG-XN-5-1 expires on 2013-08-20 00:54:05 UTC
20:59:49 INFO omni: Substituting AM nickname ig-utah with URL https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0, URN urn:publicid:IDN+utah.geniracks.net+authority+cm
20:59:49 INFO omni: Substituting AM nickname ig-utah with URL https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0, URN urn:publicid:IDN+utah.geniracks.net+authority+cm
20:59:49 INFO omni: Creating sliver(s) from rspec file ./IG-XN-5-1.rspec for slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+IG-XN-5-1
21:00:07 INFO omni: (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=b72293eb095aad0474cc8c28042f18f4)
21:00:07 INFO omni: Got return from CreateSliver for slice IG-XN-5-1 at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0:
21:00:07 INFO omni:
21:00:07 INFO omni:
21:00:07 INFO omni: ------------------------------------------------------------
21:00:07 INFO omni: Completed createsliver:
Options as run:
aggregate: ['ig-utah']
framework: portal
project: ln-prj
Args: createsliver IG-XN-5-1 ./IG-XN-5-1.rspec
Result Summary: Got Reserved resources RSpec from utah-geniracks-net
21:00:07 INFO omni: ============================================================
}}}
Login to each host and exchange traffic:
{{{
$ readyToLogin.py -a ig-utah IG-XN-5-1
...
User lnevers logs in to xen2 using:
ssh -p 33851 -i /home/lnevers/.ssh/geni_cert_portal_key lnevers@pc2.utah.geniracks.net
User lnevers logs in to xen1 using:
ssh -p 33850 -i /home/lnevers/.ssh/geni_cert_portal_key lnevers@pc2.utah.geniracks.net
....
$ ssh -p 33851 -i /home/lnevers/.ssh/geni_cert_portal_key lnevers@pc2.utah.geniracks.net
$ ssh -p 33850 -i /home/lnevers/.ssh/geni_cert_portal_key lnevers@pc2.utah.geniracks.net
XXX
=== 2. 3 Xen non-exclusive hosts one link ===
Create slice:
{{{
$ omni.py createslice IG-XN-5-2
...
Result Summary: Created slice with Name IG-XN-5-2, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+IG-XN-5-2, Expiration 2013-08-20 00:54:07
}}}
Create a sliver:
{{{
}}}
=== 3. 1 Xen exclusive host and 1 Xen non-exclusive host with one link ===
Create slice:
{{{
$ omni.py createslice IG-XN-5-3
...
Result Summary: Created slice with Name IG-XN-5-3, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+IG-XN-5-3, Expiration 2013-08-20 00:54:08
}}}
Create a sliver:
{{{
}}}
=== 4. 1 Xen exclusive host and 1 OpenVZ exclusive host with one link ===
Create slice:
{{{
$ omni.py createslice IG-XN-5-4
...
Result Summary: Created slice with Name IG-XN-5-4, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+IG-XN-5-4, Expiration 2013-08-20 00:54:10
}}}
Create a sliver:
{{{
}}}
=== 5. 1 Xen non-exclusive host and 1 OpenVZ non-exclusive host with one link ===
Create slice:
{{{
$ omni.py createslice IG-XN-5-5
...
Result Summary: Created slice with Name IG-XN-5-5, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+IG-XN-5-5, Expiration 2013-08-20 00:54:12
}}}
Create a sliver:
{{{
}}}
=== 6. 2 Xen host connected by 2 links ===
Create slice:
{{{
$ omni.py createslice IG-XN-5-6
...
Result Summary: Created slice with Name IG-XN-5-6, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+IG-XN-5-6, Expiration 2013-08-20 00:54:14
}}}
Create a sliver:
{{{
}}}