Changes between Version 19 and Version 20 of GENIRacksHome/InstageniRacks/XenTestStatus/IG-XN-2


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

--

Legend:

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

    v19 v20  
    3434|| 9. Verify customizations are in images || [[Color(green,Pass)]] ||  || ||
    3535|| 10. Delete customized image || [[Color(green,Pass)]] ||  || ||
    36 || 11. Verify removal of custom image || [[Color(green,Pass)]] ||  || |||| FBSSD82-STD    || || || ||
     36|| 11. Verify removal of custom image || [[Color(green,Pass)]] ||  || ||
     37|| FBSSD82-STD    || || || ||
    3738|| 1. Customize image || || || ||
    3839|| 2. Get URN to create custom images || || || ||
     
    7778=== UBUNTU12-64-STD Custom Image ===
    7879
    79 1. Login to the Ubuntu 12 host and customize the image by adding several packages, and creating files in user and root area.
     801. Login to the Ubuntu 12 host and customize the image by adding iperf package and creating files in user and root area.
    8081
    81822. From the sliver manifest determine information that is relevant for the creation of the custom images:
     
    376377=== UBUNTU11-64-STD Custom Image ===
    377378
    378 1. Login to the Ubuntu 11 host and customize the image by adding several packages, and creating files in user and root area.
     3791. Login to the Ubuntu 11 host and customize the image by adding iperf package and creating files in user and root area.
    379380
    3803812. From the sliver manifest determine information that is relevant for the creation of the custom images:
     
    724725=== FBSSD82-STD Custom Image ===
    725726
    726 1. Login to the Free BSD 8.2 host and customize the image by adding packages iperf and XXX, modifying /etc/hosts definitions, and creating files in user and root area.
     7271. Login to the Free BSD 8.2 host and customize the image by adding ports package and creating files in user and root area.
    727728
    7287292. From the sliver manifest determine information that is relevant for the creation of the custom images:
    729730{{{
    730 <node client_id="BSD82" exclusive="false" component_id="urn:publicid:IDN+utah.geniracks.net+node+pc3"
    731 component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm"
    732 sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24388">
    733 <sliver_type name="emulab-xen">
    734 <disk_image name="urn:publicid:IDN+utah.geniracks.net+image+emulab-ops:FBSD82-STD" os="FreeBSD" version="8.2"/>
    735 </sliver_type>
    736 <rs:vnode xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1" name="pcvm3-1"/>
    737 <host name="BSD82.lnxenos.ch-geni-net.utah.geniracks.net"/>
    738 <services>
    739 <login authentication="ssh-keys" hostname="pc3.utah.geniracks.net" port="30010" username="lnevers"/></services></node>
     731<node client_id="BSD82" component_id="urn:publicid:IDN+utah.geniracks.net+node+pc3"
     732component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false"
     733sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24388">   
     734<sliver_type name="emulab-xen">     
     735<disk_image name="urn:publicid:IDN+utah.geniracks.net+image+emulab-ops:FBSD82-STD" os="FreeBSD" version="8.2"/>     
     736</sliver_type>   
     737<rs:vnode name="pcvm3-1" xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1"/>   
     738<host name="BSD82.lnxenos.ch-geni-net.utah.geniracks.net"/>   
     739<services><login authentication="ssh-keys" hostname="pc3.utah.geniracks.net" port="30010" username="lnevers"/>   
     740</services>  </node> 
     741
    740742}}}
    7417433. Before creating a custom image verify your current list of custom images:
     744{{{
     745$ omni.py listimages -a ig-utah
     74615:33:03 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
     74715:33:03 INFO     omni: Using control framework portal
     74815:33: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
     74915:33:04 INFO     omni: ListImages using creator_urn 'urn:publicid:IDN+ch.geni.net+user+lnevers'
     75015:33:04 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
     75115:33:06 INFO     omni:  (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=199760ad7a63039aaaa411fc3b40bbf4)
     75215:33:06 INFO     omni: [
     753  {
     754    "url": "https://boss.utah.geniracks.net/image_metadata.php?uuid=6a60c597-0112-11e3-970d-000000000000",
     755    "urn": "urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustfed15"
     756  }
     757]
     75815:33:06 INFO     omni:  ------------------------------------------------------------
     75915:33:06 INFO     omni:  Completed listimages:
     760
     761  Options as run:
     762                aggregate: ['ig-utah']
     763                framework: portal
     764                project: ln-prj
     765
     766  Args: listimages
     767
     768  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:
     769[
     770  {
     771    "url": "https://boss.utah.geniracks.net/image_metadata.php?uuid=6a60c597-0112-11e3-970d-000000000000",
     772    "urn": "urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustfed15"
     773  }
     774]
     77515:33:06 INFO     omni:  ============================================================
     776}}}
     777One custom image exists from other test.
     778
    7427794. Now create a custom image:
     780{{{
     781$ omni.py createimage -a ig-utah lnxenos lncustbsd82 -u urn:publicid:IDN+utah.geniracks.net+sliver+24388
     78215:40:46 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
     78315:40:46 INFO     omni: Using control framework portal
     78415:40:46 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
     78515:40:47 INFO     omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnxenos expires on 2013-08-14 13:19:02 UTC
     78615:40:47 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
     78715:40:50 INFO     omni:  (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=cb1ab6bc5a3a50f3d0ad71f1bf34af94)
     78815:40:50 INFO     omni: Snapshotting disk on urn:publicid:IDN+utah.geniracks.net+sliver+24388 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:lncustbsd82', 'https://boss.utah.geniracks.net/image_metadata.php?uuid=976773ef-012b-11e3-970d-000000000000']
     78915:40:50 INFO     omni:  ------------------------------------------------------------
     79015:40:50 INFO     omni:  Completed createimage:
     791
     792  Options as run:
     793                aggregate: ['ig-utah']
     794                framework: portal
     795                project: ln-prj
     796                slivers: ['urn:publicid:IDN+utah.geniracks.net+sliver+24388']
     797
     798  Args: createimage lnxenos lncustbsd82
     799
     800  Result Summary: Snapshotting disk on urn:publicid:IDN+utah.geniracks.net+sliver+24388 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:lncustbsd82', 'https://boss.utah.geniracks.net/image_metadata.php?uuid=976773ef-012b-11e3-970d-000000000000']
     80115:40:50 INFO     omni:  ============================================================
     802}}}
    7438035. Verify that custom image is available via list image command:
     804{{{
     805$ omni.py listimages -a ig-utah
     80615:41:24 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
     80715:41:24 INFO     omni: Using control framework portal
     80815:41: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
     809
     81015:41:24 INFO     omni: ListImages using creator_urn 'urn:publicid:IDN+ch.geni.net+user+lnevers'
     81115:41: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
     81215:41:26 INFO     omni:  (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=4ca1636573f8ca3b5fbb349549f1a05b)
     81315:41:26 INFO     omni: [
     814  {
     815    "url": "https://boss.utah.geniracks.net/image_metadata.php?uuid=6a60c597-0112-11e3-970d-000000000000",
     816    "urn": "urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustfed15"
     817  },
     818  {
     819    "url": "https://boss.utah.geniracks.net/image_metadata.php?uuid=976773ef-012b-11e3-970d-000000000000",
     820    "urn": "urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustbsd82"
     821  }
     822]
     82315:41:26 INFO     omni:  ------------------------------------------------------------
     82415:41:26 INFO     omni:  Completed listimages:
     825
     826  Options as run:
     827                aggregate: ['ig-utah']
     828                framework: portal
     829                project: ln-prj
     830
     831  Args: listimages
     832
     833  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:
     834[
     835  {
     836    "url": "https://boss.utah.geniracks.net/image_metadata.php?uuid=6a60c597-0112-11e3-970d-000000000000",
     837    "urn": "urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustfed15"
     838  },
     839  {
     840    "url": "https://boss.utah.geniracks.net/image_metadata.php?uuid=976773ef-012b-11e3-970d-000000000000",
     841    "urn": "urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustbsd82"
     842  }
     843]
     84415:41:26 INFO     omni:  ============================================================
     845}}}
    7448466. An email will be sent to you to let you know that the image cloning has successfully completed and should look as follows:
     847{{{
     848
     849
     850}}}
    7458517. Create an RSpec that uses nodes with the Ubuntu12 custom image, node definitions are as follows:
    7468528. Create a slice and sliver using the custom Ubuntu 12 image 
     
    750856
    751857
    752 
    753 
    754858=== FEDORA15-STD Custom Image ===
    755859
    756 1. Login to the Fedora 15 host and customize the image by adding several packages, and creating files in user and root area.
     8601. Login to the Fedora 15 host and customize the image by adding iperf package and creating files in user and root area.
    757861
    7588622. From the sliver manifest determine information that is relevant for the creation of the custom images: