| 1 | [[PageOutline]] |
| 2 | |
| 3 | = GEMINI Testing executed on 9/12/2012 = |
| 4 | |
| 5 | [[BR]] |
| 6 | [wiki:GEMINIAcceptanceTests/TestStatus Status of All Test Runs] |
| 7 | [[BR]] |
| 8 | [[BR]] |
| 9 | [[BR]] |
| 10 | |
| 11 | == What was tested == |
| 12 | |
| 13 | Today I tested the global node active measurement install script provided by Matt Jaffee using an InstaGENI slice. |
| 14 | |
| 15 | == Test Status == |
| 16 | || '''Step''' || '''Status''' || '''Open Tickets''' || |
| 17 | || 1. [wiki:GEMINIAcceptanceTests/GEMINITest9.12.2012#a1.Establishtestexperimentenvironment Establish test/experiment environment] || [[Color(green, Pass)]] || || |
| 18 | || 2. [wiki:GEMINIAcceptanceTests/GEMINITest9.12.2012#a2.ObtainsliceofGENIresources Obtain slice of GENI resources] || [[Color(green, Pass)]] || || |
| 19 | || 3. [wiki:GEMINIAcceptanceTests/GEMINITest9.12.2012#a3.InstallandconfigureGEMINIIMtools Install and configure GEMINI I&M tools] || [[Color(red, Fail)]] || || |
| 20 | || 4. [wiki:GEMINIAcceptanceTests/GEMINITest9.12.2012#a4.Releaseresourcesandcleanup Release resources, and cleanup] || [[Color(green, Pass)]] || || |
| 21 | |
| 22 | |
| 23 | == Test Details == |
| 24 | |
| 25 | === 1. Establish test/experiment environment === |
| 26 | |
| 27 | |
| 28 | ==== User Workspace ==== |
| 29 | * Using the GEC14 Tutorial VM |
| 30 | * Inputs: |
| 31 | * GENI certificate |
| 32 | * Two formats: PEM and PKC12 |
| 33 | * installed in $HOME/.ssl |
| 34 | * location of PEM file configured in omni_config |
| 35 | * stripped the passphrase for automation |
| 36 | * created the password file to be used by instrumentize.py |
| 37 | * SSH key pair |
| 38 | * installed in $HOME/.ssh |
| 39 | * location configured in omni_config |
| 40 | * key added to ssh-agent |
| 41 | * All credentials configured using credconfig.sh script |
| 42 | * GENI pkc12 certificate installed in the Firefox browser |
| 43 | * [http://groups.geni.net/geni/wiki/GEMINIFirefoxCertInstall] |
| 44 | * Outputs: |
| 45 | * omni.py ready to use |
| 46 | * ready to log into nodes in the slice |
| 47 | |
| 48 | ==== UNIS server ==== |
| 49 | * https://unis.incntre.iu.edu:8012/perfSONAR_PS/services/unis |
| 50 | |
| 51 | ==== LAMP CA ==== |
| 52 | * https://unis.incntre.iu.edu/protogeni/xmlrpc/lampca |
| 53 | |
| 54 | ==== Git Repository ==== |
| 55 | * https://github.com/GENI-GEMINI/GEMINI/downloads |
| 56 | * Matt updated gemini-active-gn-fedora-20120910test.tar.gz |
| 57 | |
| 58 | ==== Package server ==== |
| 59 | * gemini.netlab.uky.edu |
| 60 | * Installed Matt's GN-active_pkg_install-fedora.sh script (from email) at /var/www/GEMINI/0.1/scripts/Fedora_15/x86_64/GN-active_pkg_install.sh |
| 61 | |
| 62 | === 2. Obtain slice of GENI resources === |
| 63 | * Used omni to create the slice and the sliver on InstaGENI aggregate |
| 64 | * Used [https://github.com/GENI-GEMINI/UW/blob/master/insta.rspec insta.rspec] |
| 65 | * Had to retry the sliver creation several times. Sometimes one of the nodes would fail. |
| 66 | |
| 67 | * Made sure I could ssh in to all of the nodes without a password |
| 68 | * Sometimes one of the nodes would fail to allow logging in with my key. Had to recreate the sliver when this happened. |
| 69 | |
| 70 | === 3. Install and configure GEMINI I&M tools === |
| 71 | |
| 72 | * Ran instrumentize.py to install and configure GEMINI tools on the nodes in the slice |
| 73 | {{{ |
| 74 | ./instrumentize.py -f ~/.ssl/johrenpgeni.pem -n johGEM201209121444 |
| 75 | }}} |
| 76 | |
| 77 | |
| 78 | * Ran into a few issues: |
| 79 | |
| 80 | 1. Had to run dos2unix on the script to eliminate carriage returns (artifact of email client?) |
| 81 | 2. /usr/sbin is not in the default path so cannot find adduser (line 82 of GN-active_pkg_install.sh) |
| 82 | 3. adduser arguments are not the same on Fedora (group must be specified differently) |
| 83 | (nobody user already exists so probably just want to add group perfsonar?) |
| 84 | 4. httpd fails to start in apache2-fed.sh. Error: |
| 85 | {{{ |
| 86 | Starting httpd: [Wed Sep 12 13:57:36 2012] [warn] _default_ VirtualHost overlap on port 443, the first has precedence |
| 87 | [FAILED] |
| 88 | }}} |
| 89 | 5. perfSONAR_PS-Toolkit-fed.sh attempts to restart web server on line 48 with "/etc/init.d/apache2 restart" rather than "/etc/init.d/httpd restart" |
| 90 | |
| 91 | |
| 92 | === 4. Release resources, and cleanup === |
| 93 | * Used omni to delete the sliver |
| 94 | {{{ |
| 95 | geniuser@UserWorkspace:~/Tutorials/GEMINI/common$ omni.py -a insta-utah deletesliver johGEM1208221147 -V 2 -t GENI 3 |
| 96 | |
| 97 | }}} |
| 98 | |
| 99 | * Inputs: |
| 100 | * slice name |
| 101 | * Outputs: |
| 102 | * sliver has been deleted |