14 Mrz 2012

Downgrade OpenStack from trunc to stable

Author: Heiko | Filed under: Linux, OpenStack

If you need to downgrade you OpenStack installation from trunc-Version to stable, you need only 3 steps to the goal :) .

Step1:
Show your available versions with

apt-cache showpkg nova-compute

You will get an output like this one

Versions:
2012.1~e3~20120117.12124-0ubuntu0ppa1~oneiric1 (/var/lib/dpkg/status)
Description Language:
File: /var/lib/dpkg/status
MD5: 4ede856ba4b4b8796676686d84f6183b

2011.3-0ubuntu6.4 (/var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_oneiric-updates_main_binary-amd64_Packages) (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_oneiric-security_main_binary-amd64_Packages)
Description Language: en
File: /var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_oneiric-updates_main_i18n_Translation-en
MD5: 4ede856ba4b4b8796676686d84f6183b
Description Language:
File: /var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_oneiric-updates_main_binary-amd64_Packages
MD5: 4ede856ba4b4b8796676686d84f6183b

Step2:
Now take the current stable version and install it with aptitude

aptitude install nova-compute=2011.3-0ubuntu6.4

Step3:
You’ll see proposals of aptitude and the correct one is

The following actions will resolve these dependencies:

Downgrade the following packages:
1) nova-common [2012.1~e3~20120117.12124-0ubuntu0ppa1~oneiric1 (now) -> 2011.3-0ubuntu6.4 (oneiric-security, oneiric-updates)]
2) nova-compute-kvm [2012.1~e3~20120117.12124-0ubuntu0ppa1~oneiric1 (now) -> 2011.3-0ubuntu6.4 (oneiric-security, oneiric-updates)]
3) nova-network [2012.1~e3~20120117.12124-0ubuntu0ppa1~oneiric1 (now) -> 2011.3-0ubuntu6.4 (oneiric-security, oneiric-updates)]
4) python-nova [2012.1~e3~20120117.12124-0ubuntu0ppa1~oneiric1 (now) -> 2011.3-0ubuntu6.4 (oneiric-security, oneiric-updates)]

Accept this solution? [Y/n/q/?]

Answer with Y and that’s it :)

Tags: , , ,

Leave a Reply

*