Changeset 1783


Ignore:
Timestamp:
Nov 25, 2008, 11:44:57 PM (15 years ago)
Author:
quentin
Message:

Block xen_cpu from running with XenAPI until we switch all of XVM

Location:
trunk/packages/xvm-munin-config
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/xvm-munin-config/debian/changelog

    r1781 r1783  
    55  * Bump theoretical CPU max to 64x
    66  * Show domain CPU weight and cap if available
     7  * Refuse to run with the untested SERVER_XEN_API until we support it elsewhere
    78
    89  [ Evan Broder ]
     
    1112    preinst will get run on upgrade
    1213
    13  -- Evan Broder <broder@mit.edu>  Tue, 25 Nov 2008 23:14:07 -0500
     14 -- Quentin Smith <quentin@mit.edu>  Tue, 25 Nov 2008 23:44:22 -0500
    1415
    1516xvm-munin-config (0.0.4) unstable; urgency=low
  • trunk/packages/xvm-munin-config/host/usr/share/xvm-munin-host-config/plugins/xen_cpu

    r1779 r1783  
    44from xen.xend import sxp
    55import atexit
     6import sys
    67
    78serverType, serverURI = parseServer()
     9
     10if serverType != SERVER_LEGACY_XMLRPC:
     11    print >>sys.stderr, "xen_cpu is untested with this Xen server type"
     12    sys.exit(1)
    813
    914if serverType == SERVER_XEN_API:
     
    2126    from xen.util.xmlrpcclient import ServerProxy
    2227    server = ServerProxy(serverURI)
    23 
    24 import sys
    2528
    2629if len(sys.argv) > 1:
Note: See TracChangeset for help on using the changeset viewer.