Changes between Version 16 and Version 17 of GENIRacksHome/InstageniRacks/XenTestStatus/IG-XN-2


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

--

Legend:

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

    v16 v17  
    3813812. From the sliver manifest determine information that is relevant for the creation of the custom images:
    382382{{{
    383 <node client_id="Ub11" exclusive="false" component_id="urn:publicid:IDN+utah.geniracks.net+node+pc3"
     383<node client_id="Ub11-1" exclusive="false" component_id="urn:publicid:IDN+utah.geniracks.net+node+pc3"
    384384component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm"
    385 sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24390">
     385sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24444">
    386386<sliver_type name="emulab-xen">
    387387<disk_image name="urn:publicid:IDN+utah.geniracks.net+image+emulab-ops:UBUNTU11-64-STD" os="Linux" version="11.04"/>     
    388388</sliver_type>
    389 <rs:vnode xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1" name="pcvm3-7"/>
    390 <host name="Ub11.lnxenos.ch-geni-net.utah.geniracks.net"/>
    391 <services>
    392 <login authentication="ssh-keys" hostname="pc3.utah.geniracks.net" port="30012" username="lnevers"/></services></node>
     389<rs:vnode xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1" name="pcvm3-12"/>
     390<host name="Ub11-1.lnxen-ub11.ch-geni-net.utah.geniracks.net"/>
     391<services><login authentication="ssh-keys" hostname="pc3.utah.geniracks.net" port="33338" username="lnevers"/></services></node>
    393392}}}
    394393
     
    396395{{{
    397396$ omni.py listimages -a ig-utah
    398 11:39:03 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
    399 11:39:03 INFO     omni: Using control framework portal
    400 11: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
    401 11:39:03 INFO     omni: ListImages using creator_urn 'urn:publicid:IDN+ch.geni.net+user+lnevers'
    402 11: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
    403 11:39:05 INFO     omni:  (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=ae8e02d543d45fa5aff495e9c9223764)
    404 11:39:05 INFO     omni: []
    405 11:39:05 INFO     omni:  ------------------------------------------------------------
    406 11: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 []
    417 11:39:05 INFO     omni:  ============================================================
    418 }}}
    419 No images exist.
    420 
    421 4. Now create a custom image:
    422 {{{
    423 $ omni.py createimage -a ig-utah lnxenos lncustub11 -u urn:publicid:IDN+utah.geniracks.net+sliver+24390
    424 11:40:17 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
    425 11:40:17 INFO     omni: Using control framework portal
    426 11: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
    427 11:40:18 INFO     omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnxenos expires on 2013-08-14 13:19:02 UTC
    428 11: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
    429 11:40:23 INFO     omni:  (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=31fb599054e6c6e94b5c0b0ff376bf83)
    430 11: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']
    431 11:40:23 INFO     omni:  ------------------------------------------------------------
    432 11: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']
    443 11:40:23 INFO     omni:  ============================================================
    444 }}}
    445 
    446 5. Verify that custom image is available via list image command:
    447 {{{
    448 $  omni.py listimages -a ig-utah
    449 11:42:07 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
    450 11:42:07 INFO     omni: Using control framework portal
    451 11: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
    452 11:42:07 INFO     omni: ListImages using creator_urn 'urn:publicid:IDN+ch.geni.net+user+lnevers'
    453 11: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
    454 11:42:09 INFO     omni:  (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=7b8d2a9a1c79fbc81333baefda56b17d)
    455 11:42:09 INFO     omni: [
     39714:54:01 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
     39814:54:01 INFO     omni: Using control framework portal
     39914: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
     40014:54:01 INFO     omni: ListImages using creator_urn 'urn:publicid:IDN+ch.geni.net+user+lnevers'
     40114: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
     40214:54:03 INFO     omni:  (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=7d406c17a2806528d93f1c7cc0ca6870)
     40314:54:03 INFO     omni: [
     404  {
     405    "url": "https://boss.utah.geniracks.net/image_metadata.php?uuid=6a60c597-0112-11e3-970d-000000000000",
     406    "urn": "urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustfed15"
     407  },
    456408  {
    457409    "url": "https://boss.utah.geniracks.net/image_metadata.php?uuid=010ec825-010a-11e3-970d-000000000000",
     
    459411  }
    460412]
    461 11:42:09 INFO     omni:  ------------------------------------------------------------
    462 11:42:09 INFO     omni:  Completed listimages:
     41314:54:03 INFO     omni:  ------------------------------------------------------------
     41414:54:03 INFO     omni:  Completed listimages:
    463415
    464416  Options as run:
     
    472424[
    473425  {
     426    "url": "https://boss.utah.geniracks.net/image_metadata.php?uuid=6a60c597-0112-11e3-970d-000000000000",
     427    "urn": "urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustfed15"
     428  },
     429  {
    474430    "url": "https://boss.utah.geniracks.net/image_metadata.php?uuid=010ec825-010a-11e3-970d-000000000000",
    475431    "urn": "urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub11"
    476432  }
    477433]
    478 11:42:09 INFO     omni:  ============================================================
    479 }}}
     43414:54:03 INFO     omni:  ============================================================
     435
     436}}}
     437Two images exist from previous tests.
     438
     4394. Now create a custom image:
     440{{{
     441$ omni.py createimage -a ig-utah lnxen-ub11 lncustub11a -u urn:publicid:IDN+utah.geniracks.net+sliver+24444
     44215:00:44 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
     44315:00:44 INFO     omni: Using control framework portal
     44415: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
     44515: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
     44615: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
     44715:00:48 INFO     omni:  (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=de4c7ae117867162230c8a8145e1f178)
     44815: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']
     44915:00:48 INFO     omni:  ------------------------------------------------------------
     45015:00:48 INFO     omni:  Completed createimage:
     451
     452  Options as run:
     453                aggregate: ['ig-utah']
     454                framework: portal
     455                project: ln-prj
     456                slivers: ['urn:publicid:IDN+utah.geniracks.net+sliver+24444']
     457
     458  Args: createimage lnxen-ub11 lncustub11a
     459
     460  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']
     46115:00:48 INFO     omni:  ============================================================
     462
     463}}}
     464
     4655. Verify that custom image ''lncustub11a'' is available via list image command:
     466{{{
     467$  omni.py listimages -a ig-utah
     46815:01:43 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
     46915:01:43 INFO     omni: Using control framework portal
     47015: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
     47115:01:44 INFO     omni: ListImages using creator_urn 'urn:publicid:IDN+ch.geni.net+user+lnevers'
     47215: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
     47315:01:48 INFO     omni:  (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=4a0b2cd86d20f71286f653f996b5e35d)
     47415:01:48 INFO     omni: [
     475  {
     476    "url": "https://boss.utah.geniracks.net/image_metadata.php?uuid=6a60c597-0112-11e3-970d-000000000000",
     477    "urn": "urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustfed15"
     478  },
     479  {
     480    "url": "https://boss.utah.geniracks.net/image_metadata.php?uuid=010ec825-010a-11e3-970d-000000000000",
     481    "urn": "urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub11"
     482  },
     483  {
     484    "url": "https://boss.utah.geniracks.net/image_metadata.php?uuid=001f8fdb-0126-11e3-970d-000000000000",
     485    "urn": "urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub11a"
     486  }
     487]
     48815:01:48 INFO     omni:  ------------------------------------------------------------
     48915:01:48 INFO     omni:  Completed listimages:
     490
     491  Options as run:
     492                aggregate: ['ig-utah']
     493                framework: portal
     494                project: ln-prj
     495
     496  Args: listimages
     497
     498  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:
     499[
     500  {
     501    "url": "https://boss.utah.geniracks.net/image_metadata.php?uuid=6a60c597-0112-11e3-970d-000000000000",
     502    "urn": "urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustfed15"
     503  },
     504  {
     505    "url": "https://boss.utah.geniracks.net/image_metadata.php?uuid=010ec825-010a-11e3-970d-000000000000",
     506    "urn": "urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub11"
     507  },
     508  {
     509    "url": "https://boss.utah.geniracks.net/image_metadata.php?uuid=001f8fdb-0126-11e3-970d-000000000000",
     510    "urn": "urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub11a"
     511  }
     512]
     51315:01:48 INFO     omni:  ============================================================}}}
    480514
    4815156. An email will be sent to you to let you know that the image cloning has successfully completed and should look as follows:
     
    483517
    484518}}}
    485 7. Create an RSpec that uses nodes with the Ubuntu12 custom image, node definitions are as follows:
     5197. Create an RSpec that uses nodes with the Ubuntu11 custom image, node definitions are as follows:
    486520{{{
    487521  <node client_id="cust-ub11-1" exclusive="false">
    488522      <sliver_type name="emulab-xen">
    489       <disk_image name="urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub11" />
     523      <disk_image name="urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub11a" />
    490524      </sliver_type>
    491525      <interface client_id="cust-ub11-1:if0" />
     
    494528  <node  client_id="cust-ub11-2" exclusive="false">
    495529      <sliver_type name="emulab-xen">
    496       <disk_image name="urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub11" />
     530      <disk_image name="urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub11a" />
    497531      </sliver_type>
    498532      <interface client_id="cust-ub11-2:if0" />
    499533  </node>
    500534}}}
    501 8. Create a slice and sliver using the custom Ubuntu 12 image 
     5358. Create a slice and sliver using the custom Ubuntu 12 image:
     536{{{
     537 $  omni.py createslice lnxenub11cust
     53815:11:20 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
     53915:11:20 INFO     omni: Using control framework portal
     54015: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
     54115:11:21 INFO     omni:  ------------------------------------------------------------
     54215:11:21 INFO     omni:  Completed createslice:
     543
     544  Options as run:
     545                framework: portal
     546                project: ln-prj
     547
     548  Args: createslice lnxenub11cust
     549
     550  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
     551 
     55215:11:21 INFO     omni:  ============================================================
     553$  omni.py createsliver lnxenub11cust -a ig-utah ./insta-xen-cust-ub11.rspec
     55415:11:43 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
     55515:11:43 INFO     omni: Using control framework portal
     55615: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
     55715:11:44 INFO     omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnxenub11cust expires on 2013-08-16 19:11:21 UTC
     55815: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
     55915: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
     56015: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
     56115:11:57 INFO     omni:  (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=70191cebc210517239dd8bd8ddb4a6ed)
     56215:11:57 INFO     omni: Got return from CreateSliver for slice lnxenub11cust at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0:
     56315:11:57 INFO     omni: <!-- Reserved resources for:
     564        Slice: lnxenub11cust
     565        at AM:
     566        URN: urn:publicid:IDN+utah.geniracks.net+authority+cm
     567        URL: https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0
     568 -->
     56915: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">
     570
     571  <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">
     572      <sliver_type name="emulab-xen">
     573      <disk_image name="urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub11a"/>
     574      </sliver_type>
     575      <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>
     576  <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>
     577
     578  <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">
     579      <sliver_type name="emulab-xen">
     580      <disk_image name="urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustub11a"/>
     581      </sliver_type>
     582      <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>
     583  <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>
     584
     585  <link client_id="cust-ub11-1-and-cust-ub12-2" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24457">
     586    <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"/>
     587    <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"/>
     588    <property source_id="cust-ub11-1:if0" dest_id="cust-ub12-2:if0"/>
     589    <property source_id="cust-ub11-2:if0" dest_id="cust-ub12-1:if0"/>
     590  </link>
     591</rspec>
     59215:11:57 INFO     omni:  ------------------------------------------------------------
     59315:11:57 INFO     omni:  Completed createsliver:
     594
     595  Options as run:
     596                aggregate: ['ig-utah']
     597                framework: portal
     598                project: ln-prj
     599
     600  Args: createsliver lnxenub11cust ./insta-xen-cust-ub11.rspec
     601
     602  Result Summary: Got Reserved resources RSpec from utah-geniracks-net
     60315:11:57 INFO     omni:  ============================================================
     604}}}
     605
    5026069. Once the sliver is ready login to host verify that customizations are present and that there is connectivity to the two customized hosts:
     607XXXXX
    50360810. Delete the customized image:
    50460911. Verify removal of custom image: