Changes between Initial Version and Version 1 of GENIRacksHome/OpenGENIRacks/AcceptanceTestStatusMay2013/OG-MON-2


Ignore:
Timestamp:
05/23/14 11:35:52 (10 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIRacksHome/OpenGENIRacks/AcceptanceTestStatusMay2013/OG-MON-2

    v1 v1  
     1= GR-MON-2: GENI Software Configuration Inspection Test =
     2
     3This page captures status for the test case GR-MON-2. For additional information see the [wiki:GENIRacksHome/GRAMRacks/AcceptanceTestStatusMay2013 Acceptance Test Status - May 2013] page overall status, or the [wiki:GENIRacksHome/AcceptanceTests/GRAMAcceptanceTestsPlan GRAM Acceptance Test Plan] for details about the planned evaluation.
     4
     5
     6''Last Update: 2013/05/15"
     7
     8|| '''Step''' || '''State'''||''' Notes '''            || '''Tickets'''  ||
     9|| Step 1     ||[[span(Pass, style=background-color: green )]] ||                         ||                ||
     10|| Step 2     ||[[span(Pass, style=background-color: green )]] ||                         ||                ||
     11               
     12
     13[[BR]]
     14|| '''State Legend'''                                   || '''Description'''                                                    ||
     15||[[span(Pass, style=background-color: green )]]        || Test completed and met all criteria                                  ||
     16||[[span(Pass: most criteria, style=background-color: #98FB98)]]|| Test completed and met most criteria. Exceptions documented  ||
     17||[[span(Fail, style=background-color: red)]]           || Test completed and failed to meet criteria.                          ||
     18||[[span(Complete, style=background-color: yellow)]]    || Test completed but will require re-execution due to expected changes ||
     19||[[span(Blocked, style=background-color: orange)]]     || Blocked by ticketed issue(s).                                        ||
     20||[[span(In Progress, style=background-color: #63B8FF)]]|| Currently under test.                                                ||
     21
     22= Test Plan Steps =
     23
     24== Step 1. Review resource allocation ==
     25A 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       
     30A list of experiments and experimenters can be obtained on the control node:
     31{{{
     32lnevers@boscontroller:~$ python /etc/gram/dump_gram_snapshot.py --directory ./output/ --snapshot /etc/gram/snapshots/gram/2013_05_15_09_34_40_0.json
     33Dumping snapshot /etc/gram/snapshots/gram/2013_05_15_09_34_40_0.json:
     34Slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-1
     35   Sliver urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+vm35d7da5c-b898-4794-a7c6-d25ea1d339cd User: urn:publicid:IDN+geni:bos:gcf+user+lnevers
     36lnevers@boscontroller:~$
     37}}}
     38
     39
     40To determine a list of current or past experiments, administrator can review content of the ''/etc/gram/snapshots/gram'' directory, where the
     41following types of information can be found:
     42{{{
     43[{"tenant_router_uuid": "831f26f9-3cb3-48d9-8475-ded73a5336f1", "manifest_rspec": "
     44<?xml version=\"1.0\" ?>
     45<rspec type=\"manifest\" xmlns=\"http://www.geni.net/resources/rspec/3\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
     46xsi:schemaLocation=\"http://www.geni.net/resources/rspec/3   http://www.geni.net/resources/rspec/3/manifest.xsd\">
     47<node client_id=\"My-node-name\" component_manager_id=\"urn:publicid:IDN+boscontroller.gpolab.bbn.com+authority+cm\"
     48exclusive=\"false\" sliver_id=\"urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+vm35d7da5c-b898-4794-a7c6-d25ea1d339cd\">
     49<sliver_type name=\"m1.small\">
     50<disk_image name=\"urn:publicid:IDN+boscontroller.gpolab.bbn.com+imageubuntu-12.04\" os=\"Linux\" version=\"12\"/>
     51</sliver_type>
     52<host name=\"My-node-name\"/>
     53</node>
     54</rspec>      ",
     55"controller_url": null, "user_urn": null, "tenant_admin_pwd": "sliceMaster:-)",
     56"tenant_name": "geni:bos:gcf+slice+GR-EXP-1", "last_subnet_assigned": 2,
     57"slice_urn": "urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-1", "__type__":
     58"Slice", "tenant_router_name": "externalRouter",
     59"slivers": ["urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+vm35d7da5c-b898-4794-a7c6-d25ea1d339cd"], "request_rspec": "
     60<rspec type=\"request\"       \txmlns=\"http://www.geni.net/resources/rspec/3\"       
     61\txmlns:flack=\"http://www.protogeni.net/resources/rspec/ext/flack/1\"       \txmlns:planetlab=\"http://www.planet-lab.org/resources/sfa/ext/planetlab/1\"       
     62\txmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"       \txsi:schemaLocation=\"http://www.geni.net/resources/rspec/3       
     63\thttp://www.geni.net/resources/rspec/3/request.xsd\">
     64<node client_id=\"My-node-name\" component_manager_id=\"urn:publicid:geni:bos:gcf+authority+am\" >
     65<sliver_type name=\"m1.small\">
     66<disk_image description=\"\" name=\"ubuntu-12.04\" os=\"Linux\" version=\"12\"/>
     67</sliver_type>
     68</node>
     69</rspec>                  ",
     70"tenant_admin_uuid": "7e0c8b1f1b2848abba483e627fad3446", "expiration": 1368639858.0, "next_vm_num": 100,
     71"tenant_uuid": "14574e422f8a4903b78edb1ad10342ab", "tenant_admin_name": "admin-geni:bos:gcf+slice+GR-EXP-1"},
     72{"user_urn": "urn:publicid:IDN+geni:bos:gcf+user+lnevers", "slice": "14574e422f8a4903b78edb1ad10342ab",
     73"name": "My-node-name", "vm_flavor": "m1.small", "installs": [], "request_rspec": "
     74<rspec type=\"request\"       \txmlns=\"http://www.geni.net/resources/rspec/3\"   
     75
     76\txmlns:flack=\"http://www.protogeni.net/resources/rspec/ext/flack/1\"       \txmlns:planetlab=\"http://www.planet-lab.org/resources/sfa/ext/planetlab/1\"       
     77\txmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"       \txsi:schemaLocation=\"http://www.geni.net/resources/rspec/3       
     78\thttp://www.geni.net/resources/rspec/3/request.xsd\">
     79<node client_id=\"My-node-name\" component_manager_id=\"urn:publicid:geni:bos:gcf+authority+am\" >
     80<sliver_type name=\"m1.small\">
     81<disk_image description=\"\" name=\"ubuntu-12.04\" os=\"Linux\" version=\"12\"/>
     82</sliver_type>
     83</node>
     84</rspec>                  ",
     85"network_interfaces": [], "__type__": "VirtualMachine", "last_octet": "100", "operational_state": "geni_notready",
     86"os_version": "12", "mgmt_net_addr": "192.168.10.7", "manifest_rspec": "
     87<node client_id=\"My-node-name\" component_id=\"urn:publicid:IDN+boscontroller.gpolab.bbn.com+node+boscompute4\"
     88component_manager_id=\"urn:publicid:IDN+boscontroller.gpolab.bbn.com+authority+cm\" exclusive=\"false\"
     89sliver_id=\"urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+vm35d7da5c-b898-4794-a7c6-d25ea1d339cd\">
     90<sliver_type name=\"m1.small\">
     91<disk_image name=\"urn:publicid:IDN+boscontroller.gpolab.bbn.com+imageubuntu-12.04\" os=\"Linux\" version=\"12\"/>
     92</sliver_type>
     93<services>
     94<login authentication=\"ssh-keys\" hostname=\"boscontroller\" port=\"3003\" username=\"lnevers\"/>
     95</services>
     96<host name=\"My-node-name\"/>
     97</node>", "executes": [], "expiration": 1368646161.0, "host": "boscompute4", "os_image": "ubuntu-12.04", "os_type": "Linux",
     98"sliver_urn": "urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+vm35d7da5c-b898-4794-a7c6-d25ea1d339cd",
     99"allocation_state": "geni_provisioned", "uuid": "c41599a1-3316-4687-9db0-934c8d2ea50e"}]
     100}}}
     101
     102Also possible to get a list of slivers and how they map to !OpenStack Containers:
     103{{{
     104lnevers@boscontroller:/etc/gram$ source /etc/novarc
     105
     106lnevers@boscontroller:/etc/gram$ nova list --all-tenants
     107+--------------------------------------+--------------+--------+------------------------------------------------+
     108| ID                                   | Name         | Status | Networks                                       |
     109+--------------------------------------+--------------+--------+------------------------------------------------+
     110| 2be4a562-66ca-4604-9519-44084833ff3d | My-node-name | ACTIVE | GRAM-mgmt-net=192.168.10.8                     |
     111| 6fbbfc19-f85b-454b-aa82-e04f892b2231 | My-node-name | ACTIVE | GRAM-mgmt-net=192.168.10.4                     |
     112| c41599a1-3316-4687-9db0-934c8d2ea50e | My-node-name | ACTIVE | GRAM-mgmt-net=192.168.10.7                     |
     113| 5aeb7be4-2547-47af-9c33-acd32fb28300 | exp1-host1   | ACTIVE | link-0=10.0.36.100; GRAM-mgmt-net=192.168.10.5 |
     114| de0e444c-cbe0-4c23-acda-4ef4b2be7bca | exp1-host2   | ACTIVE | link-0=10.0.36.101; GRAM-mgmt-net=192.168.10.6 |
     115| eed27e53-3041-431d-b4aa-da92b3d34d1b | johren-test1 | ACTIVE | GRAM-mgmt-net=192.168.10.3                     |
     116+--------------------------------------+--------------+--------+------------------------------------------------+
     117lnevers@boscontroller:/etc/gram$ keystone tenant-list
     118+----------------------------------+----------------------------------+---------+
     119|                id                |               name               | enabled |
     120+----------------------------------+----------------------------------+---------+
     121| 00a5763513d5466795560ede0a9093ab |               demo               |   True  |
     122| 10d7ab4e360947cfbd23f5214452962d | geni:bos:gcf+slice+GR-EXP-2-exp1 |   True  |
     123| 14574e422f8a4903b78edb1ad10342ab |   geni:bos:gcf+slice+GR-EXP-1    |   True  |
     124| 1d778c9ae30141299a70a0ba82c1a079 |   geni:bos:gcf+slice+GR-EXP-13   |   True  |
     125| de55883bcddf4e6581aa4874aea08801 |              admin               |   True  |
     126| e46be309ac9f4e21a265b9b9022cbe0e |        invisible_to_admin        |   True  |
     127| f4ee28be1b2746ff85826598dd3bfcfd |             service              |   True  |
     128| fc6e82e446ad4c6ca234a098fd877358 |    geni:bos:gcf+slice+lngram     |   True  |
     129+----------------------------------+----------------------------------+---------+
     130
     131}}}
     132Available operating systems are as follows:
     133{{{
     134lnevers@arendia:~$ omni.py listresources -a gram2
     135...
     136INFO:omni:  <rspec type="advertisement" xmlns="http://www.geni.net/resources/rspec/3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     137xsi:schemaLocation="http://www.geni.net/resources/rspec/3 http://www.geni.net/resources/rspec/3/ad.xsd
     138http://www.geni.net/resources/rspec/ext/opstate/1 http://www.geni.net/resources/rspec/ext/opstate/1/ad.xsd">     
     139<node client_id="VM" component_id="urn:public:geni:gpo:vm+3a619e5c-82d9-4bb4-a62e-e4d7bcc81e38"
     140component_manager_id="urn:publicid:geni:bos:gcf+authority+am" component_name="3a619e5c-82d9-4bb4-a62e-e4d7bcc81e38" exclusive="False">   
     141<node_type type_name="m1.tiny"/>   
     142    <node_type type_name="m1.small"/>   
     143    <node_type type_name="m1.medium"/>   
     144    <node_type type_name="m1.large"/>   
     145    <node_type type_name="m1.xlarge"/>   
     146    <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>   
     147    <sliver_type name="m1.small"/>   
     148        <available now="True"/>   
     149    </node></rspec>
     150...
     151}}}
     152
     153The nodes configured as compute nodes are available in /etc/gram/config.json:
     154
     155== Step 2. Review !OpenFlow resource configuration ==
     156
     157A site administrator uses available system data sources to determine the configuration of !OpenFlow resources according to VMOC and GRAM.
     158
     159The VMOC constoller service starts the following processes:
     160{{{
     161lnevers@boscontroller:/opt/pox$ ps -eaf|grep pox
     162gram     18680     1  0 May10 ?        00:05:55 python2.7 -u -O /opt/pox/pox.py log.level --DEBUG openflow.of_01 --port=9000 vmoc.l2_simple_learning
     163gram     18694     1  0 May10 ?        00:10:57 python2.7 -u -O /opt/pox/pox.py log.level --DEBUG vmoc.VMOC --management_port=7001 --default_controller_url=https://localhost:9000
     164}}}
     165
     166Available VLAN are captured in  [https://superior.bbn.com/trac/bbn-rack/wiki/AcceptanceTestStatus/GR-ADM-2#Step2:Foreachrackinfrastructuredeviceverifyfeatures GR-ADM-2 Step 2].