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


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

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIRacksHome/OpenGENIRacks/AcceptanceTestStatusMay2013/OG-EXP-1

    v1 v1  
     1= GR-EXP-1: Bare Metal Support Acceptance Test =
     2
     3This page captures status for the test case GR-EXP-1. 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/13"
     7
     8|| '''Step''' || '''State'''                                        ||''' Notes '''               || '''Tickets''' ||
     9|| Step 1     ||[[span(Pass: most criteria, style=background-color: #98FB98)]]||Replaced bare metal with VM|| #48 #52          ||
     10|| Step 2     ||[[span(Fail, style=background-color: red)]]         ||No account setup for MS Windows ||#70                ||
     11|| Step 3     ||[[span(Fail, style=background-color: red)]]         ||No account setup for MS Windows ||#70                ||
     12|| Step 4     ||[[span(Pass: most criteria, style=background-color: #98FB98)]]||Replaced bare metal with VM        ||                ||               
     13|| Step 5     ||[[span(Pass, style=background-color: green )]]      ||                         || #54               ||           
     14|| Step 6     ||[[span(Pass, style=background-color: green )]]      ||                         ||                ||               
     15|| Step 7     ||[[span(Fail, style=background-color: red)]]||Changing physical node allocation not supported||                ||               
     16
     17[[BR]]
     18|| '''State Legend'''                                   || '''Description'''                                                    ||
     19||[[span(Pass, style=background-color: green )]]        || Test completed and met all criteria                                  ||
     20||[[span(Pass: most criteria, style=background-color: #98FB98)]]|| Test completed and met most criteria. Exceptions documented  ||
     21||[[span(Fail, style=background-color: red)]]           || Test completed and failed to meet criteria.                          ||
     22||[[span(Complete, style=background-color: yellow)]]    || Test completed but will require re-execution due to expected changes ||
     23||[[span(Blocked, style=background-color: orange)]]     || Blocked by ticketed issue(s).                                        ||
     24||[[span(In Progress, style=background-color: #63B8FF)]]|| Currently under test.                                                ||
     25
     26= Test Plan Steps =
     27This test case  uses the following aggregate nick_names:
     28{{{
     29gram=,https://128.89.91.170:5001
     30}}}
     31
     32''Evaluation Note:'' There is no supported for bare metal nodes in GRAM, test case replaces all dedicated nodes (aka bare metal) with VMs.
     33
     34''
     35'''Evaluation Note:'''!OpenStack supports MS Windows, and in order for GRAM to support this GENI required OS, there need to be work done to set up accounts and install SSH keys on the VMs.
     36
     37== Step 1. Determine which nodes can be used as exclusive nodes. ==
     38
     39Issue a listresources command to determine available compute resources:
     40{{{
     41$ omni.py listresources -a gram -V3
     42INFO:omni:Loading config file /home/lnevers/.gcf/omni_config
     43INFO:omni:Using control framework gram
     44INFO:omni:Substituting AM nickname gram with URL https://128.89.91.170:5001, URN unspecified_AM_URN
     45INFO:omni:Substituting AM nickname gram with URL https://128.89.91.170:5001, URN unspecified_AM_URN
     46INFO:omni:Listed advertised resources at 1 out of 1 possible aggregates.
     47INFO:omni:Substituting AM nickname gram with URL https://128.89.91.170:5001, URN unspecified_AM_URN
     48INFO:omni:<?xml version="1.0" ?>
     49INFO:omni:  <!-- Resources at AM:
     50        URN: unspecified_AM_URN
     51        URL: https://128.89.91.170:5001
     52 -->
     53INFO:omni:  <rspec type="advertisement" xmlns="http://www.geni.net/resources/rspec/3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.geni.net/resources/rspec/3 http://www.geni.net/resources/rspec/3/ad.xsd http://www.geni.net/resources/rspec/ext/opstate/1 http://www.geni.net/resources/rspec/ext/opstate/1/ad.xsd">      <node client_id="VM" component_id="urn:public:geni:gpo:vm+e45e36ca-d022-4875-bb9e-007cbb4f5f4a" component_manager_id="urn:publicid:geni:bos:gcf+authority+am" component_name="e45e36ca-d022-4875-bb9e-007cbb4f5f4a" exclusive="False">    <node_type type_name="m1.tiny"/>   
     54    <node_type type_name="m1.small"/>   
     55    <node_type type_name="m1.medium"/>   
     56    <node_type type_name="m1.large"/>   
     57    <node_type type_name="m1.xlarge"/>   
     58    <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>   
     59    <sliver_type name="m1.small"/>   
     60        <available now="True"/>   
     61    </node></rspec>
     62INFO:omni: ------------------------------------------------------------
     63INFO:omni: Completed listresources:
     64
     65  Options as run:
     66                aggregate: ['gram']
     67                api_version: 3
     68                framework: gram
     69
     70  Args: listresources
     71
     72  Result Summary: Queried resources from 1 of 1 aggregate(s).
     73 
     74INFO:omni: ============================================================
     75}}}
     76
     77'''Note:''' Running "rspeclint" tool on Advertisement RSpec fails, see ticket #52.
     78
     79== Step  2. Obtain 2 licensed recent Microsoft OS images for physical nodes from the site (BBN). ==
     80
     81There is MS Windows support on bare metal nodes but there is support on VMs.
     82
     83'''Note:'''!OpenStack supports MS Windows, and in order for GRAM to support this GENI required OS,
     84there need to be work done to set up accounts and install SSH keys on the VMs.
     85
     86== Step  3. Reserve and boot 2 physical nodes using Microsoft image. ==
     87
     88
     89'''Note:'''!OpenStack supports MS Windows, and in order for GRAM to support this GENI required OS,
     90there need to be work done to set up accounts and install SSH keys on the VMs.
     91
     92
     93== Step  4. Obtain a recent Linux OS image for physical nodes from the GRAM list.  ==
     94
     95Images listed from the list resource include:
     96{{{
     97$ omni.py listresources -a gram -V3
     98 ...
     99 <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>
     100}}}
     101 
     102== Step  5. Reserve and boot a physical node using this Linux OS image. ==
     103
     104Replaced the physical node with a VMs for this step, and created the following RSpec:
     105
     106{{{
     107<rspec type="request"
     108        xmlns="http://www.geni.net/resources/rspec/3"
     109        xmlns:flack="http://www.protogeni.net/resources/rspec/ext/flack/1"
     110        xmlns:planetlab="http://www.planet-lab.org/resources/sfa/ext/planetlab/1"
     111        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     112        xsi:schemaLocation="http://www.geni.net/resources/rspec/3
     113        http://www.geni.net/resources/rspec/3/request.xsd"> 
     114
     115 <node client_id="My-node-name" component_manager_id="urn:publicid:geni:bos:gcf+authority+am" exclusive="False">   
     116    <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>   
     117    </node>
     118</rspec>
     119}}}
     120
     121Create a slice and then allocate a sliver with one VM running Ubuntu:
     122{{{
     123$ omni.py createslice GR-EXP-1a
     124INFO:omni:Loading config file /home/lnevers/.gcf/omni_config
     125INFO:omni:Using control framework gram
     126INFO:omni:Created slice with Name GR-EXP-1a, URN urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-1a, Expiration 2013-05-15 18:57:05
     127INFO:omni: ------------------------------------------------------------
     128INFO:omni: Completed createslice:
     129
     130  Options as run:
     131                framework: gram
     132
     133  Args: createslice GR-EXP-1a
     134
     135  Result Summary: Created slice with Name GR-EXP-1a, URN urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-1a, Expiration 2013-05-15 18:57:05
     136 
     137INFO:omni: ============================================================
     138
     139
     140$ omni.py allocate -a gram  GR-EXP-1a GR-EXP-1.rspec -V3   
     141INFO:omni:Loading config file /home/lnevers/.gcf/omni_config
     142INFO:omni:Using control framework gram
     143INFO:omni:Substituting AM nickname gram with URL https://128.89.91.170:5001, URN unspecified_AM_URN
     144WARNING:omni:Slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-1a expires in <= 3 hours
     145INFO:omni:Slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-1a expires on 2013-05-15 18:57:05 UTC
     146INFO:omni:Substituting AM nickname gram with URL https://128.89.91.170:5001, URN unspecified_AM_URN
     147INFO:omni:Allocate slivers in slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-1a at https://128.89.91.170:5001:
     148INFO:omni:{
     149  "geni_rspec": "<?xml version=\"1.0\" ?>
     150INFO:omni:  <!-- Reserved resources for:
     151        Slice: GR-EXP-1a
     152        at AM:
     153        URN: unspecified_AM_URN
     154        URL: https://128.89.91.170:5001
     155 -->
     156INFO:omni:  <rspec type=\"manifest\" xmlns=\"http://www.geni.net/resources/rspec/3\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.geni.net/resources/rspec/3   http://www.geni.net/resources/rspec/3/manifest.xsd\">  \n      <node client_id=\"My-node-name\" component_manager_id=\"urn:publicid:IDN+boscontroller.gpolab.bbn.com+authority+cm\" exclusive=\"false\" sliver_id=\"urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+vm6b54f15e-696a-4dfa-9c41-053666f78409\">    \n            <sliver_type name=\"m1.small\">      \n                  <disk_image name=\"urn:publicid:IDN+boscontroller.gpolab.bbn.com+imageubuntu-12.04\" os=\"Linux\" version=\"12\"/>      \n            </sliver_type>    \n            <host name=\"My-node-name\"/>    \n      </node>  \n</rspec>",
     157  "geni_slivers": [
     158    {
     159      "geni_sliver_urn": "urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+vm6b54f15e-696a-4dfa-9c41-053666f78409",
     160      "geni_expires": "2013-05-15T17:08:06.057598+00:00",
     161      "geni_allocation_status": "geni_allocated",
     162      "geni_operational_status": "geni_notready",
     163      "geni_error": ""
     164    }
     165  ]
     166}
     167INFO:omni:All slivers expire on '2013-05-15T17:08:06.057598'
     168INFO:omni: ------------------------------------------------------------
     169INFO:omni: Completed allocate:
     170
     171  Options as run:
     172                aggregate: ['gram']
     173                api_version: 3
     174                framework: gram
     175
     176  Args: allocate GR-EXP-1a GR-EXP-1.rspec
     177
     178  Result Summary: Slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-1a expires in <= 3 hours on 2013-05-15 18:57:05 UTC
     179Allocated slivers in slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-1a at https://128.89.91.170:5001.
     180 Next sliver expiration: 2013-05-15T17:08:06.057598
     181INFO:omni: ============================================================
     182}}}
     183
     184Provision the sliver:
     185{{{
     186$ omni.py provision -a gram  GR-EXP-1a -V3
     187INFO:omni:Loading config file /home/lnevers/.gcf/omni_config
     188INFO:omni:Using control framework gram
     189INFO:omni:Substituting AM nickname gram with URL https://128.89.91.170:5001, URN unspecified_AM_URN
     190WARNING:omni:Slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-1a expires in <= 3 hours
     191INFO:omni:Slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-1a expires on 2013-05-15 18:57:05 UTC
     192INFO:omni:Substituting AM nickname gram with URL https://128.89.91.170:5001, URN unspecified_AM_URN
     193INFO:omni:Provision slivers in slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-1a at https://128.89.91.170:5001
     194INFO:omni:{
     195  "geni_rspec": "<?xml version=\"1.0\" ?>
     196INFO:omni:  <!-- Provision slivers in slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-1a at AM URL https://128.89.91.170:5001 -->
     197INFO:omni:  <rspec type=\"manifest\" xmlns=\"http://www.geni.net/resources/rspec/3\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.geni.net/resources/rspec/3   http://www.geni.net/resources/rspec/3/manifest.xsd\">  \n      <node client_id=\"My-node-name\" component_id=\"urn:publicid:IDN+boscontroller.gpolab.bbn.com+node+boscompute2\" component_manager_id=\"urn:publicid:IDN+boscontroller.gpolab.bbn.com+authority+cm\" exclusive=\"false\" sliver_id=\"urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+vm6b54f15e-696a-4dfa-9c41-053666f78409\">    \n            <sliver_type name=\"m1.small\">      \n                  <disk_image name=\"urn:publicid:IDN+boscontroller.gpolab.bbn.com+imageubuntu-12.04\" os=\"Linux\" version=\"12\"/>      \n            </sliver_type>    \n            <services>      \n                  <login authentication=\"ssh-keys\" hostname=\"boscontroller\" port=\"3001\" username=\"lnevers\"/>      \n            </services>    \n            <host name=\"My-node-name\"/>    \n      </node>  \n</rspec>",
     198  "geni_slivers": [
     199    {
     200      "geni_sliver_urn": "urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+vm6b54f15e-696a-4dfa-9c41-053666f78409",
     201      "geni_expires": "2013-05-15T18:57:05+00:00",
     202      "geni_allocation_status": "geni_provisioned",
     203      "geni_operational_status": "geni_notready",
     204      "geni_error": ""
     205    }
     206  ]
     207}
     208INFO:omni:All slivers expire on '2013-05-15T18:57:05'
     209INFO:omni: ------------------------------------------------------------
     210INFO:omni: Completed provision:
     211
     212  Options as run:
     213                aggregate: ['gram']
     214                api_version: 3
     215                framework: gram
     216
     217  Args: provision GR-EXP-1a
     218
     219  Result Summary: Slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-1a expires in <= 3 hours on 2013-05-15 18:57:05 UTC
     220Provisioned slivers in slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-1a at https://128.89.91.170:5001.
     221 Next sliver expiration: 2013-05-15T18:57:05
     222INFO:omni: ============================================================
     223
     224}}}
     225
     226'''Note: no performoperationalaction sliver-name geni_start is required. Nodes are ready at "provision".
     227
     228
     229Gather login information from manifest:
     230{{{
     231 <node client_id=\"My-node-name\" component_id=\"urn:publicid:IDN+boscontroller.gpolab.bbn.com+node+boscompute2\"
     232component_manager_id=\"urn:publicid:IDN+boscontroller.gpolab.bbn.com+authority+cm\" exclusive=\"false\"
     233sliver_id=\"urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+vm6b54f15e-696a-4dfa-9c41-053666f78409\">    \n           
     234<sliver_type name=\"m1.small\">      \n                 
     235 <disk_image name=\"urn:publicid:IDN+boscontroller.gpolab.bbn.com+imageubuntu-12.04\" os=\"Linux\" version=\"12\"/>     
     236\n            </sliver_type>    \n            <services>      \n                 
     237<login authentication=\"ssh-keys\" hostname=\"boscontroller\" port=\"3001\" username=\"lnevers\"/>      \n           
     238</services>    \n   
     239}}}
     240
     241Logged into allocated VM:
     242{{{
     243$ ssh 128.89.91.170 -p 3001
     244lnevers@my-node-name:~$ /sbin/ifconfig
     245eth0      Link encap:Ethernet  HWaddr fa:16:3e:d0:35:dc 
     246          inet addr:192.168.10.5  Bcast:192.168.10.255  Mask:255.255.255.0
     247          inet6 addr: fe80::f816:3eff:fed0:35dc/64 Scope:Link
     248          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
     249          RX packets:425 errors:0 dropped:0 overruns:0 frame:0
     250          TX packets:276 errors:0 dropped:0 overruns:0 carrier:0
     251          collisions:0 txqueuelen:1000
     252          RX bytes:53379 (53.3 KB)  TX bytes:33237 (33.2 KB)
     253
     254lo        Link encap:Local Loopback 
     255          inet addr:127.0.0.1  Mask:255.0.0.0
     256          inet6 addr: ::1/128 Scope:Host
     257          UP LOOPBACK RUNNING  MTU:16436  Metric:1
     258          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
     259          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
     260          collisions:0 txqueuelen:0
     261          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
     262lnevers@my-node-name:~$ exit
     263
     264}}}
     265
     266== Step  6. Release physical node resource. ==
     267
     268Deleted the sliver:
     269{{{
     270$ omni.py delete -a gram  GR-EXP-1a -V3
     271INFO:omni:Loading config file /home/lnevers/.gcf/omni_config
     272INFO:omni:Using control framework gram
     273INFO:omni:Substituting AM nickname gram with URL https://128.89.91.170:5001, URN unspecified_AM_URN
     274WARNING:omni:Slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-1a expires in <= 3 hours
     275INFO:omni:Slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-1a expires on 2013-05-15 18:57:05 UTC
     276INFO:omni:Substituting AM nickname gram with URL https://128.89.91.170:5001, URN unspecified_AM_URN
     277INFO:omni:Deleted slivers in slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-1a on unspecified_AM_URN at https://128.89.91.170:5001
     278INFO:omni:Deletion of slivers in slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-1a at AM URL https://128.89.91.170:5001
     279INFO:omni:[
     280  {
     281    "geni_sliver_urn": "urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+vm6b54f15e-696a-4dfa-9c41-053666f78409",
     282    "geni_expires": "2013-05-15T18:57:05+00:00",
     283    "geni_allocation_status": "geni_unallocated",
     284    "geni_operational_status": "geni_stopping",
     285    "geni_error": ""
     286  }
     287]
     288INFO:omni: ------------------------------------------------------------
     289INFO:omni: Completed delete:
     290
     291  Options as run:
     292                aggregate: ['gram']
     293                api_version: 3
     294                framework: gram
     295
     296  Args: delete GR-EXP-1a
     297
     298  Result Summary: Deleted slivers in slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-1a on unspecified_AM_URN at https://128.89.91.170:5001
     299 
     300INFO:omni: ============================================================
     301
     302}}}
     303== Step  7. Modify Aggregate resource allocation for the rack to add 1 additional physical node. ==
     304
     305This is not supported, there is no physical node support, skipping step.
     306