| 1 | = GR-MON-2: GENI Software Configuration Inspection Test = |
| 2 | |
| 3 | This page captures status for the test case GR-MON-2. For additional information see the [wiki:GENIRacksHome/GRAMRacks/AcceptanceTestStatusApr2014 Acceptance Test Status - April 2014] page overall status, or the [wiki:GENIRacksHome/AcceptanceTests/GRAMAcceptanceTestsPlan GRAM Acceptance Test Plan] for details about the planned evaluation. |
| 4 | |
| 5 | || '''Step''' || '''State''' ||''' Notes''' || '''Tickets''' || |
| 6 | || Step 1 ||[[span(Pass, style=background-color: green )]]|| || || |
| 7 | || Step 2 ||[[span(Pass, style=background-color: green )]]|| || || |
| 8 | |
| 9 | |
| 10 | [[BR]] |
| 11 | || '''State Legend''' || '''Description''' || |
| 12 | ||[[span(Pass, style=background-color: green )]] || Test completed and met all criteria || |
| 13 | ||[[span(Pass: most criteria, style=background-color: #98FB98)]]|| Test completed and met most criteria. Exceptions documented || |
| 14 | ||[[span(Fail, style=background-color: red)]] || Test completed and failed to meet criteria. || |
| 15 | ||[[span(Complete, style=background-color: yellow)]] || Test completed but will require re-execution due to expected changes || |
| 16 | ||[[span(Blocked, style=background-color: orange)]] || Blocked by ticketed issue(s). || |
| 17 | ||[[span(In Progress, style=background-color: #63B8FF)]]|| Currently under test. || |
| 18 | |
| 19 | |
| 20 | |
| 21 | = Test Plan Steps = |
| 22 | |
| 23 | == Step 1. Review resource allocation == |
| 24 | |
| 25 | A site administrator uses available system data sources (process listings, monitoring output, system logs, etc) and/or AM administrative interfaces to determine the configuration of GRAM resources: |
| 26 | * How many experimental nodes are available for bare metal use, how many are configured as !OpenStack containers, and how many are configured as PlanetLab containers |
| 27 | * What operating system each !OpenStack container makes available for experimental VMs. |
| 28 | * How many unbound VLANs are in the rack's available pool. |
| 29 | |
| 30 | A list of experiments and experimenters can be obtained on the control node. Detailed information about the slivers is available in |
| 31 | the snapshot files found in /etc/gram/snapshots/gram for current or past experiments. |
| 32 | |
| 33 | |
| 34 | Also possible to get a list of slivers and how they map to !OpenStack Containers. In this example there is only one slice running named "stitchOF": |
| 35 | {{{ |
| 36 | gram@clemson-clemson-control-1:~$ source /etc/novarc |
| 37 | gram@clemson-clemson-control-1:~$ nova list --all-tenants |
| 38 | +--------------------------------------+---------+--------+------------------------------------------------+ |
| 39 | | ID | Name | Status | Networks | |
| 40 | +--------------------------------------+---------+--------+------------------------------------------------+ |
| 41 | | e4b5ce2c-ea78-4e39-acbe-1157af2e458d | gr-clem | ACTIVE | linkOF=192.168.1.2; GRAM-mgmt-net=192.168.10.3 | |
| 42 | +--------------------------------------+---------+--------+------------------------------------------------+ |
| 43 | gram@clemson-clemson-control-1:~$ keystone tenant-list |
| 44 | +----------------------------------+------------------------------------+---------+ |
| 45 | | id | name | enabled | |
| 46 | +----------------------------------+------------------------------------+---------+ |
| 47 | | 89a03e397f8b4743be8d6c0c470e9ede | admin | True | |
| 48 | | 65c073cb3f83446eb400d76013f71bc0 | ch.geni.net:ln-test+slice+stitchOF | True | |
| 49 | | 32b79311d95b4483a6d40a6db316fa3f | service | True | |
| 50 | +----------------------------------+------------------------------------+---------+ |
| 51 | gram@clemson-clemson-control-1:~$ |
| 52 | |
| 53 | }}} |
| 54 | There are 2 available operating systems that are advertised via the AM API listresources, also the Advertisement passes rspeclint: |
| 55 | {{{ |
| 56 | <disk_image description="standard" name="fedora-19" os="Linux" version="19.0"/> |
| 57 | <disk_image description="standard" name="ubuntu-12.04" os="Linux" version="12.0"/> |
| 58 | }}} |
| 59 | |
| 60 | |
| 61 | == Step 2. Review !OpenFlow resource configuration == |
| 62 | |
| 63 | |
| 64 | A site administrator uses available system data sources to determine the configuration of !OpenFlow resources according to VMOC and GRAM. |
| 65 | |
| 66 | The VMOC controller service starts the following processes which shows which ports and modules are in use. |
| 67 | {{{ |
| 68 | gram@clemson-clemson-control-1:~$ ps -eaf|grep pox |
| 69 | gram 11073 1 0 14:15 ? 00:00:05 python2.7 -u -O /opt/pox/pox.py log.level --DEBUG openflow.of_01 --port=9000 vmoc.l2_simple_learning |
| 70 | gram 25680 25972 0 15:34 pts/3 00:00:00 grep --color=auto pox |
| 71 | gram 29867 1 0 14:44 ? 00:00:08 python2.7 -u -O /opt/pox/pox.py log.level --DEBUG vmoc.VMOC --management_port=7001 --default_controller_url=https://localhost:9000 |
| 72 | gram@clemson-clemson-control-1:~$ |
| 73 | }}} |
| 74 | |
| 75 | Available VLANs are captured in test case GR-ADM-2 Step 2. |