Changes between Version 21 and Version 22 of GENIRacksHome/InstageniRacks/XenTestStatus/IG-XN-2


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

--

Legend:

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

    v21 v22  
    982982{{{
    983983
     984Image URN: urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustfed15
     985Image URL: https://boss.utah.geniracks.net/image_metadata.php?uuid=46c0665a-0131-11e3-970d-000000000000
     986
     987-----------------------------------------
     988About to: '/usr/testbed/bin/sshtb -n -o ConnectTimeout=10 -host pcvm3-6 /usr/local/etc/emulab/reboot_prepare'
     989Emulab scheduling tbprepare to run via systemd.
     990About to: '/usr/testbed/bin/sshtb -n -host pc3 /usr/local/bin/create-image  -S 155.98.34.4 -F ch-geni-net/lncustfed15 -s 2 pcvm3-6 -' as uid 0
     991pc3: started image capture, waiting up to 72 minutes
     992Container is still running. Waiting ...
     993Container is still running. Waiting ...
     994Container is still running. Waiting ...
     995Container is still running. Waiting ...
     996mysystem: '/usr/bin/sudo /usr/local/bin/imagezip -s 2 /dev/xen-vg/pcvm3-6 - | /usr/local/etc/emulab/frisupload -S 155.98.34.4 -F ch-geni-net/lncustfed15 -P pcvm3-6 -'
     997ch-geni-net/lncustfed15: upload to 155.98.34.4:15681 from -
     9986301613056 input (1413352448 compressed) bytes in 55.344 seconds
     999Image size: 406847488 bytes
     100024.355MB/second compressed
     1001Finished in 55.601 seconds
     1002ch-geni-net/lncustfed15: upload completed after 406847488 bytes in 53.611 seconds
     1003/groups/ch-geni-net/ln-prj/images/lncustfed15.ndz: 389 chunks, 1025 regions, 22146 hashregions, 1413352448 data bytes
     10041413352448 bytes: inflate cycles: 29289672273
     1005Swapout signature file created
     1006Image creation succeeded.
     1007Image written to /groups/ch-geni-net/ln-prj/images/lncustfed15.ndz.
     1008
     1009
     1010------------------ Prepare Output ----------------
     1011Cleaning node; removing configuration files
     1012Running /usr/local/etc/emulab/rc/rc.config to clean up ...
     1013Checking manifest...
     1014Running 'diff -q -u /etc/emulab/gshadow /etc/emulab/gshadow.new'
     1015Running 'diff -q -u /etc/emulab/shadow /etc/emulab/shadow.new'
     1016Running 'diff -u /etc/emulab/group /etc/emulab/group.new'
     1017Running 'diff -u /etc/emulab/passwd /etc/emulab/passwd.new'
     1018Resetting passwd and group files
     1019Removing old DB files ...
     1020Running cron jobs (might see failed attempts to mail output).
     1021Anacron started on 2013-08-09
     1022Will run job `cron.daily'
     1023Will run job `cron.weekly'
     1024Will run job `cron.monthly'
     1025Jobs will be executed sequentially
     1026Job `cron.daily' started
     1027Job `cron.daily' terminated (mailing output)
     1028anacron: Can't find sendmail at /usr/sbin/sendmail, not mailing output
     1029Job `cron.weekly' started
     1030Job `cron.weekly' terminated
     1031Job `cron.monthly' started
     1032Job `cron.monthly' terminated
     1033Normal exit (3 jobs run)
     1034Removing old /etc/dumpdates file ...
     1035Creating stub /etc/dumpdates file ...
     1036Cleaning logfiles ...
     1037Removing accounting files ...
     1038Removing root's history ...
     1039Cleaning mail spool files ...
     1040Resetting NTP drift ...
     1041Clearing out /var/run ...
     1042Clearing out /tmp ...
     1043Cleaning out /local/logs ...
     1044Removing SFS files ...
     1045Clearing out directories in /var ...
     1046Cleaning up /var/tmp ....
     1047Clearing out directories in /var/emulab ...
     1048Clearing out old Emulab scripts and binaries in /usr/local/etc/emulab ...
     1049Removing backup files in /etc
     1050Removing assorted unix-domain socket files
     1051prepare ran successfully!
     1052
     1053
    9841054}}}
    98510557. Create an RSpec that uses nodes with the Fedora 15 custom image, node definitions are as follows:
    986 
    987 xxxxx
    988 
    989 8. Create a slice and sliver using the custom Fedora 15 image 
     1056{{{
     1057 <node client_id="cust-fed15-1" exclusive="false">
     1058      <sliver_type name="emulab-xen">
     1059      <disk_image name="urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustfed15" />
     1060      </sliver_type>
     1061      <interface client_id="cust-fed15-1:if0" />
     1062  </node>
     1063
     1064  <node  client_id="cust-fed15-2" exclusive="false">
     1065      <sliver_type name="emulab-xen">
     1066      <disk_image name="urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustfed15" />
     1067      </sliver_type>
     1068      <interface client_id="cust-fed15-2:if0" />
     1069  </node>
     1070
     1071}}}
     10728. Create a slice and sliver using the custom Fedora 15 image:
     1073{{{
     1074$ omni.py createslice lnxenfed15cust
     107516:27:43 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
     107616:27:43 INFO     omni: Using control framework portal
     107716:27:45 INFO     omni: Created slice with Name lnxenfed15cust, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnxenfed15cust, Expiration 2013-08-16 20:27:44
     107816:27:45 INFO     omni:  ------------------------------------------------------------
     107916:27:45 INFO     omni:  Completed createslice:
     1080
     1081  Options as run:
     1082                framework: portal
     1083                project: ln-prj
     1084
     1085  Args: createslice lnxenfed15cust
     1086
     1087  Result Summary: Created slice with Name lnxenfed15cust, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnxenfed15cust, Expiration 2013-08-16 20:27:44
     1088 
     108916:27:45 INFO     omni:  ============================================================
     1090$  omni.py createsliver lnxenfed15cust -a ig-utah ./insta-xen-cust-fed15.rspec
     109116:28:29 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
     109216:28:29 INFO     omni: Using control framework portal
     109316:28:29 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
     109416:28:30 INFO     omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnxenfed15cust expires on 2013-08-16 20:27:44 UTC
     109516:28:30 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
     109616:28:30 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
     109716:28:30 INFO     omni: Creating sliver(s) from rspec file ./insta-xen-cust-fed15.rspec for slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnxenfed15cust
     109816:28:44 INFO     omni:  (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=37f530ef68811c52322c3ee9d0ab9a5b)
     109916:28:44 INFO     omni: Got return from CreateSliver for slice lnxenfed15cust at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0:
     110016:28:44 INFO     omni: <!-- Reserved resources for:
     1101        Slice: lnxenfed15cust
     1102        at AM:
     1103        URN: urn:publicid:IDN+utah.geniracks.net+authority+cm
     1104        URL: https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0
     1105 -->
     110616:28:44 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">
     1107
     1108  <node client_id="cust-fed15-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+24472">
     1109      <sliver_type name="emulab-xen">
     1110      <disk_image name="urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustfed15"/>
     1111      </sliver_type>
     1112      <interface client_id="cust-fed15-1:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24476" mac_address="02337815eafb"><ip address="10.10.1.1" type="ipv4"/></interface>
     1113  <rs:vnode xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1" name="pcvm3-16"/><host name="cust-fed15-1.lnxenfed15cust.ch-geni-net.utah.geniracks.net"/><services><login authentication="ssh-keys" hostname="pc3.utah.geniracks.net" port="33082" username="lnevers"/></services></node>
     1114
     1115  <node client_id="cust-fed15-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+24473">
     1116      <sliver_type name="emulab-xen">
     1117      <disk_image name="urn:publicid:IDN+utah.geniracks.net+image+ch-geni-net:lncustfed15"/>
     1118      </sliver_type>
     1119      <interface client_id="cust-fed15-2:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24477" mac_address="02bc6c2a365c"><ip address="10.10.1.2" type="ipv4"/></interface>
     1120  <rs:vnode xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1" name="pcvm3-17"/><host name="cust-fed15-2.lnxenfed15cust.ch-geni-net.utah.geniracks.net"/><services><login authentication="ssh-keys" hostname="pc3.utah.geniracks.net" port="33083" username="lnevers"/></services></node>
     1121
     1122  <link client_id="cust-fed15-1-and-cust-ub12-2" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24475">
     1123    <interface_ref client_id="cust-fed15-1:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24476"/>
     1124    <interface_ref client_id="cust-fed15-2:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24477"/>
     1125    <property source_id="cust-fed15-1:if0" dest_id="cust-ub12-2:if0"/>
     1126    <property source_id="cust-fed15-2:if0" dest_id="cust-ub12-1:if0"/>
     1127  </link>
     1128</rspec>
     112916:28:44 INFO     omni:  ------------------------------------------------------------
     113016:28:44 INFO     omni:  Completed createsliver:
     1131
     1132  Options as run:
     1133                aggregate: ['ig-utah']
     1134                framework: portal
     1135                project: ln-prj
     1136
     1137  Args: createsliver lnxenfed15cust ./insta-xen-cust-fed15.rspec
     1138
     1139  Result Summary: Got Reserved resources RSpec from utah-geniracks-net
     114016:28:44 INFO     omni:  ============================================================
     1141}}}
     1142 
    99011439. Once the sliver is ready login to host verify that customizations are present and that there is connectivity to the two customized hosts:
     1144{{{
     1145
     1146}}}
    991114710. Delete the customized image:
    992114811. Verify removal of custom image: