~free.ekanayaka/landscape-client/jaunty-1.5.4-0ubuntu0.9.04.0

« back to all changes in this revision

Viewing changes to landscape/__init__.py

  • Committer: Free Ekanayaka
  • Date: 2010-08-04 20:06:59 UTC
  • Revision ID: free.ekanayaka@canonical.com-20100804200659-w6rqbjz6wg9w3npc
* 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
import sys
 
2
 
1
3
DEBIAN_REVISION = ""
2
 
UPSTREAM_VERSION = "1.5.2"
 
4
UPSTREAM_VERSION = "1.5.4"
3
5
VERSION = "%s%s" % (UPSTREAM_VERSION, DEBIAN_REVISION)
4
6
 
5
7
# The "server-api" field of outgoing messages will be set to this value, and
46
48
    from landscape.lib.initgroups import initgroups as cinitgroups
47
49
    return cinitgroups(pwd.getpwuid(uid).pw_name, gid)
48
50
 
49
 
# Patch twisted initgroups implementation, which can result in very long calls
50
 
# to grp.getrlall(). See http://twistedmatrix.com/trac/ticket/3226
51
 
util.initgroups = initgroups
 
51
 
 
52
if "twisted.python._initgroups" not in sys.modules:
 
53
    # Patch twisted initgroups implementation, which can result in very long
 
54
    # calls to grp.getrlall(). See http://twistedmatrix.com/trac/ticket/3226
 
55
    # We can remove that bit when Lucid is our oldest supported version
 
56
    # (May 2013).
 
57
    util.initgroups = initgroups