Changes between Version 2 and Version 3 of GENIRacksHome/InstageniRacks/XenTestStatus/IG-XN-4


Ignore:
Timestamp:
08/12/13 11:29:53 (6 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIRacksHome/InstageniRacks/XenTestStatus/IG-XN-4

    v2 v3  
    3030
    3131=== 1. Request unsupported OS ===
     32
    3233Using an image which is a custom OpenVZ image to request a Xen VM:
    3334{{{
     
    526527
    527528=== 2. Request guests size larger that maximum allowed ===
     529Request 2 VMs of size 2048 MB (twice the maximum) using the following RSpec:
     530{{{
     531  <node client_id="xen1" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false">
     532    <sliver_type name="emulab-xen">
     533      <emulab:xen ram="2048"/>
     534    </sliver_type>
     535    <interface client_id="xen1:if0">
     536    </interface>
     537  </node>
     538  <node client_id="xen2" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false">
     539    <sliver_type name="emulab-xen">
     540      <emulab:xen ram="2048"/>
     541    </sliver_type>
     542    <interface client_id="xen2:if0">
     543    </interface>
     544  </node>
     545}}}
     546Create a slice and slivers:
     547{{{
     548$ omni.py createslice xen-2vm-64
     549...
     550  Result Summary: Created slice with Name xen-2vm-64, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+xen-2vm-64, Expiration 2013-08-19 15:15:54
     551}}}
     552$ omni.py createslice xen-2vm-2048
     553...
     554  Result Summary: Created slice with Name xen-2vm-2048, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+xen-2vm-2048, Expiration 2013-08-19 15:24:47
     555...
     556$ omni.py createsliver -a ig-utah  xen-2vm-2048 ./insta-xen-2vm-2048.rspec
     55711:25:06 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
     55811:25:06 INFO     omni: Using control framework portal
     55911:25:06 INFO     omni: Substituting AM nickname ig-utah with URL https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0, URN urn:publicid:IDN+utah.geniracks.net+authority+cm
     56011:25:07 INFO     omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+xen-2vm-2048 expires on 2013-08-19 15:24:47 UTC
     56111:25:07 INFO     omni: Substituting AM nickname ig-utah with URL https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0, URN urn:publicid:IDN+utah.geniracks.net+authority+cm
     56211:25:07 INFO     omni: Substituting AM nickname ig-utah with URL https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0, URN urn:publicid:IDN+utah.geniracks.net+authority+cm
     56311:25:07 INFO     omni: Creating sliver(s) from rspec file ./insta-xen-2vm-2048.rspec for slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+xen-2vm-2048
     56411:25:22 WARNING  omni: Failed CreateSliver for slice xen-2vm-2048 at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0.  Error from Aggregate: code 2. protogeni AM code: 2: Could not verify topo (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=d7adecc39ef239763d8eda5d5075555b).
     56511:25:22 INFO     omni:  ------------------------------------------------------------
     56611:25:22 INFO     omni:  Completed createsliver:
     567
     568  Options as run:
     569                aggregate: ['ig-utah']
     570                framework: portal
     571                project: ln-prj
     572
     573  Args: createsliver xen-2vm-2048 ./insta-xen-2vm-2048.rspec
     574
     575  Result Summary: Failed CreateSliver for slice xen-2vm-2048 at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0.  Error from Aggregate: code 2. protogeni AM code: 2: Could not verify topo (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=d7adecc39ef239763d8eda5d5075555b).
     57611:25:22 INFO     omni:  ============================================================
     577
     578}}}
     579
     580Failed as expected.
     581
    528582=== 3. Request guests size smaller that minimum allowed ===
     583
     584Request 2 guest VMs of size 128MB using the following RSpec:
     585{{{
     586....
     587 <node client_id="xen1" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false">
     588    <sliver_type name="emulab-xen">
     589      <emulab:xen ram="128"/>
     590    </sliver_type>
     591    <interface client_id="xen1:if0">
     592    </interface>
     593  </node>
     594  <node client_id="xen2" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false">
     595    <sliver_type name="emulab-xen">
     596      <emulab:xen ram="128"/>
     597    </sliver_type>
     598    <interface client_id="xen2:if0">
     599    </interface>
     600  </node>
     601...
     602}}}
     603
     604Create slice and sliver:
     605{{{
     606$ omni.py createslice xen-2vm-128
     607...
     608  Result Summary: Created slice with Name xen-2vm-128, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+xen-2vm-128, Expiration 2013-08-19 14:57:23
     609 
     610$ omni.py createsliver -a ig-utah xen-2vm-128 insta-xen-2vm-128.rspec
     61110:57:42 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
     61210:57:42 INFO     omni: Using control framework portal
     61310:57:42 INFO     omni: Substituting AM nickname ig-utah with URL https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0, URN urn:publicid:IDN+utah.geniracks.net+authority+cm
     61410:57:43 INFO     omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+xen-2vm-128 expires on 2013-08-19 14:57:23 UTC
     61510:57:43 INFO     omni: Substituting AM nickname ig-utah with URL https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0, URN urn:publicid:IDN+utah.geniracks.net+authority+cm
     61610:57:43 INFO     omni: Substituting AM nickname ig-utah with URL https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0, URN urn:publicid:IDN+utah.geniracks.net+authority+cm
     61710:57:43 INFO     omni: Creating sliver(s) from rspec file insta-xen-2vm-128.rspec for slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+xen-2vm-128
     61810:58:04 INFO     omni:  (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=44d0806a090e4f8f63f3919ebd51ad17)
     61910:58:04 INFO     omni: Got return from CreateSliver for slice xen-2vm-128 at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0:
     62010:58:04 INFO     omni: <!-- Reserved resources for:
     621        Slice: xen-2vm-128
     622        at AM:
     623        URN: urn:publicid:IDN+utah.geniracks.net+authority+cm
     624        URL: https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0
     625 -->
     62610:58:04 INFO     omni: <rspec xmlns="http://www.geni.net/resources/rspec/3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:emulab="http://www.protogeni.net/resources/rspec/ext/emulab/1" xmlns:sharedvlan="http://www.protogeni.net/resources/rspec/ext/shared-vlan/1" xmlns:stitch="http://hpn.east.isi.edu/rspec/ext/stitch/0.1/" xsi:schemaLocation="http://www.geni.net/resources/rspec/3                         http://www.geni.net/resources/rspec/3/manifest.xsd                         http://hpn.east.isi.edu/rspec/ext/stitch/0.1/                         http://hpn.east.isi.edu/rspec/ext/stitch/0.1/stitch-schema.xsd" type="manifest">
     627  <node xmlns:emulab="http://www.protogeni.net/resources/rspec/ext/emulab/1" client_id="xen1" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false" component_id="urn:publicid:IDN+utah.geniracks.net+node+pc3" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24669">
     628    <sliver_type name="emulab-xen">
     629      <emulab:xen ram="128"/>
     630    </sliver_type>
     631    <interface client_id="xen1:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24674" mac_address="023c1d2df649">
     632    <ip address="10.10.1.2" type="ipv4"/></interface>
     633  <emulab:vnode name="pcvm3-57"/><host name="xen1.xen-2vm-128.ch-geni-net.utah.geniracks.net"/><services><login authentication="ssh-keys" hostname="pc3.utah.geniracks.net" port="38714" username="lnevers"/></services></node>
     634  <node xmlns:emulab="http://www.protogeni.net/resources/rspec/ext/emulab/1" client_id="xen2" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false" component_id="urn:publicid:IDN+utah.geniracks.net+node+pc3" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24670">
     635    <sliver_type name="emulab-xen">
     636      <emulab:xen ram="128"/>
     637    </sliver_type>
     638    <interface client_id="xen2:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24673" mac_address="028059167536">
     639    <ip address="10.10.1.1" type="ipv4"/></interface>
     640  <emulab:vnode name="pcvm3-58"/><host name="xen2.xen-2vm-128.ch-geni-net.utah.geniracks.net"/><services><login authentication="ssh-keys" hostname="pc3.utah.geniracks.net" port="38715" username="lnevers"/></services></node>
     641  <link client_id="link0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24672">
     642    <component_manager name="urn:publicid:IDN+utah.geniracks.net+authority+cm"/>
     643    <interface_ref client_id="xen2:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24673"/>
     644    <interface_ref client_id="xen1:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24674"/>
     645    <property source_id="xen2:if0" dest_id="xen1:if0"/>
     646    <property source_id="xen1:if0" dest_id="xen2:if0"/>
     647  </link>
     648</rspec>
     64910:58:04 INFO     omni:  ------------------------------------------------------------
     65010:58:04 INFO     omni:  Completed createsliver:
     651
     652  Options as run:
     653                aggregate: ['ig-utah']
     654                framework: portal
     655                project: ln-prj
     656
     657  Args: createsliver xen-2vm-128 insta-xen-2vm-128.rspec
     658
     659  Result Summary: Got Reserved resources RSpec from utah-geniracks-net
     66010:58:04 INFO     omni:  ============================================================
     661}}}
     662
     663Verify Memory Allocation:
     664{{{
     665$ remote-execute.py -a ig-utah xen-2vm-128  -m "cat /proc/meminfo|grep MemTotal"
     666Find login Info for hosts in slice xen-2vm-128
     667Send command cat /proc/meminfo|grep MemTotal to xen2
     668MemTotal:         113884 kB
     669Done with command cat /proc/meminfo|grep MemTotal to xen2
     670Send command cat /proc/meminfo|grep MemTotal to xen1
     671MemTotal:         113884 kB
     672Done with command cat /proc/meminfo|grep MemTotal to xen1
     673}}}
     674
     675Since 128 Mb works, request a smallet guest with memory size of 64 MB. Modified RSpec from ''' ''<emulab:xen ram="128"/>'' ''' to ''' ''<emulab:xen ram="64"/>'' '''.
     676Create slice and sliver:
     677{{{
     678$ omni.py createslice xen-2vm-64
     679...
     680Result Summary: Created slice with Name xen-2vm-64, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+xen-2vm-64, Expiration 2013-08-19 15:15:54
     681...
     682$ omni.py createsliver -a ig-utah  xen-2vm-64 ./insta-xen-2vm-64.rspec
     68311:16:56 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
     68411:16:56 INFO     omni: Using control framework portal
     68511:16:56 INFO     omni: Substituting AM nickname ig-utah with URL https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0, URN urn:publicid:IDN+utah.geniracks.net+authority+cm
     68611:16:57 INFO     omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+xen-2vm-64 expires on 2013-08-19 15:15:54 UTC
     68711:16:57 INFO     omni: Substituting AM nickname ig-utah with URL https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0, URN urn:publicid:IDN+utah.geniracks.net+authority+cm
     68811:16:57 INFO     omni: Substituting AM nickname ig-utah with URL https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0, URN urn:publicid:IDN+utah.geniracks.net+authority+cm
     68911:16:57 INFO     omni: Creating sliver(s) from rspec file ./insta-xen-2vm-64.rspec for slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+xen-2vm-64
     69011:17:12 INFO     omni:  (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=7f370eb19129ea6a790f7180915bb90f)
     69111:17:12 INFO     omni: Got return from CreateSliver for slice xen-2vm-64 at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0:
     69211:17:12 INFO     omni: <!-- Reserved resources for:
     693        Slice: xen-2vm-64
     694        at AM:
     695        URN: urn:publicid:IDN+utah.geniracks.net+authority+cm
     696        URL: https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0
     697 -->
     69811:17:12 INFO     omni: <rspec xmlns="http://www.geni.net/resources/rspec/3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:emulab="http://www.protogeni.net/resources/rspec/ext/emulab/1" xmlns:sharedvlan="http://www.protogeni.net/resources/rspec/ext/shared-vlan/1" xmlns:stitch="http://hpn.east.isi.edu/rspec/ext/stitch/0.1/" xsi:schemaLocation="http://www.geni.net/resources/rspec/3                         http://www.geni.net/resources/rspec/3/manifest.xsd                         http://hpn.east.isi.edu/rspec/ext/stitch/0.1/                         http://hpn.east.isi.edu/rspec/ext/stitch/0.1/stitch-schema.xsd" type="manifest">
     699  <node xmlns:emulab="http://www.protogeni.net/resources/rspec/ext/emulab/1" client_id="xen1" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false" component_id="urn:publicid:IDN+utah.geniracks.net+node+pc3" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24688">
     700    <sliver_type name="emulab-xen">
     701      <emulab:xen ram="64"/>
     702    </sliver_type>
     703    <interface client_id="xen1:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24693" mac_address="024c68e16f22">
     704    <ip address="10.10.1.2" type="ipv4"/></interface>
     705  <emulab:vnode name="pcvm3-57"/><host name="xen1.xen-2vm-64.ch-geni-net.utah.geniracks.net"/><services><login authentication="ssh-keys" hostname="pc3.utah.geniracks.net" port="38202" username="lnevers"/></services></node>
     706  <node xmlns:emulab="http://www.protogeni.net/resources/rspec/ext/emulab/1" client_id="xen2" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false" component_id="urn:publicid:IDN+utah.geniracks.net+node+pc3" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24689">
     707    <sliver_type name="emulab-xen">
     708      <emulab:xen ram="64"/>
     709    </sliver_type>
     710    <interface client_id="xen2:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24692" mac_address="02c61ff00fea">
     711    <ip address="10.10.1.1" type="ipv4"/></interface>
     712  <emulab:vnode name="pcvm3-58"/><host name="xen2.xen-2vm-64.ch-geni-net.utah.geniracks.net"/><services><login authentication="ssh-keys" hostname="pc3.utah.geniracks.net" port="38203" username="lnevers"/></services></node>
     713  <link client_id="link0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24691">
     714    <component_manager name="urn:publicid:IDN+utah.geniracks.net+authority+cm"/>
     715    <interface_ref client_id="xen2:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24692"/>
     716    <interface_ref client_id="xen1:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24693"/>
     717    <property source_id="xen2:if0" dest_id="xen1:if0"/>
     718    <property source_id="xen1:if0" dest_id="xen2:if0"/>
     719  </link>
     720</rspec>
     72111:17:12 INFO     omni:  ------------------------------------------------------------
     72211:17:12 INFO     omni:  Completed createsliver:
     723
     724  Options as run:
     725                aggregate: ['ig-utah']
     726                framework: portal
     727                project: ln-prj
     728
     729  Args: createsliver xen-2vm-64 ./insta-xen-2vm-64.rspec
     730
     731  Result Summary: Got Reserved resources RSpec from utah-geniracks-net
     73211:17:12 INFO     omni:  ============================================================
     733}}}
     734
     735Verify allocation on node:
     736{{{
     737
     738}}}
     739
    529740=== 4  Request guests exceeding available Xen resources ===