wiki:GENIRacksHome/InstageniRacks/XenTestStatus/IG-XN-2

Version 18 (modified by lnevers@bbn.com, 6 years ago) (diff)

--

IG-XN-2: Custom Xen Image Support tests

This 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 InstaGENI Xen Virtualization Test Status page.

Last updated: 2013/08/09

Test Status

This section captures the status for each step in the acceptance test plan.

OS and Step State Ticket Notes
UBUNTU12-64-STD Color(green,Pass)?
1. Customize image Color(green,Pass)?
2. Get URN to create custom images Color(green,Pass)?
3. Verify current list of custom images Color(green,Pass)?
4. Create custom image Color(green,Pass)?
5. Verify custom image is in listimage output Color(green,Pass)?
6. Verify email for successful image cloning Color(green,Pass)?
7. Create RSpec w/custom image Color(green,Pass)?
8. Create sliver w/custom image Color(green,Pass)?
9. Verify customizations are in images Color(green,Pass)?
10. Delete customized image Color(green,Pass)?
11. Verify removal of custom image Color(green,Pass)?
UBUNTU11-64-STD
1. Customize image
2. Get URN to create custom images
3. Verify current list of custom images
4. Create custom image
5. Verify custom image is in listimage output
6. Verify email for successful image cloning
7. Create RSpec w/custom image
8. Create sliver w/custom image
9. Verify customizations are in images
10. Delete customized image
11. Verify removal of custom image
FBSSD82-STD
1. Customize image
2. Get URN to create custom images
3. Verify current list of custom images
4. Create custom image
5. Verify custom image is in listimage output
6. Verify email for successful image cloning
7. Create RSpec w/custom image
8. Create sliver w/custom image
9. Verify customizations are in images
10. Delete customized image
11. Verify removal of custom image
FEDORA15-STD
1. Customize image
2. Get URN to create custom images
3. Verify current list of custom images
4. Create custom image
5. Verify custom image is in listimage output
6. Verify email for successful image cloning
7. Create RSpec w/custom image
8. Create sliver w/custom image
9. Verify customizations are in images
10. Delete customized image
11. Verify removal of custom image


State Legend Description
Color(green,Pass)? Test completed and met all criteria
Color(#98FB98,Pass: most criteria)? Test completed and met most criteria. Exceptions documented
Color(red,Fail)? Test completed and failed to meet criteria.
Color(yellow,Complete)? Test completed but will require re-execution due to expected changes
Color(orange,Blocked)? Blocked by ticketed issue(s).
Color(#63B8FF,In Progress)? Currently under test.


Test Execution Details

This testing is executed with GENI Clearinghouse Credentials. The sliver created in IG-XN-1 is used to create 4 custom images, one for each supported OS.

UBUNTU12-64-STD Custom Image

  1. Login to the Ubuntu 12 host and customize the image by adding several packages, and creating files in user and root area.
  1. From the sliver manifest determine information that is relevant for the creation of the custom images:
    <node client_id="Ub12" 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+24391">
    <sliver_type name="emulab-xen">
    <disk_image name="urn:publicid:IDN+utah.geniracks.net+image+emulab-ops:UBUNTU12-64-STD" os="Linux" version="12.04"/>
    </sliver_type>
    <rs:vnode xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1" name="pcvm3-8"/>
    <host name="Ub12.lnxenos.ch-geni-net.utah.geniracks.net"/>
    <services><login authentication="ssh-keys" hostname="pc3.utah.geniracks.net" port="30013" username="lnevers"/></services></node>
    
  1. Before creating a custom image verify your current list of custom images:
    $ omni.py listimages -a ig-utah 
    ...
    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:
    [] 
    

No images exist.

  1. Now create a custom image:
    $ omni.py createimage -a ig-utah lnxenos lncustub12 -u urn:publicid:IDN+utah.geniracks.net+sliver+24391
    10:44:24 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
    10:44:24 INFO     omni: Using control framework portal
    10: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
    10:44:25 INFO     omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnxenos expires on 2013-08-14 13:19:02 UTC
    10: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
    10:44:27 INFO     omni:  (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=3be0f64c814c14d20cbb7c24fef33e5b)
    10: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']
    10:44:27 INFO     omni:  ------------------------------------------------------------
    10:44:27 INFO     omni:  Completed createimage:
    
      Options as run:
    		aggregate: ['ig-utah']
    		framework: portal
    		project: ln-prj
    		slivers: ['urn:publicid:IDN+utah.geniracks.net+sliver+24391']
    
      Args: createimage lnxenos lncustub12
    
      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'] 
    10:44:27 INFO     omni:  ============================================================
    
  1. Verify that custom image is available via list image command:
    $ omni.py listimages -a ig-utah   10:45:38 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
    10:45:38 INFO     omni: Using control framework portal
    10: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
    10:45:38 INFO     omni: ListImages using creator_urn 'urn:publicid:IDN+ch.geni.net+user+lnevers'
    10: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
    10:45:40 INFO     omni:  (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=982afee125270d9628517daec151e02b)
    10:45:40 INFO     omni: [
      {
        "url": "https://boss.utah.geniracks.net/image_metadata.php?uuid=30942743-0102-11e3-970d-000000000000", 
        "urn": "urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub12"
      }
    ]
    10:45:40 INFO     omni:  ------------------------------------------------------------
    10:45:40 INFO     omni:  Completed listimages:
    
      Options as run:
    		aggregate: ['ig-utah']
    		framework: portal
    		project: ln-prj
    
      Args: listimages
    
      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:
    [
      {
        "url": "https://boss.utah.geniracks.net/image_metadata.php?uuid=30942743-0102-11e3-970d-000000000000", 
        "urn": "urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub12"
      }
    ] 
    10:45:40 INFO     omni:  ============================================================
    
  1. An email will be sent to you to let you know that the image cloning has successfully completed and should look as follows:
    Subject: 	UTAHGENIRACK: Finished cloning image
    Date: 	Fri, 9 Aug 2013 08:47:08 -0600 (MDT)
    From: 	XXX
    To: 	XXX
    
    
    Image URN: urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub12
    Image URL: https://boss.utah.geniracks.net/image_metadata.php?uuid=30942743-0102-11e3-970d-000000000000
    
    -----------------------------------------
    About to: '/usr/testbed/bin/sshtb -n -o ConnectTimeout=10 -host pcvm3-8 /usr/local/etc/emulab/reboot_prepare'
    About to: '/usr/testbed/bin/sshtb -n -host pc3 /usr/local/bin/create-image  -S 155.98.34.4 -F ch-geni-net/lncustub12 -s 2 pcvm3-8 -' as uid 0
    pc3: started image capture, waiting up to 72 minutes
    Container is still running. Waiting ...
    mysystem: '/usr/bin/sudo /usr/local/bin/imagezip -s 2 /dev/xen-vg/pcvm3-8 - | /usr/local/etc/emulab/frisupload -S 155.98.34.4 -F ch-geni-net/lncustub12 -P pcvm3-8 -'
    ch-geni-net/lncustub12: upload to 155.98.34.4:15672 from -
    pc3: still waiting ... it has been 2 minutes. Current image size: 543162368 bytes.
    6301613056 input (1966554112 compressed) bytes in 99.169 seconds
    Image size: 584056832 bytes
    18.912MB/second compressed
    Finished in 99.786 seconds
    ch-geni-net/lncustub12: upload completed after 584056832 bytes in 97.800 seconds
    /groups/ch-geni-net/ln-prj/images/lncustub12.ndz: 558 chunks, 2219 regions, 31394 hashregions, 1966554112 data bytes
    1966554112 bytes: inflate cycles: 46629105585
    Swapout signature file created
    Image creation succeeded.
    Image written to /groups/ch-geni-net/ln-prj/images/lncustub12.ndz.
    
    ------------------ Prepare Output ----------------
    
    
  2. Create an RSpec that uses nodes with the Ubuntu12 custom image, node definitions are as follows:
      <node client_id="cust-ub12-1" exclusive="false">
          <sliver_type name="emulab-xen">
          <disk_image name="urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub12" />
          </sliver_type>
          <interface client_id="cust-ub12-1:if0" />
      </node>
    
      <node  client_id="cust-ub12-2" exclusive="false">
          <sliver_type name="emulab-xen">
          <disk_image name="urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub12" />
          </sliver_type>
          <interface client_id="cust-ub12-2:if0" />
      </node>
    
      <link client_id="cust-ub12-1-and-cust-ub12-2">
        <interface_ref client_id="cust-ub12-1:if0"/>
        <interface_ref client_id="cust-ub12-2:if0"/>
        <property source_id="cust-ub12-1:if0" dest_id="cust-ub12-2:if0"/>
        <property source_id="cust-ub12-2:if0" dest_id="cust-ub12-1:if0"/>
      </link>
    </rspec>
    
  1. Create a slice and sliver using the custom Ubuntu 12 image
    $ omni.py createslice lnxenub12cust
    10:55:50 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
    10:55:50 INFO     omni: Using control framework portal
    10: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
    10:55:52 INFO     omni:  ------------------------------------------------------------
    10:55:52 INFO     omni:  Completed createslice:
    
      Options as run:
    		framework: portal
    		project: ln-prj
    
      Args: createslice lnxenub12cust
    
      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
     
    10:55:52 INFO     omni:  ============================================================
    
    $ omni.py createsliver lnxenub12cust -a ig-utah ./insta-xen-cust-ub12.rspec
    10:57:23 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
    10:57:23 INFO     omni: Using control framework portal
    10: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
    10:57:24 INFO     omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnxenub12cust expires on 2013-08-16 14:55:51 UTC
    10: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
    10: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
    10: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
    10:57:37 INFO     omni:  (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=c43151fea83a51083bfd3465ec2c10c1)
    10:57:37 INFO     omni: Got return from CreateSliver for slice lnxenub12cust at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0:
    10:57:37 INFO     omni: <!-- Reserved resources for:
    	Slice: lnxenub12cust
    	at AM:
    	URN: urn:publicid:IDN+utah.geniracks.net+authority+cm
    	URL: https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0
     -->
    10: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">
    
      <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">
          <sliver_type name="emulab-xen">
          <disk_image name="urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub12"/>
          </sliver_type>
          <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>
      <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>
    
      <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">
          <sliver_type name="emulab-xen">
          <disk_image name="urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub12"/>
          </sliver_type>
          <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>
      <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>
    
      <link client_id="cust-ub12-1-and-cust-ub12-2" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24401">
        <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"/>
        <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"/>
        <property source_id="cust-ub12-1:if0" dest_id="cust-ub12-2:if0"/>
        <property source_id="cust-ub12-2:if0" dest_id="cust-ub12-1:if0"/>
      </link>
    </rspec>
    10:57:37 INFO     omni:  ------------------------------------------------------------
    10:57:37 INFO     omni:  Completed createsliver:
    
      Options as run:
    		aggregate: ['ig-utah']
    		framework: portal
    		project: ln-prj
    
      Args: createsliver lnxenub12cust ./insta-xen-cust-ub12.rspec
    
      Result Summary: Got Reserved resources RSpec from utah-geniracks-net 
    10:57:37 INFO     omni:  ============================================================
    
  1. Once the sliver is ready login to host verify that customizations are present and that there is connectivity to the two customized hosts:
$ ssh -p 31546  -i /home/lnevers/.ssh/geni_cert_portal_key lnevers@pc3.utah.geniracks.net
Welcome to Ubuntu 12.04 LTS (GNU/Linux 2.6.38.7-1.0emulab x86_64)
cust-ub12-1:~% ls -l
total 4
-rw-r--r-- 1 lnevers ch--ln-prj 62 Aug  9 08:36 myfile
cust-ub12-1:~% whereis iperf
iperf: /usr/bin/iperf /usr/bin/X11/iperf /usr/share/man/man1/iperf.1.gz
cust-ub12-1:~% 
cust-ub12-1:~% /sbin/ifconfig eth1
eth1      Link encap:Ethernet  HWaddr 02:c0:24:5d:1f:cf  
          inet addr:10.10.1.1  Bcast:10.10.1.255  Mask:255.255.255.0
          inet6 addr: fe80::c0:24ff:fe5d:1fcf/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:19 errors:0 dropped:0 overruns:0 frame:0
          TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1108 (1.1 KB)  TX bytes:1834 (1.8 KB)
          Interrupt:245 

cust-ub12-1:~% ping 10.10.1.2 -c 5
PING 10.10.1.2 (10.10.1.2) 56(84) bytes of data.
64 bytes from 10.10.1.2: icmp_req=1 ttl=64 time=0.320 ms
64 bytes from 10.10.1.2: icmp_req=2 ttl=64 time=0.221 ms
64 bytes from 10.10.1.2: icmp_req=3 ttl=64 time=0.246 ms
64 bytes from 10.10.1.2: icmp_req=4 ttl=64 time=0.245 ms
64 bytes from 10.10.1.2: icmp_req=5 ttl=64 time=0.201 ms

--- 10.10.1.2 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 3997ms
rtt min/avg/max/mdev = 0.201/0.246/0.320/0.043 ms
cust-ub12-1:~% 
  1. Delete the customized image:
    $ omni.py deleteimage -a ig-utah urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub12
    11:14:59 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
    11:14:59 INFO     omni: Using control framework portal
    11:14:59 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
    11:14:59 INFO     omni: DeleteImage using image_urn 'urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub12'
    11:14:59 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
    11:15:02 INFO     omni:  (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=ed3fd4144dacbccbfcacc6c222ca4728)
    11:15:02 INFO     omni: Deleted image urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub12 at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0
    11:15:02 INFO     omni:  ------------------------------------------------------------
    11:15:02 INFO     omni:  Completed deleteimage:
    
      Options as run:
    		aggregate: ['ig-utah']
    		framework: portal
    		project: ln-prj
    
      Args: deleteimage urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub12
    
      Result Summary: Deleted image urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub12 at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0 
    11:15:02 INFO     omni:  ============================================================
    
  1. Verify removal of custom image:
    $ omni.py deleteimage -a ig-utah urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub12
    11:14:59 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
    11:14:59 INFO     omni: Using control framework portal
    11:14:59 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
    11:14:59 INFO     omni: DeleteImage using image_urn 'urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub12'
    11:14:59 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
    11:15:02 INFO     omni:  (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=ed3fd4144dacbccbfcacc6c222ca4728)
    11:15:02 INFO     omni: Deleted image urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub12 at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0
    11:15:02 INFO     omni:  ------------------------------------------------------------
    11:15:02 INFO     omni:  Completed deleteimage:
    
      Options as run:
    		aggregate: ['ig-utah']
    		framework: portal
    		project: ln-prj
    
      Args: deleteimage urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub12
    
      Result Summary: Deleted image urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub12 at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0 
    11:15:02 INFO     omni:  ============================================================
    

UBUNTU11-64-STD Custom Image

  1. Login to the Ubuntu 11 host and customize the image by adding several packages, and creating files in user and root area.
  1. From the sliver manifest determine information that is relevant for the creation of the custom images:
    <node client_id="Ub11-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+24444">
    <sliver_type name="emulab-xen">
    <disk_image name="urn:publicid:IDN+utah.geniracks.net+image+emulab-ops:UBUNTU11-64-STD" os="Linux" version="11.04"/>      
    </sliver_type>
    <rs:vnode xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1" name="pcvm3-12"/>
    <host name="Ub11-1.lnxen-ub11.ch-geni-net.utah.geniracks.net"/>
    <services><login authentication="ssh-keys" hostname="pc3.utah.geniracks.net" port="33338" username="lnevers"/></services></node>
    
  1. Before creating a custom image verify your current list of custom images:
    $ omni.py listimages -a ig-utah
    14:54:01 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
    14:54:01 INFO     omni: Using control framework portal
    14:54:01 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
    14:54:01 INFO     omni: ListImages using creator_urn 'urn:publicid:IDN+ch.geni.net+user+lnevers'
    14:54:01 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
    14:54:03 INFO     omni:  (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=7d406c17a2806528d93f1c7cc0ca6870)
    14:54:03 INFO     omni: [
      {
        "url": "https://boss.utah.geniracks.net/image_metadata.php?uuid=6a60c597-0112-11e3-970d-000000000000", 
        "urn": "urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustfed15"
      }, 
      {
        "url": "https://boss.utah.geniracks.net/image_metadata.php?uuid=010ec825-010a-11e3-970d-000000000000", 
        "urn": "urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub11"
      }
    ]
    14:54:03 INFO     omni:  ------------------------------------------------------------
    14:54:03 INFO     omni:  Completed listimages:
    
      Options as run:
    		aggregate: ['ig-utah']
    		framework: portal
    		project: ln-prj
    
      Args: listimages
    
      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:
    [
      {
        "url": "https://boss.utah.geniracks.net/image_metadata.php?uuid=6a60c597-0112-11e3-970d-000000000000", 
        "urn": "urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustfed15"
      }, 
      {
        "url": "https://boss.utah.geniracks.net/image_metadata.php?uuid=010ec825-010a-11e3-970d-000000000000", 
        "urn": "urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub11"
      }
    ] 
    14:54:03 INFO     omni:  ============================================================
    
    

Two images exist from previous tests.

  1. Now create a custom image:
$ omni.py createimage -a ig-utah lnxen-ub11 lncustub11a -u urn:publicid:IDN+utah.geniracks.net+sliver+24444
15:00:44 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
15:00:44 INFO     omni: Using control framework portal
15:00:44 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
15:00:45 INFO     omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnxen-ub11 expires on 2013-08-16 18:48:37 UTC
15:00:45 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
15:00:48 INFO     omni:  (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=de4c7ae117867162230c8a8145e1f178)
15:00:48 INFO     omni: Snapshotting disk on urn:publicid:IDN+utah.geniracks.net+sliver+24444 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:lncustub11a', 'https://boss.utah.geniracks.net/image_metadata.php?uuid=001f8fdb-0126-11e3-970d-000000000000']
15:00:48 INFO     omni:  ------------------------------------------------------------
15:00:48 INFO     omni:  Completed createimage:

  Options as run:
		aggregate: ['ig-utah']
		framework: portal
		project: ln-prj
		slivers: ['urn:publicid:IDN+utah.geniracks.net+sliver+24444']

  Args: createimage lnxen-ub11 lncustub11a

  Result Summary: Snapshotting disk on urn:publicid:IDN+utah.geniracks.net+sliver+24444 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:lncustub11a', 'https://boss.utah.geniracks.net/image_metadata.php?uuid=001f8fdb-0126-11e3-970d-000000000000'] 
15:00:48 INFO     omni:  ============================================================
  1. Verify that custom image lncustub11a is available via list image command:
    $  omni.py listimages -a ig-utah
    15:01:43 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
    15:01:43 INFO     omni: Using control framework portal
    15:01: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
    15:01:44 INFO     omni: ListImages using creator_urn 'urn:publicid:IDN+ch.geni.net+user+lnevers'
    15:01:44 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
    15:01:48 INFO     omni:  (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=4a0b2cd86d20f71286f653f996b5e35d)
    15:01:48 INFO     omni: [
      {
        "url": "https://boss.utah.geniracks.net/image_metadata.php?uuid=6a60c597-0112-11e3-970d-000000000000", 
        "urn": "urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustfed15"
      }, 
      {
        "url": "https://boss.utah.geniracks.net/image_metadata.php?uuid=010ec825-010a-11e3-970d-000000000000", 
        "urn": "urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub11"
      }, 
      {
        "url": "https://boss.utah.geniracks.net/image_metadata.php?uuid=001f8fdb-0126-11e3-970d-000000000000", 
        "urn": "urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub11a"
      }
    ]
    15:01:48 INFO     omni:  ------------------------------------------------------------
    15:01:48 INFO     omni:  Completed listimages:
    
      Options as run:
    		aggregate: ['ig-utah']
    		framework: portal
    		project: ln-prj
    
      Args: listimages
    
      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:
    [
      {
        "url": "https://boss.utah.geniracks.net/image_metadata.php?uuid=6a60c597-0112-11e3-970d-000000000000", 
        "urn": "urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustfed15"
      }, 
      {
        "url": "https://boss.utah.geniracks.net/image_metadata.php?uuid=010ec825-010a-11e3-970d-000000000000", 
        "urn": "urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub11"
      }, 
      {
        "url": "https://boss.utah.geniracks.net/image_metadata.php?uuid=001f8fdb-0126-11e3-970d-000000000000", 
        "urn": "urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub11a"
      }
    ] 
    15:01:48 INFO     omni:  ============================================================}}}
    
  1. An email will be sent to you to let you know that the image cloning has successfully completed and should look as follows:
    Subject: 	UTAHGENIRACK: Finished cloning image
    Date: 	Fri, 9 Aug 2013 13:02:58 -0600 (MDT)
    From: 	XXX
    To: 	XXX
    
    Image URN: urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub11a
    Image URL: https://boss.utah.geniracks.net/image_metadata.php?uuid=001f8fdb-0126-11e3-970d-000000000000
    
    -----------------------------------------
    About to: '/usr/testbed/bin/sshtb -n -o ConnectTimeout=10 -host pcvm3-12 /usr/local/etc/emulab/reboot_prepare'
    About to: '/usr/testbed/bin/sshtb -n -host pc3 /usr/local/bin/create-image  -S 155.98.34.4 -F ch-geni-net/lncustub11a -s 2 pcvm3-12 -' as uid 0
    pc3: started image capture, waiting up to 72 minutes
    Container is still running. Waiting ...
    mysystem: '/usr/bin/sudo /usr/local/bin/imagezip -s 2 /dev/xen-vg/pcvm3-12 - | /usr/local/etc/emulab/frisupload -S 155.98.34.4 -F ch-geni-net/lncustub11a -P pcvm3-12 -'
    ch-geni-net/lncustub11a: upload to 155.98.34.4:15679 from -
    6301613056 input (1787034624 compressed) bytes in 61.142 seconds
    Image size: 509607936 bytes
    27.874MB/second compressed
    Finished in 61.653 seconds
    ch-geni-net/lncustub11a: upload completed after 509607936 bytes in 59.658 seconds
    /groups/ch-geni-net/ln-prj/images/lncustub11a.ndz: 487 chunks, 753 regions, 27658 hashregions, 1787034624 data bytes
    1787034624 bytes: inflate cycles: 36895574692
    Swapout signature file created
    Image creation succeeded.
    Image written to /groups/ch-geni-net/ln-prj/images/lncustub11a.ndz.
    
  2. Create an RSpec that uses nodes with the Ubuntu11 custom image, node definitions are as follows:
      <node client_id="cust-ub11-1" exclusive="false">
          <sliver_type name="emulab-xen">
          <disk_image name="urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub11a" />
          </sliver_type>
          <interface client_id="cust-ub11-1:if0" />
      </node>
    
      <node  client_id="cust-ub11-2" exclusive="false">
          <sliver_type name="emulab-xen">
          <disk_image name="urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub11a" />
          </sliver_type>
          <interface client_id="cust-ub11-2:if0" />
      </node>
    
  3. Create a slice and sliver using the custom Ubuntu 12 image:
     $  omni.py createslice lnxenub11cust
    15:11:20 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
    15:11:20 INFO     omni: Using control framework portal
    15:11:21 INFO     omni: Created slice with Name lnxenub11cust, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnxenub11cust, Expiration 2013-08-16 19:11:21
    15:11:21 INFO     omni:  ------------------------------------------------------------
    15:11:21 INFO     omni:  Completed createslice:
    
      Options as run:
    		framework: portal
    		project: ln-prj
    
      Args: createslice lnxenub11cust
    
      Result Summary: Created slice with Name lnxenub11cust, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnxenub11cust, Expiration 2013-08-16 19:11:21
     
    15:11:21 INFO     omni:  ============================================================
    $  omni.py createsliver lnxenub11cust -a ig-utah ./insta-xen-cust-ub11.rspec
    15:11:43 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
    15:11:43 INFO     omni: Using control framework portal
    15:11: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
    15:11:44 INFO     omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnxenub11cust expires on 2013-08-16 19:11:21 UTC
    15:11:44 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
    15:11:44 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
    15:11:44 INFO     omni: Creating sliver(s) from rspec file ./insta-xen-cust-ub11.rspec for slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnxenub11cust
    15:11:57 INFO     omni:  (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=70191cebc210517239dd8bd8ddb4a6ed)
    15:11:57 INFO     omni: Got return from CreateSliver for slice lnxenub11cust at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0:
    15:11:57 INFO     omni: <!-- Reserved resources for:
    	Slice: lnxenub11cust
    	at AM:
    	URN: urn:publicid:IDN+utah.geniracks.net+authority+cm
    	URL: https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0
     -->
    15:11:57 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">
    
      <node client_id="cust-ub11-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+24454">
          <sliver_type name="emulab-xen">
          <disk_image name="urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub11a"/>
          </sliver_type>
          <interface client_id="cust-ub11-1:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24458" mac_address="02b002d5eb51"><ip address="10.10.1.1" type="ipv4"/></interface>
      <rs:vnode xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1" name="pcvm3-14"/><host name="cust-ub11-1.lnxenub11cust.ch-geni-net.utah.geniracks.net"/><services><login authentication="ssh-keys" hostname="pc3.utah.geniracks.net" port="33594" username="lnevers"/></services></node>
    
      <node client_id="cust-ub11-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+24455">
          <sliver_type name="emulab-xen">
          <disk_image name="urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub11a"/>
          </sliver_type>
          <interface client_id="cust-ub11-2:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24459" mac_address="02341ae5a9ad"><ip address="10.10.1.2" type="ipv4"/></interface>
      <rs:vnode xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1" name="pcvm3-15"/><host name="cust-ub11-2.lnxenub11cust.ch-geni-net.utah.geniracks.net"/><services><login authentication="ssh-keys" hostname="pc3.utah.geniracks.net" port="33595" username="lnevers"/></services></node>
    
      <link client_id="cust-ub11-1-and-cust-ub12-2" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24457">
        <interface_ref client_id="cust-ub11-1:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24458"/>
        <interface_ref client_id="cust-ub11-2:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24459"/>
        <property source_id="cust-ub11-1:if0" dest_id="cust-ub12-2:if0"/>
        <property source_id="cust-ub11-2:if0" dest_id="cust-ub12-1:if0"/>
      </link>
    </rspec>
    15:11:57 INFO     omni:  ------------------------------------------------------------
    15:11:57 INFO     omni:  Completed createsliver:
    
      Options as run:
    		aggregate: ['ig-utah']
    		framework: portal
    		project: ln-prj
    
      Args: createsliver lnxenub11cust ./insta-xen-cust-ub11.rspec
    
      Result Summary: Got Reserved resources RSpec from utah-geniracks-net 
    15:11:57 INFO     omni:  ============================================================
    
  1. Once the sliver is ready login to host verify that customizations are present and that there is connectivity to the two customized hosts:

XXXXX

  1. Delete the customized image:
  2. Verify removal of custom image:

FBSSD82-STD Custom Image

  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.
  1. From the sliver manifest determine information that is relevant for the creation of the custom images:
    <node client_id="BSD82" 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+24388">
    <sliver_type name="emulab-xen">
    <disk_image name="urn:publicid:IDN+utah.geniracks.net+image+emulab-ops:FBSD82-STD" os="FreeBSD" version="8.2"/>
    </sliver_type>
    <rs:vnode xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1" name="pcvm3-1"/>
    <host name="BSD82.lnxenos.ch-geni-net.utah.geniracks.net"/>
    <services>
    <login authentication="ssh-keys" hostname="pc3.utah.geniracks.net" port="30010" username="lnevers"/></services></node>
    
  2. Before creating a custom image verify your current list of custom images:
  3. Now create a custom image:
  4. Verify that custom image is available via list image command:
  5. An email will be sent to you to let you know that the image cloning has successfully completed and should look as follows:
  6. Create an RSpec that uses nodes with the Ubuntu12 custom image, node definitions are as follows:
  7. Create a slice and sliver using the custom Ubuntu 12 image
  8. Once the sliver is ready login to host verify that customizations are present and that there is connectivity to the two customized hosts:
  9. Delete the customized image:
  10. Verify removal of custom image:

FEDORA15-STD Custom Image

  1. Login to the Fedora 15 host and customize the image by adding several packages, and creating files in user and root area.
  1. From the sliver manifest determine information that is relevant for the creation of the custom images:
<node client_id="FED15" 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+24389">
<sliver_type name="emulab-xen">
<disk_image name="urn:publicid:IDN+utah.geniracks.net+image+emulab-ops:FEDORA15-STD" os="Fedora" version="15"/>
</sliver_type>
<rs:vnode xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1" name="pcvm3-6"/>
<host name="FED15.lnxenos.ch-geni-net.utah.geniracks.net"/>
<services>
<login authentication="ssh-keys" hostname="pc3.utah.geniracks.net" port="30011" username="lnevers"/></services></node>
  1. Before creating a custom image verify your current list of custom images:
    $ omni.py listimages -a ig-utah
    12:38:53 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
    12:38:53 INFO     omni: Using control framework portal
    12:38:53 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
    12:38:53 INFO     omni: ListImages using creator_urn 'urn:publicid:IDN+ch.geni.net+user+lnevers'
    12:38:53 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
    12:38:55 INFO     omni:  (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=ebf61ff46d18312879c0b36349d523d9)
    12:38:55 INFO     omni: [
      {
        "url": "https://boss.utah.geniracks.net/image_metadata.php?uuid=010ec825-010a-11e3-970d-000000000000", 
        "urn": "urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub11"
      }
    ]
    12:38:55 INFO     omni:  ------------------------------------------------------------
    12:38:55 INFO     omni:  Completed listimages:
    
      Options as run:
    		aggregate: ['ig-utah']
    		framework: portal
    		project: ln-prj
    
      Args: listimages
    
      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:
    [
      {
        "url": "https://boss.utah.geniracks.net/image_metadata.php?uuid=010ec825-010a-11e3-970d-000000000000", 
        "urn": "urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub11"
      }
    ] 
    12:38:55 INFO     omni:  ============================================================
    

An image exists from a previous test.

  1. Now create a custom image:
    $  omni.py createimage -a ig-utah lnxenos lncustfed15 -u urn:publicid:IDN+utah.geniracks.net+sliver+24388
    12:40:33 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
    12:40:33 INFO     omni: Using control framework portal
    12:40:33 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
    12:40:34 INFO     omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnxenos expires on 2013-08-14 13:19:02 UTC
    12:40:34 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
    12:40:37 INFO     omni:  (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=bf8d14491b1d1c626a51b8a2580159e1)
    12:40:37 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:lncustfed15', 'https://boss.utah.geniracks.net/image_metadata.php?uuid=6a60c597-0112-11e3-970d-000000000000']
    12:40:37 INFO     omni:  ------------------------------------------------------------
    12:40:37 INFO     omni:  Completed createimage:
    
      Options as run:
    		aggregate: ['ig-utah']
    		framework: portal
    		project: ln-prj
    		slivers: ['urn:publicid:IDN+utah.geniracks.net+sliver+24388']
    
      Args: createimage lnxenos lncustfed15
    
      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:lncustfed15', 'https://boss.utah.geniracks.net/image_metadata.php?uuid=6a60c597-0112-11e3-970d-000000000000'] 
    12:40:37 INFO     omni:  ============================================================
    
    
  1. Verify that custom image is available via list image command:
    $  omni.py listimages -a ig-utah
    12:41:17 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
    12:41:17 INFO     omni: Using control framework portal
    12:41: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
    12:41:18 INFO     omni: ListImages using creator_urn 'urn:publicid:IDN+ch.geni.net+user+lnevers'
    12:41: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
    12:41:20 INFO     omni:  (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=f6fdbe81033902b9daaefc45508e1f16)
    12:41:20 INFO     omni: [
      {
        "url": "https://boss.utah.geniracks.net/image_metadata.php?uuid=6a60c597-0112-11e3-970d-000000000000", 
        "urn": "urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustfed15"
      }, 
      {
        "url": "https://boss.utah.geniracks.net/image_metadata.php?uuid=010ec825-010a-11e3-970d-000000000000", 
        "urn": "urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub11"
      }
    ]
    12:41:20 INFO     omni:  ------------------------------------------------------------
    12:41:20 INFO     omni:  Completed listimages:
    
      Options as run:
    		aggregate: ['ig-utah']
    		framework: portal
    		project: ln-prj
    
      Args: listimages
    
      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:
    [
      {
        "url": "https://boss.utah.geniracks.net/image_metadata.php?uuid=6a60c597-0112-11e3-970d-000000000000", 
        "urn": "urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustfed15"
      }, 
      {
        "url": "https://boss.utah.geniracks.net/image_metadata.php?uuid=010ec825-010a-11e3-970d-000000000000", 
        "urn": "urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub11"
      }
    ] 
    12:41:20 INFO     omni:  ============================================================
    
  2. An email will be sent to you to let you know that the image cloning has successfully completed and should look as follows:
  1. Create an RSpec that uses nodes with the Ubuntu12 custom image, node definitions are as follows:
  2. Create a slice and sliver using the custom Ubuntu 12 image
  3. Once the sliver is ready login to host verify that customizations are present and that there is connectivity to the two customized hosts:
  4. Delete the customized image:
  5. Verify removal of custom image: