Changes between Version 6 and Version 7 of GENIRacksHome/InstageniRacks/XenTestStatus/IG-XN-2


Ignore:
Timestamp:
08/09/13 10:58:09 (6 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

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

    v6 v7  
    33
    44This test case verifies that each of the supported guest images can be used to generate custom images. Guest custom image support tests will be executed on the Utah InstaGENI rack. For overall status see the [wiki:GENIRacksHome/InstageniRacks/XenTestStatus InstaGENI Xen Virtualization Test Status] page.
     5
     6''Last updated: 2013/08/09''
     7
    58
    69= Test Status =
     
    6972=== UBUNTU12-64-STD Custom Image ===
    7073
    71 1. Login to the Ubuntu 12 host and customize the image by adding packages iperf and XXX, modifying /etc/hosts definitions, and creating files in user and root area.
     741. Login to the Ubuntu 12 host and customize the image by adding several packages, modifying /etc/hosts definitions, and creating files in user and root area.
    7275
    73762. From the sliver manifest determine information that is relevant for the creation of the custom images:
     
    8386<services><login authentication="ssh-keys" hostname="pc3.utah.geniracks.net" port="30013" username="lnevers"/></services></node>
    8487}}}
     88
     893. Before creating a custom image verify your current list of custom images:
     90{{{
     91$ omni.py listimages -a ig-utah
     92...
     93Result Summary: Images created by urn:publicid:IDN+ch.geni.net+user+lnevers at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0:
     94[]
     95}}}
     96No images exist.
     97
     984. Now create a custom image:
     99{{{
     100$ omni.py createimage -a ig-utah lnxenos lncustub12 -u urn:publicid:IDN+utah.geniracks.net+sliver+24391
     10110:44:24 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
     10210:44:24 INFO     omni: Using control framework portal
     10310:44:24 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
     10410:44:25 INFO     omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnxenos expires on 2013-08-14 13:19:02 UTC
     10510:44:25 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
     10610:44:27 INFO     omni:  (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=3be0f64c814c14d20cbb7c24fef33e5b)
     10710:44:27 INFO     omni: Snapshotting disk on urn:publicid:IDN+utah.geniracks.net+sliver+24391 at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0, creating public image ['urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub12', 'https://boss.utah.geniracks.net/image_metadata.php?uuid=30942743-0102-11e3-970d-000000000000']
     10810:44:27 INFO     omni:  ------------------------------------------------------------
     10910:44:27 INFO     omni:  Completed createimage:
     110
     111  Options as run:
     112                aggregate: ['ig-utah']
     113                framework: portal
     114                project: ln-prj
     115                slivers: ['urn:publicid:IDN+utah.geniracks.net+sliver+24391']
     116
     117  Args: createimage lnxenos lncustub12
     118
     119  Result Summary: Snapshotting disk on urn:publicid:IDN+utah.geniracks.net+sliver+24391 at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0, creating public image ['urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub12', 'https://boss.utah.geniracks.net/image_metadata.php?uuid=30942743-0102-11e3-970d-000000000000']
     12010:44:27 INFO     omni:  ============================================================
     121}}}
     122
     1235. Verify that custom image is available via list image command:
     124{{{
     125$ omni.py listimages -a ig-utah   10:45:38 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
     12610:45:38 INFO     omni: Using control framework portal
     12710:45:38 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
     12810:45:38 INFO     omni: ListImages using creator_urn 'urn:publicid:IDN+ch.geni.net+user+lnevers'
     12910:45:38 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
     13010:45:40 INFO     omni:  (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=982afee125270d9628517daec151e02b)
     13110:45:40 INFO     omni: [
     132  {
     133    "url": "https://boss.utah.geniracks.net/image_metadata.php?uuid=30942743-0102-11e3-970d-000000000000",
     134    "urn": "urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub12"
     135  }
     136]
     13710:45:40 INFO     omni:  ------------------------------------------------------------
     13810:45:40 INFO     omni:  Completed listimages:
     139
     140  Options as run:
     141                aggregate: ['ig-utah']
     142                framework: portal
     143                project: ln-prj
     144
     145  Args: listimages
     146
     147  Result Summary: Images created by urn:publicid:IDN+ch.geni.net+user+lnevers at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0:
     148[
     149  {
     150    "url": "https://boss.utah.geniracks.net/image_metadata.php?uuid=30942743-0102-11e3-970d-000000000000",
     151    "urn": "urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub12"
     152  }
     153]
     15410:45:40 INFO     omni:  ============================================================
     155}}}
     156
     1576. Create an RSpec that uses nodes with the Ubuntu12 custom image, node definitions are as follows:
     158{{{
     159  <node client_id="cust-ub12-1" exclusive="false">
     160      <sliver_type name="emulab-xen">
     161      <disk_image name="urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub12" />
     162      </sliver_type>
     163      <interface client_id="cust-ub12-1:if0" />
     164  </node>
     165
     166  <node  client_id="cust-ub12-2" exclusive="false">
     167      <sliver_type name="emulab-xen">
     168      <disk_image name="urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub12" />
     169      </sliver_type>
     170      <interface client_id="cust-ub12-2:if0" />
     171  </node>
     172
     173  <link client_id="cust-ub12-1-and-cust-ub12-2">
     174    <interface_ref client_id="cust-ub12-1:if0"/>
     175    <interface_ref client_id="cust-ub12-2:if0"/>
     176    <property source_id="cust-ub12-1:if0" dest_id="cust-ub12-2:if0"/>
     177    <property source_id="cust-ub12-2:if0" dest_id="cust-ub12-1:if0"/>
     178  </link>
     179</rspec>
     180}}}
     181
     1827. Create a slice and sliver using the custom Ubuntu 12 image
     183{{{
     184$ omni.py createslice lnxenub12cust
     18510:55:50 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
     18610:55:50 INFO     omni: Using control framework portal
     18710:55:52 INFO     omni: Created slice with Name lnxenub12cust, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnxenub12cust, Expiration 2013-08-16 14:55:51
     18810:55:52 INFO     omni:  ------------------------------------------------------------
     18910:55:52 INFO     omni:  Completed createslice:
     190
     191  Options as run:
     192                framework: portal
     193                project: ln-prj
     194
     195  Args: createslice lnxenub12cust
     196
     197  Result Summary: Created slice with Name lnxenub12cust, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnxenub12cust, Expiration 2013-08-16 14:55:51
     198 
     19910:55:52 INFO     omni:  ============================================================
     200
     201$ omni.py createsliver lnxenub12cust -a ig-utah ./insta-xen-cust-ub12.rspec
     20210:57:23 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
     20310:57:23 INFO     omni: Using control framework portal
     20410:57:23 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
     20510:57:24 INFO     omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnxenub12cust expires on 2013-08-16 14:55:51 UTC
     20610:57:24 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
     20710:57:24 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
     20810:57:24 INFO     omni: Creating sliver(s) from rspec file ./insta-xen-cust-ub12.rspec for slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnxenub12cust
     20910:57:37 INFO     omni:  (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=c43151fea83a51083bfd3465ec2c10c1)
     21010:57:37 INFO     omni: Got return from CreateSliver for slice lnxenub12cust at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0:
     21110:57:37 INFO     omni: <!-- Reserved resources for:
     212        Slice: lnxenub12cust
     213        at AM:
     214        URN: urn:publicid:IDN+utah.geniracks.net+authority+cm
     215        URL: https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0
     216 -->
     21710:57:37 INFO     omni: <rspec 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" type="manifest">
     218
     219  <node client_id="cust-ub12-1" exclusive="false" component_id="urn:publicid:IDN+utah.geniracks.net+node+pc3" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24398">
     220      <sliver_type name="emulab-xen">
     221      <disk_image name="urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub12"/>
     222      </sliver_type>
     223      <interface client_id="cust-ub12-1:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24402" mac_address="02c0245d1fcf"><ip address="10.10.1.1" type="ipv4"/></interface>
     224  <rs:vnode xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1" name="pcvm3-9"/><host name="cust-ub12-1.lnxenub12cust.ch-geni-net.utah.geniracks.net"/><services><login authentication="ssh-keys" hostname="pc3.utah.geniracks.net" port="31546" username="lnevers"/></services></node>
     225
     226  <node client_id="cust-ub12-2" exclusive="false" component_id="urn:publicid:IDN+utah.geniracks.net+node+pc3" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24399">
     227      <sliver_type name="emulab-xen">
     228      <disk_image name="urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub12"/>
     229      </sliver_type>
     230      <interface client_id="cust-ub12-2:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24403" mac_address="027f260afb32"><ip address="10.10.1.2" type="ipv4"/></interface>
     231  <rs:vnode xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1" name="pcvm3-10"/><host name="cust-ub12-2.lnxenub12cust.ch-geni-net.utah.geniracks.net"/><services><login authentication="ssh-keys" hostname="pc3.utah.geniracks.net" port="31547" username="lnevers"/></services></node>
     232
     233  <link client_id="cust-ub12-1-and-cust-ub12-2" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24401">
     234    <interface_ref client_id="cust-ub12-1:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24402"/>
     235    <interface_ref client_id="cust-ub12-2:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24403"/>
     236    <property source_id="cust-ub12-1:if0" dest_id="cust-ub12-2:if0"/>
     237    <property source_id="cust-ub12-2:if0" dest_id="cust-ub12-1:if0"/>
     238  </link>
     239</rspec>
     24010:57:37 INFO     omni:  ------------------------------------------------------------
     24110:57:37 INFO     omni:  Completed createsliver:
     242
     243  Options as run:
     244                aggregate: ['ig-utah']
     245                framework: portal
     246                project: ln-prj
     247
     248  Args: createsliver lnxenub12cust ./insta-xen-cust-ub12.rspec
     249
     250  Result Summary: Got Reserved resources RSpec from utah-geniracks-net
     25110:57:37 INFO     omni:  ============================================================
     252}}}
     253
    85254
    86255=== UBUNTU11-64-STD Custom Image ===