Changes between Version 17 and Version 18 of GENIRacksHome/InstageniRacks/AcceptanceTestStatus/IG-MON-3


Ignore:
Timestamp:
05/26/12 08:10:26 (7 years ago)
Author:
chaos@bbn.com
Comment:

retest of 4

Legend:

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

    v17 v18  
    2323|| 2          ||                             ||                      ||                || needs retesting when 3 is retested                                      ||
    2424|| 3          || [[Color(yellow,Completed)]] ||                      ||                || needs retesting once OpenFlow resources are available from InstaGENI AM ||
    25 || 4          || [[Color(orange,Blocked)]]   ||                      || instaticket:26 || blocked on resolution of MAC reporting issue                            ||
     25|| 4          || [[Color(orange,Blocked)]]   ||                      || instaticket:26, instaticket:35 || blocked on resolution of MAC reporting issue; blocked on decision whether to make a shared-node-to-experiment mapping web page ||
    2626|| 5          || [[Color(orange,Blocked)]] ||                      || instaticket:26, instaticket:31 || blocked on availability of real MACs for VMs; blocked on determination of how to get control IP/MAC information for terminated VMs ||
    2727|| 6          || [[Color(orange,Blocked)]]   ||                      ||                || blocked on availability of OpenFlow functionality ||
     
    700700 * Leave this running.
    701701
     702=== Results of testing step 3: 2012-05-26 ===
     703
     704''Note: per discussion on instageni-design on 2012-05-17, request of an OpenFlow-controlled dataplane is not yet possible.  So this will need to be retested once OpenFlow control is available.''
     705
     706 * Recreating the experiment, ecgtest, which was initially used for IG-MON-1.
     707 * Here is the rspec again:
     708{{{
     709jericho,[~],07:29(0)$ cat omni/rspecs/request/rack-testing/acceptance-tests/IG-MON-nodes-B.rspec
     710<?xml version="1.0" encoding="UTF-8"?>
     711<!-- This rspec will reserve one physical node and one openvz node, each
     712     with no OS specified, and create a single dataplane link between
     713     them.  It should work on any Emulab which has nodes available and
     714     supports OpenVZ.  -->
     715<rspec xmlns="http://www.geni.net/resources/rspec/3"
     716       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     717       xsi:schemaLocation="http://www.geni.net/resources/rspec/3
     718                           http://www.geni.net/resources/rspec/3/request.xsd"
     719       type="request">
     720
     721  <node client_id="phys1" exclusive="true">
     722    <sliver_type name="raw" />
     723    <interface client_id="phys1:if0" />
     724  </node>
     725  <node client_id="virt1" exclusive="false">
     726    <sliver_type name="emulab-openvz" />
     727    <interface client_id="virt1:if0" />
     728  </node>
     729
     730  <link client_id="phys1-virt1-0">
     731    <interface_ref client_id="phys1:if0"/>
     732    <interface_ref client_id="virt1:if0"/>
     733    <property source_id="phys1:if0" dest_id="virt1:if0"/>
     734    <property source_id="virt1:if0" dest_id="phys1:if0"/>
     735  </link>
     736</rspec>
     737}}}
     738 * Create the sliver:
     739{{{
     740jericho,[~],07:29(0)$ omni -a http://www.utah.geniracks.net/protogeni/xmlrpc/am createsliver ecgtest omni/rspecs/request/rack-testing/acceptance-tests/IG-MON-nodes-B.rspec
     741INFO:omni:Loading config file /home/chaos/omni/omni_pgeni
     742INFO:omni:Using control framework pg
     743INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+ecgtest expires on 2012-06-30 00:00:00 UTC
     744INFO:omni:Creating sliver(s) from rspec file omni/rspecs/request/rack-testing/acceptance-tests/IG-MON-nodes-B.rspec for slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+ecgtest
     745INFO:omni:Asked http://www.utah.geniracks.net/protogeni/xmlrpc/am to reserve resources. Result:
     746INFO:omni:<?xml version="1.0" ?>
     747INFO:omni:<!-- Reserved resources for:
     748        Slice: ecgtest
     749        At AM:
     750        URL: http://www.utah.geniracks.net/protogeni/xmlrpc/am
     751 -->
     752INFO: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"> 
     753
     754    <node client_id="phys1" component_id="urn:publicid:IDN+utah.geniracks.net+node+pc2" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="true" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+2993">   
     755        <sliver_type name="raw-pc"/>   
     756        <interface client_id="phys1:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc2:eth1" mac_address="e83935b10c7e" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+2996">      <ip address="10.10.1.1" type="ipv4"/>    </interface>   
     757      <rs:vnode name="pc2" xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1"/>    <host name="phys1.ecgtest.pgeni-gpolab-bbn-com.utah.geniracks.net"/>    <services>      <login authentication="ssh-keys" hostname="pc2.utah.geniracks.net" port="22" username="chaos"/>    </services>  </node> 
     758    <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+2994">   
     759        <sliver_type name="emulab-openvz"/>   
     760        <interface client_id="virt1:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:eth1" mac_address="00000a0a0102" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+2997">      <ip address="10.10.1.2" type="ipv4"/>    </interface>   
     761      <rs:vnode name="pcvm3-1" xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1"/>    <host name="virt1.ecgtest.pgeni-gpolab-bbn-com.utah.geniracks.net"/>    <services>      <login authentication="ssh-keys" hostname="pc3.utah.geniracks.net" port="30010" username="chaos"/>    </services>  </node> 
     762
     763    <link client_id="phys1-virt1-0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+2995" vlantag="260">   
     764        <interface_ref client_id="phys1:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc2:eth1" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+2996"/>   
     765        <interface_ref client_id="virt1:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:eth1" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+2997"/>   
     766        <property dest_id="virt1:if0" source_id="phys1:if0"/>   
     767        <property dest_id="phys1:if0" source_id="virt1:if0"/>   
     768    </link> 
     769</rspec>
     770INFO:omni: ------------------------------------------------------------
     771INFO:omni: Completed createsliver:
     772
     773  Options as run:
     774                aggregate: http://www.utah.geniracks.net/protogeni/xmlrpc/am
     775                configfile: /home/chaos/omni/omni_pgeni
     776                framework: pg
     777                native: True
     778
     779  Args: createsliver ecgtest omni/rspecs/request/rack-testing/acceptance-tests/IG-MON-nodes-B.rspec
     780
     781  Result Summary: Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+ecgtest expires on 2012-06-30 00:00:00 UTC
     782Reserved resources on http://www.utah.geniracks.net/protogeni/xmlrpc/am. 
     783INFO:omni: ============================================================
     784}}}
     785 * My physical node is pc2
     786 * My virtual node is pc3 port 30010
     787 * Login to pc2 using ssh -A, whose eth1 is 10.10.1.1
     788 * Make a bigger dataplane file by catting the other a few times, then start copying it around again:
     789{{{
     790bash
     791touch /tmp/locale-archive
     792for i in {1..40}; do cat /usr/lib/locale/locale-archive >> /tmp/locale-archive; done
     793
     794[chaos@phys1 ~]$ ls -l /tmp/locale-archive
     795-rw-r--r-- 1 chaos pgeni-gpolab-bbn 4199896960 May 26 05:38 /tmp/locale-archive
     796
     797[chaos@phys1 ~]$ while [ 1 ]; do scp /tmp/locale-archive 10.10.1.2:/tmp/; done
     798...
     799}}}
     800 * Leave this running.
     801
    702802== Step 4: view running VMs ==
    703803
     
    859959{{{
    860960vhost2,[~],13:57(0)$ sudo vzlist -a
     961      CTID      NPROC STATUS    IP_ADDR         HOSTNAME
     962         1         19 running   -               virt1.ecgtest.pgeni-gpolab-bbn-com.utah.geniracks.net
     963}}}
     964
     965=== Results of testing step 4: 2012-05-26 ===
     966
     967 * Per-host view of current state:
     968   * From [https://boss.utah.geniracks.net/nodecontrol_list.php3?showtype=dl360] in red dot mode, i can once again see that pc2 is allocated as phys1 to `pgeni-gpolab-bbn-com/ecgtest`.
     969   * I can see that pc3 and pc5 are configured as OpenVZ shared hosts, but i can't see what experiments they are running.
     970   * Using [https://boss.utah.geniracks.net/showpool.php], i can see that pc3 is running one VM and pc5 is running zero, but not what experiments each is running.  I opened [instaticket:35] to ask whether a node-to-experiment mapping would be an easy modification to `showpool.php`.
     971 * Per-experiment view of current state:
     972   * Browse to [https://boss.utah.geniracks.net/genislices.php] and find two slices running on the Component Manager:
     973{{{
     974ID   HRN                                 Created             Expires
     975949  bbn-pgeni.lnubuntu12b (lnubuntu12b) 2012-05-25 09:54:08 2012-05-29 18:00:00
     976951  bbn-pgeni.ecgtest (ecgtest)         2012-05-26 05:30:20 2012-06-29 18:00:00
     977}}}
     978   * Click `(ecgtest)` to view the details of that experiment at [https://boss.utah.geniracks.net/showexp.php3?experiment=952#details].
     979   * This shows what nodes it's using, including that its VM has been put on pc3:
     980{{{
     981Physical Node Mapping:
     982ID              Type         OS              Physical
     983--------------- ------------ --------------- ------------
     984phys1           dl360        FEDORA15-STD    pc2
     985virt1           pcvm         OPENVZ-STD      pcvm3-1 (pc3)
     986}}}
     987   * Here are some other interesting things:
     988{{{
     989IP Port allocation:
     990Low             High
     991--------------- ------------
     99230000           30255
     993
     994SSHD Port allocation ('ssh -p portnum'):
     995ID              Port       SSH command
     996--------------- ---------- ----------------------
     997
     998Physical Lan/Link Mapping:
     999ID              Member          IP              MAC                  NodeID
     1000--------------- --------------- --------------- -------------------- ---------
     1001phys1-virt1-0   phys1:0         10.10.1.1       e8:39:35:b1:0c:7e    pc2
     1002                                                1/1 <-> 1/28         procurve2
     1003phys1-virt1-0   virt1:0         10.10.1.2       00:00:0a:0a:01:02    pcvm3-1
     1004}}}
     1005 * So, indeed, a MAC address is reported for the virtual node.  However, virt1 itself still says:
     1006{{{
     1007mv1.1     Link encap:Ethernet  HWaddr 82:01:0A:0A:01:02 
     1008          inet addr:10.10.1.2  Bcast:10.10.1.255  Mask:255.255.255.0
     1009}}}
     1010 * Now, use the OpenVZ host itself to view activity:
     1011   * As an admin, login to pc3.utah.geniracks.net
     1012   * Everything seems similar to when i looked Friday:
     1013{{{
     1014vhost2,[~],06:00(0)$ sudo vzlist -a
    8611015      CTID      NPROC STATUS    IP_ADDR         HOSTNAME
    8621016         1         19 running   -               virt1.ecgtest.pgeni-gpolab-bbn-com.utah.geniracks.net