= 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 [wiki:GENIRacksHome/ExogeniRacks/AcceptanceTestStatus 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 || [[BR]] || '''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. || [[BR]] = Test Plan Steps = '''Notes:''' [[BR]] 1. Bare metal nodes are available via ExoSM only. [[BR]] 2. Bare metal node only support one OS version at this time, CentOS release 6.3. [[BR]] 3. Two bare metal nodes at BBN and 2 bare metal nodes at RENCI. [[BR]] == 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 }}} 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 [http://groups.geni.net/geni/browser/trunk/GENIRacks/ExoGENI/Spiral4/Rspecs/AcceptanceTests/EG-EXP-1/EG-EXP-1-2baremetal.rspec 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: INFO:omni: INFO:omni: unknown unknown 0 0 10000000 10000000 unknown l2sc ethernet hop2 unknown unknown 0 0 10000000 10000000 unknown l2sc ethernet hop3 unknown unknown 0 0 10000000 10000000 unknown l2sc ethernet hop4 unknown unknown 0 0 10000000 10000000 unknown l2sc ethernet null 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.