Changes between Version 14 and Version 15 of GENIRacksHome/InstageniRacks/XenTestStatus/IG-XN-2


Ignore:
Timestamp:
08/09/13 11:52:22 (6 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

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

    v14 v15  
    394394
    3953953. Before creating a custom image verify your current list of custom images:
     396{{{
     397$ omni.py listimages -a ig-utah
     39811:39:03 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
     39911:39:03 INFO     omni: Using control framework portal
     40011:39:03 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
     40111:39:03 INFO     omni: ListImages using creator_urn 'urn:publicid:IDN+ch.geni.net+user+lnevers'
     40211:39:03 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
     40311:39:05 INFO     omni:  (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=ae8e02d543d45fa5aff495e9c9223764)
     40411:39:05 INFO     omni: []
     40511:39:05 INFO     omni:  ------------------------------------------------------------
     40611:39:05 INFO     omni:  Completed listimages:
     407
     408  Options as run:
     409                aggregate: ['ig-utah']
     410                framework: portal
     411                project: ln-prj
     412
     413  Args: listimages
     414
     415  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:
     416[]
     41711:39:05 INFO     omni:  ============================================================
     418}}}
     419No images exist.
     420
    3964214. Now create a custom image:
     422{{{
     423$ omni.py createimage -a ig-utah lnxenos lncustub11 -u urn:publicid:IDN+utah.geniracks.net+sliver+24390
     42411:40:17 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
     42511:40:17 INFO     omni: Using control framework portal
     42611:40:17 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
     42711:40:18 INFO     omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnxenos expires on 2013-08-14 13:19:02 UTC
     42811:40:18 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
     42911:40:23 INFO     omni:  (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=31fb599054e6c6e94b5c0b0ff376bf83)
     43011:40:23 INFO     omni: Snapshotting disk on urn:publicid:IDN+utah.geniracks.net+sliver+24390 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:lncustub11', 'https://boss.utah.geniracks.net/image_metadata.php?uuid=010ec825-010a-11e3-970d-000000000000']
     43111:40:23 INFO     omni:  ------------------------------------------------------------
     43211:40:23 INFO     omni:  Completed createimage:
     433
     434  Options as run:
     435                aggregate: ['ig-utah']
     436                framework: portal
     437                project: ln-prj
     438                slivers: ['urn:publicid:IDN+utah.geniracks.net+sliver+24390']
     439
     440  Args: createimage lnxenos lncustub11
     441
     442  Result Summary: Snapshotting disk on urn:publicid:IDN+utah.geniracks.net+sliver+24390 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:lncustub11', 'https://boss.utah.geniracks.net/image_metadata.php?uuid=010ec825-010a-11e3-970d-000000000000']
     44311:40:23 INFO     omni:  ============================================================
     444}}}
     445
    3974465. Verify that custom image is available via list image command:
     447{{{
     448$  omni.py listimages -a ig-utah
     44911:42:07 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
     45011:42:07 INFO     omni: Using control framework portal
     45111:42: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
     45211:42:07 INFO     omni: ListImages using creator_urn 'urn:publicid:IDN+ch.geni.net+user+lnevers'
     45311:42: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
     45411:42:09 INFO     omni:  (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=7b8d2a9a1c79fbc81333baefda56b17d)
     45511:42:09 INFO     omni: [
     456  {
     457    "url": "https://boss.utah.geniracks.net/image_metadata.php?uuid=010ec825-010a-11e3-970d-000000000000",
     458    "urn": "urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub11"
     459  }
     460]
     46111:42:09 INFO     omni:  ------------------------------------------------------------
     46211:42:09 INFO     omni:  Completed listimages:
     463
     464  Options as run:
     465                aggregate: ['ig-utah']
     466                framework: portal
     467                project: ln-prj
     468
     469  Args: listimages
     470
     471  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:
     472[
     473  {
     474    "url": "https://boss.utah.geniracks.net/image_metadata.php?uuid=010ec825-010a-11e3-970d-000000000000",
     475    "urn": "urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub11"
     476  }
     477]
     47811:42:09 INFO     omni:  ============================================================
     479}}}
     480
    3984816. An email will be sent to you to let you know that the image cloning has successfully completed and should look as follows:
     482{{{
     483
     484}}}
    3994857. Create an RSpec that uses nodes with the Ubuntu12 custom image, node definitions are as follows:
     486{{{
     487  <node client_id="cust-ub11-1" exclusive="false">
     488      <sliver_type name="emulab-xen">
     489      <disk_image name="urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub11" />
     490      </sliver_type>
     491      <interface client_id="cust-ub11-1:if0" />
     492  </node>
     493
     494  <node  client_id="cust-ub11-2" exclusive="false">
     495      <sliver_type name="emulab-xen">
     496      <disk_image name="urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub11" />
     497      </sliver_type>
     498      <interface client_id="cust-ub11-2:if0" />
     499  </node>
     500}}}
    4005018. Create a slice and sliver using the custom Ubuntu 12 image 
    4015029. Once the sliver is ready login to host verify that customizations are present and that there is connectivity to the two customized hosts: