= GR-EXP-1: Bare Metal Support Acceptance Test = This page captures status for the test case GR-EXP-1. For additional information see the [wiki:GENIRacksHome/GRAMRacks/AcceptanceTestStatusDec2013 Acceptance Test Status - December 2013] page overall status, or the [wiki:GENIRacksHome/AcceptanceTests/GRAMAcceptanceTestsPlan GRAM Acceptance Test Plan] for details about the planned evaluation. ''Last Update: 2013/12/13" || '''Step''' || '''State''' ||''' Notes ''' || '''Tickets''' || || Step 1 ||[[span(Pass: most criteria, style=background-color: #98FB98)]]||Replaced bare metal with VM||#51 || || Step 2 ||[[span(Fail, style=background-color: red)]] ||No account setup for MS Windows ||#70 || || Step 3 ||[[span(Fail, style=background-color: red)]] ||No account setup for MS Windows ||#70 || || Step 4 ||[[span(Pass: most criteria, style=background-color: #98FB98)]]||Replaced bare metal with VM || || || Step 5 ||[[span(Pass, style=background-color: green )]] || || || || Step 6 ||[[span(Pass, style=background-color: green )]] || || || || Step 7 ||[[span(Fail, style=background-color: red)]]||Changing physical node allocation not possible|| #51 || [[BR]] || '''State Legend''' || '''Description''' || ||[[span(Pass, style=background-color: green )]] || Test completed and met all criteria || ||[[span(Pass: most criteria, style=background-color: #98FB98)]]|| Test completed and met most criteria. Exceptions documented || ||[[span(Fail, style=background-color: red)]] || Test completed and failed to meet criteria. || ||[[span(Complete, style=background-color: yellow)]] || Test completed but will require re-execution due to expected changes || ||[[span(Blocked, style=background-color: orange)]] || Blocked by ticketed issue(s). || ||[[span(In Progress, style=background-color: #63B8FF)]]|| 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: 11:05:19 INFO omni: 11:05:19 INFO omni: Boot the node VMs begin powered down or inactive. They must be explicitly booted before use. Reboot the node The state of the VM The VM has been booted and is ready 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"): {{{ }}} == 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: {{{ }}} 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: 11:32:18 INFO omni: 11:32:18 INFO omni: 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 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 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.