Changes between Version 33 and Version 34 of GENIRacksHome/InstageniRacks/AcceptanceTestStatus/IG-EXP-1


Ignore:
Timestamp:
01/24/13 15:21:20 (11 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIRacksHome/InstageniRacks/AcceptanceTestStatus/IG-EXP-1

    v33 v34  
    3131= Test Plan Steps =
    3232
    33 A nick_name alias is used for the Utah InstaGENI aggregate manager in the omni_config:
    34 {{{
    35 insta-utah=,http://utah.geniracks.net/protogeni/xmlrpc/am
     33A nick_name alias is used for the GPO InstaGENI aggregate manager in the omni_config:
     34{{{
     35ig-gpo=,http://instageni.gpolab.bbn.com/protogeni/xmlrpc/am/2.0
     36
    3637}}}
    3738
     
    4041== Step 1. Determine which nodes can be used as exclusive nodes ==
    4142
    42 Able to determine which node are exclusive and if they are available via Omni listresources. No issues found.
    43 !ListResources obtained with the following Omni command:
    44 {{{
    45  $ omni.py -a insta-utah listresources --available --api-version 2 -t GENI 3 -o
     43Able to determine which node are exclusive and if they are available via Omni listresources. !ListResources obtained with the following Omni command:
     44{{{
     45 $ omni.py -a ig-gpo listresources --available -o
    4646}}}
    4747
    4848== Step 2. Obtain 2 licensed recent Microsoft OS images for physical nodes from the site (BBN) ==
    4949
    50 Need to get InstaGENI folks to document the non-support of MS Windows and cleanup of windows references ([http://groups.geni.net/instageni/ticket/13 ticket 13]).
     50Windows is not supported. Need to get InstaGENI folks to document the non-support of MS Windows and cleanup of windows references ([http://groups.geni.net/instageni/ticket/13 ticket 13]).
    5151 
    5252== Step 3. Reserve and boot 2 physical nodes using Microsoft image ==
    5353
    5454MS Windows is not verified ([http://groups.geni.net/instageni/ticket/13 ticket 13])
    55 According to email from Leigh, this is very time intensive and would require weeks.  Also Windows XP instructions exist.
     55According to email from Leigh, this is very time intensive and would require weeks.  Also Windows XP instructions existed, but have since been removed.
    5656
    5757== Step 4. Obtain a recent Linux OS image for physical nodes from the InstaGENI list ==
     
    5959Have requested the list of currently supported OS by InstaGENI. Initially only Standard 32-bit Fedora 15 image was available, two images have been added to the list of available OS in the Utah InstaGENI rack ([http://groups.geni.net/instageni/ticket/13 ticket 13]).  Tested each images made available to experimenters, by setting up a 2 raw pc with 1 lan experiment for each image and attached Rspec:
    6060  - FreeBSD 8.2 32-bit version
    61   - Standard 64-bit Ubuntu 11 image
     61  - Standard 64-bit Ubuntu 12.04 image
    6262  - Standard 32-bit Fedora 15 image (default)
    6363
    6464Command used to determine images:
    6565{{{
    66  $ omni.py -a insta-utah listresources --available --api-version 2 -t GENI 3 --available -o
    67  $ egrep "node component|disk_image|available" rspec-boss-utah-geniracks-net-protogeni-xmlrpc-am-2-0.xml
     66 $ $ omni.py -a ig-gpo listresources --available -o
     67 $ egrep "node component|disk_image|available" rspec-instageni-gpolab-bbn-com-protogeniv2.xml
     68 <...>
     69 <node component_id="urn:publicid:IDN+instageni.gpolab.bbn.com+node+pc4" component_manager_id="urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm" component_name="pc4" exclusive="true">   
     70      <disk_image default="true" description="Standard 32-bit Fedora 15 image" name="urn:publicid:IDN+instageni.gpolab.bbn.com+image+emulab-ops:FEDORA15-STD" os="Fedora" version="15"/>     
     71      <disk_image description="FreeBSD 8.2 32-bit version" name="urn:publicid:IDN+instageni.gpolab.bbn.com+image+emulab-ops:FBSD82-STD" os="FreeBSD" version="8.2"/>     
     72      <disk_image description="Ubuntu 12.04 LTS" name="urn:publicid:IDN+instageni.gpolab.bbn.com+image+emulab-ops:UBUNTU12-64-STD" os="Linux" version=""/>     
     73      <disk_image default="true" description="Standard 32-bit Fedora 15 image" name="urn:publicid:IDN+instageni.gpolab.bbn.com+image+emulab-ops:FEDORA15-STD" os="Fedora" version="15"/>     
     74      <disk_image description="Generic osid for openvz virtual nodes." name="urn:publicid:IDN+instageni.gpolab.bbn.com+image+emulab-ops:OPENVZ-STD" os="Fedora" version="15"/>     
     75      <available now="true"/>   
     76}}}
    6877}}}
    6978
    7079== Step 5. Reserve and boot physical node using each loading a different Linux OS image ==
    7180
    72 Using the RSpec [http://groups.geni.net/geni/browser/trunk/GENIRacks/InstaGENI/Spiral4/RSpecs/AcceptanceTests/IG-EXP-1/IG-EXP-1.rspec IG-EXP-1.rspec] that includes 1 FreeBSD, and 1 Ubuntu node, create a slice and sliver:
    73 
    74 {{{
    75 $ omni.py createslice IG-EXP-1
    76 $ omni.py -a insta-utah createsliver IG-EXP-1 IG-EXP-1.rspec --api-version 2 -t GENI 3
     81The RSpec [http://groups.geni.net/geni/browser/trunk/GENIRacks/InstaGENI/Spiral4/RSpecs/AcceptanceTests/IG-EXP-1/IG-EXP-1-gpo.rspec IG-EXP-1-gpo.rspec] that includes 1 FreeBSD and 1 Ubuntu node was used to create a slice and sliver at the GPO InstaGENI:
     82
     83{{{
     84$ omni.py createslice IG-EXP-1
     85INFO:omni:Loading config file /home/lnevers/.gcf/omni_config
     86INFO:omni:Using control framework pg
     87INFO:omni:Created slice with Name IG-EXP-1, URN urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+IG-EXP-1, Expiration 2013-01-25 21:04:16+00:00
     88INFO:omni: ------------------------------------------------------------
     89INFO:omni: Completed createslice:
     90  Options as run:
     91                framework: pg
     92
     93  Args: createslice IG-EXP-1
     94  Result Summary: Created slice with Name IG-EXP-1, URN urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+IG-EXP-1, Expiration 2013-01-25 21:04:16+00:00
     95 
     96INFO:omni: ============================================================
     97$ omni.py createsliver -a ig-gpo IG-EXP-1 IG-EXP-1-gpo.rspec
     98INFO:omni:Loading config file /home/lnevers/.gcf/omni_config
     99INFO:omni:Using control framework pg
     100INFO:omni:Substituting AM nickname ig-gpo with URL http://instageni.gpolab.bbn.com/protogeni/xmlrpc/am/2.0, URN unspecified_AM_URN
     101INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+IG-EXP-1 expires on 2013-01-25 21:04:16 UTC
     102INFO:omni:Substituting AM nickname ig-gpo with URL http://instageni.gpolab.bbn.com/protogeni/xmlrpc/am/2.0, URN unspecified_AM_URN
     103INFO:omni:Substituting AM nickname ig-gpo with URL http://instageni.gpolab.bbn.com/protogeni/xmlrpc/am/2.0, URN unspecified_AM_URN
     104INFO:omni:Creating sliver(s) from rspec file IG-EXP-1-gpo.rspec for slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+IG-EXP-1
     105INFO:omni:Got return from CreateSliver for slice IG-EXP-1 at http://instageni.gpolab.bbn.com/protogeni/xmlrpc/am/2.0:
     106INFO:omni:<!-- Reserved resources for:
     107        Slice: IG-EXP-1
     108        at AM:
     109        URN: unspecified_AM_URN
     110        URL: http://instageni.gpolab.bbn.com/protogeni/xmlrpc/am/2.0
     111 -->
     112INFO:omni:<rspec 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" type="manifest" xsi:schemaLocation="http://www.geni.net/resources/rspec/3   http://www.geni.net/resources/rspec/3/manifest.xsd"> 
     113
     114  <node client_id="host-bsd" component_manager_id="urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm" exclusive="true" component_id="urn:publicid:IDN+instageni.gpolab.bbn.com+node+pc4" sliver_id="urn:publicid:IDN+instageni.gpolab.bbn.com+sliver+847">
     115    <sliver_type name="raw-pc">
     116    <disk_image description="FreeBSD 8.2 32-bit version" name="urn:publicid:IDN+instageni.gpolab.bbn.com+image+emulab-ops:FBSD82-STD" os="FreeBSD" version="8.2"/>
     117    </sliver_type>
     118    <interface client_id="host-bsd:if0" component_id="urn:publicid:IDN+instageni.gpolab.bbn.com+interface+pc4:eth1" sliver_id="urn:publicid:IDN+instageni.gpolab.bbn.com+sliver+851" mac_address="10604B9600D6">
     119    <ip address="10.10.1.2" type="ipv4"/></interface>
     120  <rs:vnode xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1" name="pc4"/><host name="host-bsd.IG-EXP-1.pgeni-gpolab-bbn-com.instageni.gpolab.bbn.com"/><services><login authentication="ssh-keys" hostname="pc4.instageni.gpolab.bbn.com" port="22" username="lnevers"/></services></node>
     121
     122  <node client_id="host-ubuntu12" component_manager_id="urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm" exclusive="true" component_id="urn:publicid:IDN+instageni.gpolab.bbn.com+node+pc5" sliver_id="urn:publicid:IDN+instageni.gpolab.bbn.com+sliver+846">
     123    <sliver_type name="raw-pc">
     124      <disk_image description="Ubuntu 12.04 LTS" name="urn:publicid:IDN+instageni.gpolab.bbn.com+image+emulab-ops:UBUNTU12-64-STD" os="Linux" version=""/>
     125    </sliver_type>
     126    <interface client_id="host-ubuntu12:if0" component_id="urn:publicid:IDN+instageni.gpolab.bbn.com+interface+pc5:eth1" sliver_id="urn:publicid:IDN+instageni.gpolab.bbn.com+sliver+850" mac_address="10604B9C476A">
     127    <ip address="10.10.1.1" type="ipv4"/></interface>
     128  <rs:vnode xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1" name="pc5"/><host name="host-ubuntu12.IG-EXP-1.pgeni-gpolab-bbn-com.instageni.gpolab.bbn.com"/><services><login authentication="ssh-keys" hostname="pc5.instageni.gpolab.bbn.com" port="22" username="lnevers"/></services></node>
     129
     130  <link client_id="lan0" sliver_id="urn:publicid:IDN+instageni.gpolab.bbn.com+sliver+849" vlantag="258">
     131    <component_manager name="urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm"/>
     132    <interface_ref client_id="host-ubuntu12:if0" component_id="urn:publicid:IDN+instageni.gpolab.bbn.com+interface+pc5:eth1" sliver_id="urn:publicid:IDN+instageni.gpolab.bbn.com+sliver+850"/>
     133    <interface_ref client_id="host-bsd:if0" component_id="urn:publicid:IDN+instageni.gpolab.bbn.com+interface+pc4:eth1" sliver_id="urn:publicid:IDN+instageni.gpolab.bbn.com+sliver+851"/>
     134    <link_type name="lan"/>
     135  </link>
     136</rspec>
     137INFO:omni: ------------------------------------------------------------
     138INFO:omni: Completed createsliver:
     139  Options as run:
     140                aggregate: ['ig-gpo']
     141                framework: pg
     142
     143  Args: createsliver IG-EXP-1 IG-EXP-1-gpo.rspec
     144  Result Summary: Got Reserved resources RSpec from instageni-gpolab-bbn-com-protogeniv2
     145INFO:omni: ============================================================
     146
    77147}}}
    78148
    79 Verify that the sliver is ready with a Omni sliverstatus command and verify that 'pg_status' is 'ready':
    80 {{{
    81  $ omni.py -a insta-utah sliverstatus IG-EXP-1 --api-version 2 -t GENI 3
    82 }}}
    83 
    84 Once sliver is ready, check the host allocation for the sliver EG-EXP-1:
    85 {{{
    86  $ omni.py -a insta-utah listresources IG-EXP-1 --api-version 2 -t GENI 3 -o
    87  $ egrep "login" IG-EXP-1-rspec-utah-geniracks-net-protogeni.xml
    88       <login authentication="ssh-keys" hostname="pc4.utah.geniracks.net" port="22" username="lnevers"/>   
    89       <login authentication="ssh-keys" hostname="pc2.utah.geniracks.net" port="22" username="lnevers"/>   
    90 }}}
    91 VerifY dataplane connectivity for each host in each experiment. Check the FreeBSD host:
    92 {{{
    93  $ ssh pc4.utah.geniracks.net
    94  %ifconfig bce1
    95  bce1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    96         options=c01bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,VLAN_HWTSO,LINKSTATE>
    97         ether e8:39:35:b1:ec:9e
    98         inet 10.10.1.2 netmask 0xffffff00 broadcast 10.10.1.255
    99         media: Ethernet 1000baseT <full-duplex>
    100         status: active
    101  %ping 10.10.1.1
    102   PING 10.10.1.1 (10.10.1.1): 56 data bytes
    103   64 bytes from 10.10.1.1: icmp_seq=0 ttl=64 time=0.251 ms
    104   64 bytes from 10.10.1.1: icmp_seq=1 ttl=64 time=0.109 ms
    105   64 bytes from 10.10.1.1: icmp_seq=2 ttl=64 time=0.107 ms
    106 }}}
    107 
    108 {{{
    109   $ ssh pc2.utah.geniracks.net
    110   host-ubuntu12:~% ifconfig eth1
    111   eth1      Link encap:Ethernet  HWaddr e8:39:35:b1:0c:7e 
    112             inet addr:10.10.1.1  Bcast:10.10.1.255  Mask:255.255.255.0
    113             inet6 addr: fe80::ea39:35ff:feb1:c7e/64 Scope:Link
    114             UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
    115             RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    116             TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
    117             collisions:0 txqueuelen:1000
    118             RX bytes:0 (0.0 B)  TX bytes:492 (492.0 B)
    119             Interrupt:37 Memory:f2000000-f2012800
    120  host-ubuntu12:~% ping 10.10.1.2
    121  PING 10.10.1.2 (10.10.1.2) 56(84) bytes of data.
    122  64 bytes from 10.10.1.2: icmp_req=1 ttl=64 time=0.067 ms
    123  64 bytes from 10.10.1.2: icmp_req=2 ttl=64 time=0.093 ms
    124  64 bytes from 10.10.1.2: icmp_req=3 ttl=64 time=0.095 ms
     149Note: A version of the RSpec [http://groups.geni.net/geni/browser/trunk/GENIRacks/InstaGENI/Spiral4/RSpecs/AcceptanceTests/IG-EXP-1/IG-EXP-1-utah.rspec IG-EXP-1-utah.rspec] is available for IG Utah rack.
     150 
     151
     152Once sliver is ready, determined the login information for the sliver EG-EXP-1 nodes:
     153{{{
     154$ readyToLogin.py -a ig-gpo IG-EXP-1
     155<...>
     156host-ubuntu12's geni_status is: changing (am_status:ready)
     157User lnevers logins to host-ubuntu12 using:
     158        xterm -e ssh -i /home/lnevers/.ssh/id_rsa lnevers@pc5.instageni.gpolab.bbn.com &
     159
     160host-bsd's geni_status is: ready (am_status:ready)
     161User lnevers logins to host-bsd using:
     162        xterm -e ssh -i /home/lnevers/.ssh/id_rsa lnevers@pc4.instageni.gpolab.bbn.com &
     163
     164}}}
     165
     166Verified dataplane connectivity for each host in each experiment. Checked the FreeBSD host:
     167{{{
     168 $ ssh -i /home/lnevers/.ssh/id_rsa lnevers@pc4.instageni.gpolab.bbn.com
     169 [lnevers@host-bsd ~]$ /sbin/ifconfig bce1
     170  bce1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
     171        options=c01bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,VLAN_HWTSO,LINKSTATE>
     172        ether 10:60:4b:96:00:d6
     173        inet 10.10.1.2 netmask 0xffffff00 broadcast 10.10.1.255
     174        media: Ethernet 1000baseT <full-duplex>
     175        status: active
     176 [lnevers@host-bsd ~]$ ping 10.10.1.1
     177PING 10.10.1.1 (10.10.1.1): 56 data bytes
     17864 bytes from 10.10.1.1: icmp_seq=0 ttl=64 time=0.233 ms
     17964 bytes from 10.10.1.1: icmp_seq=1 ttl=64 time=0.110 ms
     180}}}
     181
     182Checked the Ubuntu host:
     183
     184{{{
     185lnevers@localhost:~$ /sbin/ifconfig eth1
     186eth1      Link encap:Ethernet  HWaddr 10:60:4b:9c:47:6a 
     187          inet addr:10.10.1.1  Bcast:10.10.1.255  Mask:255.255.255.0
     188          inet6 addr: fe80::1260:4bff:fe9c:476a/64 Scope:Link
     189          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
     190          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
     191          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
     192          collisions:0 txqueuelen:1000
     193          RX bytes:0 (0.0 B)  TX bytes:492 (492.0 B)
     194          Interrupt:37 Memory:f2000000-f2012800
     195
     196lnevers@localhost:~$ ping 10.10.1.2
     197PING 10.10.1.2 (10.10.1.2) 56(84) bytes of data.
     19864 bytes from 10.10.1.2: icmp_req=1 ttl=64 time=0.103 ms
     19964 bytes from 10.10.1.2: icmp_req=2 ttl=64 time=0.091 ms
    125200}}}
    126201
    127202== Step 6. Release physical node resource ==
    128203
    129 Release compute resources:
    130 {{{
    131  $ omni.py -a insta-utah deletesliver IG-EXP-1
     204Released the sliver compute resources:
     205{{{
     206$ omni.py deletesliver -a ig-gpo IG-EXP-1
     207INFO:omni:Loading config file /home/lnevers/.gcf/omni_config
     208INFO:omni:Using control framework pg
     209INFO:omni:Substituting AM nickname ig-gpo with URL http://instageni.gpolab.bbn.com/protogeni/xmlrpc/am/2.0, URN unspecified_AM_URN
     210INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+IG-EXP-1 expires on 2013-01-25 21:04:16 UTC
     211INFO:omni:Substituting AM nickname ig-gpo with URL http://instageni.gpolab.bbn.com/protogeni/xmlrpc/am/2.0, URN unspecified_AM_URN
     212INFO:omni:Deleted sliver urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+IG-EXP-1 on unspecified_AM_URN at http://instageni.gpolab.bbn.com/protogeni/xmlrpc/am/2.0
     213INFO:omni: ------------------------------------------------------------
     214INFO:omni: Completed deletesliver:
     215  Options as run:
     216                aggregate: ['ig-gpo']
     217                framework: pg
     218
     219  Args: deletesliver IG-EXP-1
     220  Result Summary: Deleted sliver urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+IG-EXP-1 on unspecified_AM_URN at http://instageni.gpolab.bbn.com/protogeni/xmlrpc/am/2.0
     221INFO:omni: ============================================================
     222
    132223}}}
    133224
    134225== Step 7. Modify Aggregate resource allocation for the rack to add 1 additional physical node ==
     226