Changes between Version 30 and Version 31 of GENIRacksHome/InstageniRacks/AcceptanceTestStatus/IG-MON-3


Ignore:
Timestamp:
03/06/13 10:49:54 (6 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIRacksHome/InstageniRacks/AcceptanceTestStatus/IG-MON-3

    v30 v31  
    99== Test Status ==
    1010
    11 || '''Step''' || '''State'''                ||  '''Tickets''' ||    '''Notes'''                      ||
    12 || 1          || [[Color(yellow,Completed)]]||                || needs retesting when 3 is retested   ||
    13 || 2          ||                            ||                || needs retesting when 3 is retested   ||
     11|| '''Step''' || '''State'''              ||  '''Tickets''' ||    '''Notes'''                      ||
     12|| 1          || [[Color(green,Pass)]]    ||                || needs retesting when 3 is retested   ||
     13|| 2          || [[Color(green,Pass)]]    ||                || needs retesting when 3 is retested   ||
    1414|| 3          ||[[Color(yellow,Completed)]] ||                || needs retesting once OpenFlow resources are available from InstaGENI AM            ||
    1515|| 4          || [[Color(green,Pass)]]      ||                ||2013-02-28([instaticket:35], [instaticket:26]) blocked on resolution of MAC reporting issue ||
     
    4646
    4747
    48 == Step 1 (prep): start a VM experiment and terminate it ==
     48== Step 1. Start a VM experiment and leave it running ==
    4949
    5050As experimenter create a 2 VMs experiment in the GPO InstaGENI rack. RSpec used:
     
    224224}}}
    225225
    226 Leave sliver running.
    227 
    228 == Step 2 (prep): start a bare metal node experiment and terminate it ==
     226Leave experiment running.
     227
     228== Step 2. Start a bare metal node experiment and leave it running ==
    229229
    230230As experimenter create a 2 Raw PCs experiment in the GPO InstaGENI rack. RSpec used:
     
    400400Leave sliver running.
    401401
     402
     403== Step 3. Start an OpenFlow experiment and leave it running ==
     404
     405As experimenter create a 2 VMs !OpenFlow experiment in the GPO InstaGENI rack. RSpec used:
     406{{{
     407<?xml version="1.0" encoding="UTF-8"?>
     408<rspec xmlns="http://www.geni.net/resources/rspec/3"
     409       xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
     410       xmlns:sharedvlan="http://www.protogeni.net/resources/rspec/ext/shared-vlan/1"
     411       xs:schemaLocation="http://www.geni.net/resources/rspec/3
     412           http://www.geni.net/resources/rspec/3/request.xsd
     413           http://www.protogeni.net/resources/rspec/ext/shared-vlan/1
     414           http://www.protogeni.net/resources/rspec/ext/shared-vlan/1/request.xsd"
     415       type="request">
     416
     417  <node client_id="gpo-ig" exclusive="false">
     418    <sliver_type name="emulab-openvz" />
     419    <interface client_id="gpo-ig:if0">
     420      <ip address="10.42.18.43" netmask="255.255.255.0" type="ipv4" />
     421    </interface>
     422  </node>
     423
     424  <node client_id="gpo-ig2" exclusive="false">
     425    <sliver_type name="emulab-openvz" />
     426    <interface client_id="gpo-ig2:if0">
     427      <ip address="10.42.18.42" netmask="255.255.255.0" type="ipv4" />
     428    </interface>
     429  </node>
     430
     431  <link client_id="openflow-mesoscale-0">
     432    <interface_ref client_id="gpo-ig:if0" />
     433    <sharedvlan:link_shared_vlan name="mesoscale-openflow" />
     434  </link>
     435
     436  <link client_id="openflow-mesoscale-1">
     437    <interface_ref client_id="gpo-ig2:if0" />
     438    <sharedvlan:link_shared_vlan name="mesoscale-openflow" />
     439  </link>
     440</rspec>
     441}}}
     442
     443Create a sliver and sliver for the 2 VMs on shared !OpenFlow VLAN 1750 in the GPO InstaGENI rack:
     444{{{
     445$ omni.py createslice IG-MON-3-OF
     446INFO:omni:Loading config file /home/lnevers/.gcf/omni_config
     447INFO:omni:Using control framework pg
     448INFO:omni:Created slice with Name IG-MON-3-OF, URN urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+IG-MON-3-OF, Expiration 2013-03-07 16:26:04+00:00
     449INFO:omni: ------------------------------------------------------------
     450INFO:omni: Completed createslice:
     451  Options as run:
     452                framework: pg
     453
     454  Args: createslice IG-MON-3-OF
     455  Result Summary: Created slice with Name IG-MON-3-OF, URN urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+IG-MON-3-OF, Expiration 2013-03-07 16:26:04+00:00
     456INFO:omni: ============================================================
     457
     458
     459$ omni.py createsliver -a ig-gpo IG-MON-3-OF ./instageni-2vm-vlan1750-at-gpo.rspec
     460INFO:omni:Loading config file /home/lnevers/.gcf/omni_config
     461INFO:omni:Using control framework pg
     462INFO:omni:Substituting AM nickname ig-gpo with URL https://instageni.gpolab.bbn.com:12369/protogeni/xmlrpc/am/2.0, URN unspecified_AM_URN
     463INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+IG-MON-3-OF expires on 2013-03-07 16:26:04 UTC
     464INFO:omni:Substituting AM nickname ig-gpo with URL https://instageni.gpolab.bbn.com:12369/protogeni/xmlrpc/am/2.0, URN unspecified_AM_URN
     465INFO:omni:Substituting AM nickname ig-gpo with URL https://instageni.gpolab.bbn.com:12369/protogeni/xmlrpc/am/2.0, URN unspecified_AM_URN
     466INFO:omni:Creating sliver(s) from rspec file ./instageni-2vm-vlan1750-at-gpo.rspec for slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+IG-MON-3-OF
     467INFO:omni: (PG log url - look here for details on any failures: https://boss.instageni.gpolab.bbn.com/spewlogfile.php3?logfile=8af1230117ca9b383b6510da21d7abc7)
     468INFO:omni:Got return from CreateSliver for slice IG-MON-3-OF at https://instageni.gpolab.bbn.com:12369/protogeni/xmlrpc/am/2.0:
     469INFO:omni:<!-- Reserved resources for:
     470        Slice: IG-MON-3-OF
     471        at AM:
     472        URN: unspecified_AM_URN
     473        URL: https://instageni.gpolab.bbn.com:12369/protogeni/xmlrpc/am/2.0
     474 -->
     475INFO:omni:<rspec xmlns="http://www.geni.net/resources/rspec/3" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xmlns:sharedvlan="http://www.protogeni.net/resources/rspec/ext/shared-vlan/1" xs:schemaLocation="http://www.geni.net/resources/rspec/3            http://www.geni.net/resources/rspec/3/manifest.xsd            http://www.protogeni.net/resources/rspec/ext/shared-vlan/1            http://www.protogeni.net/resources/rspec/ext/shared-vlan/1/request.xsd" type="manifest">
     476
     477  <node client_id="gpo-ig" exclusive="false" component_id="urn:publicid:IDN+instageni.gpolab.bbn.com+node+pc2" component_manager_id="urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm" sliver_id="urn:publicid:IDN+instageni.gpolab.bbn.com+sliver+2065">
     478    <sliver_type name="emulab-openvz"/>
     479    <interface client_id="gpo-ig:if0" component_id="urn:publicid:IDN+instageni.gpolab.bbn.com+interface+pc2:eth1" sliver_id="urn:publicid:IDN+instageni.gpolab.bbn.com+sliver+2069" mac_address="02e922fceb01">
     480      <ip address="10.42.18.43" netmask="255.255.255.0" type="ipv4"/>
     481    </interface>
     482  <rs:vnode xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1" name="pcvm2-9"/><host name="gpo-ig.IG-MON-3-OF.pgeni-gpolab-bbn-com.instageni.gpolab.bbn.com"/><services><login authentication="ssh-keys" hostname="pc2.instageni.gpolab.bbn.com" port="32058" username="lnevers"/></services></node>
     483
     484  <node client_id="gpo-ig2" exclusive="false" component_id="urn:publicid:IDN+instageni.gpolab.bbn.com+node+pc2" component_manager_id="urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm" sliver_id="urn:publicid:IDN+instageni.gpolab.bbn.com+sliver+2066">
     485    <sliver_type name="emulab-openvz"/>
     486    <interface client_id="gpo-ig2:if0" component_id="urn:publicid:IDN+instageni.gpolab.bbn.com+interface+pc2:eth2" sliver_id="urn:publicid:IDN+instageni.gpolab.bbn.com+sliver+2071" mac_address="0240e5291a6f">
     487      <ip address="10.42.18.42" netmask="255.255.255.0" type="ipv4"/>
     488    </interface>
     489  <rs:vnode xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1" name="pcvm2-10"/><host name="gpo-ig2.IG-MON-3-OF.pgeni-gpolab-bbn-com.instageni.gpolab.bbn.com"/><services><login authentication="ssh-keys" hostname="pc2.instageni.gpolab.bbn.com" port="32059" username="lnevers"/></services></node>
     490
     491  <link xmlns:sharedvlan="http://www.protogeni.net/resources/rspec/ext/shared-vlan/1" client_id="openflow-mesoscale-0" sliver_id="urn:publicid:IDN+instageni.gpolab.bbn.com+sliver+2068">
     492    <interface_ref client_id="gpo-ig:if0" component_id="urn:publicid:IDN+instageni.gpolab.bbn.com+interface+pc2:eth1" sliver_id="urn:publicid:IDN+instageni.gpolab.bbn.com+sliver+2069"/>
     493    <sharedvlan:link_shared_vlan name="mesoscale-openflow"/>
     494  </link>
     495
     496  <link xmlns:sharedvlan="http://www.protogeni.net/resources/rspec/ext/shared-vlan/1" client_id="openflow-mesoscale-1" sliver_id="urn:publicid:IDN+instageni.gpolab.bbn.com+sliver+2070">
     497    <interface_ref client_id="gpo-ig2:if0" component_id="urn:publicid:IDN+instageni.gpolab.bbn.com+interface+pc2:eth2" sliver_id="urn:publicid:IDN+instageni.gpolab.bbn.com+sliver+2071"/>
     498    <sharedvlan:link_shared_vlan name="mesoscale-openflow"/>
     499  </link>
     500</rspec>
     501INFO:omni: ------------------------------------------------------------
     502INFO:omni: Completed createsliver:
     503  Options as run:
     504                aggregate: ['ig-gpo']
     505                framework: pg
     506  Args: createsliver IG-MON-3-OF ./instageni-2vm-vlan1750-at-gpo.rspec
     507  Result Summary: Got Reserved resources RSpec from instageni-gpolab-bbn-com-protogeniv2
     508INFO:omni: ============================================================
     509}}}
     510
     511A FOAM sliver is needed to allow the traffic exchange. Using this FOAM RSpec:
     512{{{
     513<?xml version="1.0" encoding="UTF-8"?>
     514<rspec xmlns="http://www.geni.net/resources/rspec/3"
     515       xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
     516       xmlns:openflow="http://www.geni.net/resources/rspec/ext/openflow/3"
     517       xs:schemaLocation="http://www.geni.net/resources/rspec/3
     518           http://www.geni.net/resources/rspec/3/request.xsd
     519           http://www.geni.net/resources/rspec/ext/openflow/3
     520           http://www.geni.net/resources/rspec/ext/openflow/3/of-resv.xsd"
     521       type="request">
     522
     523  <openflow:sliver description=" InstaGENI OpenFlow" email="lnevers@bbn.com">
     524    <openflow:controller url="tcp:mallorea.gpolab.bbn.com:33018" type="primary" />
     525
     526    <openflow:group name="bbn-instageni-1750">
     527      <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:foam.instageni.gpolab.bbn.com+datapath+06:d6:84:34:97:c6:c9:00"
     528        component_manager_id="urn:publicid:IDN+openflow:foam:foam.instageni.gpolab.bbn.com+authority+am"  />
     529    </openflow:group>
     530
     531    <openflow:match>
     532
     533      <openflow:use-group name="bbn-instageni-1750" />
     534
     535      <openflow:packet>
     536        <openflow:dl_type value="0x800,0x806"/>
     537        <openflow:nw_dst value="10.42.18.0/24"/>
     538        <openflow:nw_src value="10.42.18.0/24"/>
     539      </openflow:packet>
     540    </openflow:match>
     541
     542  </openflow:sliver>
     543</rspec>
     544}}}
     545
     546Create a sliver at the GPO InstaGENI rack FOAM to allow the traffic exchange:
     547{{{
     548$ omni.py createsliver -a ig-of-gpo IG-MON-3-OF ./instageni-openflow-at-gpo.rspec     
     549INFO:omni:Loading config file /home/lnevers/.gcf/omni_config
     550INFO:omni:Using control framework pg
     551INFO:omni:Substituting AM nickname ig-of-gpo with URL https://foam.instageni.gpolab.bbn.com:3626/foam/gapi/1, URN unspecified_AM_URN
     552WARNING:omni:You asked to use AM API 2, but the AM(s) you are contacting do not all speak that version.
     553WARNING:omni:At the URLs you are contacting, all your AMs speak AM API v1.
     554WARNING:omni:Switching to AM API v1. Next time call Omni with '-V1'.
     555INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+IG-MON-3-OF expires on 2013-03-07 16:26:04 UTC
     556INFO:omni:Substituting AM nickname ig-of-gpo with URL https://foam.instageni.gpolab.bbn.com:3626/foam/gapi/1, URN unspecified_AM_URN
     557INFO:omni:Substituting AM nickname ig-of-gpo with URL https://foam.instageni.gpolab.bbn.com:3626/foam/gapi/1, URN unspecified_AM_URN
     558INFO:omni:Creating sliver(s) from rspec file ./instageni-openflow-at-gpo.rspec for slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+IG-MON-3-OF
     559INFO:omni:Got return from CreateSliver for slice IG-MON-3-OF at https://foam.instageni.gpolab.bbn.com:3626/foam/gapi/1:
     560INFO:omni:<?xml version="1.0" encoding="UTF-8"?>
     561INFO:omni:  <!-- Reserved resources for:
     562        Slice: IG-MON-3-OF
     563        at AM:
     564        URN: unspecified_AM_URN
     565        URL: https://foam.instageni.gpolab.bbn.com:3626/foam/gapi/1
     566 -->
     567INFO:omni: 
     568<rspec xmlns="http://www.geni.net/resources/rspec/3"
     569       xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
     570       xmlns:openflow="http://www.geni.net/resources/rspec/ext/openflow/3"
     571       xs:schemaLocation="http://www.geni.net/resources/rspec/3
     572           http://www.geni.net/resources/rspec/3/manifest.xsd
     573           http://www.geni.net/resources/rspec/ext/openflow/3
     574           http://www.geni.net/resources/rspec/ext/openflow/3/of-resv.xsd"
     575       type="manifest">
     576
     577  <openflow:sliver description=" InstaGENI OpenFlow" email="lnevers@bbn.com">
     578    <openflow:controller url="tcp:mallorea.gpolab.bbn.com:33018" type="primary" />
     579
     580    <openflow:group name="bbn-instageni-1750">
     581      <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:foam.instageni.gpolab.bbn.com+datapath+06:d6:84:34:97:c6:c9:00"
     582        component_manager_id="urn:publicid:IDN+openflow:foam:foam.instageni.gpolab.bbn.com+authority+am"  />
     583    </openflow:group>
     584
     585    <openflow:match>
     586
     587      <openflow:use-group name="bbn-instageni-1750" />
     588
     589      <openflow:packet>
     590        <openflow:dl_type value="0x800,0x806"/>
     591        <openflow:nw_dst value="10.42.18.0/24"/>
     592        <openflow:nw_src value="10.42.18.0/24"/>
     593      </openflow:packet>
     594
     595    </openflow:match>
     596
     597  </openflow:sliver>
     598
     599</rspec>
     600
     601
     602INFO:omni: ------------------------------------------------------------
     603INFO:omni: Completed createsliver:
     604
     605  Options as run:
     606                aggregate: ['ig-of-gpo']
     607                api_version: 1
     608                framework: pg
     609
     610  Args: createsliver IG-MON-3-OF ./instageni-openflow-at-gpo.rspec
     611
     612  Result Summary: Your AMs do not all speak requested API v2. At the URLs you are contacting, all your AMs speak AM API v1. Switching to AM API v1. Next time call Omni with '-V1'.
     613Got Reserved resources RSpec from foam-instageni-gpolab-bbn-com
     614INFO:omni: ============================================================
     615}}}
     616This sliver is auto approved.  State can be confirmed with omni command:
     617{{{
     618$ omni.py sliverstatus -a ig-of-gpo IG-MON-3-OF -V1                               
     619INFO:omni:Loading config file /home/lnevers/.gcf/omni_config
     620INFO:omni:Using control framework pg
     621INFO:omni:Substituting AM nickname ig-of-gpo with URL https://foam.instageni.gpolab.bbn.com:3626/foam/gapi/1, URN unspecified_AM_URN
     622INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+IG-MON-3-OF expires on 2013-03-07 16:26:04 UTC
     623INFO:omni:Substituting AM nickname ig-of-gpo with URL https://foam.instageni.gpolab.bbn.com:3626/foam/gapi/1, URN unspecified_AM_URN
     624INFO:omni:Status of Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+IG-MON-3-OF:
     625INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+IG-MON-3-OF at AM https://foam.instageni.gpolab.bbn.com:3626/foam/gapi/1 has overall SliverStatus: ready
     626INFO:omni:Sliver status for Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+IG-MON-3-OF at AM URL https://foam.instageni.gpolab.bbn.com:3626/foam/gapi/1
     627INFO:omni:{
     628  "geni_status": "ready",
     629  "geni_urn": "urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+IG-MON-3-OF:8070b745-84c7-47eb-8e04-63a764997f3a",
     630  "foam_pend_reason": null,
     631  "foam_expires": "2013-03-07 16:26:04+00:00",
     632  "geni_resources": [
     633    {
     634      "geni_urn": "urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+IG-MON-3-OF:8070b745-84c7-47eb-8e04-63a764997f3a",
     635      "geni_error": "",
     636      "geni_status": "ready"
     637    }
     638  ],
     639  "foam_status": "Approved"
     640}
     641INFO:omni: ------------------------------------------------------------
     642INFO:omni: Completed sliverstatus:
     643  Options as run:
     644                aggregate: ['ig-of-gpo']
     645                api_version: 1
     646                framework: pg
     647  Args: sliverstatus IG-MON-3-OF
     648  Result Summary: Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+IG-MON-3-OF expires on 2013-03-07 16:26:04 UTC
     649Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+IG-MON-3-OF at AM https://foam.instageni.gpolab.bbn.com:3626/foam/gapi/1 has overall SliverStatus: ready.
     650 Returned status of slivers on 1 of 1 possible aggregates.
     651INFO:omni: ============================================================
     652}}}
     653
     654Determine login for assigned nodes:
     655{{{
     656$ readyToLogin.py -a ig-gpo IG-MON-3-OF               
     657<...>
     658gpo-ig's geni_status is: ready (am_status:ready)
     659User lnevers logins to gpo-ig using:
     660        xterm -e ssh -p 32058  -i /home/lnevers/.ssh/id_rsa lnevers@pc2.instageni.gpolab.bbn.com &
     661
     662gpo-ig2's geni_status is: ready (am_status:ready)
     663User lnevers logins to gpo-ig2 using:
     664        xterm -e ssh -p 32059  -i /home/lnevers/.ssh/id_rsa lnevers@pc2.instageni.gpolab.bbn.com &
     665}}}
     666
     667
     668Login to VM named 'gpo-ig' and send traffic to remote:
     669{{{
     670$ ssh -p 32058  -i /home/lnevers/.ssh/id_rsa lnevers@pc2.instageni.gpolab.bbn.com
     671
     672[lnevers@ig-gpo ~]$ ping 10.42.18.42 -c 5
     673PING 10.42.18.42 (10.42.18.42) 56(84) bytes of data.
     67464 bytes from 10.42.18.42: icmp_req=1 ttl=64 time=6.73 ms
     67564 bytes from 10.42.18.42: icmp_req=2 ttl=64 time=0.077 ms
     67664 bytes from 10.42.18.42: icmp_req=3 ttl=64 time=0.075 ms
     67764 bytes from 10.42.18.42: icmp_req=4 ttl=64 time=0.075 ms
     67864 bytes from 10.42.18.42: icmp_req=5 ttl=64 time=0.075 ms
     679
     680--- 10.42.18.42 ping statistics ---
     6815 packets transmitted, 5 received, 0% packet loss, time 4001ms
     682rtt min/avg/max/mdev = 0.075/1.407/6.735/2.664 ms
     683}}}
     684
     685Login to VM named 'gpo-ig2' and send traffic to remote:
     686{{{
     687$ ssh -p 32059  -i /home/lnevers/.ssh/id_rsa lnevers@pc2.instageni.gpolab.bbn.com
     688
     689[lnevers@ig-gpo2 ~]$ ping 10.42.18.43 -c 5
     690PING 10.42.18.43 (10.42.18.43) 56(84) bytes of data.
     69164 bytes from 10.42.18.43: icmp_req=1 ttl=64 time=6.33 ms
     69264 bytes from 10.42.18.43: icmp_req=2 ttl=64 time=0.075 ms
     69364 bytes from 10.42.18.43: icmp_req=3 ttl=64 time=0.074 ms
     69464 bytes from 10.42.18.43: icmp_req=4 ttl=64 time=0.076 ms
     69564 bytes from 10.42.18.43: icmp_req=5 ttl=64 time=0.074 ms
     696
     697--- 10.42.18.43 ping statistics ---
     6985 packets transmitted, 5 received, 0% packet loss, time 4000ms
     699rtt min/avg/max/mdev = 0.074/1.327/6.337/2.505 ms
     700[lnevers@ig-gpo2 ~]$
     701}}}
     702
     703Leave experiment running
     704
    402705== Step 4: view running VMs ==
     706
     707Three experiment are running from previous steps:
     708 
     709 - EG-MON-3 - a 2 VM experiment
     710 - IG-MON-3 - a 2 raw pc experiment
     711 - IG-MON-3-OF - a 2 VM !OpenFlow experiment
    403712
    404713