Changes between Version 25 and Version 26 of GENIRacksHome/InstageniRacks/AcceptanceTestStatus/IG-MON-3


Ignore:
Timestamp:
07/26/12 10:59:45 (9 years ago)
Author:
chaos@bbn.com
Comment:

--

Legend:

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

    v25 v26  
    55''This page is GPO's working page for performing IG-MON-3.  It is public for informational purposes, but it is not an official status report.  See [wiki:GENIRacksHome/InstageniRacks/AcceptanceTestStatus] for the current status of InstaGENI acceptance tests.''
    66
    7 ''Last substantive edit of this page: 2012-06-07''
     7''Last substantive edit of this page: 2012-07-26''
    88
    99== Page format ==
     
    473473{{{
    474474jericho,[~],11:33(0)$ grep mac ecgtest2-sliverstatus-www-utah-geniracks-net-protogeni.json
     475jericho,[~],11:33(1)$
     476}}}
     477 * The original spec for this step said to delete the sliver, but let's leave it running to demonstrate the lack of MAC addresses in sliverstatus.
     478
     479=== Results of testing step 1: 2012-07-26 ===
     480
     481''Note: repeating this test for continuation of IG-MON-3 testing on 2012-07-26.''
     482
     483 * I'll use the following rspec to get two VMs:
     484{{{
     485jericho,[~],10:51(0)$ cat omni/rspecs/request/rack-testing/acceptance-tests/IG-MON-nodes-C.rspec
     486<?xml version="1.0" encoding="UTF-8"?>
     487<!-- This rspec will reserve two openvz nodes, each with no OS specified,
     488     and create a single dataplane link between them.  It should work
     489     on any Emulab which has nodes available and supports OpenVZ.  -->
     490<rspec xmlns="http://www.geni.net/resources/rspec/3"
     491       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     492       xsi:schemaLocation="http://www.geni.net/resources/rspec/3
     493                           http://www.geni.net/resources/rspec/3/request.xsd"
     494       type="request">
     495
     496  <node client_id="virt1" exclusive="false">
     497    <sliver_type name="emulab-openvz" />
     498    <interface client_id="virt1:if0" />
     499  </node>
     500  <node client_id="virt2" exclusive="false">
     501    <sliver_type name="emulab-openvz" />
     502    <interface client_id="virt2:if0" />
     503  </node>
     504
     505  <link client_id="virt1-virt2-0">
     506    <interface_ref client_id="virt1:if0"/>
     507    <interface_ref client_id="virt2:if0"/>
     508    <property source_id="virt1:if0" dest_id="virt2:if0"/>
     509    <property source_id="virt2:if0" dest_id="virt1:if0"/>
     510  </link>
     511</rspec>
     512}}}
     513 * Then create a slice:
     514{{{
     515omni createslice ecgtest2
     516}}}
     517 * Then create a sliver using that rspec:
     518{{{
     519jericho,[~],10:51(0)$ omni -a http://www.utah.geniracks.net/protogeni/xmlrpc/am createsliver ecgtest2 ~/omni/rspecs/request/rack-testing/acceptance-tests/IG-MON-nodes-C.rspec
     520INFO:omni:Loading config file /home/chaos/omni/omni_pgeni
     521INFO:omni:Using control framework pg
     522INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+ecgtest2 expires on 2012-07-27 15:51:50 UTC
     523INFO:omni:Creating sliver(s) from rspec file /home/chaos/omni/rspecs/request/rack-testing/acceptance-tests/IG-MON-nodes-C.rspec for slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+ecgtest2
     524INFO:omni:Asked http://www.utah.geniracks.net/protogeni/xmlrpc/am to reserve resources. Result:
     525INFO:omni:<?xml version="1.0" ?>
     526INFO:omni:<!-- Reserved resources for:
     527        Slice: ecgtest2
     528        At AM:
     529        URL: http://www.utah.geniracks.net/protogeni/xmlrpc/am
     530 -->
     531INFO: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"> 
     532
     533    <node client_id="virt1" component_id="urn:publicid:IDN+utah.geniracks.net+node+pc3" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+7162">   
     534        <sliver_type name="emulab-openvz"/>   
     535        <interface client_id="virt1:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:lo0" mac_address="023f9c5ff6fc" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+7165">      <ip address="10.10.1.1" type="ipv4"/>    </interface>   
     536      <rs:vnode name="pcvm3-2" xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1"/>    <host name="virt1.ecgtest2.pgeni-gpolab-bbn-com.utah.geniracks.net"/>    <services>      <login authentication="ssh-keys" hostname="pc3.utah.geniracks.net" port="30778" username="chaos"/>    </services>  </node> 
     537    <node client_id="virt2" component_id="urn:publicid:IDN+utah.geniracks.net+node+pc3" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+7163">   
     538        <sliver_type name="emulab-openvz"/>   
     539        <interface client_id="virt2:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:lo0" mac_address="02b1730e88f9" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+7166">      <ip address="10.10.1.2" type="ipv4"/>    </interface>   
     540      <rs:vnode name="pcvm3-3" xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1"/>    <host name="virt2.ecgtest2.pgeni-gpolab-bbn-com.utah.geniracks.net"/>    <services>      <login authentication="ssh-keys" hostname="pc3.utah.geniracks.net" port="30779" username="chaos"/>    </services>  </node> 
     541
     542    <link client_id="virt1-virt2-0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+7164">   
     543        <interface_ref client_id="virt1:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+7165"/>   
     544        <interface_ref client_id="virt2:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+7166"/>   
     545        <property dest_id="virt2:if0" source_id="virt1:if0"/>   
     546        <property dest_id="virt1:if0" source_id="virt2:if0"/>   
     547    </link> 
     548</rspec>
     549INFO:omni: ------------------------------------------------------------
     550INFO:omni: Completed createsliver:
     551
     552  Options as run:
     553                aggregate: http://www.utah.geniracks.net/protogeni/xmlrpc/am
     554                configfile: /home/chaos/omni/omni_pgeni
     555                framework: pg
     556                native: True
     557
     558  Args: createsliver ecgtest2 /home/chaos/omni/rspecs/request/rack-testing/acceptance-tests/IG-MON-nodes-C.rspec
     559
     560  Result Summary: Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+ecgtest2 expires on 2012-07-27 15:51:50 UTC
     561Reserved resources on http://www.utah.geniracks.net/protogeni/xmlrpc/am. 
     562INFO:omni: ============================================================
     563}}}
     564 * According to sliverstatus, my nodes are:
     565{{{
     566pc3.utah.geniracks.net port 30778
     567pc3.utah.geniracks.net port 30779
     568}}}
     569 * Login to pc3.utah.geniracks.net on port 30778 with agent forwarding
     570 * Find that it is virt1 and has mv2.2=10.10.1.1
     571 * Find a big file:
     572{{{
     573[chaos@virt1 ~]$ ls -l /usr/lib/locale/locale-archive-rpm
     574-rw-r--r-- 1 root root 99154656 May 20  2011 /usr/lib/locale/locale-archive-rpm
     575}}}
     576 * Copy the big file over the dataplane:
     577{{{
     578[chaos@virt1 ~]$ scp /usr/lib/locale/locale-archive 10.10.1.2:/tmp/
     579The authenticity of host '10.10.1.2 (10.10.1.2)' can't be established.
     580RSA key fingerprint is 6d:1d:76:53:a5:25:99:39:e2:89:ea:b0:99:e3:d3:b9.
     581Are you sure you want to continue connecting (yes/no)? yes
     582Warning: Permanently added '10.10.1.2' (RSA) to the list of known hosts.
     583locale-archive                                100%   95MB  10.5MB/s   00:09   
     584}}}
     585 * Look at the arps table on virt1 and virt2:
     586{{{
     587[chaos@virt1 ~]$ /sbin/arp -a
     588virt2-virt1-virt2-0 (10.10.1.2) at 02:b1:73:0e:88:f9 [ether] on mv2.2
     589pc3.utah.geniracks.net (155.98.34.13) at e8:39:35:b1:4e:88 [ether] on eth999
     590boss.utah.geniracks.net (155.98.34.4) at 00:00:9b:62:24:df [ether] on eth999
     591
     592[chaos@virt1 ~]$ ssh 10.10.1.2
     593
     594[chaos@virt2 ~]$ /sbin/arp -a
     595virt1-virt1-virt2-0 (10.10.1.1) at 02:3f:9c:5f:f6:fc [ether] on mv3.3
     596pc3.utah.geniracks.net (155.98.34.13) at e8:39:35:b1:4e:88 [ether] on eth999
     597boss.utah.geniracks.net (155.98.34.4) at 00:00:9b:62:24:df [ether] on eth999
     598}}}
     599 * Sliverstatus still doesn't contain mac addresses at all:
     600{{{
     601jericho,[~],11:33(0)$ grep -i mac ecgtest2-sliverstatus-www-utah-geniracks-net-protogeni.json
    475602jericho,[~],11:33(1)$
    476603}}}