Changes between Version 23 and Version 24 of GENIRacksHome/InstageniRacks/AcceptanceTestStatus/IG-MON-3


Ignore:
Timestamp:
06/07/12 11:35:57 (12 years ago)
Author:
chaos@bbn.com
Comment:

--

Legend:

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

    v23 v24  
    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-05-26''
     7''Last substantive edit of this page: 2012-06-07''
    88
    99== Page format ==
     
    349349omni -a http://www.utah.geniracks.net/protogeni/xmlrpc/am deletesliver ecgtest2
    350350}}}
     351
     352=== Results of testing step 1: 2012-06-07 ===
     353
     354''Note: repeating this test for continuation of IG-MON-3 testing on 2012-06-07.''
     355
     356 * I'll use the following rspec to get two VMs:
     357{{{
     358jericho,[~],10:54(0)$ cat omni/rspecs/request/rack-testing/acceptance-tests/IG-MON-nodes-C.rspec
     359<?xml version="1.0" encoding="UTF-8"?>
     360<!-- This rspec will reserve two openvz nodes, each with no OS specified,
     361     and create a single dataplane link between them.  It should work
     362     on any Emulab which has nodes available and supports OpenVZ.  -->
     363<rspec xmlns="http://www.geni.net/resources/rspec/3"
     364       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     365       xsi:schemaLocation="http://www.geni.net/resources/rspec/3
     366                           http://www.geni.net/resources/rspec/3/request.xsd"
     367       type="request">
     368
     369  <node client_id="virt1" exclusive="false">
     370    <sliver_type name="emulab-openvz" />
     371    <interface client_id="virt1:if0" />
     372  </node>
     373  <node client_id="virt2" exclusive="false">
     374    <sliver_type name="emulab-openvz" />
     375    <interface client_id="virt2:if0" />
     376  </node>
     377
     378  <link client_id="virt1-virt2-0">
     379    <interface_ref client_id="virt1:if0"/>
     380    <interface_ref client_id="virt2:if0"/>
     381    <property source_id="virt1:if0" dest_id="virt2:if0"/>
     382    <property source_id="virt2:if0" dest_id="virt1:if0"/>
     383  </link>
     384</rspec>
     385}}}
     386 * Then create a slice:
     387{{{
     388omni createslice ecgtest2
     389}}}
     390 * Then create a sliver using that rspec:
     391{{{
     392jericho,[~],11:22(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
     393INFO:omni:Loading config file /home/chaos/omni/omni_pgeni
     394INFO:omni:Using control framework pg
     395INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+ecgtest2 expires on 2012-06-08 16:22:42 UTC
     396INFO: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
     397INFO:omni:Asked http://www.utah.geniracks.net/protogeni/xmlrpc/am to reserve resources. Result:
     398INFO:omni:<?xml version="1.0" ?>
     399INFO:omni:<!-- Reserved resources for:
     400        Slice: ecgtest2
     401        At AM:
     402        URL: http://www.utah.geniracks.net/protogeni/xmlrpc/am
     403 -->
     404INFO: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"> 
     405
     406    <node client_id="virt1" component_id="urn:publicid:IDN+utah.geniracks.net+node+pc5" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+4237">   
     407        <sliver_type name="emulab-openvz"/>   
     408        <interface client_id="virt1:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc5:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+4240">      <ip address="10.10.1.1" type="ipv4"/>    </interface>   
     409      <rs:vnode name="pcvm5-3" 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="pc5.utah.geniracks.net" port="30266" username="chaos"/>    </services>  </node> 
     410    <node client_id="virt2" component_id="urn:publicid:IDN+utah.geniracks.net+node+pc5" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+4238">   
     411        <sliver_type name="emulab-openvz"/>   
     412        <interface client_id="virt2:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc5:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+4241">      <ip address="10.10.1.2" type="ipv4"/>    </interface>   
     413      <rs:vnode name="pcvm5-4" 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="pc5.utah.geniracks.net" port="30267" username="chaos"/>    </services>  </node> 
     414
     415    <link client_id="virt1-virt2-0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+4239">   
     416        <interface_ref client_id="virt1:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc5:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+4240"/>   
     417        <interface_ref client_id="virt2:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc5:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+4241"/>   
     418        <property dest_id="virt2:if0" source_id="virt1:if0"/>   
     419        <property dest_id="virt1:if0" source_id="virt2:if0"/>   
     420    </link> 
     421</rspec>
     422INFO:omni: ------------------------------------------------------------
     423INFO:omni: Completed createsliver:
     424
     425  Options as run:
     426                aggregate: http://www.utah.geniracks.net/protogeni/xmlrpc/am
     427                configfile: /home/chaos/omni/omni_pgeni
     428                framework: pg
     429                native: True
     430
     431  Args: createsliver ecgtest2 /home/chaos/omni/rspecs/request/rack-testing/acceptance-tests/IG-MON-nodes-C.rspec
     432
     433  Result Summary: Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+ecgtest2 expires on 2012-06-08 16:22:42 UTC
     434Reserved resources on http://www.utah.geniracks.net/protogeni/xmlrpc/am. 
     435INFO:omni: ============================================================
     436}}}
     437 * Hmm, i got a busy failure on sliverstatus:
     438{{{
     439 * According to sliverstatus, my nodes are:
     440{{{
     441pc5.utah.geniracks.net port 30266
     442pc5.utah.geniracks.net port 30267
     443}}}
     444 * Login to pc5.utah.geniracks.net on port 30266 with agent forwarding
     445 * Find that it is virt1 and has mv3.3=10.10.1.1 (huh, my notes say this used to be eth1.  Did something change?  Ah, no, looking at the arp tables, it was always mvN.N: i was just being sloppy before.)
     446 * Find a big file:
     447{{{
     448[chaos@virt1 ~]$ ls -l /usr/lib/locale/locale-archive-rpm
     449-rw-r--r-- 1 root root 99154656 May 20  2011 /usr/lib/locale/locale-archive-rpm
     450}}}
     451 * Copy the big file over the dataplane:
     452{{{
     453[chaos@virt1 ~]$ scp /usr/lib/locale/locale-archive 10.10.1.2:/tmp/
     454The authenticity of host '10.10.1.2 (10.10.1.2)' can't be established.
     455RSA key fingerprint is 6d:1d:76:53:a5:25:99:39:e2:89:ea:b0:99:e3:d3:b9.
     456Are you sure you want to continue connecting (yes/no)? yes
     457Warning: Permanently added '10.10.1.2' (RSA) to the list of known hosts.
     458locale-archive                                100%   95MB  10.5MB/s   00:09   
     459}}}
     460 * Look at the arps table on virt1 and virt2:
     461{{{
     462[chaos@virt1 ~]$ /sbin/arp -a
     463pc5.utah.geniracks.net (155.98.34.15) at 00:01:ac:11:05:03 [ether] on eth999
     464boss.utah.geniracks.net (155.98.34.4) at 00:01:ac:11:05:03 [ether] on eth999
     465virt2-virt1-virt2-0 (10.10.1.2) at 02:00:83:cf:e6:09 [ether] on mv3.3
     466
     467[chaos@virt1 ~]$ ssh 10.10.1.2
     468
     469[chaos@virt2 ~]$ /sbin/arp -a
     470pc5.utah.geniracks.net (155.98.34.15) at 00:01:ac:11:05:04 [ether] on eth999
     471boss.utah.geniracks.net (155.98.34.4) at 00:01:ac:11:05:04 [ether] on eth999
     472virt1-virt1-virt2-0 (10.10.1.1) at 02:00:70:b7:95:54 [ether] on mv4.4
     473}}}
     474 * Sliverstatus still doesn't contain mac addresses at all:
     475{{{
     476jericho,[~],11:33(0)$ grep mac ecgtest2-sliverstatus-www-utah-geniracks-net-protogeni.json
     477jericho,[~],11:33(1)$
     478}}}
     479 * 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.
    351480
    352481== Step 2 (prep): start a bare metal node experiment and terminate it ==