wiki:GENIRacksHome/OpenGENIRacks/AcceptanceTestStatusDec2013/OG-EXP-1

Version 1 (modified by lnevers@bbn.com, 10 years ago) (diff)

--

GR-EXP-1: Bare Metal Support Acceptance Test

This page captures status for the test case GR-EXP-1. For additional information see the Acceptance Test Status - December 2013? page overall status, or the GRAM Acceptance Test Plan? for details about the planned evaluation.

Last Update: 2013/12/13"

Step State Notes Tickets
Step 1 Pass: most criteriaReplaced bare metal with VM#51
Step 2 Fail No account setup for MS Windows #70
Step 3 Fail No account setup for MS Windows #70
Step 4 Pass: most criteriaReplaced bare metal with VM
Step 5 Pass
Step 6 Pass
Step 7 FailChanging physical node allocation not possible #51


State Legend Description
Pass Test completed and met all criteria
Pass: most criteria Test completed and met most criteria. Exceptions documented
Fail Test completed and failed to meet criteria.
Complete Test completed but will require re-execution due to expected changes
Blocked Blocked by ticketed issue(s).
In Progress Currently under test.

Test Plan Steps

This test case uses the following aggregate nick_names:

gram1=urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am,https://128.89.72.112:5001
gram2=urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am,https://128.89.72.112:5002 
gram=urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am,https://128.89.72.112:5002 

Evaluation Note: There is no supported for bare metal nodes in GRAM, test case replaces all dedicated nodes (aka bare metal) with VMs.

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.

Step 1. Determine which nodes can be used as exclusive nodes.

Issue a listresources command to determine available compute resources:

lnevers@arendia:~/gcf-2.4.1$ omni.py listresources -a gram1 -o -V3
11:05:14 INFO     omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
11:05:14 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
11:05:14 INFO     omni: Using control framework portal
11:05:14 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:14 INFO     omni: Saving output to a file.
11:05:14 INFO     omni: Listed advertised resources at 1 out of 1 possible aggregates.
11:05:14 INFO     omni: Writing to 'rspec-geni-bbn-cam-ctrl-1-gcf-gram.xml'
11:05:14 INFO     omni:  ------------------------------------------------------------
11:05:14 INFO     omni:  Completed listresources:
Args: listresources

  Result Summary: Queried resources from 1 of 1 aggregate(s).
Wrote rspecs from 1 aggregate(s) to 1 file(s)
Saved listresources RSpec from 'urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am' (url 'https://128.89.72.112:5001') to file rspec-geni-bbn-cam-ctrl-1-gcf-gram.xml;  
11:05:14 INFO     omni:  ============================================================
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: <?xml version="1.0" ?>
11:05:19 INFO     omni:   <!-- Resources at AM:
	URN: urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am
	URL: https://128.89.72.112:5001
 -->
11:05:19 INFO     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 component_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1.bbn.com+node+bbn-cam-cmpe-1" component_manager_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am" component_name="bbn-cam-cmpe-1" exclusive="false">    
        <sliver_type name="m1.tiny">      
            <disk_image description="" name="fedora-19" os="Linux" version="12"/>      
            <disk_image description="" name="ubby" os="Linux" version="12"/>      
            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>      
        </sliver_type>     
        <sliver_type name="m1.small">      
            <disk_image description="" name="fedora-19" os="Linux" version="12"/>      
            <disk_image description="" name="ubby" os="Linux" version="12"/>      
            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>      
        </sliver_type>     
        <sliver_type name="m1.medium">      
            <disk_image description="" name="fedora-19" os="Linux" version="12"/>      
            <disk_image description="" name="ubby" os="Linux" version="12"/>      
            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>      
        </sliver_type>     
        <sliver_type name="m1.large">      
            <disk_image description="" name="fedora-19" os="Linux" version="12"/>      
            <disk_image description="" name="ubby" os="Linux" version="12"/>      
            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>      
        </sliver_type>     
        <sliver_type name="m1.xlarge">      
            <disk_image description="" name="fedora-19" os="Linux" version="12"/>      
            <disk_image description="" name="ubby" os="Linux" version="12"/>      
            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>      
        </sliver_type>     
  </node>   
 
  <node component_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1.bbn.com+node+bbn-cam-cmpe-2" component_manager_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am" component_name="bbn-cam-cmpe-2" exclusive="false">    
        <sliver_type name="m1.tiny">      
            <disk_image description="" name="fedora-19" os="Linux" version="12"/>      
            <disk_image description="" name="ubby" os="Linux" version="12"/>      
            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>      
        </sliver_type>     
        <sliver_type name="m1.small">      
            <disk_image description="" name="fedora-19" os="Linux" version="12"/>      
            <disk_image description="" name="ubby" os="Linux" version="12"/>      
            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>      
        </sliver_type>     
        <sliver_type name="m1.medium">      
            <disk_image description="" name="fedora-19" os="Linux" version="12"/>      
            <disk_image description="" name="ubby" os="Linux" version="12"/>      
            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>      
        </sliver_type>     
        <sliver_type name="m1.large">      
            <disk_image description="" name="fedora-19" os="Linux" version="12"/>      
            <disk_image description="" name="ubby" os="Linux" version="12"/>      
            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>      
        </sliver_type>     
        <sliver_type name="m1.xlarge">      
            <disk_image description="" name="fedora-19" os="Linux" version="12"/>      
            <disk_image description="" name="ubby" os="Linux" version="12"/>      
            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>      
        </sliver_type>     
  </node>   
 
  <rspec_opstate aggregate_manager_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am" start="OPSTATE_GENI_NOT_READY" xmlns="http://www.geni.net/resources/rspec/ext/opstate/1">     
    <sliver_type name="m1.tiny"/>    
    <sliver_type name="m1.small"/>    
    <sliver_type name="m1.medium"/>    
    <sliver_type name="m1.large"/>    
    <sliver_type name="m1.xlarge"/>    
    <state name="OPSTATE_GENI_NOT_READY">       
      <action name="geni_start" next="OPSTATE_GENI_READY">         
        <description>          Boot the node        </description>         
      </action>       
      <description>        VMs begin powered down or inactive. They must be explicitly booted before use.      </description>       
    </state>     
  </rspec_opstate>   
 
  <rspec_opstate aggregate_manager_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am" start="OPSTATE_GENI_READY" xmlns="http://www.geni.net/resources/rspec/ext/opstate/1">     
    <sliver_type name="m1.tiny"/>    
    <sliver_type name="m1.small"/>    
    <sliver_type name="m1.medium"/>    
    <sliver_type name="m1.large"/>    
    <sliver_type name="m1.xlarge"/>    
    <state name="OPSTATE_GENI_READY">       
      <action name="geni_restart" next="OPSTATE_GENI_READY">         
        <description>          Reboot the node        </description>         
      </action>       
      <action name="geni_stop" next="OPSTATE_GENI_READY">         
        <description>          The state of the VM        </description>         
      </action>       
      <description>        The VM has been booted and is ready      </description>       
    </state>     
  </rspec_opstate>   
</rspec>
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 Manifest passes rspeclint

Step 2. Obtain 2 licensed recent Microsoft OS images for physical nodes from the site (BBN).

There is MS Windows support on bare metal nodes but there is support on VMs.

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.

Step 3. Reserve and boot 2 physical nodes using Microsoft image.

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.

Step 4. Obtain a recent Linux OS image for physical nodes from the GRAM list.

Images listed from the list resource include for each of the supported sliver_types ("m1.tiny","m1.small","m1.medium","m1.large","m1.xlarge"):

            <disk_image description="" name="fedora-19" os="Linux" version="12"/>      
            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>      

Step 5. Reserve and boot a physical node using this Linux OS image.

Replaced the physical node with a VMs for this step, and created an rspec that requests each of the two supported Operating Systems. The RSpec used:

 <node client_id="VM-1" component_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1.bbn.com+node+bbn-cam-cmpe-1">
     <sliver_type name="m1.large" >
      <disk_image name="ubuntu-12.04" os="Linux" version="12" description="" />
     </sliver_type>
      <interface client_id="VM-1:if0" >
       <ip address="172.16.1.1" netmask="255.255.0.0" />
      </interface>
 </node>
 <node client_id="VM-2" component_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1.bbn.com+node+bbn-cam-cmpe-2">
     <sliver_type name="m1.medium" >
        <disk_image description="" name="fedora-19" os="Linux" version="12"/>
     </sliver_type>
      <interface client_id="VM-2:if0" >
        <ip address="172.16.1.2" netmask="255.255.0.0" />
      </interface>
 </node>
  <link client_id="link">
    <interface_ref client_id="VM-1:if0"/>
    <interface_ref client_id="VM-2:if0"/>
    <property source_id="VM-1:if0" dest_id="VM-2:if0"/>
    <property source_id="VM-2:if0" dest_id="VM-1:if0"/>
  </link>

Create a slice and then allocate a sliver with one VM running Ubuntu:

$ omni.py createslice GR-EXP-1
11:19:57 INFO     omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
11:19:57 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
11:19:57 INFO     omni: Using control framework portal
11:19:57 INFO     omni: Created slice with Name GR-EXP-1, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+GR-EXP-1, Expiration 2013-12-20 16:19:57
11:19:57 INFO     omni:  ------------------------------------------------------------
11:19:57 INFO     omni:  Completed createslice:
Args: createslice GR-EXP-1
  Result Summary: Created slice with Name GR-EXP-1, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+GR-EXP-1, Expiration 2013-12-20 16:19:57
11:19:57 INFO     omni:  ============================================================

$ omni.py createsliver -a gram  GR-EXP-1 GR-EXP-1.rspec 
11:21:34 INFO     omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
11:21:34 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
11:21:34 INFO     omni: Using control framework portal
11:21:34 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
11:21:35 INFO     omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+GR-EXP-1 expires on 2013-12-20 16:19:57 UTC
11:21:35 INFO     omni: Creating sliver(s) from rspec file GR-EXP-1.rspec for slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+GR-EXP-1
11:32:18 INFO     omni: Got return from CreateSliver for slice GR-EXP-1 at https://128.89.72.112:5002:
11:32:18 INFO     omni: <?xml version="1.0" ?>
11:32:18 INFO     omni:   <!-- Reserved resources for:
	Slice: GR-EXP-1
	at AM:
	URN: urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am
	URL: https://128.89.72.112:5002
 -->
11:32:18 INFO     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">
    <node client_id="VM-1" component_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+node+bbn-cam-cmpe-1" component_manager_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am" exclusive="false" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+vm8d800a50-4bd1-46ac-ae99-01f3b1ea5b22">
        <interface client_id="VM-1:if0" mac_address="fa:16:3e:7c:d3:14" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+interfacebe3c4381-8393-4065-9aec-2e3b86271b46">
            <ip address="172.16.1.1" type="ip"/>
        </interface>
        <sliver_type name="m1.large">
            <disk_image name="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+imageubuntu-12.04" os="Linux" version="12"/>
        </sliver_type>
        <services>
            <login authentication="ssh-keys" hostname="128.89.72.121" port="3003" username="lnevers"/>
        </services>
        <host name="VM-1"/>
    </node>
    <node client_id="VM-2" component_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+node+bbn-cam-cmpe-2" component_manager_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am" exclusive="false" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+vmec760da3-fe7e-4967-9ea0-2c6944acc32d">
        <interface client_id="VM-2:if0" mac_address="fa:16:3e:e2:55:9a" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+interfaceb356b302-13d7-47a6-8bf0-036d54d7b484">
            <ip address="172.16.1.2" type="ip"/>
        </interface>
        <sliver_type name="m1.medium">
            <disk_image name="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+imagefedora-19" os="Linux" version="12"/>
        </sliver_type>
        <services>
            <login authentication="ssh-keys" hostname="128.89.72.121" port="3004" username="lnevers"/>
        </services>
        <host name="VM-2"/>
    </node>
    <link client_id="link" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+linkf6e67b6a-c5b8-40d8-93e3-36e5ca86efcf" vlantag="1002">
        <interface_ref client_id="VM-1:if0"/>
        <interface_ref client_id="VM-2:if0"/>
        <property dest_id="VM-2:if0" source_id="VM-1:if0"/>
        <property dest_id="VM-1:if0" source_id="VM-2:if0"/>
    </link>
</rspec>

11:32:18 INFO     omni:  ------------------------------------------------------------
11:32:18 INFO     omni:  Completed createsliver:
Args: createsliver GR-EXP-1 GR-EXP-1.rspec

  Result Summary: Got Reserved resources RSpec from geni-bbn-cam-ctrl-1-gcf-gram 
11:32:18 INFO     omni:  ============================================================

Note: AM API V3 was also tested but not recorded here.

Gather login information from manifest:

$ readyToLogin.py -a gram GR-EXP-1  
================================================================================
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 3003  -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 3004  -i ~/.ssh/id_rsa lnevers@128.89.72.121

Logged into allocated VM and pinged the other VM:

$ ssh -p 3004  -i ~/.ssh/id_rsa lnevers@128.89.72.121
Warning: Permanently added '[128.89.72.121]:3004' (RSA) to the list of known hosts.
[lnevers@vm-2 ~]$ /sbin/ifconfig eth1
eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 172.16.1.2  netmask 255.255.0.0  broadcast 172.16.255.255
        inet6 fe80::f816:3eff:fee2:559a  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:e2:55:9a  txqueuelen 1000  (Ethernet)
        RX packets 59  bytes 8799 (8.5 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 57  bytes 8648 (8.4 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
[lnevers@vm-2 ~]$ ping 172.16.1.2 -c 60 -q
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 58999ms
rtt min/avg/max/mdev = 0.016/0.027/0.056/0.010 ms
[lnevers@vm-2 ~]$ 

Step 6. Release physical node resource.

Deleted the sliver:

$ omni.py deletesliver -a gram  GR-EXP-1
11:45:50 INFO     omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
11:45:50 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
11:45:50 INFO     omni: Using control framework portal
11:45:50 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
11:45:51 INFO     omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+GR-EXP-1 expires on 2013-12-20 16:19:57 UTC
11:49:24 INFO     omni: Deleted sliver urn:publicid:IDN+ch.geni.net:ln-prj+slice+GR-EXP-1 on urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am at https://128.89.72.112:5002
11:49:24 INFO     omni:  ------------------------------------------------------------
11:49:24 INFO     omni:  Completed deletesliver:
Args: deletesliver GR-EXP-1

  Result Summary: Deleted sliver urn:publicid:IDN+ch.geni.net:ln-prj+slice+GR-EXP-1 on urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am at https://128.89.72.112:5002 
11:49:24 INFO     omni:  ============================================================

Step 7. Modify Aggregate resource allocation for the rack to add 1 additional physical node.

Modifying resource allocation is not supported because there is no physical nodes to switch to VM Server support. Cannot execute and thus skipping step.