= 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 ||[[Color(green,Pass)]] || || ||
|| 2. 3 Xen non-exclusive hosts 1 link ||[[Color(green,Pass)]] || || ||
|| 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
Warning: Permanently added '[pc2.utah.geniracks.net]:33851,[155.98.34.12]:33851' (RSA) to the list of known hosts.
Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.46 x86_64)
xen2:~% ping xen1
PING xen1-link1 (192.168.1.2) 56(84) bytes of data.
64 bytes from xen1-link1 (192.168.1.2): icmp_req=1 ttl=64 time=0.387 ms
64 bytes from xen1-link1 (192.168.1.2): icmp_req=2 ttl=64 time=0.182 ms
64 bytes from xen1-link1 (192.168.1.2): icmp_req=3 ttl=64 time=0.245 ms
^C
--- xen1-link1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2000ms
rtt min/avg/max/mdev = 0.182/0.271/0.387/0.086 ms
xen2:~% /sbin/ifconfig eth1
eth1 Link encap:Ethernet HWaddr 02:b2:00:1b:a6:6f
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::b2:ff:fe1b:a66f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:49 errors:0 dropped:0 overruns:0 frame:0
TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2668 (2.6 KB) TX bytes:2740 (2.7 KB)
Interrupt:26
xen2:~% exit
logout
Connection to pc2.utah.geniracks.net closed.
$ ssh -p 33850 -i /home/lnevers/.ssh/geni_cert_portal_key lnevers@pc2.utah.geniracks.net
Warning: Permanently added '[pc2.utah.geniracks.net]:33850,[155.98.34.12]:33850' (RSA) to the list of known hosts.
Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.46 x86_64)
xen1:~% /sbin/ifconfig eth1
eth1 Link encap:Ethernet HWaddr 02:1b:d7:cb:a5:f4
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::1b:d7ff:fecb:a5f4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:66 errors:0 dropped:0 overruns:0 frame:0
TX packets:33 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3976 (3.9 KB) TX bytes:2990 (2.9 KB)
Interrupt:26
xen1:~% ping xen2
PING xen2-link1 (192.168.1.1) 56(84) bytes of data.
64 bytes from xen2-link1 (192.168.1.1): icmp_req=1 ttl=64 time=0.233 ms
64 bytes from xen2-link1 (192.168.1.1): icmp_req=2 ttl=64 time=0.185 ms
64 bytes from xen2-link1 (192.168.1.1): icmp_req=3 ttl=64 time=0.178 ms
^C
--- xen2-link1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.178/0.198/0.233/0.029 ms
xen1:~%
}}}
Release resources:
{{{
$ omni.py -a ig-utah deletesliver IG-XN-5-1
22:01:27 INFO omni: Loading config file /home/lnevers/.gcf/omni_config
22:01:27 INFO omni: Using control framework portal
22:01:27 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
22:01:28 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
22:01:28 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
22:01:43 INFO omni: (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=1985ac26d8dbadff42ed55f8343a9bba)
22:01:43 INFO omni: Deleted sliver urn:publicid:IDN+ch.geni.net:ln-prj+slice+IG-XN-5-1 on urn:publicid:IDN+utah.geniracks.net+authority+cm at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0
22:01:43 INFO omni: ------------------------------------------------------------
22:01:43 INFO omni: Completed deletesliver:
Options as run:
aggregate: ['ig-utah']
framework: portal
project: ln-prj
Args: deletesliver IG-XN-5-1
Result Summary: Deleted sliver urn:publicid:IDN+ch.geni.net:ln-prj+slice+IG-XN-5-1 on urn:publicid:IDN+utah.geniracks.net+authority+cm at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0
22:01:43 INFO omni: ============================================================
}}}
=== 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:
{{{
$ omni.py -a ig-utah createsliver IG-XN-5-2 ./IG-XN-5-2.rspec
22:02:37 INFO omni: Loading config file /home/lnevers/.gcf/omni_config
22:02:37 INFO omni: Using control framework portal
22:02:37 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
22:02:38 INFO omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+IG-XN-5-2 expires on 2013-08-20 00:54:07 UTC
22:02:38 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
22:02:38 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
22:02:38 INFO omni: Creating sliver(s) from rspec file ./IG-XN-5-2.rspec for slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+IG-XN-5-2
22:02:52 INFO omni: (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=869c9917d26f156348e8a7f4b408b77e)
22:02:52 INFO omni: Got return from CreateSliver for slice IG-XN-5-2 at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0:
22:02:52 INFO omni:
22:02:52 INFO omni:
22:02:53 INFO omni: ------------------------------------------------------------
22:02:53 INFO omni: Completed createsliver:
Options as run:
aggregate: ['ig-utah']
framework: portal
project: ln-prj
Args: createsliver IG-XN-5-2 ./IG-XN-5-2.rspec
Result Summary: Got Reserved resources RSpec from utah-geniracks-net
22:02:53 INFO omni: ============================================================
}}}
Login to each host and exchange traffic:
{{{
$ readyToLogin.py -a ig-utah IG-XN-5-2
...
User lnevers logs in to xen2 using:
ssh -p 34619 -i /home/lnevers/.ssh/geni_cert_portal_key lnevers@pc3.utah.geniracks.net
User lnevers logs in to xen1 using:
ssh -p 34618 -i /home/lnevers/.ssh/geni_cert_portal_key lnevers@pc3.utah.geniracks.net
User lnevers logs in to xen3 using:
ssh -p 34620 -i /home/lnevers/.ssh/geni_cert_portal_key lnevers@pc3.utah.geniracks.net
$ ssh -p 34619 -i /home/lnevers/.ssh/geni_cert_portal_key lnevers@pc3.utah.geniracks.net
Warning: Permanently added '[pc3.utah.geniracks.net]:34619,[155.98.34.13]:34619' (RSA) to the list of known hosts.
Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.46 x86_64)
xen2:~% ping -c 3 xen1
PING xen1-link1 (192.168.1.2) 56(84) bytes of data.
64 bytes from xen1-link1 (192.168.1.2): icmp_req=1 ttl=64 time=0.468 ms
64 bytes from xen1-link1 (192.168.1.2): icmp_req=2 ttl=64 time=0.261 ms
64 bytes from xen1-link1 (192.168.1.2): icmp_req=3 ttl=64 time=0.262 ms
--- xen1-link1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2000ms
rtt min/avg/max/mdev = 0.261/0.330/0.468/0.098 ms
xen2:~% ping -c 3 xen3
PING xen3-link1 (192.168.1.3) 56(84) bytes of data.
64 bytes from xen3-link1 (192.168.1.3): icmp_req=1 ttl=64 time=0.455 ms
64 bytes from xen3-link1 (192.168.1.3): icmp_req=2 ttl=64 time=0.267 ms
64 bytes from xen3-link1 (192.168.1.3): icmp_req=3 ttl=64 time=0.215 ms
--- xen3-link1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.215/0.312/0.455/0.104 ms
xen2:~% exit
logout
Connection to pc3.utah.geniracks.net closed.
$ ssh -p 34618 -i /home/lnevers/.ssh/geni_cert_portal_key lnevers@pc3.utah.geniracks.net
Warning: Permanently added '[pc3.utah.geniracks.net]:34618,[155.98.34.13]:34618' (RSA) to the list of known hosts.
xen1:~% ping -c 3 xen2
PING xen2-link1 (192.168.1.1) 56(84) bytes of data.
64 bytes from xen2-link1 (192.168.1.1): icmp_req=1 ttl=64 time=0.239 ms
64 bytes from xen2-link1 (192.168.1.1): icmp_req=2 ttl=64 time=0.257 ms
64 bytes from xen2-link1 (192.168.1.1): icmp_req=3 ttl=64 time=0.242 ms
--- xen2-link1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2000ms
rtt min/avg/max/mdev = 0.239/0.246/0.257/0.007 ms
xen1:~% ping -c 3 xen3
PING xen3-link1 (192.168.1.3) 56(84) bytes of data.
64 bytes from xen3-link1 (192.168.1.3): icmp_req=1 ttl=64 time=0.430 ms
64 bytes from xen3-link1 (192.168.1.3): icmp_req=2 ttl=64 time=0.233 ms
64 bytes from xen3-link1 (192.168.1.3): icmp_req=3 ttl=64 time=0.287 ms
--- xen3-link1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.233/0.316/0.430/0.085 ms
xen1:~% exit
logout
Connection to pc3.utah.geniracks.net closed.
$ ssh -p 34620 -i /home/lnevers/.ssh/geni_cert_portal_key lnevers@pc3.utah.geniracks.net
Warning: Permanently added '[pc3.utah.geniracks.net]:34620,[155.98.34.13]:34620' (RSA) to the list of known hosts.
Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.46 x86_64)
xen3:~% ping -c 3 xen1
PING xen1-link1 (192.168.1.2) 56(84) bytes of data.
64 bytes from xen1-link1 (192.168.1.2): icmp_req=1 ttl=64 time=0.248 ms
64 bytes from xen1-link1 (192.168.1.2): icmp_req=2 ttl=64 time=0.237 ms
64 bytes from xen1-link1 (192.168.1.2): icmp_req=3 ttl=64 time=0.236 ms
--- xen1-link1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.236/0.240/0.248/0.013 ms
xen3:~% ping -c 3 xen2
PING xen2-link1 (192.168.1.1) 56(84) bytes of data.
64 bytes from xen2-link1 (192.168.1.1): icmp_req=1 ttl=64 time=0.300 ms
64 bytes from xen2-link1 (192.168.1.1): icmp_req=2 ttl=64 time=0.263 ms
64 bytes from xen2-link1 (192.168.1.1): icmp_req=3 ttl=64 time=0.321 ms
--- xen2-link1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2000ms
rtt min/avg/max/mdev = 0.263/0.294/0.321/0.031 ms
xen3:~% exit
logout
Connection to pc3.utah.geniracks.net closed.
}}}
Release resources:
{{{
$ omni.py -a ig-utah deletesliver IG-XN-5-2
22:33:17 INFO omni: Loading config file /home/lnevers/.gcf/omni_config
22:33:17 INFO omni: Using control framework portal
22:33:17 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
22:33:18 INFO omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+IG-XN-5-2 expires on 2013-08-20 00:54:07 UTC
22:33:18 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
22:34:49 INFO omni: (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=a204f6c6c9b6391a60f8e189d5eff9d8)
22:34:49 INFO omni: Deleted sliver urn:publicid:IDN+ch.geni.net:ln-prj+slice+IG-XN-5-2 on urn:publicid:IDN+utah.geniracks.net+authority+cm at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0
22:34:49 INFO omni: ------------------------------------------------------------
22:34:49 INFO omni: Completed deletesliver:
Options as run:
aggregate: ['ig-utah']
framework: portal
project: ln-prj
Args: deletesliver IG-XN-5-2
Result Summary: Deleted sliver urn:publicid:IDN+ch.geni.net:ln-prj+slice+IG-XN-5-2 on urn:publicid:IDN+utah.geniracks.net+authority+cm at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0
22:34:49 INFO omni: ============================================================
}}}
=== 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:
{{{
}}}