Changes between Initial Version and Version 1 of GENIRacksHome/OpenGENIRacks/AcceptanceTestStatusApr2014/OG-ADM-5


Ignore:
Timestamp:
05/23/14 11:33:32 (10 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIRacksHome/OpenGENIRacks/AcceptanceTestStatusApr2014/OG-ADM-5

    v1 v1  
     1= GR-ADM-5: Software Update Test =
     2
     3
     4This page captures status for the test case GR-ADM-5.For additional information see the [wiki:GENIRacksHome/GRAMRacks/AcceptanceTestStatusApr2014 Acceptance Test Status - April 2014] page overall status, or the [wiki:GENIRacksHome/AcceptanceTests/GRAMAcceptanceTestsPlan GRAM Acceptance Test Plan] for details about the planned evaluation.
     5
     6
     7|| '''Step''' || '''State'''                                  ||''' Notes '''            || '''Tickets'''  ||
     8|| Step 1     || [[span(Pass, style=background-color: green )]] ||              ||                 ||
     9|| Step 2     || [[span(Pass, style=background-color: green )]]  ||                         ||                ||
     10|| Step 3     || [[span(Pass, style=background-color: green )]]||                         ||                ||
     11|| Step 4     || [[span(Pass, style=background-color: green )]]||                         ||                ||               
     12|| Step 5     || [[span(Pass, style=background-color: green )]]||                         ||                ||               
     13
     14[[BR]]
     15|| '''State Legend'''                                   || '''Description'''                                                    ||
     16||[[span(Pass, style=background-color: green )]]        || Test completed and met all criteria                                  ||
     17||[[span(Pass: most criteria, style=background-color: #98FB98)]]|| Test completed and met most criteria. Exceptions documented  ||
     18||[[span(Fail, style=background-color: red)]]           || Test completed and failed to meet criteria.                          ||
     19||[[span(Complete, style=background-color: yellow)]]    || Test completed but will require re-execution due to expected changes ||
     20||[[span(Blocked, style=background-color: orange)]]     || Blocked by ticketed issue(s).                                        ||
     21||[[span(In Progress, style=background-color: #63B8FF)]]|| Currently under test.                                                ||
     22||[[span(Not Planned)]]                                 || This area is not part of initial evaluation                          ||
     23
     24= Test Plan Steps =
     25
     26
     27== Step 1. Review relevant rack documentation about software upgrades ==
     28
     29Using instructions found at https://superior.bbn.com/trac/bbn-rack/wiki/GramUpdateGuide created both an install and an upgrade package. Following is a capture of the update package creation:
     30
     31{{{
     32lnevers@scorpia:~/gram/pkg$ ./create_gram_packages.py  --is_update=True --version=3.33 --output_directory=/home/lnevers --gram_root=/home/lnevers/ --gcf_root=/home/lnevers/gcf-2.4
     33INFO:root:Issuing command python createupdatedpkg.py --gcf_root=/home/lnevers/gcf-2.4 --version=3.33 --gram_root=/home/lnevers/ --deb_filename=/home/lnevers/gram_update.deb
     34INFO:root:Issuing command rm -rf /tmp/gram_dpkg
     35INFO:root:Issuing command rm -rf /home/lnevers/gram_update.deb
     36INFO:root:Issuing command mkdir -p /tmp/gram_dpkg
     37INFO:root:Issuing command mkdir -p /tmp/gram_dpkg/opt
     38INFO:root:Issuing command mkdir -p /tmp/gram_dpkg/etc
     39INFO:root:Issuing command mkdir -p /tmp/gram_dpkg/home/gram
     40INFO:root:Issuing command mkdir -p /tmp/gram_dpkg/home/gram/.gcf
     41INFO:root:Issuing command cp -Rf /home/lnevers//gram /tmp/gram_dpkg/home/gram
     42INFO:root:Issuing command cp -Rf /home/lnevers//gram/gcf_config /tmp/gram_dpkg/home/gram/.gcf
     43INFO:root:Issuing command cp -Rf /home/lnevers/gcf-2.4 /tmp/gram_dpkg/opt
     44INFO:root:Issuing command cp -Rf /home/lnevers//gram/etc/gram /tmp/gram_dpkg/etc
     45INFO:root:Issuing command cp /home/lnevers//gram/src/gram/am/gram/config.json /tmp/gram_dpkg/etc/gram
     46INFO:root:Issuing command cp -Rf /home/lnevers//gram/pkg/gram_dpkg//DEBIAN_update /tmp/gram_dpkg
     47INFO:root:Issuing command mv /tmp/gram_dpkg//DEBIAN_update /tmp/gram_dpkg/DEBIAN
     48INFO:root:Issuing command mv /tmp/gram_dpkg/opt/gcf-2.4 /tmp/gram_dpkg/opt/gcf
     49INFO:root:Issuing command git clone -b betta http://github.com/noxrepo/pox
     50remote: Reusing existing pack: 10485, done.
     51Receiving objects: 100% (10485/10485), 5.03 MiB | 1.60 MiB/s, done.
     52remote: Total 10485 (delta 0), reused 0 (delta 0)
     53Resolving deltas: 100% (6177/6177), done.
     54INFO:root:Issuing command mv pox /tmp/gram_dpkg/opt
     55INFO:root:Issuing command rm -rf /tmp/gram_dpkg/etc/gram/snapshots
     56INFO:root:Issuing command rm -rf /tmp/gram_dpkg/etc/gram/snapshots
     57INFO:root:Issuing command rm -rf /tmp/gram_dpkg/home/gram/gram/pkg/gram_dpkg/tmp
     58INFO:root:Issuing command rm -rf /tmp/gram_dpkg/home/gram//gram/.git
     59INFO:root:Issuing command rm -rf /tmp/gram_dpkg/opt/pox/.git
     60INFO:root:Issuing command dpkg-deb -b /tmp/gram_dpkg /home/lnevers/gram_update.deb
     61lnevers@scorpia:~/gram/pkg$
     62}}}
     63The above generated a file named "/home/lnevers/gram_update.deb", which was installed on the Boston Rack Control Node. The version build was GRAM package is ''Version3.33'':
     64{{{
     65
     66gram@bbn-cam-ctrl-1:~$ sudo gdebi gram_update.deb
     67[sudo] password for gram:
     68Reading package lists... Done
     69Building dependency tree       
     70Reading state information... Done
     71Building data structures... Done
     72Building data structures... Done
     73
     74
     75GRAM installation package
     76Do you want to install the software package? [y/N]:y
     77(Reading database ... 183626 files and directories currently installed.)
     78Preparing to replace gram 3.32 (using gram_update.deb) ...
     79Unpacking replacement gram ...
     80Setting up gram (3.33) ...
     81gram-am stop/waiting
     82gram-am start/running, process 15176
     83gram-ch stop/waiting
     84gram-ch start/running, process 15196
     85stop: Unknown instance:
     86gram-ctrl start/running, process 15209
     87stop: Unknown instance:
     88gram-mon start/running, process 15219
     89gram-vmoc stop/waiting
     90gram-vmoc start/running, process 15234
     91
     92gram@bbn-cam-ctrl-1:~$
     93}}}
     94Software restarted without any problems.
     95
     96Version for each of the dependencies:
     97
     98!OpenStack Version:
     99{{{
     100gram@clemson-clemson-control-1:~$ nova-manage --version list
     1012013.1.4
     102}}}
     103OVS Open vSwitch datapaths Control (dpctl):
     104{{{
     105gram@clemson-clemson-control-1:~$ ovs-dpctl -V
     106ovs-dpctl (Open vSwitch) 1.4.6
     107Compiled Jan 10 2014 01:45:55
     108}}}
     109OVS Quantum Plugin:
     110{{{
     111gram@clemson-clemson-control-1:~$ ovs-vsctl -V
     112ovs-vsctl (Open vSwitch) 1.4.6
     113Compiled Jan 10 2014 01:45:55
     114}}}
     115 
     116Database version:
     117{{{
     118gram@clemson-clemson-control-1:~$ /usr/sbin/mysqld -V
     119140411 16:15:23 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
     120/usr/sbin/mysqld  Ver 5.5.35-0ubuntu0.12.04.2 for debian-linux-gnu on x86_64 ((Ubuntu))
     121}}}
     122
     123Pox Version:
     124{{{
     125gram@clemson-clemson-control-1:~$ /opt/pox/pox.py --version
     126POX 0.1.0 (betta) / Copyright 2011-2013 James McCauley, et al.
     127CPython (2.7.3/Sep 26 2013 20:03:06)
     128}}}
     129Python Version:
     130{{{
     131gram@clemson-clemson-control-1:~$ python -V
     132Python 2.7.3
     133}}}
     134
     135== Step 2. Identify one or more software packages to upgrade. ==
     136
     137Determined which packages needed updating:
     138{{{
     139gram@clemson-clemson-control-1:~$ sudo apt-get update
     140gram@clemson-clemson-control-1:~$ sudo aptitude
     141
     142--- Security Updates (22)                                                                                                                                                                                               
     143--- Upgradable Packages (45)  <---Packages  that can be upgraded
     144--- Installed Packages (668)
     145--- Not Installed Packages (61868)
     146--- Obsolete and Locally Created Packages (2)
     147--- Virtual Packages (7660)
     148--- Tasks (35745)
     149
     150}}}
     151
     152== Step 3. For each package, test the software before upgrading it ==
     153
     154Before upgrading some of the packages:
     155 - created several experiment,
     156 - logged in and used the resources
     157 - deleted the sliver
     158 - verified resource release via nova commands
     159
     160== Step 4. Upgrade each package ==
     161Upgrades several packages
     162
     163== Step 5. For each package, test the software after upgrading it ==
     164
     165After the update verified allocation:
     166 - created several experiment,
     167 - logged in and used the resources
     168 - deleted the sliver
     169 - verified resource release via nova commands