This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # | |
| # This should be run as the zenoss user | |
| set -x | |
| function die { echo "ERROR: ${*}" >&2; exit 1; } | |
| function testcase_die { die "Test case #$TESTCASE failed!" } | |
| $ZENHOME/bin/zeneventserver start |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/zendev/cmd/test.py b/zendev/cmd/test.py | |
| index ed59d17..9824360 100644 | |
| --- a/zendev/cmd/test.py | |
| +++ b/zendev/cmd/test.py | |
| @@ -29,9 +29,11 @@ def build_image(args, env, resmgr=False): | |
| def zen_image_tests(args, env, product=''): | |
| env = env() | |
| + os.environ['VAR_ZENOSS']=env.var_zenoss.strpath | |
| envvars = os.environ.copy() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| |---------------------------------------------------------------------------------------->| | |
| |perf-import (to infinity, and beyond) 5 | |
| | | |
| |------------------------------------>| | |
| |events-database | | |
| | | | |
| |------------------------------------>| | |
| |events-index |------------------->|--------------------->| | |
| | |model-zenmigrate 3 model-zenpack 4 | |
| |------------------------------------>| |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff '--exclude=.git' '--exclude=.svn' -Nurp ZenPacks.zenoss.WBEM/ZenPacks/zenoss/WBEM/__init__.py svn/ZenPacks.zenoss.WBEM/ZenPacks/zenoss/WBEM/__init__.py | |
| --- ZenPacks.zenoss.WBEM/ZenPacks/zenoss/WBEM/__init__.py 2015-07-07 11:48:54.000000000 -0500 | |
| +++ svn/ZenPacks.zenoss.WBEM/ZenPacks/zenoss/WBEM/__init__.py 2015-07-07 11:48:05.000000000 -0500 | |
| @@ -25,8 +25,8 @@ class ZenPack(ZenPackBase): | |
| """WBEM ZenPack.""" | |
| packZProperties = [ | |
| - ('zWBEMPort', '5988', 'integer'), | |
| + ('zWBEMPort', '5989', 'integer'), | |
| ('zWBEMUsername', '', 'string'), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff '--exclude=.git' '--exclude=.svn' -Nurp ZenPacks.zenoss.DynamicView/ZenPacks/zenoss/DynamicView/browser/resources/js/dynamicview.js svn/ZenPacks.zenoss.DynamicView/ZenPacks/zenoss/DynamicView/browser/resources/js/dynamicview.js | |
| --- ZenPacks.zenoss.DynamicView/ZenPacks/zenoss/DynamicView/browser/resources/js/dynamicview.js 2015-07-07 11:59:19.000000000 -0500 | |
| +++ svn/ZenPacks.zenoss.DynamicView/ZenPacks/zenoss/DynamicView/browser/resources/js/dynamicview.js 2015-07-07 11:58:46.000000000 -0500 | |
| @@ -36,7 +36,8 @@ Ext.define("Zenoss.dynamicview.DynamicVi | |
| viewName: 'service_view', | |
| contextUid: null, | |
| serverVars: {}, | |
| - flashVars: {elementID: config.id} | |
| + flashVars: {elementID: config.id}, | |
| + height: '100%' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| newImage, err := ctr.Commit(image.ID.BaseName()) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # |------------------------------------>| | |
| # |events-database | | |
| # | | | |
| # |------------------------------------>| | |
| # |events-index |------------------->|--------------------->|------------------------------->|--------------------->| | |
| # | |model-zenmigrate 3 model-zenpack 4 perf-convert 5 perf-import 6 | |
| # |------------------------------------>| | |
| # |model-database | | |
| # | | | |
| # |------------------------------------>| |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| goroutine 252 [chan receive, 22 minutes]: | |
| github.com/control-center/go-zookeeper/zk.(*Conn).request(0xc22842a340, 0xc200000003, 0xa730c0, 0xc23a6c4440, 0xa73120, 0xc22cbcedc0, 0x0, 0xc2088eb070, 0x0, 0x0) | |
| /go/src/github.com/control-center/serviced/Godeps/_workspace/src/github.com/control-center/go-zookeeper/zk/conn.go:618 +0xcc | |
| github.com/control-center/go-zookeeper/zk.(*Conn).Exists(0xc22842a340, 0xc23a6c4420, 0x17, 0xc23a6c4420, 0x17, 0x0, 0x0) | |
| /go/src/github.com/control-center/serviced/Godeps/_workspace/src/github.com/control-center/go-zookeeper/zk/conn.go:732 +0x111 | |
| github.com/control-center/serviced/coordinator/client/zookeeper.(*Connection).Exists(0xc22cbced70, 0xd0a590, 0x9, 0xc22745b580, 0x0, 0x0) | |
| /go/src/github.com/control-center/serviced/coordinator/client/zookeeper/connection.go:177 +0x156 | |
| github.com/control-center/serviced/zzk.PathExists(0x7f13d96bf698, 0xc22cbced70, 0xd0a590, 0x9, 0x9, 0x0, 0x0) | |
| /go/src/github.com/control-center/serviced/zzk/zzk.go:120 +0x57 | |
| github.com/control-center/serviced |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| try: | |
| self.state.load() | |
| print "Loaded existing migration state" | |
| except IOError: | |
| print "Existing migration state not found" | |
| except Exception as e: | |
| print "Error loading migration state: {}".format(str(e)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package model | |
| // TODO: use tags here for JSON unmarshaling | |
| // TODO: maybe use the receiver object pattern from http://blog.golang.org/json-and-go | |
| // TODO: Figure out the problem with public structs (http://stackoverflow.com/questions/11126793/golang-json-and-dealing-with-unexported-fields) | |
| import ( | |
| "fmt" | |
| trie "github.com/tchap/go-patricia/patricia" | |
| ) |