= OG-EXP-1: Bare Metal Support Acceptance Test =
This page captures status for the test case OG-EXP-1. For additional information see the [wiki:GENIRacksHome/OpenGENIRacks/AcceptanceTestStatusMay2013 Acceptance Test Status - May 2013] page overall status, or the [wiki:GENIRacksHome/AcceptanceTests/OpenGENIAcceptanceTestsPlan OpenGENI Acceptance Test Plan] for details about the planned evaluation.
''Last Update: 2013/05/13"
|| '''Step''' || '''State''' ||''' Notes ''' || '''Tickets''' ||
|| Step 1 ||[[span(Pass: most criteria, style=background-color: #98FB98)]]||Replaced bare metal with VM|| #48 #52 ||
|| 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 )]] || || #54 ||
|| Step 6 ||[[span(Pass, style=background-color: green )]] || || ||
|| Step 7 ||[[span(Fail, style=background-color: red)]]||Changing physical node allocation not supported|| ||
[[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:
{{{
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:
INFO:omni:
INFO:omni:
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
...
}}}
== 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:
{{{
}}}
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": "
INFO:omni:
INFO:omni: \n \n \n \n \n \n \n",
"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": "
INFO:omni:
INFO:omni: \n \n \n \n \n \n \n \n \n \n",
"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:
{{{
\n
\n
\n \n \n
\n
\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.