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

Version 2 (modified by lnevers@bbn.com, 5 years ago) (diff)

--

OG-EXP-1: Bare Metal Support Acceptance Test

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

Last Update: 2013/05/13"

Step State Notes Tickets
Step 1 Pass: most criteriaReplaced bare metal with VM #48 #52
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 #54
Step 6 Pass
Step 7 FailChanging physical node allocation not supported


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:

gram=,https://128.89.91.170:5001

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

Evaluation Note:OpenStack supports MS Windows, and in order for OpenGENI 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:

$ omni.py listresources -a gram -V3
INFO:omni:Loading config file /home/lnevers/.gcf/omni_config
INFO:omni:Using control framework gram
INFO:omni:Substituting AM nickname gram with URL https://128.89.91.170:5001, URN unspecified_AM_URN
INFO:omni:Substituting AM nickname gram with URL https://128.89.91.170:5001, URN unspecified_AM_URN
INFO:omni:Listed advertised resources at 1 out of 1 possible aggregates.
INFO:omni:Substituting AM nickname gram with URL https://128.89.91.170:5001, URN unspecified_AM_URN
INFO:omni:<?xml version="1.0" ?>
INFO:omni:  <!-- Resources at AM:
	URN: unspecified_AM_URN
	URL: https://128.89.91.170:5001
 -->
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 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"/>    
    <node_type type_name="m1.small"/>    
    <node_type type_name="m1.medium"/>    
    <node_type type_name="m1.large"/>    
    <node_type type_name="m1.xlarge"/>    
    <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>    
    <sliver_type name="m1.small"/>    
        <available now="True"/>    
    </node></rspec>
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed listresources:

  Options as run:
		aggregate: ['gram']
		api_version: 3
		framework: gram

  Args: listresources

  Result Summary: Queried resources from 1 of 1 aggregate(s).
 
INFO:omni: ============================================================

Note: Running "rspeclint" tool on Advertisement RSpec fails, see ticket #52.

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 OpenGENI 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 OpenGENI 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 OpenGENI list.

Images listed from the list resource include:

$ omni.py listresources -a gram -V3
 ...
 <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 the following RSpec:

<rspec type="request" 
	xmlns="http://www.geni.net/resources/rspec/3" 
	xmlns:flack="http://www.protogeni.net/resources/rspec/ext/flack/1" 
	xmlns:planetlab="http://www.planet-lab.org/resources/sfa/ext/planetlab/1" 
	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/request.xsd">  

 <node client_id="My-node-name" component_manager_id="urn:publicid:geni:bos:gcf+authority+am" exclusive="False">    
    <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>    
    </node>
</rspec>

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

$ omni.py createslice OG-EXP-1a
INFO:omni:Loading config file /home/lnevers/.gcf/omni_config
INFO:omni:Using control framework gram
INFO:omni:Created slice with Name OG-EXP-1a, URN urn:publicid:IDN+geni:bos:gcf+slice+OG-EXP-1a, Expiration 2013-05-15 18:57:05
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed createslice:

  Options as run:
		framework: gram

  Args: createslice OG-EXP-1a

  Result Summary: Created slice with Name OG-EXP-1a, URN urn:publicid:IDN+geni:bos:gcf+slice+OG-EXP-1a, Expiration 2013-05-15 18:57:05
 
INFO:omni: ============================================================


$ omni.py allocate -a gram  OG-EXP-1a OG-EXP-1.rspec -V3   
INFO:omni:Loading config file /home/lnevers/.gcf/omni_config
INFO:omni:Using control framework gram
INFO:omni:Substituting AM nickname gram with URL https://128.89.91.170:5001, URN unspecified_AM_URN
WARNING:omni:Slice urn:publicid:IDN+geni:bos:gcf+slice+OG-EXP-1a expires in <= 3 hours
INFO:omni:Slice urn:publicid:IDN+geni:bos:gcf+slice+OG-EXP-1a expires on 2013-05-15 18:57:05 UTC
INFO:omni:Substituting AM nickname gram with URL https://128.89.91.170:5001, URN unspecified_AM_URN
INFO:omni:Allocate slivers in slice urn:publicid:IDN+geni:bos:gcf+slice+OG-EXP-1a at https://128.89.91.170:5001:
INFO:omni:{
  "geni_rspec": "<?xml version=\"1.0\" ?>
INFO:omni:  <!-- Reserved resources for:
	Slice: OG-EXP-1a
	at AM:
	URN: unspecified_AM_URN
	URL: https://128.89.91.170:5001
 -->
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\">  \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>", 
  "geni_slivers": [
    {
      "geni_sliver_urn": "urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+vm6b54f15e-696a-4dfa-9c41-053666f78409", 
      "geni_expires": "2013-05-15T17:08:06.057598+00:00", 
      "geni_allocation_status": "geni_allocated", 
      "geni_operational_status": "geni_notready", 
      "geni_error": ""
    }
  ]
}
INFO:omni:All slivers expire on '2013-05-15T17:08:06.057598'
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed allocate:

  Options as run:
		aggregate: ['gram']
		api_version: 3
		framework: gram

  Args: allocate OG-EXP-1a OG-EXP-1.rspec

  Result Summary: Slice urn:publicid:IDN+geni:bos:gcf+slice+OG-EXP-1a expires in <= 3 hours on 2013-05-15 18:57:05 UTC
Allocated slivers in slice urn:publicid:IDN+geni:bos:gcf+slice+OG-EXP-1a at https://128.89.91.170:5001. 
 Next sliver expiration: 2013-05-15T17:08:06.057598 
INFO:omni: ============================================================

Provision the sliver:

$ omni.py provision -a gram  OG-EXP-1a -V3 
INFO:omni:Loading config file /home/lnevers/.gcf/omni_config
INFO:omni:Using control framework gram
INFO:omni:Substituting AM nickname gram with URL https://128.89.91.170:5001, URN unspecified_AM_URN
WARNING:omni:Slice urn:publicid:IDN+geni:bos:gcf+slice+OG-EXP-1a expires in <= 3 hours
INFO:omni:Slice urn:publicid:IDN+geni:bos:gcf+slice+OG-EXP-1a expires on 2013-05-15 18:57:05 UTC
INFO:omni:Substituting AM nickname gram with URL https://128.89.91.170:5001, URN unspecified_AM_URN
INFO:omni:Provision slivers in slice urn:publicid:IDN+geni:bos:gcf+slice+OG-EXP-1a at https://128.89.91.170:5001
INFO:omni:{
  "geni_rspec": "<?xml version=\"1.0\" ?>
INFO:omni:  <!-- Provision slivers in slice urn:publicid:IDN+geni:bos:gcf+slice+OG-EXP-1a at AM URL https://128.89.91.170:5001 -->
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\">  \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>", 
  "geni_slivers": [
    {
      "geni_sliver_urn": "urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+vm6b54f15e-696a-4dfa-9c41-053666f78409", 
      "geni_expires": "2013-05-15T18:57:05+00:00", 
      "geni_allocation_status": "geni_provisioned", 
      "geni_operational_status": "geni_notready", 
      "geni_error": ""
    }
  ]
}
INFO:omni:All slivers expire on '2013-05-15T18:57:05'
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed provision:

  Options as run:
		aggregate: ['gram']
		api_version: 3
		framework: gram

  Args: provision OG-EXP-1a

  Result Summary: Slice urn:publicid:IDN+geni:bos:gcf+slice+OG-EXP-1a expires in <= 3 hours on 2013-05-15 18:57:05 UTC
Provisioned slivers in slice urn:publicid:IDN+geni:bos:gcf+slice+OG-EXP-1a at https://128.89.91.170:5001. 
 Next sliver expiration: 2013-05-15T18:57:05 
INFO:omni: ============================================================

Note: no performoperationalaction sliver-name geni_start is required. Nodes are ready at "provision".

Gather login information from manifest:

 <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   

Logged into allocated VM:

$ ssh 128.89.91.170 -p 3001
lnevers@my-node-name:~$ /sbin/ifconfig
eth0      Link encap:Ethernet  HWaddr fa:16:3e:d0:35:dc  
          inet addr:192.168.10.5  Bcast:192.168.10.255  Mask:255.255.255.0
          inet6 addr: fe80::f816:3eff:fed0:35dc/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:425 errors:0 dropped:0 overruns:0 frame:0
          TX packets:276 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:53379 (53.3 KB)  TX bytes:33237 (33.2 KB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
lnevers@my-node-name:~$ exit

Step 6. Release physical node resource.

Deleted the sliver:

$ omni.py delete -a gram  OG-EXP-1a -V3
INFO:omni:Loading config file /home/lnevers/.gcf/omni_config
INFO:omni:Using control framework gram
INFO:omni:Substituting AM nickname gram with URL https://128.89.91.170:5001, URN unspecified_AM_URN
WARNING:omni:Slice urn:publicid:IDN+geni:bos:gcf+slice+OG-EXP-1a expires in <= 3 hours
INFO:omni:Slice urn:publicid:IDN+geni:bos:gcf+slice+OG-EXP-1a expires on 2013-05-15 18:57:05 UTC
INFO:omni:Substituting AM nickname gram with URL https://128.89.91.170:5001, URN unspecified_AM_URN
INFO:omni:Deleted slivers in slice urn:publicid:IDN+geni:bos:gcf+slice+OG-EXP-1a on unspecified_AM_URN at https://128.89.91.170:5001
INFO:omni:Deletion of slivers in slice urn:publicid:IDN+geni:bos:gcf+slice+OG-EXP-1a at AM URL https://128.89.91.170:5001
INFO:omni:[
  {
    "geni_sliver_urn": "urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+vm6b54f15e-696a-4dfa-9c41-053666f78409", 
    "geni_expires": "2013-05-15T18:57:05+00:00", 
    "geni_allocation_status": "geni_unallocated", 
    "geni_operational_status": "geni_stopping", 
    "geni_error": ""
  }
]
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed delete:

  Options as run:
		aggregate: ['gram']
		api_version: 3
		framework: gram

  Args: delete OG-EXP-1a

  Result Summary: Deleted slivers in slice urn:publicid:IDN+geni:bos:gcf+slice+OG-EXP-1a on unspecified_AM_URN at https://128.89.91.170:5001
 
INFO:omni: ============================================================

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

This is not supported, there is no physical node support, skipping step.