| 1 | = GR-EXP-1: Bare Metal Support Acceptance Test = |
| 2 | |
| 3 | This page captures status for the test case GR-EXP-1. For additional information see the [wiki:GENIRacksHome/GRAMRacks/AcceptanceTestStatusMay2013 Acceptance Test Status - May 2013] page overall status, or the [wiki:GENIRacksHome/AcceptanceTests/GRAMAcceptanceTestsPlan GRAM Acceptance Test Plan] for details about the planned evaluation. |
| 4 | |
| 5 | |
| 6 | ''Last Update: 2013/05/13" |
| 7 | |
| 8 | || '''Step''' || '''State''' ||''' Notes ''' || '''Tickets''' || |
| 9 | || Step 1 ||[[span(Pass: most criteria, style=background-color: #98FB98)]]||Replaced bare metal with VM|| #48 #52 || |
| 10 | || Step 2 ||[[span(Fail, style=background-color: red)]] ||No account setup for MS Windows ||#70 || |
| 11 | || Step 3 ||[[span(Fail, style=background-color: red)]] ||No account setup for MS Windows ||#70 || |
| 12 | || Step 4 ||[[span(Pass: most criteria, style=background-color: #98FB98)]]||Replaced bare metal with VM || || |
| 13 | || Step 5 ||[[span(Pass, style=background-color: green )]] || || #54 || |
| 14 | || Step 6 ||[[span(Pass, style=background-color: green )]] || || || |
| 15 | || Step 7 ||[[span(Fail, style=background-color: red)]]||Changing physical node allocation not supported|| || |
| 16 | |
| 17 | [[BR]] |
| 18 | || '''State Legend''' || '''Description''' || |
| 19 | ||[[span(Pass, style=background-color: green )]] || Test completed and met all criteria || |
| 20 | ||[[span(Pass: most criteria, style=background-color: #98FB98)]]|| Test completed and met most criteria. Exceptions documented || |
| 21 | ||[[span(Fail, style=background-color: red)]] || Test completed and failed to meet criteria. || |
| 22 | ||[[span(Complete, style=background-color: yellow)]] || Test completed but will require re-execution due to expected changes || |
| 23 | ||[[span(Blocked, style=background-color: orange)]] || Blocked by ticketed issue(s). || |
| 24 | ||[[span(In Progress, style=background-color: #63B8FF)]]|| Currently under test. || |
| 25 | |
| 26 | = Test Plan Steps = |
| 27 | This test case uses the following aggregate nick_names: |
| 28 | {{{ |
| 29 | gram=,https://128.89.91.170:5001 |
| 30 | }}} |
| 31 | |
| 32 | ''Evaluation Note:'' There is no supported for bare metal nodes in GRAM, test case replaces all dedicated nodes (aka bare metal) with VMs. |
| 33 | |
| 34 | '' |
| 35 | '''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. |
| 36 | |
| 37 | == Step 1. Determine which nodes can be used as exclusive nodes. == |
| 38 | |
| 39 | Issue a listresources command to determine available compute resources: |
| 40 | {{{ |
| 41 | $ omni.py listresources -a gram -V3 |
| 42 | INFO:omni:Loading config file /home/lnevers/.gcf/omni_config |
| 43 | INFO:omni:Using control framework gram |
| 44 | INFO:omni:Substituting AM nickname gram with URL https://128.89.91.170:5001, URN unspecified_AM_URN |
| 45 | INFO:omni:Substituting AM nickname gram with URL https://128.89.91.170:5001, URN unspecified_AM_URN |
| 46 | INFO:omni:Listed advertised resources at 1 out of 1 possible aggregates. |
| 47 | INFO:omni:Substituting AM nickname gram with URL https://128.89.91.170:5001, URN unspecified_AM_URN |
| 48 | INFO:omni:<?xml version="1.0" ?> |
| 49 | INFO:omni: <!-- Resources at AM: |
| 50 | URN: unspecified_AM_URN |
| 51 | URL: https://128.89.91.170:5001 |
| 52 | --> |
| 53 | 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"/> |
| 54 | <node_type type_name="m1.small"/> |
| 55 | <node_type type_name="m1.medium"/> |
| 56 | <node_type type_name="m1.large"/> |
| 57 | <node_type type_name="m1.xlarge"/> |
| 58 | <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/> |
| 59 | <sliver_type name="m1.small"/> |
| 60 | <available now="True"/> |
| 61 | </node></rspec> |
| 62 | INFO:omni: ------------------------------------------------------------ |
| 63 | INFO:omni: Completed listresources: |
| 64 | |
| 65 | Options as run: |
| 66 | aggregate: ['gram'] |
| 67 | api_version: 3 |
| 68 | framework: gram |
| 69 | |
| 70 | Args: listresources |
| 71 | |
| 72 | Result Summary: Queried resources from 1 of 1 aggregate(s). |
| 73 | |
| 74 | INFO:omni: ============================================================ |
| 75 | }}} |
| 76 | |
| 77 | '''Note:''' Running "rspeclint" tool on Advertisement RSpec fails, see ticket #52. |
| 78 | |
| 79 | == Step 2. Obtain 2 licensed recent Microsoft OS images for physical nodes from the site (BBN). == |
| 80 | |
| 81 | There is MS Windows support on bare metal nodes but there is support on VMs. |
| 82 | |
| 83 | '''Note:'''!OpenStack supports MS Windows, and in order for GRAM to support this GENI required OS, |
| 84 | there need to be work done to set up accounts and install SSH keys on the VMs. |
| 85 | |
| 86 | == Step 3. Reserve and boot 2 physical nodes using Microsoft image. == |
| 87 | |
| 88 | |
| 89 | '''Note:'''!OpenStack supports MS Windows, and in order for GRAM to support this GENI required OS, |
| 90 | there need to be work done to set up accounts and install SSH keys on the VMs. |
| 91 | |
| 92 | |
| 93 | == Step 4. Obtain a recent Linux OS image for physical nodes from the GRAM list. == |
| 94 | |
| 95 | Images listed from the list resource include: |
| 96 | {{{ |
| 97 | $ omni.py listresources -a gram -V3 |
| 98 | ... |
| 99 | <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/> |
| 100 | }}} |
| 101 | |
| 102 | == Step 5. Reserve and boot a physical node using this Linux OS image. == |
| 103 | |
| 104 | Replaced the physical node with a VMs for this step, and created the following RSpec: |
| 105 | |
| 106 | {{{ |
| 107 | <rspec type="request" |
| 108 | xmlns="http://www.geni.net/resources/rspec/3" |
| 109 | xmlns:flack="http://www.protogeni.net/resources/rspec/ext/flack/1" |
| 110 | xmlns:planetlab="http://www.planet-lab.org/resources/sfa/ext/planetlab/1" |
| 111 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 112 | xsi:schemaLocation="http://www.geni.net/resources/rspec/3 |
| 113 | http://www.geni.net/resources/rspec/3/request.xsd"> |
| 114 | |
| 115 | <node client_id="My-node-name" component_manager_id="urn:publicid:geni:bos:gcf+authority+am" exclusive="False"> |
| 116 | <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/> |
| 117 | </node> |
| 118 | </rspec> |
| 119 | }}} |
| 120 | |
| 121 | Create a slice and then allocate a sliver with one VM running Ubuntu: |
| 122 | {{{ |
| 123 | $ omni.py createslice GR-EXP-1a |
| 124 | INFO:omni:Loading config file /home/lnevers/.gcf/omni_config |
| 125 | INFO:omni:Using control framework gram |
| 126 | INFO:omni:Created slice with Name GR-EXP-1a, URN urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-1a, Expiration 2013-05-15 18:57:05 |
| 127 | INFO:omni: ------------------------------------------------------------ |
| 128 | INFO:omni: Completed createslice: |
| 129 | |
| 130 | Options as run: |
| 131 | framework: gram |
| 132 | |
| 133 | Args: createslice GR-EXP-1a |
| 134 | |
| 135 | Result Summary: Created slice with Name GR-EXP-1a, URN urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-1a, Expiration 2013-05-15 18:57:05 |
| 136 | |
| 137 | INFO:omni: ============================================================ |
| 138 | |
| 139 | |
| 140 | $ omni.py allocate -a gram GR-EXP-1a GR-EXP-1.rspec -V3 |
| 141 | INFO:omni:Loading config file /home/lnevers/.gcf/omni_config |
| 142 | INFO:omni:Using control framework gram |
| 143 | INFO:omni:Substituting AM nickname gram with URL https://128.89.91.170:5001, URN unspecified_AM_URN |
| 144 | WARNING:omni:Slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-1a expires in <= 3 hours |
| 145 | INFO:omni:Slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-1a expires on 2013-05-15 18:57:05 UTC |
| 146 | INFO:omni:Substituting AM nickname gram with URL https://128.89.91.170:5001, URN unspecified_AM_URN |
| 147 | INFO:omni:Allocate slivers in slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-1a at https://128.89.91.170:5001: |
| 148 | INFO:omni:{ |
| 149 | "geni_rspec": "<?xml version=\"1.0\" ?> |
| 150 | INFO:omni: <!-- Reserved resources for: |
| 151 | Slice: GR-EXP-1a |
| 152 | at AM: |
| 153 | URN: unspecified_AM_URN |
| 154 | URL: https://128.89.91.170:5001 |
| 155 | --> |
| 156 | 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>", |
| 157 | "geni_slivers": [ |
| 158 | { |
| 159 | "geni_sliver_urn": "urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+vm6b54f15e-696a-4dfa-9c41-053666f78409", |
| 160 | "geni_expires": "2013-05-15T17:08:06.057598+00:00", |
| 161 | "geni_allocation_status": "geni_allocated", |
| 162 | "geni_operational_status": "geni_notready", |
| 163 | "geni_error": "" |
| 164 | } |
| 165 | ] |
| 166 | } |
| 167 | INFO:omni:All slivers expire on '2013-05-15T17:08:06.057598' |
| 168 | INFO:omni: ------------------------------------------------------------ |
| 169 | INFO:omni: Completed allocate: |
| 170 | |
| 171 | Options as run: |
| 172 | aggregate: ['gram'] |
| 173 | api_version: 3 |
| 174 | framework: gram |
| 175 | |
| 176 | Args: allocate GR-EXP-1a GR-EXP-1.rspec |
| 177 | |
| 178 | Result Summary: Slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-1a expires in <= 3 hours on 2013-05-15 18:57:05 UTC |
| 179 | Allocated slivers in slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-1a at https://128.89.91.170:5001. |
| 180 | Next sliver expiration: 2013-05-15T17:08:06.057598 |
| 181 | INFO:omni: ============================================================ |
| 182 | }}} |
| 183 | |
| 184 | Provision the sliver: |
| 185 | {{{ |
| 186 | $ omni.py provision -a gram GR-EXP-1a -V3 |
| 187 | INFO:omni:Loading config file /home/lnevers/.gcf/omni_config |
| 188 | INFO:omni:Using control framework gram |
| 189 | INFO:omni:Substituting AM nickname gram with URL https://128.89.91.170:5001, URN unspecified_AM_URN |
| 190 | WARNING:omni:Slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-1a expires in <= 3 hours |
| 191 | INFO:omni:Slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-1a expires on 2013-05-15 18:57:05 UTC |
| 192 | INFO:omni:Substituting AM nickname gram with URL https://128.89.91.170:5001, URN unspecified_AM_URN |
| 193 | INFO:omni:Provision slivers in slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-1a at https://128.89.91.170:5001 |
| 194 | INFO:omni:{ |
| 195 | "geni_rspec": "<?xml version=\"1.0\" ?> |
| 196 | INFO:omni: <!-- Provision slivers in slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-1a at AM URL https://128.89.91.170:5001 --> |
| 197 | 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>", |
| 198 | "geni_slivers": [ |
| 199 | { |
| 200 | "geni_sliver_urn": "urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+vm6b54f15e-696a-4dfa-9c41-053666f78409", |
| 201 | "geni_expires": "2013-05-15T18:57:05+00:00", |
| 202 | "geni_allocation_status": "geni_provisioned", |
| 203 | "geni_operational_status": "geni_notready", |
| 204 | "geni_error": "" |
| 205 | } |
| 206 | ] |
| 207 | } |
| 208 | INFO:omni:All slivers expire on '2013-05-15T18:57:05' |
| 209 | INFO:omni: ------------------------------------------------------------ |
| 210 | INFO:omni: Completed provision: |
| 211 | |
| 212 | Options as run: |
| 213 | aggregate: ['gram'] |
| 214 | api_version: 3 |
| 215 | framework: gram |
| 216 | |
| 217 | Args: provision GR-EXP-1a |
| 218 | |
| 219 | Result Summary: Slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-1a expires in <= 3 hours on 2013-05-15 18:57:05 UTC |
| 220 | Provisioned slivers in slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-1a at https://128.89.91.170:5001. |
| 221 | Next sliver expiration: 2013-05-15T18:57:05 |
| 222 | INFO:omni: ============================================================ |
| 223 | |
| 224 | }}} |
| 225 | |
| 226 | '''Note: no performoperationalaction sliver-name geni_start is required. Nodes are ready at "provision". |
| 227 | |
| 228 | |
| 229 | Gather login information from manifest: |
| 230 | {{{ |
| 231 | <node client_id=\"My-node-name\" component_id=\"urn:publicid:IDN+boscontroller.gpolab.bbn.com+node+boscompute2\" |
| 232 | component_manager_id=\"urn:publicid:IDN+boscontroller.gpolab.bbn.com+authority+cm\" exclusive=\"false\" |
| 233 | sliver_id=\"urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+vm6b54f15e-696a-4dfa-9c41-053666f78409\"> \n |
| 234 | <sliver_type name=\"m1.small\"> \n |
| 235 | <disk_image name=\"urn:publicid:IDN+boscontroller.gpolab.bbn.com+imageubuntu-12.04\" os=\"Linux\" version=\"12\"/> |
| 236 | \n </sliver_type> \n <services> \n |
| 237 | <login authentication=\"ssh-keys\" hostname=\"boscontroller\" port=\"3001\" username=\"lnevers\"/> \n |
| 238 | </services> \n |
| 239 | }}} |
| 240 | |
| 241 | Logged into allocated VM: |
| 242 | {{{ |
| 243 | $ ssh 128.89.91.170 -p 3001 |
| 244 | lnevers@my-node-name:~$ /sbin/ifconfig |
| 245 | eth0 Link encap:Ethernet HWaddr fa:16:3e:d0:35:dc |
| 246 | inet addr:192.168.10.5 Bcast:192.168.10.255 Mask:255.255.255.0 |
| 247 | inet6 addr: fe80::f816:3eff:fed0:35dc/64 Scope:Link |
| 248 | UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 |
| 249 | RX packets:425 errors:0 dropped:0 overruns:0 frame:0 |
| 250 | TX packets:276 errors:0 dropped:0 overruns:0 carrier:0 |
| 251 | collisions:0 txqueuelen:1000 |
| 252 | RX bytes:53379 (53.3 KB) TX bytes:33237 (33.2 KB) |
| 253 | |
| 254 | lo Link encap:Local Loopback |
| 255 | inet addr:127.0.0.1 Mask:255.0.0.0 |
| 256 | inet6 addr: ::1/128 Scope:Host |
| 257 | UP LOOPBACK RUNNING MTU:16436 Metric:1 |
| 258 | RX packets:0 errors:0 dropped:0 overruns:0 frame:0 |
| 259 | TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 |
| 260 | collisions:0 txqueuelen:0 |
| 261 | RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) |
| 262 | lnevers@my-node-name:~$ exit |
| 263 | |
| 264 | }}} |
| 265 | |
| 266 | == Step 6. Release physical node resource. == |
| 267 | |
| 268 | Deleted the sliver: |
| 269 | {{{ |
| 270 | $ omni.py delete -a gram GR-EXP-1a -V3 |
| 271 | INFO:omni:Loading config file /home/lnevers/.gcf/omni_config |
| 272 | INFO:omni:Using control framework gram |
| 273 | INFO:omni:Substituting AM nickname gram with URL https://128.89.91.170:5001, URN unspecified_AM_URN |
| 274 | WARNING:omni:Slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-1a expires in <= 3 hours |
| 275 | INFO:omni:Slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-1a expires on 2013-05-15 18:57:05 UTC |
| 276 | INFO:omni:Substituting AM nickname gram with URL https://128.89.91.170:5001, URN unspecified_AM_URN |
| 277 | INFO:omni:Deleted slivers in slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-1a on unspecified_AM_URN at https://128.89.91.170:5001 |
| 278 | INFO:omni:Deletion of slivers in slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-1a at AM URL https://128.89.91.170:5001 |
| 279 | INFO:omni:[ |
| 280 | { |
| 281 | "geni_sliver_urn": "urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+vm6b54f15e-696a-4dfa-9c41-053666f78409", |
| 282 | "geni_expires": "2013-05-15T18:57:05+00:00", |
| 283 | "geni_allocation_status": "geni_unallocated", |
| 284 | "geni_operational_status": "geni_stopping", |
| 285 | "geni_error": "" |
| 286 | } |
| 287 | ] |
| 288 | INFO:omni: ------------------------------------------------------------ |
| 289 | INFO:omni: Completed delete: |
| 290 | |
| 291 | Options as run: |
| 292 | aggregate: ['gram'] |
| 293 | api_version: 3 |
| 294 | framework: gram |
| 295 | |
| 296 | Args: delete GR-EXP-1a |
| 297 | |
| 298 | Result Summary: Deleted slivers in slice urn:publicid:IDN+geni:bos:gcf+slice+GR-EXP-1a on unspecified_AM_URN at https://128.89.91.170:5001 |
| 299 | |
| 300 | INFO:omni: ============================================================ |
| 301 | |
| 302 | }}} |
| 303 | == Step 7. Modify Aggregate resource allocation for the rack to add 1 additional physical node. == |
| 304 | |
| 305 | This is not supported, there is no physical node support, skipping step. |
| 306 | |