wiki:GENIRacksHome/ExogeniRacks/AcceptanceTestStatus/EG-EXP-1

Version 30 (modified by lnevers@bbn.com, 7 years ago) (diff)

--

EG-EXP-1: Bare Metal Support Acceptance Test

This page captures status for the test case EG-EXP-1, which verified support for bare metal nodes. For overall status see the ExoGENI Acceptance Test Status page.

Last update: 03/11/13

Test Status

This section captures the status for each step in the acceptance test plan.

Step State Ticket Comments
Step 1 Color(yellow,Complete)? 1 Bare Metal is available at BBN and 1 at RENCI
Step 2 Color(yellow,Complete)? default image is supported, no user define images are available
Step 3 Color(orange,Blocked)? Replace Bare metal with VM for Windows
Step 4 Color(orange,Blocked)? Replace Bare metal with VM for Windows
Step 5 Color(yellow,Complete)?
Step 6 Color(yellow,Complete)?
Step 7 Color(yellow,Complete)?
Step 8 Color(orange,Blocked)? Not possible at this time to redefine bare metal allocation


State Legend Description
Color(green,Pass)? Test completed and met all criteria
Color(#98FB98,Pass: most criteria)? Test completed and met most criteria. Exceptions documented
Color(red,Fail)? Test completed and failed to meet criteria.
Color(yellow,Complete)? Test completed but will require re-execution due to expected changes
Color(orange,Blocked)? Blocked by ticketed issue(s).
Color(#63B8FF,In Progress)? Currently under test.


Test Plan Steps

Notes:

  1. Bare metal nodes are available via ExoSM only.
  2. Bare metal node only support one OS version at this time, CentOS release 6.3.
  3. Two bare metal nodes at BBN and 2 bare metal nodes at RENCI.

Step 1. Determine which nodes can be used as bare metal, aka exclusive node

The omni_configuration used for this scenario includes a nick_name for the ExoSM which is used through out the steps:

eg-sm=,https://geni.renci.org:11443/orca/xmlrpc

Determine available bare metal resources from the ExoSM.

$ omni.py listresources -a eg-sm -o

The listresources output file rspec-geni-renci-org-11443-orca.xml has the bare metal resources at the two ExoGENI sites BBN and RENCI:

$ egrep "xcat-cloud|available now|type_slot" rspec-geni-renci-org-11443-orca.xml
      <node component_id="urn:publicid:IDN+exogeni.net:rcivmsite+node+orca-xcat-cloud" 
        component_manager_id="urn:publicid:IDN+exogeni.net:rcivmsite+authority+am" 
         component_name="orca-xcat-cloud" exclusive="false">    
            <hardware_type name="orca-xcat-cloud">      
                  <ns3:node_type type_slots="2"/>      
            <available now="true"/>    
      <node component_id="urn:publicid:IDN+exogeni.net:bbnvmsite+node+orca-xcat-cloud" 
        component_manager_id="urn:publicid:IDN+exogeni.net:bbnvmsite+authority+am" 
         component_name="orca-xcat-cloud" exclusive="false">    
            <hardware_type name="orca-xcat-cloud">      
                  <ns3:node_type type_slots="2"/>      
            <available now="true"/>    

Verify that each is available (available now="true") before requesting the bare metal nodes.

Step 2. Obtain a list of OS images which can be loaded on bare metal nodes from the ExoGENI team.

The list should be based on successful bare metal loads by ExoGENI team or others in GENI community and should be available on a public web page.

At the time of feature delivery, bare metal nodes only supported one image. The reserved bare metal nodes ran these two OS:

[root@bbn-w4 ~]# cat /etc/issue
CentOS release 6.3 (Final)
Kernel \r on an \m
[root@bbn-w4 ~]# uname -a
Linux bbn-w10 2.6.32-279.el6.x86_64 #1 SMP Fri Jun 22 12:19:21 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

and

[root@rci-w4 ~]# cat /etc/issue
CentOS release 6.3 (Final)
Kernel \r on an \m
[root@rci-w4 ~]# uname -a
Linux rci-w10 2.6.32-279.el6.x86_64 #1 SMP Fri Jun 22 12:19:21 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

The plan is for all bare metal to run the CentOS release 6.3 OS, at some point.

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

There is no plan to support MS Windows on a bare metal node, this test will replace bare metal Windows with a Windows VM in future test runs.

Step 4. Reserve and boot 2 bare metal node using the Microsoft image.

There is no plan to support MS Windows on a bare metal node, this test will replace bare metal Windows with a Windows VM in future test runs.

Step 5. Obtain a recent Linux OS image for bare metal nodes from the ExoGENI team's successful test list

The bare metal nodes only support one image at this time. The default image is the one used to develop the support for this feature.

Step 6. Reserve and boot a bare metal node using this Linux OS image.

Create a slice and request resources using the EG-EXP-1-2baremetal.rspec request RSpec:

$ omni.py createslice EG-EXP-1
INFO:omni:Loading config file /home/lnevers/.gcf/omni_config
INFO:omni:Using control framework pg
INFO:omni:Created slice with Name EG-EXP-1, URN urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+EG-EXP-1, Expiration 2013-03-12 13:18:36+00:00
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed createslice:
  Options as run:
		framework: pg
  Args: createslice EG-EXP-1
  Result Summary: Created slice with Name EG-EXP-1, URN urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+EG-EXP-1, Expiration 2013-03-12 13:18:36+00:00
INFO:omni: ============================================================


$ omni.py -a eg-sm createsliver EG-EXP-1 EG-EXP-1-2baremetal.rspec
INFO:omni:Loading config file /home/lnevers/.gcf/omni_config
INFO:omni:Using control framework pg
INFO:omni:Substituting AM nickname eg-sm with URL https://geni.renci.org:11443/orca/xmlrpc, URN unspecified_AM_URN
INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+EG-EXP-1 expires on 2013-03-12 13:18:36 UTC
INFO:omni:Substituting AM nickname eg-sm with URL https://geni.renci.org:11443/orca/xmlrpc, URN unspecified_AM_URN
INFO:omni:Substituting AM nickname eg-sm with URL https://geni.renci.org:11443/orca/xmlrpc, URN unspecified_AM_URN
INFO:omni:Creating sliver(s) from rspec file EG-EXP-1-2baremetal.rspec for slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+EG-EXP-1
INFO:omni:Got return from CreateSliver for slice EG-EXP-1 at https://geni.renci.org:11443/orca/xmlrpc:
INFO:omni:<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
INFO:omni:  <!-- Reserved resources for:
	Slice: EG-EXP-1
	at AM:
	URN: unspecified_AM_URN
	URL: https://geni.renci.org:11443/orca/xmlrpc
 -->
INFO:omni:  
<rspec type="manifest" xsi:schemaLocation="http://www.geni.net/resources/rspec/3 http://www.geni.net/resources/rspec/3/manifest.xsd http://hpn.east.isi.edu/rspec/ext/stitch/0.1/ http://hpn.east.isi.edu/rspec/ext/stitch/0.1/stitch-schema.xsd http://groups.geni.net/exogeni/attachment/wiki/RspecExtensions/slice-info/1 http://groups.geni.net/exogeni/attachment/wiki/RspecExtensions/slice-info/1/slice_info.xsd?format=raw http://groups.geni.net/exogeni/attachment/wiki/RspecExtensions/sliver-info/1 http://groups.geni.net/exogeni/attachment/wiki/RspecExtensions/sliver-info/1/sliver_info.xsd?format=raw" xmlns:ns2="http://hpn.east.isi.edu/rspec/ext/stitch/0.1/" xmlns="http://www.geni.net/resources/rspec/3" xmlns:ns4="http://groups.geni.net/exogeni/attachment/wiki/RspecExtensions/sliver-info/1" xmlns:ns3="http://groups.geni.net/exogeni/attachment/wiki/RspecExtensions/slice-info/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <node sliver_id="urn:publicid:IDN+exogeni.net:rcivmsite+sliver+d23ec7f3-fbaf-46c0-9edf-d1b01774ac4e#BT2" exclusive="true" component_name="orca-xcat-cloud" component_manager_id="urn:publicid:IDN+exogeni.net:rcivmsite+authority+am" component_id="urn:publicid:IDN+exogeni.net:rcivmsite+node+orca-xcat-cloud" client_id="BT2">
        <sliver_type name="ExoGENI-M4"/>
        <services/>
        <interface client_id="BT2:if0">
            <ip type="ipv4" netmask="255.255.255.0" address="172.16.1.2"/>
        </interface>
        <ns4:geni_sliver_info state="Ticketed" start_time="2013-03-11T08:18:48.894-04:00" expiration_time="2013-03-11T08:18:48.894-04:00" creation_time="2013-03-11T08:18:48.894-04:00" creator_urn="urn:publicid:IDN+pgeni.gpolab.bbn.com+user+lnevers"/>
    </node>
    <node sliver_id="urn:publicid:IDN+exogeni.net:bbnvmsite+sliver+d23ec7f3-fbaf-46c0-9edf-d1b01774ac4e#BT1" exclusive="true" component_name="orca-xcat-cloud" component_manager_id="urn:publicid:IDN+exogeni.net:bbnvmsite+authority+am" component_id="urn:publicid:IDN+exogeni.net:bbnvmsite+node+orca-xcat-cloud" client_id="BT1">
        <sliver_type name="ExoGENI-M4"/>
        <services/>
        <interface client_id="BT1:if0">
            <ip type="ipv4" netmask="255.255.255.0" address="172.16.1.1"/>
        </interface>
        <ns4:geni_sliver_info state="Ticketed" start_time="2013-03-11T08:18:48.894-04:00" expiration_time="2013-03-11T08:18:48.894-04:00" creation_time="2013-03-11T08:18:48.894-04:00" creator_urn="urn:publicid:IDN+pgeni.gpolab.bbn.com+user+lnevers"/>
    </node>
    <link vlantag="unknown" sliver_id="urn:publicid:IDN+exogeni.net+sliver+d23ec7f3-fbaf-46c0-9edf-d1b01774ac4e#lan0" client_id="lan0">
        <interface_ref client_id="BT2:if0"/>
        <interface_ref client_id="BT1:if0"/>
    </link>
    <ns2:stitching lastUpdateTime="Mon Mar 11 08:18:54 EDT 2013">
        <ns2:path id="lan0">
            <ns2:hop type="strict" id="hop1">
                <ns2:link id="rciNet.rdf#rciNet/Domain/vlan/6c549f6e-2bcb-4ce8-b12d-f885c95f358b/vlan">
                    <ns2:remoteLinkId>unknown</ns2:remoteLinkId>
                    <ns2:trafficEngineeringMetric>unknown</ns2:trafficEngineeringMetric>
                    <ns2:capacity>0</ns2:capacity>
                    <ns2:maximumReservableCapacity>0</ns2:maximumReservableCapacity>
                    <ns2:minimumReservableCapacity>10000000</ns2:minimumReservableCapacity>
                    <ns2:granularity>10000000</ns2:granularity>
                    <ns2:unreservedCapacity>unknown</ns2:unreservedCapacity>
                    <ns2:switchingCapabilityDescriptor>
                        <ns2:switchingcapType>l2sc</ns2:switchingcapType>
                        <ns2:encodingType>ethernet</ns2:encodingType>
                        <ns2:switchingCapabilitySpecificInfo>
                            <ns2:switchingCapabilitySpecificInfo_L2sc/>
                        </ns2:switchingCapabilitySpecificInfo>
                    </ns2:switchingCapabilityDescriptor>
                </ns2:link>
                <ns2:nextHop>hop2</ns2:nextHop>
            </ns2:hop>
            <ns2:hop type="strict" id="hop2">
                <ns2:link id="ben.rdf#ben/Domain/vlan/675f7b09-edc7-42d3-b699-7a1748e1c1cc/vlan">
                    <ns2:remoteLinkId>unknown</ns2:remoteLinkId>
                    <ns2:trafficEngineeringMetric>unknown</ns2:trafficEngineeringMetric>
                    <ns2:capacity>0</ns2:capacity>
                    <ns2:maximumReservableCapacity>0</ns2:maximumReservableCapacity>
                    <ns2:minimumReservableCapacity>10000000</ns2:minimumReservableCapacity>
                    <ns2:granularity>10000000</ns2:granularity>
                    <ns2:unreservedCapacity>unknown</ns2:unreservedCapacity>
                    <ns2:switchingCapabilityDescriptor>
                        <ns2:switchingcapType>l2sc</ns2:switchingcapType>
                        <ns2:encodingType>ethernet</ns2:encodingType>
                        <ns2:switchingCapabilitySpecificInfo>
                            <ns2:switchingCapabilitySpecificInfo_L2sc/>
                        </ns2:switchingCapabilitySpecificInfo>
                    </ns2:switchingCapabilityDescriptor>
                </ns2:link>
                <ns2:nextHop>hop3</ns2:nextHop>
            </ns2:hop>
            <ns2:hop type="strict" id="hop3">
                <ns2:link id="nlr.rdf#nlr/Domain/vlan/eda58643-df64-4edd-933f-4509c6232791/vlan">
                    <ns2:remoteLinkId>unknown</ns2:remoteLinkId>
                    <ns2:trafficEngineeringMetric>unknown</ns2:trafficEngineeringMetric>
                    <ns2:capacity>0</ns2:capacity>
                    <ns2:maximumReservableCapacity>0</ns2:maximumReservableCapacity>
                    <ns2:minimumReservableCapacity>10000000</ns2:minimumReservableCapacity>
                    <ns2:granularity>10000000</ns2:granularity>
                    <ns2:unreservedCapacity>unknown</ns2:unreservedCapacity>
                    <ns2:switchingCapabilityDescriptor>
                        <ns2:switchingcapType>l2sc</ns2:switchingcapType>
                        <ns2:encodingType>ethernet</ns2:encodingType>
                        <ns2:switchingCapabilitySpecificInfo>
                            <ns2:switchingCapabilitySpecificInfo_L2sc/>
                        </ns2:switchingCapabilitySpecificInfo>
                    </ns2:switchingCapabilityDescriptor>
                </ns2:link>
                <ns2:nextHop>hop4</ns2:nextHop>
            </ns2:hop>
            <ns2:hop type="strict" id="hop4">
                <ns2:link id="bbnNet.rdf#bbnNet/Domain/vlan/e745143a-a2d0-4e40-99dc-a6829b7807b4/vlan">
                    <ns2:remoteLinkId>unknown</ns2:remoteLinkId>
                    <ns2:trafficEngineeringMetric>unknown</ns2:trafficEngineeringMetric>
                    <ns2:capacity>0</ns2:capacity>
                    <ns2:maximumReservableCapacity>0</ns2:maximumReservableCapacity>
                    <ns2:minimumReservableCapacity>10000000</ns2:minimumReservableCapacity>
                    <ns2:granularity>10000000</ns2:granularity>
                    <ns2:unreservedCapacity>unknown</ns2:unreservedCapacity>
                    <ns2:switchingCapabilityDescriptor>
                        <ns2:switchingcapType>l2sc</ns2:switchingcapType>
                        <ns2:encodingType>ethernet</ns2:encodingType>
                        <ns2:switchingCapabilitySpecificInfo>
                            <ns2:switchingCapabilitySpecificInfo_L2sc/>
                        </ns2:switchingCapabilitySpecificInfo>
                    </ns2:switchingCapabilityDescriptor>
                </ns2:link>
                <ns2:nextHop>null</ns2:nextHop>
            </ns2:hop>
        </ns2:path>
    </ns2:stitching>
    <ns3:geni_slice_info state="configuring" uuid="ee3059ac-354b-4c10-b7a7-1a5d0c4cc60c" urn="urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+EG-EXP-1"/>
</rspec>

INFO:omni: ------------------------------------------------------------
INFO:omni: Completed createsliver:
  Options as run:
		aggregate: ['eg-sm']
		framework: pg
  Args: createsliver EG-EXP-1 EG-EXP-1-2baremetal.rspec
  Result Summary: Got Reserved resources RSpec from geni-renci-org-11443-orca 
INFO:omni: ============================================================

Once the resources are allocated, sliverstatus can be checked to determine the sliver overall status {{ $ omni.py -a eg-sm sliverstatus EG-EXP-1 }}}

Once the sliver is ready, determine the addresses required to connect to the compute resources allocated:

$ readyToLogin.py -a eg-sm EG-EXP-1

User root logins to BT2 using:
	xterm -e ssh -i /home/lnevers/.ssh/id_rsa root@152.54.14.201 &
User root logins to BT1 using:
	xterm -e ssh -i /home/lnevers/.ssh/id_rsa root@192.1.242.111 &     

Login to each host an exchange traffic between the two nodes. First login to the RENCI bare metal node:

$ ssh root@152.54.14.201
Last login: Mon Mar 11 08:11:18 2013 from arendia.gpolab.bbn.com
[root@rci-w10 ~]# cat /etc/issue
CentOS release 6.3 (Final)
Kernel \r on an \m

[root@rci-w10 ~]# /sbin/ifconfig eth2.1017 
eth2.1017 Link encap:Ethernet  HWaddr 00:07:43:12:5A:E0  
          inet addr:172.16.1.2  Bcast:172.16.1.255  Mask:255.255.255.0
          inet6 addr: fe80::207:43ff:fe12:5ae0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:468 (468.0 b)

Second, login on the GPO bare metal node and send traffic:

$ ssh root@192.1.242.111
Last login: Mon Mar 11 08:11:39 2013 from arendia.gpolab.bbn.com
[root@bbn-w10 ~]# cat /etc/issue
CentOS release 6.3 (Final)
Kernel \r on an \m

[root@bbn-w10 ~]# /sbin/ifconfig eth2.2602 
eth2.2602 Link encap:Ethernet  HWaddr 00:07:43:12:5C:40  
          inet addr:172.16.1.1  Bcast:172.16.1.255  Mask:255.255.255.0
          inet6 addr: fe80::207:43ff:fe12:5c40/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:468 (468.0 b)

Exchange traffic between the two nodes:

Ping from RENCI PC to GPO PC

60 packets transmitted, 59 received, 1% packet loss, time 61181ms
rtt min/avg/max/mdev = 17.360/34.837/1045.749/132.739 ms, pipe 2

Step 7. Release bare metal resource.

Once traffic is exchanged successfully between the two bare metal nodes, delete the sliver while traffic is being exchanged:

$ omni.py -a eg-sm deletesliver EG-EXP-1

Step 8. Modify Aggregate resource allocation for the rack to add 1 additional bare metal node (2 total) for use in experimenter test cases.

Not possible at this time.