| 1 | = GR-ADM-5: Software Update Test = |
| 2 | |
| 3 | |
| 4 | This page captures status for the test case GR-ADM-5. For additional information see the [wiki:GENIRacksHome/GRAMRacks/AcceptanceTestStatusMay2013 Acceptance Test Status - May 2013] page overall status, or the [wiki:GENIRacksHome/AcceptanceTests/GRAMAcceptanceTestsPlan GRAM Acceptance Test Plan] for details about the planned evaluation. |
| 5 | |
| 6 | |
| 7 | ''Last Update: 2013/05/20" |
| 8 | |
| 9 | || '''Step''' || '''State''' ||''' Notes ''' || '''Tickets''' || |
| 10 | || Step 1 ||[[span(Pass, style=background-color: green )]]|| || || |
| 11 | || Step 2 ||[[span(Pass, style=background-color: green )]]|| || || |
| 12 | || Step 3 ||[[span(Pass, style=background-color: green )]]|| || || |
| 13 | || Step 4 ||[[span(Pass, style=background-color: green )]]|| || || |
| 14 | || Step 5 ||[[span(Pass, style=background-color: green )]]|| || || |
| 15 | |
| 16 | [[BR]] |
| 17 | || '''State Legend''' || '''Description''' || |
| 18 | ||[[span(Pass, style=background-color: green )]] || Test completed and met all criteria || |
| 19 | ||[[span(Pass: most criteria, style=background-color: #98FB98)]]|| Test completed and met most criteria. Exceptions documented || |
| 20 | ||[[span(Fail, style=background-color: red)]] || Test completed and failed to meet criteria. || |
| 21 | ||[[span(Complete, style=background-color: yellow)]] || Test completed but will require re-execution due to expected changes || |
| 22 | ||[[span(Blocked, style=background-color: orange)]] || Blocked by ticketed issue(s). || |
| 23 | ||[[span(In Progress, style=background-color: #63B8FF)]]|| Currently under test. || |
| 24 | ||[[span(Not Planned)]] || This area is not part of initial evaluation || |
| 25 | |
| 26 | = Test Plan Steps = |
| 27 | |
| 28 | |
| 29 | == Step 1. Review relevant rack documentation about software upgrades == |
| 30 | |
| 31 | [https://superior.bbn.com/trac/bbn-rack/wiki/SoftwareDependencies Software dependencies] for GRAM include: |
| 32 | |
| 33 | * OpenStack |
| 34 | * Python / Tk / Python libraries [TBD] |
| 35 | * OVS |
| 36 | * dpctl |
| 37 | * database (postgresql) |
| 38 | |
| 39 | Version for each of the dependencies: |
| 40 | |
| 41 | OpenStack Version: |
| 42 | {{{ |
| 43 | lnevers@boscontroller:~$ nova-manage version list |
| 44 | 2012.2.3 (2012.2.3-LOCALBRANCH:LOCALREVISION) |
| 45 | }}} |
| 46 | |
| 47 | OVS Open vSwitch datapaths Control (dpctl): |
| 48 | {{{ |
| 49 | gram@boscontroller:/$ ovs-dpctl -V |
| 50 | ovs-dpctl (Open vSwitch) 1.4.0+build0 |
| 51 | Compiled Feb 18 2013 13:13:22 |
| 52 | }}} |
| 53 | |
| 54 | |
| 55 | OVS Quantum Plugin: |
| 56 | {{{ |
| 57 | lnevers@boscontroller:~$ ovs-vsctl -V |
| 58 | ovs-vsctl (Open vSwitch) 1.4.0+build0 |
| 59 | Compiled Feb 18 2013 13:13:22 |
| 60 | }}} |
| 61 | |
| 62 | Database version: |
| 63 | {{{ |
| 64 | gram@boscontroller:~/gram/src/services$ /usr/sbin/mysqld -V |
| 65 | /usr/sbin/mysqld Ver 5.5.31-0ubuntu0.12.04.1 for debian-linux-gnu on x86_64 ((Ubuntu)) |
| 66 | }}} |
| 67 | Pox Version: |
| 68 | {{{ |
| 69 | gram@boscontroller:/opt/pox$ ./pox.py --version |
| 70 | POX 0.1.0 (betta) / Copyright 2011-2013 James McCauley, et al. |
| 71 | CPython (2.7.3/Aug 1 2012 05:14:39) |
| 72 | }}} |
| 73 | |
| 74 | Python Version: |
| 75 | {{{ |
| 76 | lnevers@boscontroller:~$ python -V |
| 77 | Python 2.7.3 |
| 78 | }}} |
| 79 | |
| 80 | |
| 81 | == Step 2. Identify one or more software packages to upgrade. == |
| 82 | |
| 83 | Determined which packages needed updating: |
| 84 | {{{ |
| 85 | lnevers@boscontroller:~$ sudo apt-get update |
| 86 | Hit http://us.archive.ubuntu.com precise Release.gpg |
| 87 | Get:1 http://us.archive.ubuntu.com precise-updates Release.gpg [198 B] |
| 88 | Hit http://us.archive.ubuntu.com precise-backports Release.gpg |
| 89 | Hit http://us.archive.ubuntu.com precise Release |
| 90 | Get:2 http://us.archive.ubuntu.com precise-updates Release [49.6 kB] |
| 91 | Hit http://security.ubuntu.com precise-security Release.gpg |
| 92 | Hit http://extras.ubuntu.com precise Release.gpg |
| 93 | Hit http://us.archive.ubuntu.com precise-backports Release |
| 94 | Hit http://extras.ubuntu.com precise Release |
| 95 | Get:3 http://ubuntu-cloud.archive.canonical.com precise-proposed/folsom Release.gpg [543 B] |
| 96 | Get:4 http://ubuntu-cloud.archive.canonical.com precise-updates/folsom Release.gpg [543 B] |
| 97 | Hit http://security.ubuntu.com precise-security Release |
| 98 | Hit http://us.archive.ubuntu.com precise/main Sources |
| 99 | Hit http://us.archive.ubuntu.com precise/restricted Sources |
| 100 | Hit http://us.archive.ubuntu.com precise/universe Sources |
| 101 | Hit http://us.archive.ubuntu.com precise/multiverse Sources |
| 102 | Hit http://us.archive.ubuntu.com precise/main amd64 Packages |
| 103 | Hit http://us.archive.ubuntu.com precise/restricted amd64 Packages |
| 104 | Hit http://us.archive.ubuntu.com precise/universe amd64 Packages |
| 105 | Hit http://us.archive.ubuntu.com precise/multiverse amd64 Packages |
| 106 | Hit http://us.archive.ubuntu.com precise/main i386 Packages |
| 107 | Hit http://us.archive.ubuntu.com precise/restricted i386 Packages |
| 108 | Hit http://us.archive.ubuntu.com precise/universe i386 Packages |
| 109 | Hit http://us.archive.ubuntu.com precise/multiverse i386 Packages |
| 110 | Hit http://us.archive.ubuntu.com precise/main TranslationIndex |
| 111 | Hit http://us.archive.ubuntu.com precise/multiverse TranslationIndex |
| 112 | Hit http://us.archive.ubuntu.com precise/restricted TranslationIndex |
| 113 | Hit http://ubuntu-cloud.archive.canonical.com precise-proposed/folsom Release |
| 114 | Hit http://extras.ubuntu.com precise/main Sources |
| 115 | Hit http://us.archive.ubuntu.com precise/universe TranslationIndex |
| 116 | Hit http://security.ubuntu.com precise-security/main Sources |
| 117 | Get:5 http://us.archive.ubuntu.com precise-updates/main Sources [383 kB] |
| 118 | Hit http://ubuntu-cloud.archive.canonical.com precise-updates/folsom Release |
| 119 | Hit http://extras.ubuntu.com precise/main amd64 Packages |
| 120 | Hit http://extras.ubuntu.com precise/main i386 Packages |
| 121 | Hit http://security.ubuntu.com precise-security/restricted Sources |
| 122 | Hit http://security.ubuntu.com precise-security/universe Sources |
| 123 | Hit http://security.ubuntu.com precise-security/multiverse Sources |
| 124 | Hit http://security.ubuntu.com precise-security/main amd64 Packages |
| 125 | Hit http://security.ubuntu.com precise-security/restricted amd64 Packages |
| 126 | Hit http://security.ubuntu.com precise-security/universe amd64 Packages |
| 127 | Hit http://security.ubuntu.com precise-security/multiverse amd64 Packages |
| 128 | Hit http://security.ubuntu.com precise-security/main i386 Packages |
| 129 | Hit http://security.ubuntu.com precise-security/restricted i386 Packages |
| 130 | Hit http://security.ubuntu.com precise-security/universe i386 Packages |
| 131 | Hit http://ubuntu-cloud.archive.canonical.com precise-proposed/folsom/main amd64 Packages |
| 132 | Hit http://ubuntu-cloud.archive.canonical.com precise-proposed/folsom/main i386 Packages |
| 133 | Ign http://ubuntu-cloud.archive.canonical.com precise-proposed/folsom/main TranslationIndex |
| 134 | Ign http://extras.ubuntu.com precise/main TranslationIndex |
| 135 | Hit http://security.ubuntu.com precise-security/multiverse i386 Packages |
| 136 | Hit http://ubuntu-cloud.archive.canonical.com precise-updates/folsom/main amd64 Packages |
| 137 | Hit http://ubuntu-cloud.archive.canonical.com precise-updates/folsom/main i386 Packages |
| 138 | Ign http://ubuntu-cloud.archive.canonical.com precise-updates/folsom/main TranslationIndex |
| 139 | Hit http://security.ubuntu.com precise-security/main TranslationIndex |
| 140 | Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex |
| 141 | Hit http://security.ubuntu.com precise-security/restricted TranslationIndex |
| 142 | Hit http://security.ubuntu.com precise-security/universe TranslationIndex |
| 143 | Get:6 http://us.archive.ubuntu.com precise-updates/restricted Sources [5,467 B] |
| 144 | Get:7 http://us.archive.ubuntu.com precise-updates/universe Sources [87.1 kB] |
| 145 | Get:8 http://us.archive.ubuntu.com precise-updates/multiverse Sources [6,582 B] |
| 146 | Get:9 http://us.archive.ubuntu.com precise-updates/main amd64 Packages [613 kB] |
| 147 | Hit http://security.ubuntu.com precise-security/main Translation-en |
| 148 | Hit http://security.ubuntu.com precise-security/multiverse Translation-en |
| 149 | Hit http://security.ubuntu.com precise-security/restricted Translation-en |
| 150 | Hit http://security.ubuntu.com precise-security/universe Translation-en |
| 151 | Get:10 http://us.archive.ubuntu.com precise-updates/restricted amd64 Packages [10.1 kB] |
| 152 | Get:11 http://us.archive.ubuntu.com precise-updates/universe amd64 Packages [200 kB] |
| 153 | Get:12 http://us.archive.ubuntu.com precise-updates/multiverse amd64 Packages [13.6 kB] |
| 154 | Get:13 http://us.archive.ubuntu.com precise-updates/main i386 Packages [625 kB] |
| 155 | Get:14 http://us.archive.ubuntu.com precise-updates/restricted i386 Packages [10.0 kB] |
| 156 | Get:15 http://us.archive.ubuntu.com precise-updates/universe i386 Packages [203 kB] |
| 157 | Get:16 http://us.archive.ubuntu.com precise-updates/multiverse i386 Packages [13.8 kB] |
| 158 | Hit http://us.archive.ubuntu.com precise-updates/main TranslationIndex |
| 159 | Hit http://us.archive.ubuntu.com precise-updates/multiverse TranslationIndex |
| 160 | Hit http://us.archive.ubuntu.com precise-updates/restricted TranslationIndex |
| 161 | Hit http://us.archive.ubuntu.com precise-updates/universe TranslationIndex |
| 162 | Hit http://us.archive.ubuntu.com precise-backports/main Sources |
| 163 | Hit http://us.archive.ubuntu.com precise-backports/restricted Sources |
| 164 | Hit http://us.archive.ubuntu.com precise-backports/universe Sources |
| 165 | Hit http://us.archive.ubuntu.com precise-backports/multiverse Sources |
| 166 | Hit http://us.archive.ubuntu.com precise-backports/main amd64 Packages |
| 167 | Hit http://us.archive.ubuntu.com precise-backports/restricted amd64 Packages |
| 168 | Hit http://us.archive.ubuntu.com precise-backports/universe amd64 Packages |
| 169 | Hit http://us.archive.ubuntu.com precise-backports/multiverse amd64 Packages |
| 170 | Hit http://us.archive.ubuntu.com precise-backports/main i386 Packages |
| 171 | Hit http://us.archive.ubuntu.com precise-backports/restricted i386 Packages |
| 172 | Hit http://us.archive.ubuntu.com precise-backports/universe i386 Packages |
| 173 | Hit http://us.archive.ubuntu.com precise-backports/multiverse i386 Packages |
| 174 | Hit http://us.archive.ubuntu.com precise-backports/main TranslationIndex |
| 175 | Hit http://us.archive.ubuntu.com precise-backports/multiverse TranslationIndex |
| 176 | Hit http://us.archive.ubuntu.com precise-backports/restricted TranslationIndex |
| 177 | Hit http://us.archive.ubuntu.com precise-backports/universe TranslationIndex |
| 178 | Hit http://us.archive.ubuntu.com precise/main Translation-en |
| 179 | Hit http://us.archive.ubuntu.com precise/multiverse Translation-en |
| 180 | Hit http://us.archive.ubuntu.com precise/restricted Translation-en |
| 181 | Hit http://us.archive.ubuntu.com precise/universe Translation-en |
| 182 | Hit http://us.archive.ubuntu.com precise-updates/main Translation-en |
| 183 | Hit http://us.archive.ubuntu.com precise-updates/multiverse Translation-en |
| 184 | Hit http://us.archive.ubuntu.com precise-updates/restricted Translation-en |
| 185 | Hit http://us.archive.ubuntu.com precise-updates/universe Translation-en |
| 186 | Hit http://us.archive.ubuntu.com precise-backports/main Translation-en |
| 187 | Hit http://us.archive.ubuntu.com precise-backports/multiverse Translation-en |
| 188 | Hit http://us.archive.ubuntu.com precise-backports/restricted Translation-en |
| 189 | Hit http://us.archive.ubuntu.com precise-backports/universe Translation-en |
| 190 | Ign http://extras.ubuntu.com precise/main Translation-en_US |
| 191 | Ign http://extras.ubuntu.com precise/main Translation-en |
| 192 | Ign http://ubuntu-cloud.archive.canonical.com precise-proposed/folsom/main Translation-en_US |
| 193 | Ign http://ubuntu-cloud.archive.canonical.com precise-proposed/folsom/main Translation-en |
| 194 | Ign http://ubuntu-cloud.archive.canonical.com precise-updates/folsom/main Translation-en_US |
| 195 | Ign http://ubuntu-cloud.archive.canonical.com precise-updates/folsom/main Translation-en |
| 196 | Fetched 2,223 kB in 1s (1,385 kB/s) |
| 197 | }}} |
| 198 | |
| 199 | The packages that needed updates include: |
| 200 | {{{ |
| 201 | lnevers@boscontroller:~$ sudo aptitude |
| 202 | <.....> |
| 203 | |
| 204 | --\ python - Python programming language and libraries (9) |
| 205 | --\ main - Fully supported Free Software. (9) |
| 206 | |
| 207 | i A glance 2012.2.3-0ubun 2012.2.4-0ubun |
| 208 | i A glance-api 2012.2.3-0ubun 2012.2.4-0ubun |
| 209 | i A glance-common 2012.2.3-0ubun 2012.2.4-0ubun |
| 210 | i A glance-registry 2012.2.3-0ubun 2012.2.4-0ubun |
| 211 | i A keystone 2012.2.3+stabl 2012.2.3+stabl |
| 212 | i A python-glance 2012.2.3-0ubun 2012.2.4-0ubun |
| 213 | i A python-keystone 2012.2.3+stabl 2012.2.3+stabl |
| 214 | i A python-nova 2012.2.3-0ubun 2012.2.3-0ubun |
| 215 | i A python-quantum 2012.2.3-0ubun 2012.2.4-0ubun |
| 216 | |
| 217 | --\ net - Programs to connect to and provide various services (12) |
| 218 | --\ main - Fully supported Free Software. (12) |
| 219 | i A nova-api 2012.2.3-0ubun 2012.2.3-0ubun |
| 220 | i A nova-cert 2012.2.3-0ubun 2012.2.3-0ubun |
| 221 | i A nova-common 2012.2.3-0ubun 2012.2.3-0ubun |
| 222 | i A nova-consoleauth 2012.2.3-0ubun 2012.2.3-0ubun |
| 223 | i A nova-novncproxy 2012.2.3-0ubun 2012.2.3-0ubun |
| 224 | i A nova-scheduler 2012.2.3-0ubun 2012.2.3-0ubun |
| 225 | i A quantum-common 2012.2.3-0ubun 2012.2.4-0ubun |
| 226 | i A quantum-dhcp-agent 2012.2.3-0ubun 2012.2.4-0ubun |
| 227 | i A quantum-l3-agent 2012.2.3-0ubun 2012.2.4-0ubun |
| 228 | i A quantum-plugin-openvswitch 2012.2.3-0ubun 2012.2.4-0ubun |
| 229 | i A quantum-plugin-openvswitch-agent 2012.2.3-0ubun 2012.2.4-0ubun |
| 230 | i A quantum-server 2012.2.3-0ubun 2012.2.4-0ubun |
| 231 | }}} |
| 232 | |
| 233 | Chose ''glance'': |
| 234 | {{{ |
| 235 | lnevers@boscontroller:~$ sudo apt-cache showpkg glance |
| 236 | Package: glance |
| 237 | Versions: |
| 238 | 2012.2.4-0ubuntu1~cloud0 (/var/lib/apt/lists/ubuntu-cloud.archive.canonical.com_ubuntu_dists_precise-proposed_folsom_main_binary-amd64_Packages) |
| 239 | Description Language: |
| 240 | File: /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise_main_binary-amd64_Packages |
| 241 | MD5: d72e12fa21290d21a54b74e8480abad1 |
| 242 | Description Language: en |
| 243 | File: /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise_main_i18n_Translation-en |
| 244 | MD5: d72e12fa21290d21a54b74e8480abad1 |
| 245 | |
| 246 | 2012.2.3-0ubuntu2~cloud0 (/var/lib/apt/lists/ubuntu-cloud.archive.canonical.com_ubuntu_dists_precise-updates_folsom_main_binary-amd64_Packages) (/var/lib/dpkg/status) |
| 247 | Description Language: |
| 248 | File: /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise_main_binary-amd64_Packages |
| 249 | MD5: d72e12fa21290d21a54b74e8480abad1 |
| 250 | Description Language: en |
| 251 | File: /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise_main_i18n_Translation-en |
| 252 | MD5: d72e12fa21290d21a54b74e8480abad1 |
| 253 | |
| 254 | 2012.1.3+stable-20130423-74b067df-0ubuntu1 (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise-updates_main_binary-amd64_Packages) |
| 255 | Description Language: |
| 256 | File: /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise_main_binary-amd64_Packages |
| 257 | MD5: d72e12fa21290d21a54b74e8480abad1 |
| 258 | Description Language: en |
| 259 | File: /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise_main_i18n_Translation-en |
| 260 | MD5: d72e12fa21290d21a54b74e8480abad1 |
| 261 | |
| 262 | 2012.1.3+stable~20120821-120fcf-0ubuntu1.5 (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_precise-security_main_binary-amd64_Packages) |
| 263 | Description Language: |
| 264 | File: /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise_main_binary-amd64_Packages |
| 265 | MD5: d72e12fa21290d21a54b74e8480abad1 |
| 266 | Description Language: en |
| 267 | File: /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise_main_i18n_Translation-en |
| 268 | MD5: d72e12fa21290d21a54b74e8480abad1 |
| 269 | |
| 270 | 2012.1-0ubuntu2 (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise_main_binary-amd64_Packages) (/var/lib/apt/lists/ubuntu.mirror.cambrium.nl_ubuntu_dists_precise_main_binary-amd64_Packages) |
| 271 | Description Language: |
| 272 | File: /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise_main_binary-amd64_Packages |
| 273 | MD5: d72e12fa21290d21a54b74e8480abad1 |
| 274 | Description Language: en |
| 275 | File: /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise_main_i18n_Translation-en |
| 276 | MD5: d72e12fa21290d21a54b74e8480abad1 |
| 277 | |
| 278 | |
| 279 | Reverse Depends: |
| 280 | gram,glance |
| 281 | glance-registry,glance 2012.1~e1~20110919.1021-0ubuntu2 |
| 282 | glance-common,glance 2011.3-0ubuntu4.1 |
| 283 | glance-common,glance 2011.3-0ubuntu4.1 |
| 284 | glance-client,glance 2012.1~e1~20110919.1021-0ubuntu2 |
| 285 | glance-api,glance 2012.1~e1~20110919.1021-0ubuntu2 |
| 286 | glance-registry,glance 2012.1~e1~20110919.1021-0ubuntu2 |
| 287 | glance-common,glance 2011.3-0ubuntu4.1 |
| 288 | glance-common,glance 2011.3-0ubuntu4.1 |
| 289 | glance-client,glance 2012.1~e1~20110919.1021-0ubuntu2 |
| 290 | glance-api,glance 2012.1~e1~20110919.1021-0ubuntu2 |
| 291 | glance-registry,glance 2012.1~e1~20110919.1021-0ubuntu2 |
| 292 | glance-common,glance 2011.3-0ubuntu4.1 |
| 293 | glance-common,glance 2011.3-0ubuntu4.1 |
| 294 | glance-client,glance 2012.1~e1~20110919.1021-0ubuntu2 |
| 295 | glance-api,glance 2012.1~e1~20110919.1021-0ubuntu2 |
| 296 | glance-registry,glance 2012.1~e1~20110919.1021-0ubuntu2 |
| 297 | glance-common,glance 2011.3-0ubuntu4.1 |
| 298 | glance-common,glance 2011.3-0ubuntu4.1 |
| 299 | glance-client,glance 2012.1~e1~20110919.1021-0ubuntu2 |
| 300 | glance-api,glance 2012.1~e1~20110919.1021-0ubuntu2 |
| 301 | glance-registry,glance 2012.1~e1~20110919.1021-0ubuntu2 |
| 302 | glance-common,glance 2011.3-0ubuntu4.1 |
| 303 | glance-common,glance 2011.3-0ubuntu4.1 |
| 304 | glance-client,glance 2012.1~e1~20110919.1021-0ubuntu2 |
| 305 | glance-api,glance 2012.1~e1~20110919.1021-0ubuntu2 |
| 306 | Dependencies: |
| 307 | 2012.2.4-0ubuntu1~cloud0 - glance-api (5 2012.2.4-0ubuntu1~cloud0) glance-registry (5 2012.2.4-0ubuntu1~cloud0) python-ceph (0 (null)) |
| 308 | 2012.2.3-0ubuntu2~cloud0 - glance-api (5 2012.2.3-0ubuntu2~cloud0) glance-registry (5 2012.2.3-0ubuntu2~cloud0) python-ceph (0 (null)) |
| 309 | 2012.1.3+stable-20130423-74b067df-0ubuntu1 - python-glance (5 2012.1.3+stable-20130423-74b067df-0ubuntu1) python-routes (0 (null)) python-eventlet (0 (null)) python-migrate (0 (null)) python-sqlalchemy-ext (16 (null)) python-sqlalchemy (3 0.6.3-2) python-crypto (0 (null)) python-xattr (0 (null)) glance-api (5 2012.1.3+stable-20130423-74b067df-0ubuntu1) glance-registry (5 2012.1.3+stable-20130423-74b067df-0ubuntu1) ca-certificates (0 (null)) adduser (0 (null)) |
| 310 | 2012.1.3+stable~20120821-120fcf-0ubuntu1.5 - python-glance (5 2012.1.3+stable~20120821-120fcf-0ubuntu1.5) python-routes (0 (null)) python-eventlet (0 (null)) python-migrate (0 (null)) python-sqlalchemy-ext (16 (null)) python-sqlalchemy (3 0.6.3-2) python-crypto (0 (null)) python-xattr (0 (null)) glance-api (5 2012.1.3+stable~20120821-120fcf-0ubuntu1.5) glance-registry (5 2012.1.3+stable~20120821-120fcf-0ubuntu1.5) ca-certificates (0 (null)) adduser (0 (null)) |
| 311 | 2012.1-0ubuntu2 - python-glance (5 2012.1-0ubuntu2) python-routes (0 (null)) python-eventlet (0 (null)) python-migrate (0 (null)) python-sqlalchemy-ext (16 (null)) python-sqlalchemy (3 0.6.3-2) python-crypto (0 (null)) python-xattr (0 (null)) glance-api (5 2012.1-0ubuntu2) glance-registry (5 2012.1-0ubuntu2) ca-certificates (0 (null)) adduser (0 (null)) |
| 312 | Provides: |
| 313 | 2012.2.4-0ubuntu1~cloud0 - |
| 314 | 2012.2.3-0ubuntu2~cloud0 - |
| 315 | 2012.1.3+stable-20130423-74b067df-0ubuntu1 - |
| 316 | 2012.1.3+stable~20120821-120fcf-0ubuntu1.5 - |
| 317 | 2012.1-0ubuntu2 - |
| 318 | Reverse Provides: |
| 319 | lnevers@boscontroller:~$ |
| 320 | |
| 321 | }}} |
| 322 | |
| 323 | |
| 324 | == Step 3. For each package, test the software before upgrading it == |
| 325 | |
| 326 | Create an experiment: |
| 327 | {{{ |
| 328 | $ omni.py createslice lngram |
| 329 | INFO:omni:Loading config file /home/lnevers/.gcf/omni_config |
| 330 | INFO:omni:Using control framework gram |
| 331 | INFO:omni:Created slice with Name lngram, URN urn:publicid:IDN+geni:bos:gcf+slice+lngram, Expiration 2013-05-20 14:55:42 |
| 332 | INFO:omni: ------------------------------------------------------------ |
| 333 | INFO:omni: Completed createslice: |
| 334 | |
| 335 | Options as run: |
| 336 | framework: gram |
| 337 | |
| 338 | Args: createslice lngram |
| 339 | |
| 340 | Result Summary: Created slice with Name lngram, URN urn:publicid:IDN+geni:bos:gcf+slice+lngram, Expiration 2013-05-20 14:55:42 |
| 341 | |
| 342 | INFO:omni: ============================================================ |
| 343 | |
| 344 | $ omni.py createsliver lngram -a gram2 -V2 ./GR-EXP-2-exp1.rspec INFO:omni:Loading config file /home/lnevers/.gcf/omni_config |
| 345 | INFO:omni:Using control framework gram |
| 346 | INFO:omni:Substituting AM nickname gram2 with URL https://128.89.91.170:5002, URN unspecified_AM_URN |
| 347 | WARNING:omni:Slice urn:publicid:IDN+geni:bos:gcf+slice+lngram expires in <= 3 hours |
| 348 | INFO:omni:Slice urn:publicid:IDN+geni:bos:gcf+slice+lngram expires on 2013-05-20 14:55:42 UTC |
| 349 | INFO:omni:Substituting AM nickname gram2 with URL https://128.89.91.170:5002, URN unspecified_AM_URN |
| 350 | INFO:omni:Substituting AM nickname gram2 with URL https://128.89.91.170:5002, URN unspecified_AM_URN |
| 351 | INFO:omni:Creating sliver(s) from rspec file ./GR-EXP-2-exp1.rspec for slice urn:publicid:IDN+geni:bos:gcf+slice+lngram |
| 352 | INFO:omni:Got return from CreateSliver for slice lngram at https://128.89.91.170:5002: |
| 353 | INFO:omni:<?xml version="1.0" ?> |
| 354 | INFO:omni: <!-- Reserved resources for: |
| 355 | Slice: lngram |
| 356 | at AM: |
| 357 | URN: unspecified_AM_URN |
| 358 | URL: https://128.89.91.170:5002 |
| 359 | --> |
| 360 | INFO:omni: |
| 361 | <rspec type="manifest" 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"> |
| 362 | <node client_id="exp1-host1" component_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+node+boscompute1" component_manager_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+authority+cm" exclusive="false" sliver_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+vmc3504810-0ba7-4d4b-8013-d9d9ec1791fc"> |
| 363 | <interface client_id="exp1-host1:if0" mac_address="fa:16:3e:9e:33:5d" sliver_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+interface80e2ddea-f53d-4be5-9fd4-22ef5a28dadc"> |
| 364 | <ip address="10.0.72.100" type="ip"/> |
| 365 | </interface> |
| 366 | <sliver_type name="m1.small"> |
| 367 | <disk_image name="urn:publicid:IDN+boscontroller.gpolab.bbn.com+imageubuntu-12.04" os="Linux" version="12"/> |
| 368 | </sliver_type> |
| 369 | <services> |
| 370 | <login authentication="ssh-keys" hostname="boscontroller" port="3000" username="lnevers"/> |
| 371 | </services> |
| 372 | <host name="exp1-host1"/> |
| 373 | </node> |
| 374 | <link client_id="link-0" sliver_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+link1348ec8f-a01d-4e96-aebe-c4a07bf3f206"> |
| 375 | <interface_ref client_id="exp1-host1:if0"/> |
| 376 | <interface_ref client_id="exp1-host2:if0"/> |
| 377 | <property dest_id="exp1-host2:if0" source_id="exp1-host1:if0"/> |
| 378 | <property dest_id="exp1-host1:if0" source_id="exp1-host2:if0"/> |
| 379 | </link> |
| 380 | <node client_id="exp1-host2" component_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+node+boscompute4" component_manager_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+authority+cm" exclusive="false" sliver_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+vmb57311d4-2afe-4582-8309-43c283514f2d"> |
| 381 | <interface client_id="exp1-host2:if0" mac_address="fa:16:3e:d6:d5:0e" sliver_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+interface9ed05ef6-c288-4f97-8334-e99f5a27bbb4"> |
| 382 | <ip address="10.0.72.101" type="ip"/> |
| 383 | </interface> |
| 384 | <sliver_type name="m1.small"> |
| 385 | <disk_image name="urn:publicid:IDN+boscontroller.gpolab.bbn.com+imageubuntu-12.04" os="Linux" version="12"/> |
| 386 | </sliver_type> |
| 387 | <services> |
| 388 | <login authentication="ssh-keys" hostname="boscontroller" port="3001" username="lnevers"/> |
| 389 | </services> |
| 390 | <host name="exp1-host2"/> |
| 391 | </node> |
| 392 | </rspec> |
| 393 | |
| 394 | INFO:omni: ------------------------------------------------------------ |
| 395 | INFO:omni: Completed createsliver: |
| 396 | |
| 397 | Options as run: |
| 398 | aggregate: ['gram2'] |
| 399 | framework: gram |
| 400 | |
| 401 | Args: createsliver lngram ./GR-EXP-2-exp1.rspec |
| 402 | |
| 403 | Result Summary: Got Reserved resources RSpec from 128-89-91-170-5002 |
| 404 | INFO:omni: ============================================================ |
| 405 | }}} |
| 406 | |
| 407 | Verify allocation: |
| 408 | {{{ |
| 409 | lnevers@boscontroller:~$ source /etc/novarc |
| 410 | lnevers@boscontroller:~$ nova list --all-tenants |
| 411 | +--------------------------------------+------------+--------+------------------------------------------------+ |
| 412 | | ID | Name | Status | Networks | |
| 413 | +--------------------------------------+------------+--------+------------------------------------------------+ |
| 414 | | 61969005-7e76-427a-9874-57ebad3df053 | exp1-host1 | ACTIVE | link-0=10.0.72.100; GRAM-mgmt-net=192.168.10.3 | |
| 415 | | da509adb-cedb-433f-9118-5a83c41fbf5b | exp1-host2 | ACTIVE | link-0=10.0.72.101; GRAM-mgmt-net=192.168.10.4 | |
| 416 | +--------------------------------------+------------+--------+------------------------------------------------+ |
| 417 | }}} |
| 418 | |
| 419 | Log in to each node and ping the remote: |
| 420 | {{{ |
| 421 | $ ssh 128.89.91.170 -p 3000 |
| 422 | lnevers@exp1-host1:~$ ping 10.0.72.101 |
| 423 | PING 10.0.72.101 (10.0.72.101) 56(84) bytes of data. |
| 424 | 64 bytes from 10.0.72.101: icmp_req=1 ttl=64 time=2.56 ms |
| 425 | 64 bytes from 10.0.72.101: icmp_req=2 ttl=64 time=0.829 ms |
| 426 | 64 bytes from 10.0.72.101: icmp_req=3 ttl=64 time=0.746 ms |
| 427 | 64 bytes from 10.0.72.101: icmp_req=4 ttl=64 time=0.790 ms |
| 428 | 64 bytes from 10.0.72.101: icmp_req=5 ttl=64 time=0.746 ms |
| 429 | }}} |
| 430 | Delete experiment: |
| 431 | {{{ |
| 432 | $ omni.py deletesliver lngram -a gram2 -V2 |
| 433 | INFO:omni:Loading config file /home/lnevers/.gcf/omni_config |
| 434 | INFO:omni:Using control framework gram |
| 435 | INFO:omni:Substituting AM nickname gram2 with URL https://128.89.91.170:5002, URN unspecified_AM_URN |
| 436 | WARNING:omni:Slice urn:publicid:IDN+geni:bos:gcf+slice+lngram expires in <= 3 hours |
| 437 | INFO:omni:Slice urn:publicid:IDN+geni:bos:gcf+slice+lngram expires on 2013-05-20 14:55:42 UTC |
| 438 | INFO:omni:Substituting AM nickname gram2 with URL https://128.89.91.170:5002, URN unspecified_AM_URN |
| 439 | INFO:omni:Deleted sliver urn:publicid:IDN+geni:bos:gcf+slice+lngram on unspecified_AM_URN at https://128.89.91.170:5002 |
| 440 | INFO:omni: ------------------------------------------------------------ |
| 441 | INFO:omni: Completed deletesliver: |
| 442 | |
| 443 | Options as run: |
| 444 | aggregate: ['gram2'] |
| 445 | framework: gram |
| 446 | |
| 447 | Args: deletesliver lngram |
| 448 | |
| 449 | Result Summary: Deleted sliver urn:publicid:IDN+geni:bos:gcf+slice+lngram on unspecified_AM_URN at https://128.89.91.170:5002 |
| 450 | INFO:omni: ============================================================ |
| 451 | }}} |
| 452 | |
| 453 | Verify resources are released: |
| 454 | {{{ |
| 455 | |
| 456 | lnevers@boscontroller:~$ nova list --all-tenants |
| 457 | |
| 458 | lnevers@boscontroller:~$ |
| 459 | }}} |
| 460 | |
| 461 | == Step 4. Upgrade each package == |
| 462 | |
| 463 | All packages considered were already at the latest version: |
| 464 | |
| 465 | - ntp is at 4.2.6p3, which is the latest. |
| 466 | - xmlsec is at 1.2.14-1.2build1, which is the latest. |
| 467 | - git is at version 1.7.9.5-1, which is the latest. |
| 468 | - cloud-utils is at 0.25-0ubuntu5, which is the latest |
| 469 | - python is 2.7.3-0ubuntu2, which is the latest. |
| 470 | |
| 471 | Chose the ''glance'' which includes: |
| 472 | {{{ |
| 473 | - glance: OpenStack Image Registry and Delivery Service - Daemons |
| 474 | - glance-api: OpenStack Image Registry and Delivery Service - API |
| 475 | - glance-common: OpenStack Image Registry and Delivery Service - Common |
| 476 | - glance-registry: OpenStack Image Registry and Delivery Service - Registry |
| 477 | - python-glance: OpenStack Image Registry and Delivery Service - Python library |
| 478 | - python-glance-doc: OpenStack Image Registry and Delivery Service - Documentation |
| 479 | |
| 480 | }}} |
| 481 | Installed the latests ''glance'' package: |
| 482 | {{{ |
| 483 | lnevers@boscontroller:~$ sudo apt-get install glance |
| 484 | Reading package lists... Done |
| 485 | Building dependency tree |
| 486 | Reading state information... Done |
| 487 | The following extra packages will be installed: |
| 488 | glance-api glance-common glance-registry python-glance |
| 489 | Suggested packages: |
| 490 | python-ceph |
| 491 | The following packages will be upgraded: |
| 492 | glance glance-api glance-common glance-registry python-glance |
| 493 | 5 upgraded, 0 newly installed, 0 to remove and 29 not upgraded. |
| 494 | Need to get 335 kB of archives. |
| 495 | After this operation, 11.3 kB of additional disk space will be used. |
| 496 | Do you want to continue [Y/n]? |
| 497 | Get:1 http://ubuntu-cloud.archive.canonical.com/ubuntu/ precise-proposed/folsom/main glance-api all 2012.2.4-0ubuntu1~cloud0 [13.4 kB] |
| 498 | Get:2 http://ubuntu-cloud.archive.canonical.com/ubuntu/ precise-proposed/folsom/main glance-common all 2012.2.4-0ubuntu1~cloud0 [6,626 B] |
| 499 | Get:3 http://ubuntu-cloud.archive.canonical.com/ubuntu/ precise-proposed/folsom/main glance all 2012.2.4-0ubuntu1~cloud0 [1,684 B] |
| 500 | Get:4 http://ubuntu-cloud.archive.canonical.com/ubuntu/ precise-proposed/folsom/main glance-registry all 2012.2.4-0ubuntu1~cloud0 [4,802 B] |
| 501 | Get:5 http://ubuntu-cloud.archive.canonical.com/ubuntu/ precise-proposed/folsom/main python-glance all 2012.2.4-0ubuntu1~cloud0 [309 kB] |
| 502 | Fetched 335 kB in 3s (102 kB/s) |
| 503 | (Reading database ... 190564 files and directories currently installed.) |
| 504 | Preparing to replace glance-api 2012.2.3-0ubuntu2~cloud0 (using .../glance-api_2012.2.4-0ubuntu1~cloud0_all.deb) ... |
| 505 | glance-api stop/waiting |
| 506 | Unpacking replacement glance-api ... |
| 507 | Preparing to replace glance-common 2012.2.3-0ubuntu2~cloud0 (using .../glance-common_2012.2.4-0ubuntu1~cloud0_all.deb) ... |
| 508 | Unpacking replacement glance-common ... |
| 509 | Preparing to replace glance 2012.2.3-0ubuntu2~cloud0 (using .../glance_2012.2.4-0ubuntu1~cloud0_all.deb) ... |
| 510 | Unpacking replacement glance ... |
| 511 | Preparing to replace glance-registry 2012.2.3-0ubuntu2~cloud0 (using .../glance-registry_2012.2.4-0ubuntu1~cloud0_all.deb) ... |
| 512 | glance-registry stop/waiting |
| 513 | Unpacking replacement glance-registry ... |
| 514 | Preparing to replace python-glance 2012.2.3-0ubuntu2~cloud0 (using .../python-glance_2012.2.4-0ubuntu1~cloud0_all.deb) ... |
| 515 | Unpacking replacement python-glance ... |
| 516 | Processing triggers for ureadahead ... |
| 517 | Setting up python-glance (2012.2.4-0ubuntu1~cloud0) ... |
| 518 | Setting up glance-common (2012.2.4-0ubuntu1~cloud0) ... |
| 519 | Setting up glance-api (2012.2.4-0ubuntu1~cloud0) ... |
| 520 | glance-api start/running, process 14777 |
| 521 | Setting up glance-registry (2012.2.4-0ubuntu1~cloud0) ... |
| 522 | glance-registry start/running, process 14817 |
| 523 | Setting up glance (2012.2.4-0ubuntu1~cloud0) ... |
| 524 | }}} |
| 525 | |
| 526 | Verified that the package was updated: |
| 527 | {{{ |
| 528 | lnevers@boscontroller:~$ sudo apt-cache showpkg glance |
| 529 | Package: glance |
| 530 | Versions: |
| 531 | 2012.2.4-0ubuntu1~cloud0 (/var/lib/apt/lists/ubuntu-cloud.archive.canonical.com_ubuntu_dists_precise-proposed_folsom_main_binary-amd64_Packages) (/var/lib/dpkg/status) |
| 532 | Description Language: |
| 533 | File: /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise_main_binary-amd64_Packages |
| 534 | MD5: d72e12fa21290d21a54b74e8480abad1 |
| 535 | Description Language: en |
| 536 | File: /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise_main_i18n_Translation-en |
| 537 | MD5: d72e12fa21290d21a54b74e8480abad1 |
| 538 | |
| 539 | 2012.2.3-0ubuntu2~cloud0 (/var/lib/apt/lists/ubuntu-cloud.archive.canonical.com_ubuntu_dists_precise-updates_folsom_main_binary-amd64_Packages) |
| 540 | Description Language: |
| 541 | File: /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise_main_binary-amd64_Packages |
| 542 | MD5: d72e12fa21290d21a54b74e8480abad1 |
| 543 | Description Language: en |
| 544 | File: /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise_main_i18n_Translation-en |
| 545 | MD5: d72e12fa21290d21a54b74e8480abad1 |
| 546 | |
| 547 | 2012.1.3+stable-20130423-74b067df-0ubuntu1 (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise-updates_main_binary-amd64_Packages) |
| 548 | Description Language: |
| 549 | File: /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise_main_binary-amd64_Packages |
| 550 | MD5: d72e12fa21290d21a54b74e8480abad1 |
| 551 | Description Language: en |
| 552 | File: /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise_main_i18n_Translation-en |
| 553 | MD5: d72e12fa21290d21a54b74e8480abad1 |
| 554 | |
| 555 | 2012.1.3+stable~20120821-120fcf-0ubuntu1.5 (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_precise-security_main_binary-amd64_Packages) |
| 556 | Description Language: |
| 557 | File: /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise_main_binary-amd64_Packages |
| 558 | MD5: d72e12fa21290d21a54b74e8480abad1 |
| 559 | Description Language: en |
| 560 | File: /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise_main_i18n_Translation-en |
| 561 | MD5: d72e12fa21290d21a54b74e8480abad1 |
| 562 | |
| 563 | 2012.1-0ubuntu2 (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise_main_binary-amd64_Packages) (/var/lib/apt/lists/ubuntu.mirror.cambrium.nl_ubuntu_dists_precise_main_binary-amd64_Packages) |
| 564 | Description Language: |
| 565 | File: /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise_main_binary-amd64_Packages |
| 566 | MD5: d72e12fa21290d21a54b74e8480abad1 |
| 567 | Description Language: en |
| 568 | File: /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise_main_i18n_Translation-en |
| 569 | MD5: d72e12fa21290d21a54b74e8480abad1 |
| 570 | |
| 571 | |
| 572 | Reverse Depends: |
| 573 | gram,glance |
| 574 | glance-registry,glance 2012.1~e1~20110919.1021-0ubuntu2 |
| 575 | glance-common,glance 2011.3-0ubuntu4.1 |
| 576 | glance-common,glance 2011.3-0ubuntu4.1 |
| 577 | glance-client,glance 2012.1~e1~20110919.1021-0ubuntu2 |
| 578 | glance-api,glance 2012.1~e1~20110919.1021-0ubuntu2 |
| 579 | glance-registry,glance 2012.1~e1~20110919.1021-0ubuntu2 |
| 580 | glance-common,glance 2011.3-0ubuntu4.1 |
| 581 | glance-common,glance 2011.3-0ubuntu4.1 |
| 582 | glance-client,glance 2012.1~e1~20110919.1021-0ubuntu2 |
| 583 | glance-api,glance 2012.1~e1~20110919.1021-0ubuntu2 |
| 584 | glance-registry,glance 2012.1~e1~20110919.1021-0ubuntu2 |
| 585 | glance-common,glance 2011.3-0ubuntu4.1 |
| 586 | glance-common,glance 2011.3-0ubuntu4.1 |
| 587 | glance-client,glance 2012.1~e1~20110919.1021-0ubuntu2 |
| 588 | glance-api,glance 2012.1~e1~20110919.1021-0ubuntu2 |
| 589 | glance-registry,glance 2012.1~e1~20110919.1021-0ubuntu2 |
| 590 | glance-common,glance 2011.3-0ubuntu4.1 |
| 591 | glance-common,glance 2011.3-0ubuntu4.1 |
| 592 | glance-client,glance 2012.1~e1~20110919.1021-0ubuntu2 |
| 593 | glance-api,glance 2012.1~e1~20110919.1021-0ubuntu2 |
| 594 | glance-registry,glance 2012.1~e1~20110919.1021-0ubuntu2 |
| 595 | glance-common,glance 2011.3-0ubuntu4.1 |
| 596 | glance-common,glance 2011.3-0ubuntu4.1 |
| 597 | glance-client,glance 2012.1~e1~20110919.1021-0ubuntu2 |
| 598 | glance-api,glance 2012.1~e1~20110919.1021-0ubuntu2 |
| 599 | Dependencies: |
| 600 | 2012.2.4-0ubuntu1~cloud0 - glance-api (5 2012.2.4-0ubuntu1~cloud0) glance-registry (5 2012.2.4-0ubuntu1~cloud0) python-ceph (0 (null)) |
| 601 | 2012.2.3-0ubuntu2~cloud0 - glance-api (5 2012.2.3-0ubuntu2~cloud0) glance-registry (5 2012.2.3-0ubuntu2~cloud0) python-ceph (0 (null)) |
| 602 | 2012.1.3+stable-20130423-74b067df-0ubuntu1 - python-glance (5 2012.1.3+stable-20130423-74b067df-0ubuntu1) python-routes (0 (null)) python-eventlet (0 (null)) python-migrate (0 (null)) python-sqlalchemy-ext (16 (null)) python-sqlalchemy (3 0.6.3-2) python-crypto (0 (null)) python-xattr (0 (null)) glance-api (5 2012.1.3+stable-20130423-74b067df-0ubuntu1) glance-registry (5 2012.1.3+stable-20130423-74b067df-0ubuntu1) ca-certificates (0 (null)) adduser (0 (null)) |
| 603 | 2012.1.3+stable~20120821-120fcf-0ubuntu1.5 - python-glance (5 2012.1.3+stable~20120821-120fcf-0ubuntu1.5) python-routes (0 (null)) python-eventlet (0 (null)) python-migrate (0 (null)) python-sqlalchemy-ext (16 (null)) python-sqlalchemy (3 0.6.3-2) python-crypto (0 (null)) python-xattr (0 (null)) glance-api (5 2012.1.3+stable~20120821-120fcf-0ubuntu1.5) glance-registry (5 2012.1.3+stable~20120821-120fcf-0ubuntu1.5) ca-certificates (0 (null)) adduser (0 (null)) |
| 604 | 2012.1-0ubuntu2 - python-glance (5 2012.1-0ubuntu2) python-routes (0 (null)) python-eventlet (0 (null)) python-migrate (0 (null)) python-sqlalchemy-ext (16 (null)) python-sqlalchemy (3 0.6.3-2) python-crypto (0 (null)) python-xattr (0 (null)) glance-api (5 2012.1-0ubuntu2) glance-registry (5 2012.1-0ubuntu2) ca-certificates (0 (null)) adduser (0 (null)) |
| 605 | Provides: |
| 606 | 2012.2.4-0ubuntu1~cloud0 - |
| 607 | 2012.2.3-0ubuntu2~cloud0 - |
| 608 | 2012.1.3+stable-20130423-74b067df-0ubuntu1 - |
| 609 | 2012.1.3+stable~20120821-120fcf-0ubuntu1.5 - |
| 610 | 2012.1-0ubuntu2 - |
| 611 | Reverse Provides: |
| 612 | lnevers@boscontroller:~$ |
| 613 | |
| 614 | }}} |
| 615 | |
| 616 | |
| 617 | == Step 5. For each package, test the software after upgrading it == |
| 618 | |
| 619 | After the update created a new experiment: |
| 620 | {{{ |
| 621 | $ omni.py createslice lngram2 |
| 622 | INFO:omni:Loading config file /home/lnevers/.gcf/omni_config |
| 623 | INFO:omni:Using control framework gram |
| 624 | INFO:omni:Created slice with Name lngram2, URN urn:publicid:IDN+geni:bos:gcf+slice+lngram2, Expiration 2013-05-20 20:29:03 |
| 625 | INFO:omni: ------------------------------------------------------------ |
| 626 | INFO:omni: Completed createslice: |
| 627 | |
| 628 | Options as run: |
| 629 | framework: gram |
| 630 | |
| 631 | Args: createslice lngram2 |
| 632 | |
| 633 | Result Summary: Created slice with Name lngram2, URN urn:publicid:IDN+geni:bos:gcf+slice+lngram2, Expiration 2013-05-20 20:29:03 |
| 634 | |
| 635 | INFO:omni: ============================================================ |
| 636 | |
| 637 | $ omni.py createsliver -a gram2 -V2 lngram2 ./GR-EXP-2-exp1.rspec |
| 638 | INFO:omni:Loading config file /home/lnevers/.gcf/omni_config |
| 639 | INFO:omni:Using control framework gram |
| 640 | INFO:omni:Substituting AM nickname gram2 with URL https://128.89.91.170:5002, URN unspecified_AM_URN |
| 641 | WARNING:omni:Slice urn:publicid:IDN+geni:bos:gcf+slice+lngram2 expires in <= 3 hours |
| 642 | INFO:omni:Slice urn:publicid:IDN+geni:bos:gcf+slice+lngram2 expires on 2013-05-20 20:29:03 UTC |
| 643 | INFO:omni:Substituting AM nickname gram2 with URL https://128.89.91.170:5002, URN unspecified_AM_URN |
| 644 | INFO:omni:Substituting AM nickname gram2 with URL https://128.89.91.170:5002, URN unspecified_AM_URN |
| 645 | INFO:omni:Creating sliver(s) from rspec file ./GR-EXP-2-exp1.rspec for slice urn:publicid:IDN+geni:bos:gcf+slice+lngram2 |
| 646 | INFO:omni:Got return from CreateSliver for slice lngram2 at https://128.89.91.170:5002: |
| 647 | INFO:omni:<?xml version="1.0" ?> |
| 648 | INFO:omni: <!-- Reserved resources for: |
| 649 | Slice: lngram2 |
| 650 | at AM: |
| 651 | URN: unspecified_AM_URN |
| 652 | URL: https://128.89.91.170:5002 |
| 653 | --> |
| 654 | INFO:omni: |
| 655 | <rspec type="manifest" 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"> |
| 656 | <node client_id="exp1-host1" component_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+node+boscompute4" component_manager_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+authority+cm" exclusive="false" sliver_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+vm7b93289f-61d8-41f2-837c-3f5d9fbb7dc2"> |
| 657 | <interface client_id="exp1-host1:if0" mac_address="fa:16:3e:91:d8:93" sliver_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+interface4741daa7-7d43-4718-82e1-1bfb30edcd91"> |
| 658 | <ip address="10.0.73.100" type="ip"/> |
| 659 | </interface> |
| 660 | <sliver_type name="m1.small"> |
| 661 | <disk_image name="urn:publicid:IDN+boscontroller.gpolab.bbn.com+imageubuntu-12.04" os="Linux" version="12"/> |
| 662 | </sliver_type> |
| 663 | <services> |
| 664 | <login authentication="ssh-keys" hostname="boscontroller" port="3000" username="lnevers"/> |
| 665 | </services> |
| 666 | <host name="exp1-host1"/> |
| 667 | </node> |
| 668 | <link client_id="link-0" sliver_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+linka49a02aa-7c22-4800-9c14-116e44b2d846"> |
| 669 | <interface_ref client_id="exp1-host1:if0"/> |
| 670 | <interface_ref client_id="exp1-host2:if0"/> |
| 671 | <property dest_id="exp1-host2:if0" source_id="exp1-host1:if0"/> |
| 672 | <property dest_id="exp1-host1:if0" source_id="exp1-host2:if0"/> |
| 673 | </link> |
| 674 | <node client_id="exp1-host2" component_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+node+boscompute1" component_manager_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+authority+cm" exclusive="false" sliver_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+vm3b4b8b5a-4f31-4f33-9946-93cc1694f49e"> |
| 675 | <interface client_id="exp1-host2:if0" mac_address="fa:16:3e:17:82:dd" sliver_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+interface106694a1-fcf6-4d06-bfdd-e9114eee52a6"> |
| 676 | <ip address="10.0.73.101" type="ip"/> |
| 677 | </interface> |
| 678 | <sliver_type name="m1.small"> |
| 679 | <disk_image name="urn:publicid:IDN+boscontroller.gpolab.bbn.com+imageubuntu-12.04" os="Linux" version="12"/> |
| 680 | </sliver_type> |
| 681 | <services> |
| 682 | <login authentication="ssh-keys" hostname="boscontroller" port="3001" username="lnevers"/> |
| 683 | </services> |
| 684 | <host name="exp1-host2"/> |
| 685 | </node> |
| 686 | </rspec> |
| 687 | |
| 688 | INFO:omni: ------------------------------------------------------------ |
| 689 | INFO:omni: Completed createsliver: |
| 690 | |
| 691 | Options as run: |
| 692 | aggregate: ['gram2'] |
| 693 | framework: gram |
| 694 | |
| 695 | Args: createsliver lngram2 ./GR-EXP-2-exp1.rspec |
| 696 | |
| 697 | Result Summary: Got Reserved resources RSpec from 128-89-91-170-5002 |
| 698 | INFO:omni: ============================================================ |
| 699 | |
| 700 | }}} |
| 701 | |
| 702 | Verified allocation of VMs: |
| 703 | {{{ |
| 704 | lnevers@boscontroller:~$ source /etc/novarc |
| 705 | lnevers@boscontroller:~$ nova list --all-tenants |
| 706 | |
| 707 | +--------------------------------------+------------+--------+------------------------------------------------+ |
| 708 | | ID | Name | Status | Networks | |
| 709 | +--------------------------------------+------------+--------+------------------------------------------------+ |
| 710 | | e9d32004-9269-4be3-afd2-7e85580f9d5c | exp1-host1 | ACTIVE | link-0=10.0.73.100; GRAM-mgmt-net=192.168.10.3 | |
| 711 | | 3417c758-83e7-4fdc-b43f-3f7636e57606 | exp1-host2 | ACTIVE | link-0=10.0.73.101; GRAM-mgmt-net=192.168.10.4 | |
| 712 | +--------------------------------------+------------+--------+------------------------------------------------+ |
| 713 | }}} |
| 714 | |
| 715 | Logged into first of the two hosts and pinged remote: |
| 716 | {{{ |
| 717 | $ ssh 128.89.91.170 -p 3000 |
| 718 | lnevers@exp1-host1:~$ ifconfig eth1 |
| 719 | eth1 Link encap:Ethernet HWaddr fa:16:3e:91:d8:93 |
| 720 | inet addr:10.0.73.100 Bcast:10.0.73.255 Mask:255.255.255.0 |
| 721 | inet6 addr: fe80::f816:3eff:fe91:d893/64 Scope:Link |
| 722 | UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 |
| 723 | RX packets:127 errors:0 dropped:0 overruns:0 frame:0 |
| 724 | TX packets:11 errors:0 dropped:0 overruns:0 carrier:0 |
| 725 | collisions:0 txqueuelen:1000 |
| 726 | RX bytes:22435 (22.4 KB) TX bytes:2094 (2.0 KB) |
| 727 | |
| 728 | lnevers@exp1-host1:~$ ping 10.0.73.101 |
| 729 | PING 10.0.73.101 (10.0.73.101) 56(84) bytes of data. |
| 730 | 64 bytes from 10.0.73.101: icmp_req=1 ttl=64 time=2.92 ms |
| 731 | 64 bytes from 10.0.73.101: icmp_req=2 ttl=64 time=0.828 ms |
| 732 | 64 bytes from 10.0.73.101: icmp_req=3 ttl=64 time=0.765 ms |
| 733 | 64 bytes from 10.0.73.101: icmp_req=4 ttl=64 time=0.760 ms |
| 734 | 64 bytes from 10.0.73.101: icmp_req=5 ttl=64 time=0.716 ms |
| 735 | 64 bytes from 10.0.73.101: icmp_req=6 ttl=64 time=0.820 ms |
| 736 | 64 bytes from 10.0.73.101: icmp_req=7 ttl=64 time=0.770 ms |
| 737 | ^C |
| 738 | --- 10.0.73.101 ping statistics --- |
| 739 | 7 packets transmitted, 7 received, 0% packet loss, time 6002ms |
| 740 | rtt min/avg/max/mdev = 0.716/1.083/2.928/0.754 ms |
| 741 | }}} |
| 742 | Logged into second of the two hosts and pinged remote: |
| 743 | {{{ |
| 744 | $ ssh 128.89.91.170 -p 3001 |
| 745 | lnevers@exp1-host2:~$ /sbin/ifconfig eth1 |
| 746 | eth1 Link encap:Ethernet HWaddr fa:16:3e:17:82:dd |
| 747 | inet addr:10.0.73.101 Bcast:10.0.73.255 Mask:255.255.255.0 |
| 748 | inet6 addr: fe80::f816:3eff:fe17:82dd/64 Scope:Link |
| 749 | UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 |
| 750 | RX packets:84 errors:0 dropped:0 overruns:0 frame:0 |
| 751 | TX packets:11 errors:0 dropped:0 overruns:0 carrier:0 |
| 752 | collisions:0 txqueuelen:1000 |
| 753 | RX bytes:13489 (13.4 KB) TX bytes:2094 (2.0 KB) |
| 754 | |
| 755 | lnevers@exp1-host2:~$ ping 10.0.73.100 |
| 756 | PING 10.0.73.100 (10.0.73.100) 56(84) bytes of data. |
| 757 | 64 bytes from 10.0.73.100: icmp_req=1 ttl=64 time=1.52 ms |
| 758 | 64 bytes from 10.0.73.100: icmp_req=2 ttl=64 time=0.691 ms |
| 759 | 64 bytes from 10.0.73.100: icmp_req=3 ttl=64 time=0.822 ms |
| 760 | 64 bytes from 10.0.73.100: icmp_req=4 ttl=64 time=0.757 ms |
| 761 | 64 bytes from 10.0.73.100: icmp_req=5 ttl=64 time=0.818 ms |
| 762 | ^C |
| 763 | --- 10.0.73.100 ping statistics --- |
| 764 | 5 packets transmitted, 5 received, 0% packet loss, time 4000ms |
| 765 | rtt min/avg/max/mdev = 0.691/0.921/1.520/0.304 ms |
| 766 | |
| 767 | }}} |
| 768 | |
| 769 | |
| 770 | Delete sliver: |
| 771 | |
| 772 | {{{ |
| 773 | $ omni.py deletesliver -a gram2 -V2 lngram2 |
| 774 | INFO:omni:Loading config file /home/lnevers/.gcf/omni_config |
| 775 | INFO:omni:Using control framework gram |
| 776 | INFO:omni:Substituting AM nickname gram2 with URL https://128.89.91.170:5002, URN unspecified_AM_URN |
| 777 | WARNING:omni:Slice urn:publicid:IDN+geni:bos:gcf+slice+lngram2 expires in <= 3 hours |
| 778 | INFO:omni:Slice urn:publicid:IDN+geni:bos:gcf+slice+lngram2 expires on 2013-05-20 20:29:03 UTC |
| 779 | INFO:omni:Substituting AM nickname gram2 with URL https://128.89.91.170:5002, URN unspecified_AM_URN |
| 780 | INFO:omni:Deleted sliver urn:publicid:IDN+geni:bos:gcf+slice+lngram2 on unspecified_AM_URN at https://128.89.91.170:5002 |
| 781 | INFO:omni: ------------------------------------------------------------ |
| 782 | INFO:omni: Completed deletesliver: |
| 783 | |
| 784 | Options as run: |
| 785 | aggregate: ['gram2'] |
| 786 | framework: gram |
| 787 | |
| 788 | Args: deletesliver lngram2 |
| 789 | |
| 790 | Result Summary: Deleted sliver urn:publicid:IDN+geni:bos:gcf+slice+lngram2 on unspecified_AM_URN at https://128.89.91.170:5002 |
| 791 | INFO:omni: ============================================================ |
| 792 | }}} |
| 793 | |
| 794 | Verify resources are released: |
| 795 | {{{ |
| 796 | lnevers@boscontroller:~$ nova list --all-tenants |
| 797 | |
| 798 | lnevers@boscontroller:~$ |
| 799 | }}} |