~ahasenack/landscape-client/landscape-client-11.02-0ubuntu0.10.04.0

« back to all changes in this revision

Viewing changes to landscape/upgraders/legacy.py

  • Committer: Bazaar Package Importer
  • Author(s): Free Ekanayaka
  • Date: 2010-07-28 08:14:02 UTC
  • mfrom: (1.2.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20100728081402-dwbdt2l814j5bsy0
Tags: 1.5.4-0ubuntu0.10.04.0
* New upstream version (LP: #610744):

  - The Eucalyptus management plugin reports the output of the
    'euca-describe-availability-zones verbose' command, which includes
    information about the available instance types and the maximum
    number of each instance type that the cloud can support (LP: #599338)

  - Check if the package directory exists before trying to check the
    package changer lock in the dbus-proxy. This fixes a bug when upgrading
    a dbus-landscape which never registered (LP: #603514).

  - Allow an LDS server to bootstrap new cloud instances with its own CA,
    which is picked up by the client, written to a file on the instance, and
    used in subsequent exchanges with the server (LP: #605079).

  - Skip loopback interface when reporting device info (LP: #608314)

  - Disable landscape-sysinfo when load is more than 1 (LP: #608278)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
import os
2
 
import gdbm
3
2
 
4
3
from landscape.patch import UpgradeManager
5
4
from landscape.lib.persist import Persist
56
55
 
57
56
    # package data needs to be migrated to a sqlite db
58
57
    if os.path.exists(hashdb_filename):
 
58
        import gdbm
59
59
        hashdb = gdbm.open(hashdb_filename, "r")
60
60
        store = PackageStore(sqlite_filename)
61
61