= GR-EXP-2: GRAM Single Site Acceptance Test =
This page captures status for the test case GR-EXP-2. For additional information see the [wiki:GENIRacksHome/GRAMRacks/AcceptanceTestStatusDec2013 Acceptance Test Status - December 2013] page overall status, or the [wiki:GENIRacksHome/AcceptanceTests/GRAMAcceptanceTestsPlan GRAM Acceptance Test Plan] for details about the planned evaluation.
''Last Update: 2013/12/16"
|| '''Step''' || '''State''' ||''' Notes ''' || '''Tickets''' ||
|| Step 1 ||[[span(Pass, style=background-color: green )]] || || ||
|| Step 2 ||[[span(Pass, style=background-color: green )]] || || ||
|| Step 3 ||[[span(Pass, style=background-color: green )]] || || ||
|| Step 4 ||[[span(Pass, style=background-color: green )]] || || ||
|| Step 5 ||[[span(Pass, style=background-color: green )]] || || ||
|| Step 6 ||[[span(Pass, style=background-color: green )]] || || ||
|| Step 7 ||[[span(Pass, style=background-color: green )]] || || ||
|| Step 8 ||[[span(Pass, style=background-color: green )]] || || ||
|| Step 9 ||[[span(Pass: most criteria, style=background-color: #98FB98)]]|| || ||
|| Step 10 ||[[span(Pass, style=background-color: green )]]|| || ||
|| Step 11 ||[[span(Pass, style=background-color: green )]]|| || ||
|| Step 11 ||[[span(Pass, style=background-color: green )]]|| || ||
|| Step 12 ||[[span(Pass, style=background-color: green )]]|| || ||
|| Step 13 ||[[span(Pass, style=background-color: green )]]|| || ||
|| Step 14 ||[[span(Pass, style=background-color: green )]]|| || ||
|| Step 15 ||[[span(Pass, style=background-color: green )]]|| || ||
|| Step 16 ||[[span(Pass, style=background-color: green )]]|| || ||
|| Step 17 ||[[span(Pass, style=background-color: green )]]|| || ||
|| Step 18 ||[[span(Pass, style=background-color: green )]]|| || ||
|| Step 19 ||[[span(Pass, style=background-color: green )]]|| || ||
|| Step 20 ||[[span(Pass, style=background-color: green )]]|| || ||
[[BR]]
|| '''State Legend''' || '''Description''' ||
||[[span(Pass, style=background-color: green )]] || Test completed and met all criteria ||
||[[span(Pass: most criteria, style=background-color: #98FB98)]]|| Test completed and met most criteria. Exceptions documented ||
||[[span(Fail, style=background-color: red)]] || Test completed and failed to meet criteria. ||
||[[span(Complete, style=background-color: yellow)]] || Test completed but will require re-execution due to expected changes ||
||[[span(Blocked, style=background-color: orange)]] || Blocked by ticketed issue(s). ||
||[[span(In Progress, style=background-color: #63B8FF)]]|| Currently under test. ||
= Test Plan Steps =
This test case uses the following aggregate nick_names:
{{{
gram=,https://128.89.91.170:5001
}}}
''Evaluation Note:'' Custom images being developed, may be ready soon. (#50)
== Step 1. As Experimenter1, request !ListResources from GRAM ==
As experimenter "lnevers", issued a listresources command to determine available compute resources:
{{{
lnevers@arendia:~/gcf-2.4.1$ omni.py listresources -a gram1 -V3
11:05:19 INFO omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
11:05:19 INFO omni: Loading config file /home/lnevers/.gcf/omni_config
11:05:19 INFO omni: Using control framework portal
11:05:19 INFO omni: Substituting AM nickname gram1 with URL https://128.89.72.112:5001, URN urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am
11:05:19 INFO omni: Listed advertised resources at 1 out of 1 possible aggregates.
11:05:19 INFO omni:
11:05:19 INFO omni:
11:05:19 INFO omni: Boot the node VMs begin powered down or inactive. They must be explicitly booted before use. Reboot the node The state of the VM The VM has been booted and is ready
11:05:19 INFO omni: ------------------------------------------------------------
11:05:19 INFO omni: Completed listresources:
Args: listresources
Result Summary: Queried resources from 1 of 1 aggregate(s).
11:05:19 INFO omni: ============================================================
}}}
The above Manifest passes rspeclint.
== Step 2. Review advertisement RSpec for a list of OS images which can be loaded, and identify available resources. ==
The OS available are:
{{{
}}}
Both were loaded successfully with various sliver_types: m1.small, m1.medium, m1.large.
== Step 3. Verify that the GPO Ubuntu customized image is available in the advertisement RSpec. ==
Used instructions found in [https://superior.bbn.com/trac/bbn-rack/wiki/UserGuide#CustomImages Custom Images] section of the [https://superior.bbn.com/trac/bbn-rack/wiki/UserGuide User Guide].
Using a 5 VM slices, customized VM-3 by installing software and creating files in various system and user paths. Defined the following option file:
{{{
{
"vm_name": "VM-3",
"snapshot_name": "LN-Ubuntu-custom"
}
}}}
Created an Ubuntu custom image:
{{{
lnevers@arendia:~/gcf-2.4.1/gramrspec$ omni.py -a gram1 -V3 performoperationalaction 5vm-1lan20 create_snapshot --options ./optionfile1
15:13:22 INFO omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
15:13:22 INFO omni: Loading config file /home/lnevers/.gcf/omni_config
15:13:22 INFO omni: Using control framework portal
15:13:22 INFO omni: Substituting AM nickname gram1 with URL https://128.89.72.112:5001, URN urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am
15:13:23 INFO omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 expires on 2013-12-23 05:21:27 UTC
15:13:23 INFO omni: PerformOperationalAction create_snapshot on slivers in slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 at https://128.89.72.112:5001
15:15:17 INFO omni: PerformOperationalAction result for create_snapshot on slivers in slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 at AM URL https://128.89.72.112:5001
15:15:17 INFO omni: ''
15:15:17 INFO omni: ------------------------------------------------------------
15:15:17 INFO omni: Completed performoperationalaction:
Args: performoperationalaction 5vm-1lan20 create_snapshot
Result Summary: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 expires on 2013-12-23 05:21:27 UTC
PerformOperationalAction create_snapshot on slivers in slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 was successful.
15:15:17 INFO omni: ============================================================
}}}
Verified that new Ubuntu custom image was part of GRAM listresources:
{{{
}}}
Created a Slice with 2 VM that used the custom image:
{{{
lnevers@arendia:~/gcf-2.4.1/gramrspec$ omni.py createsliver -a gram ln-ubuntu-cust ./gram-2vm-ubuntu-cust.rspec
13:11:40 INFO omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
13:11:40 INFO omni: Loading config file /home/lnevers/.gcf/omni_config
13:11:40 INFO omni: Using control framework portal
13:11:40 INFO omni: Substituting AM nickname gram with URL https://128.89.72.112:5002, URN urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am
13:11:41 INFO omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+ln-ubuntu-cust expires on 2013-12-23 18:04:38 UTC
13:11:41 INFO omni: Creating sliver(s) from rspec file ./gram-2vm-ubuntu-cust.rspec for slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+ln-ubuntu-cust
13:24:16 INFO omni: Got return from CreateSliver for slice ln-ubuntu-cust at https://128.89.72.112:5002:
13:24:16 INFO omni:
13:24:16 INFO omni:
13:24:16 INFO omni:
13:24:16 INFO omni: ------------------------------------------------------------
13:24:16 INFO omni: Completed createsliver:
Args: createsliver ln-ubuntu-cust ./gram-2vm-ubuntu-cust.rspec
Result Summary: Got Reserved resources RSpec from geni-bbn-cam-ctrl-1-gcf-gram
13:24:16 INFO omni: ============================================================
}}}
Logged in to new hosts and found that all changes part of custom image were available on the newly created sliver.
{{{
lnevers@arendia:~/gcf-2.4.1/gramrspec$ omni.py -a gram1 -V3 performoperationalaction 5vm-1lan20 delete_snapshot --options ./optionfile-ubu
15:50:17 INFO omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
15:50:17 INFO omni: Loading config file /home/lnevers/.gcf/omni_config
15:50:17 INFO omni: Using control framework portal
15:50:17 INFO omni: Substituting AM nickname gram1 with URL https://128.89.72.112:5001, URN urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am
15:50:18 INFO omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 expires on 2013-12-23 05:21:27 UTC
15:50:18 INFO omni: PerformOperationalAction delete_snapshot on slivers in slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 at https://128.89.72.112:5001
15:52:41 INFO omni: PerformOperationalAction result for delete_snapshot on slivers in slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 at AM URL https://128.89.72.112:5001
15:52:41 INFO omni: ''
15:52:41 INFO omni: ------------------------------------------------------------
15:52:41 INFO omni: Completed performoperationalaction:
Args: performoperationalaction 5vm-1lan20 delete_snapshot
Result Summary: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 expires on 2013-12-23 05:21:27 UTC
PerformOperationalAction delete_snapshot on slivers in slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 was successful.
15:52:41 INFO omni: ============================================================
}}}
Once test was completed, deleted custom image:
{{{
$ omni.py -a gram1 -V3 performoperationalaction 5vm-1lan20 delete_snapshot --options ./optionfile-ubu
15:50:17 INFO omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
15:50:17 INFO omni: Loading config file /home/lnevers/.gcf/omni_config
15:50:17 INFO omni: Using control framework portal
15:50:17 INFO omni: Substituting AM nickname gram1 with URL https://128.89.72.112:5001, URN urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am
15:50:18 INFO omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 expires on 2013-12-23 05:21:27 UTC
15:50:18 INFO omni: PerformOperationalAction delete_snapshot on slivers in slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 at https://128.89.72.112:5001
15:52:41 INFO omni: PerformOperationalAction result for delete_snapshot on slivers in slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 at AM URL https://128.89.72.112:5001
15:52:41 INFO omni: ''
15:52:41 INFO omni: ------------------------------------------------------------
15:52:41 INFO omni: Completed performoperationalaction:
Args: performoperationalaction 5vm-1lan20 delete_snapshot
Result Summary: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 expires on 2013-12-23 05:21:27 UTC
PerformOperationalAction delete_snapshot on slivers in slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 was successful.
15:52:41 INFO omni: ============================================================
}}}
Verified removal of custom ubuntu image from the listresources.
Created a Fedora custom image:
{{{
$ omni.py -a gram1 -V3 performoperationalaction lnfed create_snapshot --options ./optionfile-fed
15:26:15 INFO omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
15:26:15 INFO omni: Loading config file /home/lnevers/.gcf/omni_config
15:26:15 INFO omni: Using control framework portal
15:26:15 INFO omni: Substituting AM nickname gram1 with URL https://128.89.72.112:5001, URN urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am
15:26:16 INFO omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnfed expires on 2013-12-18 18:49:58 UTC
15:26:16 INFO omni: PerformOperationalAction create_snapshot on slivers in slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnfed at https://128.89.72.112:5001
15:28:05 INFO omni: PerformOperationalAction result for create_snapshot on slivers in slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnfed at AM URL https://128.89.72.112:5001
15:28:05 INFO omni: ''
15:28:05 INFO omni: ------------------------------------------------------------
15:28:05 INFO omni: Completed performoperationalaction:
Args: performoperationalaction lnfed create_snapshot
Result Summary: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnfed expires on 2013-12-18 18:49:58 UTC
PerformOperationalAction create_snapshot on slivers in slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnfed was successful.
15:28:05 INFO omni: ============================================================
lnevers@arendia:~/gcf-2.4.1/gramrspec$
}}}
Verified that new Fedora custom image was part of GRAM listresources:
{{{
}}}
Created sliver with Fedora custom image:
{{{
$ omni.py createsliver lnfed-cust -a gram ./gram-2vm-fedora-cust.rspec
15:46:13 INFO omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
15:46:13 INFO omni: Loading config file /home/lnevers/.gcf/omni_config
15:46:13 INFO omni: Using control framework portal
15:46:13 INFO omni: Substituting AM nickname gram with URL https://128.89.72.112:5002, URN urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am
15:46:13 INFO omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnfed-cust expires on 2013-12-23 20:45:49 UTC
15:46:13 INFO omni: Creating sliver(s) from rspec file ./gram-2vm-fedora-cust.rspec for slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnfed-cust
16:00:38 INFO omni: Got return from CreateSliver for slice lnfed-cust at https://128.89.72.112:5002:
16:00:38 INFO omni:
16:00:38 INFO omni:
16:00:38 INFO omni:
16:00:38 INFO omni: ------------------------------------------------------------
16:00:38 INFO omni: Completed createsliver:
Args: createsliver lnfed-cust ./gram-2vm-fedora-cust.rspec
Result Summary: Got Reserved resources RSpec from geni-bbn-cam-ctrl-1-gcf-gram
16:00:38 INFO omni: ============================================================
}}}
Verified presence of customizations.
== Step 4. Define a request RSpec for two VMs with the default Ubuntu image and request a publically routable IP address ==
Created the following RSpec which includes each of the two supported syntax described at https://superior.bbn.com/trac/bbn-rack/wiki/UserGuide#RspecExtenstions:
{{{
}}}
== Step 5. Create the first slice. ==
Created the slice:
{{{
$ omni.py createslice GR-EXP-2-exp1
12:35:19 INFO omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
12:35:19 INFO omni: Loading config file /home/lnevers/.gcf/omni_config
12:35:19 INFO omni: Using control framework portal
12:35:19 INFO omni: Created slice with Name GR-EXP-2-exp1, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+GR-EXP-2-exp1, Expiration 2013-12-20 17:35:19
12:35:19 INFO omni: ------------------------------------------------------------
12:35:19 INFO omni: Completed createslice:
Args: createslice GR-EXP-2-exp1
Result Summary: Created slice with Name GR-EXP-2-exp1, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+GR-EXP-2-exp1, Expiration 2013-12-20 17:35:19
12:35:19 INFO omni: ============================================================
}}}
== Step 6. Create a sliver ==
Create sliver for the the GR-EXP-2-exp1 slice using the RSpec defined in step 4:
{{{
$ omni.py createsliver GR-EXP-2-exp1 -a gram ./GR-EXP-2-exp1.rspec
12:36:39 INFO omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
12:36:39 INFO omni: Loading config file /home/lnevers/.gcf/omni_config
12:36:39 INFO omni: Using control framework portal
12:36:39 INFO omni: Substituting AM nickname gram with URL https://128.89.72.112:5002, URN urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am
12:36:39 INFO omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+GR-EXP-2-exp1 expires on 2013-12-20 17:35:19 UTC
12:36:39 INFO omni: Creating sliver(s) from rspec file ./GR-EXP-2-exp1.rspec for slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+GR-EXP-2-exp1
12:48:34 INFO omni: Got return from CreateSliver for slice GR-EXP-2-exp1 at https://128.89.72.112:5002:
12:48:34 INFO omni:
12:48:34 INFO omni:
12:48:34 INFO omni:
12:48:34 INFO omni: ------------------------------------------------------------
12:48:34 INFO omni: Completed createsliver:
Args: createsliver GR-EXP-2-exp1 ./GR-EXP-2-exp1.rspec
Result Summary: Got Reserved resources RSpec from geni-bbn-cam-ctrl-1-gcf-gram
12:48:34 INFO omni: ============================================================
}}}
Determine login information and verify publically routable IP address assignment:
{{{
$ readyToLogin.py -a gram GR-EXP-2-exp1
...
================================================================================
LOGIN INFO for AM: https://128.89.72.112:5002
================================================================================
For more login info, see the section entitled:
'Providing a private key to ssh' in 'readyToLogin.py -h'
VM-1's geni_status is: (am_status:)
User lnevers logs in to VM-1 using:
ssh -i ~/.ssh/id_rsa lnevers@128.89.72.125
VM-2's geni_status is: (am_status:)
User lnevers logs in to VM-2 using:
ssh -i ~/.ssh/id_rsa lnevers@128.89.72.124
}}}
'''Note''': IP Addresses assigned are routable.
== Step 7. Log in to each of the VM and send traffic to the other VM ==
Logged into to VM-1 and pinged VM-2:
{{{
$ ssh -i ~/.ssh/id_rsa lnevers@128.89.72.125
Warning: Permanently added '128.89.72.125' (RSA) to the list of known hosts.
Welcome to Ubuntu 12.04.3 LTS (GNU/Linux 3.2.0-55-virtual x86_64)
* Documentation: https://help.ubuntu.com/
System information as of Fri Dec 13 17:55:24 UTC 2013
System load: 0.0 Processes: 62
Usage of /: 3.9% of 19.68GB Users logged in: 0
Memory usage: 2% IP address for eth0: 192.168.10.7
Swap usage: 0% IP address for eth1: 172.16.1.1
Graph this data and manage this system at https://landscape.canonical.com/
Get cloud support with Ubuntu Advantage Cloud Guest:
http://www.ubuntu.com/business/services/cloud
Use Juju to deploy your cloud instances and workloads:
https://juju.ubuntu.com/#cloud-precise
0 packages can be updated.
0 updates are security updates.
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
lnevers@vm-1:~$ /sbin/ifconfig eth1
eth1 Link encap:Ethernet HWaddr fa:16:3e:53:1f:31
inet addr:172.16.1.1 Bcast:172.16.255.255 Mask:255.255.0.0
inet6 addr: fe80::f816:3eff:fe53:1f31/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:122 errors:0 dropped:0 overruns:0 frame:0
TX packets:46 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:24670 (24.6 KB) TX bytes:10464 (10.4 KB)
lnevers@vm-1:~$ ping -c 60 -q 172.16.1.2
PING 172.16.1.2 (172.16.1.2) 56(84) bytes of data.
--- 172.16.1.2 ping statistics ---
60 packets transmitted, 60 received, 0% packet loss, time 58997ms
rtt min/avg/max/mdev = 0.221/0.293/1.216/0.128 ms
lnevers@vm-1:~$
}}}
Logged into to VM-2 and pinged VM-1:
{{{
$ ssh -i ~/.ssh/id_rsa lnevers@128.89.72.124
Warning: Permanently added '128.89.72.124' (RSA) to the list of known hosts.
Welcome to Ubuntu 12.04.3 LTS (GNU/Linux 3.2.0-55-virtual x86_64)
* Documentation: https://help.ubuntu.com/
System information as of Fri Dec 13 17:55:31 UTC 2013
System load: 0.0 Processes: 62
Usage of /: 3.9% of 19.68GB Users logged in: 0
Memory usage: 2% IP address for eth0: 192.168.10.6
Swap usage: 0% IP address for eth1: 172.16.1.2
Graph this data and manage this system at https://landscape.canonical.com/
Get cloud support with Ubuntu Advantage Cloud Guest:
http://www.ubuntu.com/business/services/cloud
Use Juju to deploy your cloud instances and workloads:
https://juju.ubuntu.com/#cloud-precise
0 packages can be updated.
0 updates are security updates.
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
/sbilnevers@vm-2:~$ /sbin/ifconfig eth1
eth1 Link encap:Ethernet HWaddr fa:16:3e:00:fb:d1
inet addr:172.16.1.2 Bcast:172.16.255.255 Mask:255.255.0.0
inet6 addr: fe80::f816:3eff:fe00:fbd1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:162 errors:0 dropped:0 overruns:0 frame:0
TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:36207 (36.2 KB) TX bytes:9876 (9.8 KB)
lnevers@vm-2:~$ ping -c 60 -q 172.16.1.1
PING 172.16.1.1 (172.16.1.1) 56(84) bytes of data.
--- 172.16.1.1 ping statistics ---
60 packets transmitted, 60 received, 0% packet loss, time 58996ms
rtt min/avg/max/mdev = 0.212/0.265/0.577/0.059 ms
lnevers@vm-2:~$
}}}
== Step 8. Using root privileges on one of the VMs load a Kernel module. If not supported on !OpenStack nodes, testing will proceed past this step. ==
The following commands are executed:
{{{
lnevers@vm-2:~$ id
uid=1001(lnevers) gid=1001(lnevers) groups=1001(lnevers)
lnevers@vm-2:~$ sudo lsmod
Module Size Used by
isofs 40257 0
psmouse 97519 0
virtio_balloon 13108 0
serio_raw 13211 0
acpiphp 24231 0
floppy 70207 0
lnevers@vm-2:~$ sudo modprobe dummy
lnevers@vm-2:~$ sudo lsmod |egrep dummy
dummy 12957 0
lnevers@vm-2:~$ sudo modprobe -r dummy
lnevers@vm-2:~$ sudo lsmod |egrep dummy
lnevers@vm-2:~$
}}}
== Step 9. + 10. Exchange traffic traffic ==
Initial test definition includes netcat traffic, but was replace by iperf. The following measurements were collected from VM-2 to VM-1:
'''Iperf GRAM BBN-CAM VM-2 to VM-1 (TCP) - TCP window size: 23.5 KByte (default)'''
''Collected: 2013-XX-XX''
__One Client_
{{{
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-60.0 sec 121 GBytes 17.4 Gbits/sec
}}}
__Five Clients__
{{{
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-60.0 sec 25.0 GBytes 3.59 Gbits/sec
[ 7] 0.0-60.0 sec 25.0 GBytes 3.58 Gbits/sec
[ 5] 0.0-60.0 sec 25.0 GBytes 3.58 Gbits/sec
[ 6] 0.0-60.0 sec 24.9 GBytes 3.57 Gbits/sec
[ 3] 0.0-60.0 sec 24.9 GBytes 3.56 Gbits/sec
[SUM] 0.0-60.0 sec 125 GBytes 17.9 Gbits/sec
}}}
__Ten Clients__
{{{
[ ID] Interval Transfer Bandwidth
[ 6] 0.0-60.0 sec 11.5 GBytes 1.65 Gbits/sec
[ 7] 0.0-60.0 sec 11.6 GBytes 1.66 Gbits/sec
[ 12] 0.0-60.0 sec 11.1 GBytes 1.59 Gbits/sec
[ 8] 0.0-60.0 sec 11.5 GBytes 1.65 Gbits/sec
[ 9] 0.0-60.0 sec 11.5 GBytes 1.65 Gbits/sec
[ 10] 0.0-60.0 sec 11.5 GBytes 1.65 Gbits/sec
[ 5] 0.0-60.0 sec 11.5 GBytes 1.65 Gbits/sec
[ 4] 0.0-60.0 sec 11.6 GBytes 1.66 Gbits/sec
[ 11] 0.0-60.0 sec 11.1 GBytes 1.58 Gbits/sec
[ 3] 0.0-60.0 sec 11.5 GBytes 1.65 Gbits/sec
[SUM] 0.0-60.0 sec 114 GBytes 16.4 Gbits/sec
}}}
'''Iperf GRAM BBN-CAM VM-2 to the VM-1 (UDP) - UDP buffer size: 224 KByte (default)'''
{{{
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-60.0 sec 719 MBytes 101 Mbits/sec
[ 3] Sent 512821 datagrams
[ 3] Server Report:
[ 3] 0.0-60.0 sec 719 MBytes 101 Mbits/sec 0.001 ms 0/512820 (0%)
[ 3] 0.0-60.0 sec 1 datagrams received out-of-order
}}}
'''Ping from GRAM BBN-CAM VM-2 to the VM-1 '''
{{{
60 packets transmitted, 60 received, 0% packet loss, time 58996ms
rtt min/avg/max/mdev = 0.212/0.265/0.577/0.059 ms
}}}
== Step 11. As Experimenter2, request !ListResources from Site2 GRAM. ==
As experimenter lnevers2, issued a listresources for GRAM:
{{{
lnevers2@arendia:~/gcf-2.4.1$ omni.py listresources -a gram
13:10:29 INFO omni: Config file '/home/lnevers2/.gcf/agg_nick_cache' or '/home/lnevers2/.gcf/agg_nick_cache' does not exist
13:10:29 INFO omni: Downloaded latest `agg_nick_cache` from 'http://trac.gpolab.bbn.com/gcf/raw-attachment/wiki/Omni/agg_nick_cache' and copied to '/home/lnevers2/.gcf/agg_nick_cache'.
13:10:29 INFO omni: Loading agg_nick_cache file '/home/lnevers2/.gcf/agg_nick_cache'
13:10:29 INFO omni: Loading config file /home/lnevers2/.gcf/omni_config
13:10:29 INFO omni: Using control framework portal
13:10:29 INFO omni: Substituting AM nickname gram with URL https://128.89.72.112:5002, URN urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am
13:10:30 INFO omni: Listed advertised resources at 1 out of 1 possible aggregates.
13:10:30 INFO omni:
13:10:30 INFO omni:
13:10:30 INFO omni: Boot the node VMs begin powered down or inactive. They must be explicitly booted before use. Reboot the node The state of the VM The VM has been booted and is ready
13:10:30 INFO omni: ------------------------------------------------------------
13:10:30 INFO omni: Completed listresources:
Args: listresources
Result Summary: Queried resources from 1 of 1 aggregate(s).
13:10:30 INFO omni: ============================================================
lnevers2@arendia:~/gcf-2.4.1$
}}}
== Step 12. Define a request RSpec for two physical nodes==
Physical nodes not available, VMs used:
The following RSpec was defined:
{{{
}}}
== Step 13. Create the second slice. ==
Created slice:
{{{
$ omni.py createslice GR-EXP-1-exp2
13:12:32 INFO omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
13:12:32 INFO omni: Loading config file /home/lnevers/.gcf/omni_config
13:12:32 INFO omni: Using control framework portal
13:12:32 INFO omni: Created slice with Name GR-EXP-1-exp2, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+GR-EXP-1-exp2, Expiration 2013-12-20 18:12:32
13:12:32 INFO omni: ------------------------------------------------------------
13:12:32 INFO omni: Completed createslice:
Args: createslice GR-EXP-1-exp2
Result Summary: Created slice with Name GR-EXP-1-exp2, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+GR-EXP-1-exp2, Expiration 2013-12-20 18:12:32
13:12:32 INFO omni: ============================================================
}}}
== Step 14. Create a sliver in the second slice, using the RSpec defined in step 12. ==
Created sliver:
{{{
$ omni.py createsliver -a gram2 -V2 GR-EXP-1-exp2 ./GR-EXP-2-exp2.rspec
13:12:53 INFO omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
13:12:53 INFO omni: Loading config file /home/lnevers/.gcf/omni_config
13:12:53 INFO omni: Using control framework portal
13:12:53 INFO omni: Substituting AM nickname gram2 with URL https://128.89.72.112:5002, URN urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am
13:12:54 INFO omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+GR-EXP-1-exp2 expires on 2013-12-20 18:12:32 UTC
13:12:54 INFO omni: Creating sliver(s) from rspec file ./GR-EXP-2-exp2.rspec for slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+GR-EXP-1-exp2
13:24:06 INFO omni: Got return from CreateSliver for slice GR-EXP-1-exp2 at https://128.89.72.112:5002:
13:24:06 INFO omni:
13:24:06 INFO omni:
13:24:06 INFO omni:
13:24:06 INFO omni: ------------------------------------------------------------
13:24:06 INFO omni: Completed createsliver:
Args: createsliver GR-EXP-1-exp2 ./GR-EXP-2-exp2.rspec
Result Summary: Got Reserved resources RSpec from geni-bbn-cam-ctrl-1-gcf-gram
13:24:06 INFO omni: ============================================================
}}}
== Step 15. Log in to each of the systems, and send traffic to the other system. ==
Determine login:
{{{
$ readyToLogin.py -a gram GR-EXP-1-exp2
...
================================================================================
LOGIN INFO for AM: https://128.89.72.112:5002
================================================================================
For more login info, see the section entitled:
'Providing a private key to ssh' in 'readyToLogin.py -h'
VM-1's geni_status is: (am_status:)
User lnevers logs in to VM-1 using:
ssh -p 3006 -i ~/.ssh/id_rsa lnevers@128.89.72.121
VM-2's geni_status is: (am_status:)
User lnevers logs in to VM-2 using:
ssh -p 3005 -i ~/.ssh/id_rsa lnevers@128.89.72.121
}}}
== Step 16. Verify that experimenters 1 and 2 cannot use the control plane to access each other's resources. ==
Tried to exchange traffic between host in different slices and access resources as incorrect user, but was not able to find any access issue.
== Step 17. Review system statistics and VM isolation and network isolation on data plane. ==
Reviewed system statistics on allocated nodes:
{{{
lnevers2@exp2-host2:~$ vmstat -s
lnevers2@exp2-host2:~$ top
}}}
== Step 18. Verify that each VM has a distinct MAC address for that interface. ==
Verified that MAC addresses are unique and match the value in the manifest.
GR-EXP-2-exp1 - VM-1:
{{{
lnevers@vm-1:~$ /sbin/ifconfig|grep HW
eth0 Link encap:Ethernet HWaddr fa:16:3e:97:ec:da
eth1 Link encap:Ethernet HWaddr fa:16:3e:53:1f:31
lnevers@vm-1:~$
}}}
GR-EXP-2-exp1 - VM-2:
{{{
lnevers@vm-2:~$ /sbin/ifconfig|grep HW
eth0 Link encap:Ethernet HWaddr fa:16:3e:a3:72:db
eth1 Link encap:Ethernet HWaddr fa:16:3e:00:fb:d1
lnevers@vm-2:~$
}}}
GR-EXP-2-exp2 - VM-1:
{{{
lnevers@vm-1:~$ /sbin/ifconfig|grep HW
eth0 Link encap:Ethernet HWaddr fa:16:3e:c2:86:1b
eth1 Link encap:Ethernet HWaddr fa:16:3e:d7:5b:71
lnevers@vm-1:~$
}}}
GR-EXP-2-exp2 - VM-2:
{{{
lnevers@vm-2:~$ /sbin/ifconfig|grep HW
eth0 Link encap:Ethernet HWaddr fa:16:3e:e0:92:a3
eth1 Link encap:Ethernet HWaddr fa:16:3e:d4:e0:a0
lnevers@vm-2:~$
}}}
== Step 19. Verify that VMs' MAC addresses are learned on the data plane switch. ==
Ability to exchange traffic betweent the hosts demonstrates that MAC addresses are learned.
== Step 20. Stop traffic and delete slivers. ==
Deleted the two slivers, one sliver had an active ping, while the other was idle.
Resources were deleted for the idle sliver, but no deleted for the sliver that had
an active ping.