Hello.
Tried upgrading from zenoss core 5.1.8 to 5.2.4. Started with the core update and was going to do the control center piece after, but encountered an error.
Can anyone figure out what is wrong?
******************************* LOG OUTPUT*******************************
Script started on Fri 05 May 2017 01:06:59 PM CDT
[94mI0505 13:07:00.089597 02793 runner.go:159] executing step 0: DESCRIPTION Zenoss Core 5.2.4 upgrade
[0m [94mI0505 13:07:00.089671 02793 runner.go:159] executing step 1: VERSION core-5.2.4
[0m [94mI0505 13:07:00.089678 02793 runner.go:159] executing step 2: REQUIRE_SVC
[0m [94mI0505 13:07:00.089684 02793 eval.go:340] checking service requirement
[0m [94mI0505 13:07:00.089691 02793 eval.go:344] verifying service al0xrb7nsn1nc0zy7suu39m3r
[0m [94mI0505 13:07:00.089952 02793 eval.go:350] found al0xrb7nsn1nc0zy7suu39m3r tenant id for service al0xrb7nsn1nc0zy7suu39m3r
[0m [94mI0505 13:07:00.089970 02793 runner.go:159] executing step 3: SNAPSHOT preupgrade-core-5.2.4
[0m [94mI0505 13:07:00.089977 02793 eval.go:22] performing snapshot
[0m [94mI0505 13:07:01.700893 02793 eval.go:47] snapshot id: al0xrb7nsn1nc0zy7suu39m3r_20170505-180701.051
[0m [94mI0505 13:07:01.700923 02793 runner.go:159] executing step 4: SVC_USE zenoss/core_5.2:5.2.4_1 zenoss/core_5.0 zenoss/core_5.1 zenoss/core_5.2
[0m [94mI0505 13:07:01.700934 02793 eval.go:70] preparing to use image: zenoss/core_5.2:5.2.4_1
[0m [94mI0505 13:07:01.700965 02793 service_client.go:32] Pulling zenoss/core_5.2:5.2.4_1, tagging to latest, and pushing to registry localhost:5000 - this may take a while
[0m [94mI0505 13:07:03.674655 02793 eval.go:79] Successfully pulled and tagged new image zenoss/core_5.2:5.2.4_1
[0m [94mI0505 13:07:03.674690 02793 runner.go:159] executing step 5: SVC_USE zenoss/hbase:24.0.3
[0m [94mI0505 13:07:03.674704 02793 eval.go:70] preparing to use image: zenoss/hbase:24.0.3
[0m [94mI0505 13:07:03.674716 02793 service_client.go:32] Pulling zenoss/hbase:24.0.3, tagging to latest, and pushing to registry localhost:5000 - this may take a while
[0m [94mI0505 13:07:03.777455 02793 eval.go:79] Successfully pulled and tagged new image zenoss/hbase:24.0.3
[0m [94mI0505 13:07:03.777484 02793 runner.go:159] executing step 6: SVC_USE zenoss/opentsdb:24.0.3
[0m [94mI0505 13:07:03.777494 02793 eval.go:70] preparing to use image: zenoss/opentsdb:24.0.3
[0m [94mI0505 13:07:03.777501 02793 service_client.go:32] Pulling zenoss/opentsdb:24.0.3, tagging to latest, and pushing to registry localhost:5000 - this may take a while
[0m [94mI0505 13:07:03.875970 02793 eval.go:79] Successfully pulled and tagged new image zenoss/opentsdb:24.0.3
[0m [94mI0505 13:07:03.875996 02793 runner.go:159] executing step 7: SVC_START Zenoss.core/Infrastructure/mariadb
[0m [94mI0505 13:07:04.339259 02793 eval.go:170] starting service Zenoss.core/Infrastructure/mariadb 1bs39kvz5t57v473suwt3a00u
[0m [94mI0505 13:07:04.368470 02793 runner.go:159] executing step 8: SVC_START Zenoss.core/Infrastructure/RabbitMQ
[0m [94mI0505 13:07:04.800531 02793 eval.go:170] starting service Zenoss.core/Infrastructure/RabbitMQ ax56dhyc9lw6e339up7mxhj23
[0m [94mI0505 13:07:04.846042 02793 runner.go:159] executing step 9: SVC_START Zenoss.core/Zenoss/Events/zeneventserver
[0m [94mI0505 13:07:05.321956 02793 eval.go:170] starting service Zenoss.core/Zenoss/Events/zeneventserver aymqq20oazf6athyoculmc5wy
[0m [94mI0505 13:07:05.383002 02793 runner.go:159] executing step 10: SVC_START Zenoss.core/Infrastructure/redis
[0m [94mI0505 13:07:05.803335 02793 eval.go:170] starting service Zenoss.core/Infrastructure/redis dg9uanu23mkynkj1su756nbmq
[0m [94mI0505 13:07:05.852923 02793 runner.go:159] executing step 11: SVC_WAIT Zenoss.core/Infrastructure/mariadb Zenoss.core/Infrastructure/RabbitMQ Zenoss.core/Zenoss/Events/zeneventserver Zenoss.core/Infrastructure/redis started 1200
[0m [94mI0505 13:07:07.542170 02793 eval.go:134] waiting 1200 for services Zenoss.core/Infrastructure/mariadb, Zenoss.core/Infrastructure/RabbitMQ, Zenoss.core/Zenoss/Events/zeneventserver, Zenoss.core/Infrastructure/redis to be started
[0m [94mI0505 13:07:16.805076 02793 runner.go:159] executing step 12: SVC_RUN "Zenoss.core/Zenoss/User Interface/Zope" upgrade
[0m [94mI0505 13:07:17.547111 02793 eval.go:270] running: serviced service run 43b3o7gg6myzp3frznt1fir8i upgrade
[0m [94mI0505 13:07:18.180371 04260 server.go:345] Connected to the control center at port 10.1.3.11:4979
[0m [94mI0505 13:07:18.208048 04260 server.go:364] Getting image localhost:5000/al0xrb7nsn1nc0zy7suu39m3r/core_5.2:latest
[0m [94mI0505 13:07:19.297059 04260 server.go:453] Acquiring image from the dfs...
[0m [94mI0505 13:07:20.016808 04260 server.go:458] Acquired! Starting shell
[0m [94mI0505 13:07:20.025162 04260 shell.go:214] started command in container &{/usr/bin/docker [/usr/bin/docker run -v /opt/serviced/bin/:/serviced -v /:/mnt/pwd -v /go/src/github.com/control-center/serviced/isvcs/resources:/usr/local/serviced/resources -u root -w / -v /opt/serviced/var/volumes/al0xrb7nsn1nc0zy7suu39m3r/zenjobs:/opt/zenoss/log/jobs -v /opt/serviced/var/volumes/al0xrb7nsn1nc0zy7suu39m3r/zenoss-custom-patches:/opt/zenoss/patches -v /opt/serviced/var/volumes/al0xrb7nsn1nc0zy7suu39m3r/zenoss-custom-patches-pc:/opt/zenoss/.pc -v /opt/serviced/var/volumes/al0xrb7nsn1nc0zy7suu39m3r/zenoss-export:/opt/zenoss/export -v /opt/serviced/var/volumes/al0xrb7nsn1nc0zy7suu39m3r/zenoss-var-ext:/opt/zenoss/var/ext -v /opt/serviced/var/volumes/al0xrb7nsn1nc0zy7suu39m3r/zenpack-backup:/opt/zenoss/.ZenPacks -v /opt/serviced/var/volumes/al0xrb7nsn1nc0zy7suu39m3r/.ssh:/home/zenoss/.ssh -v /opt/serviced/var/volumes/al0xrb7nsn1nc0zy7suu39m3r/var-zenpacks:/var/zenoss --name=6hHg5MxdEilfmEDbiVTAux -e CONTROLPLANE_SYSTEM_USER=system_user -e CONTROLPLANE_SYSTEM_PASSWORD=aqfwxwc6j799col2e2hw9vyu9 -e SERVICED_NOREGISTRY= -e SERVICED_IS_SERVICE_SHELL=true -e SERVICED_SERVICE_IMAGE=localhost:5000/al0xrb7nsn1nc0zy7suu39m3r/core_5.2:latest -e SERVICED_UI_PORT=443 localhost:5000/al0xrb7nsn1nc0zy7suu39m3r/core_5.2:latest /serviced/serviced-controller --logtostderr=false --autorestart=false --disable-metric-forwarding --logstash=true --logstash-idle-flush-time=100ms --logstash-settle-time=5s 43b3o7gg6myzp3frznt1fir8i 0 su - root -c '${ZENHOME:-/opt/zenoss}/bin/zenrun upgrade.sh doUpgrade '] [] %!s(*os.File=&{0xc20803c1e0}) %!s(*os.File=&{0xc20803c210}) %!s(*os.File=&{0xc20803c240}) [] %!s(*syscall.SysProcAttr=<nil>) %!s(*os.Process=&{4392 0 0}) <nil> <nil> %!s(bool=false) [%!s(*os.File=&{0xc20803c1e0}) %!s(*os.File=&{0xc20803c210}) %!s(*os.File=&{0xc20803c240})] [] [] [] %!s(chan error=0xc2085db2c0)}
[0m2017/05/05 18:07:22 Connected to 10.1.3.11:2181
2017/05/05 18:07:22 Authenticated: id=97910249510469706, timeout=15000
2017/05/05 18:07:22 Connected to 10.1.3.11:2181
2017/05/05 18:07:22 Authenticated: id=97910249510469707, timeout=15000
E0505 18:07:22.617881 00001 endpoint.go:478] No proxy for al0xrb7nsn1nc0zy7suu39m3r_memcached - no need to set empty address list
E0505 18:07:22.620117 00001 endpoint.go:478] No proxy for al0xrb7nsn1nc0zy7suu39m3r_localhost_zenhubPB - no need to set empty address list
E0505 18:07:22.620470 00001 endpoint.go:478] No proxy for al0xrb7nsn1nc0zy7suu39m3r_zproxy - no need to set empty address list
INFO:zen.ZenPackCmd:Restoring zenpacks
INFO:zen.ZenPackCmd:Scanning /opt/zenoss/zphistory.json for new Zenpacks.
INFO:zen.ZenPackCmd:Zenpack ZenPacks.zenoss.ZenPackLib (new since 5.2.1) to be installed.
INFO:zen.ZenPackCMD:ZenPack files only install: ZenPacks.zenoss.Dashboard
INFO:zen.ZenPackCMD:ZenPack files only install: ZenPacks.zenoss.DeviceSearch
INFO:zen.ZenPackCMD:ZenPack files only install: ZenPacks.zenoss.LinuxMonitor
INFO:zen.ZenPackCMD:ZenPack files only install: ZenPacks.zenoss.PythonCollector
INFO:zen.ZenPackCMD:ZenPack files only install: ZenPacks.zenoss.ZenMail
INFO:zen.ZenPackCMD:ZenPack files only install: ZenPacks.zenoss.ZenPackLib
INFO:zen.ZenPackCMD:ZenPack files only install: ZenPacks.zenoss.Microsoft.Windows
INFO:zen.ZenPackCmd:Attempting to install packs: ZenPacks.zenoss.Dashboard, ZenPacks.zenoss.DeviceSearch, ZenPacks.zenoss.LinuxMonitor, ZenPacks.zenoss.PythonCollector, ZenPacks.zenoss.ZenMail, ZenPacks.zenoss.ZenPackLib, ZenPacks.zenoss.Microsoft.Windows
INFO:zen.ZenPackCmd:Loading candidate /opt/zenoss/packs/ZenPacks.zenoss.Dashboard-1.2.5-py2.7.egg
INFO:zen.ZenPackCMD:Previous ZenPack exists with same name ZenPacks.zenoss.Dashboard
INFO:zen.ZenPackCMD:installing zenpack ZenPacks.zenoss.Dashboard; launching process
2017-05-05 18:07:50,790 INFO zen.ZPLoader: Loading /opt/zenoss/ZenPacks/ZenPacks.zenoss.Dashboard-1.2.5-py2.7.egg/ZenPacks/zenoss/Dashboard/objects/objects.xml
2017-05-05 18:07:50,790 INFO zen.AddToPack: End loading objects
2017-05-05 18:07:50,790 INFO zen.AddToPack: Processing links
2017-05-05 18:07:50,837 INFO zen.AddToPack: Loaded 0 objects into the ZODB database
2017-05-05 18:07:50,847 INFO zen.HookReportLoader: Loading reports from /opt/zenoss/ZenPacks/ZenPacks.zenoss.Dashboard-1.2.5-py2.7.egg/ZenPacks/zenoss/Dashboard/reports
2017-05-05 18:07:50,938 INFO zen.dashboard: Building dashboard relationships on user manager
2017-05-05 18:07:50,944 INFO zen.dashboard: Building dashboard relationships on 4 users
2017-05-05 18:07:50,945 INFO zen.dashboard: Building dashboard relationships on 0 User Groups
INFO:zen.ZenPackCmd:Loading candidate /opt/zenoss/packs/ZenPacks.zenoss.DeviceSearch-1.2.2-py2.7.egg
INFO:zen.ZenPackCMD:Previous ZenPack exists with same name ZenPacks.zenoss.DeviceSearch
INFO:zen.ZenPackCMD:installing zenpack ZenPacks.zenoss.DeviceSearch; launching process
2017-05-05 18:08:01,994 INFO zen.HookReportLoader: Loading reports from /opt/zenoss/ZenPacks/ZenPacks.zenoss.DeviceSearch-1.2.2-py2.7.egg/ZenPacks/zenoss/DeviceSearch/reports
INFO:zen.ZenPackCmd:Loading candidate /opt/zenoss/packs/ZenPacks.zenoss.LinuxMonitor-2.2.0-py2.7.egg
INFO:zen.ZenPackCMD:Previous ZenPack exists with same name ZenPacks.zenoss.LinuxMonitor
ERROR:zen.zenpacklib:Monitoring template /Server/SSH/Linux/Device has been modified since the ZenPacks.zenoss.LinuxMonitor ZenPack was installed. These local changes will be lost as this ZenPack is upgraded or reinstalled. Existing template will be renamed to 'Device-upgrade-1494007688'. Please review and reconcile local changes:
---
+++
@@ -1,6 +1,5 @@
!!map
description: Linux device monitoring via SSH.
-targetPythonClass: Products.ZenModel.Device
datasources:
cpu:
type: COMMAND
@@ -11,15 +10,11 @@
ssCpuIdlePerCpu:
rrdtype: DERIVE
rrdmin: 0
- aliases: {cpu_idle__pct: ''}
+ aliases: {cpu__pct: '100,EXC,-,0,MAX', cpu_idle__pct: ''}
ssCpuSystemPerCpu:
rrdtype: DERIVE
rrdmin: 0
aliases: {cpu_system__pct: ''}
- ssCpuUsedPerCpu:
- rrdtype: DERIVE
- rrdmin: 0
- aliases: {cpu__pct: ''}
ssCpuUserPerCpu:
rrdtype: DERIVE
rrdmin: 0
@@ -28,8 +23,8 @@
rrdtype: DERIVE
rrdmin: 0
aliases: {cpu_wait__pct: ''}
+ usessh: !!python/unicode 'true'
parser: !!python/unicode 'ZenPacks.zenoss.LinuxMonitor.parsers.linux.cpu'
- usessh: !!python/unicode 'true'
io:
type: COMMAND
eventClass: /Ignore
@@ -44,8 +39,8 @@
rrdtype: DERIVE
rrdmin: 0
aliases: {sys_io_sent__sectorssec: ''}
+ usessh: !!python/unicode 'true'
parser: !!python/unicode 'ZenPacks.zenoss.LinuxMonitor.parsers.linux.diskstats'
- usessh: !!python/unicode 'true'
mem:
type: COMMAND
eventClass: /Ignore
@@ -62,18 +57,13 @@
memoryCached__bytes: ''}
MemFree:
rrdmin: 0
- aliases: {mem_free__bytes: '', mem_free__pct: '${here/hw/totalMemory},/,*,100',
- memoryAvailable__bytes: ''}
+ aliases: {mem__pct: '${here/hw/totalMemory},/,1,-,100,*,ABS', mem_free__bytes: '',
+ mem_free__pct: '${here/hw/totalMemory},/,*,100', mem_used__bytes: '${here/hw/totalMemory},EXC,-,0,MAX',
+ mem_used__pct: '${here/hw/totalMemory},/,1,-,100,*,ABS', memoryAvailable__bytes: '',
+ memoryUsed__pct: '${here/hw/totalMemory},/,1,-,100,*,ABS'}
MemTotal:
rrdmin: 0
aliases: {mem_total__bytes: ''}
- MemUsed:
- rrdmin: 0
- aliases: {mem_used__bytes: ''}
- MemUsedPercent:
- rrdmin: 0
- rrdmax: 100
- aliases: {mem__pct: '', mem_used__pct: '', memoryUsed__pct: ''}
SwapFree:
rrdmin: 0
aliases: {mem_swap_free__bytes: '', mem_swap_free__pct: '${here/os/totalSwap},/,*,100',
@@ -81,16 +71,16 @@
SwapTotal:
rrdmin: 0
aliases: {mem_swap_total__bytes: ''}
+ usessh: !!python/unicode 'true'
parser: !!python/unicode 'ZenPacks.zenoss.LinuxMonitor.parsers.linux.mem'
- usessh: !!python/unicode 'true'
ssh:
type: COMMAND
eventClass: /Ignore
severity: clear
commandTemplate: /usr/bin/env echo TEST
+ cycletime: 60
+ usessh: !!python/unicode 'true'
parser: !!python/unicode 'ZenPacks.zenoss.LinuxMonitor.parsers.Standard'
- cycletime: !!python/unicode '60'
- usessh: !!python/unicode 'true'
uptime:
type: COMMAND
eventClass: /Ignore
@@ -109,8 +99,8 @@
sysUpTime:
rrdmin: 0
aliases: {sys_uptime__secs: '100,/'}
+ usessh: !!python/unicode 'true'
parser: !!python/unicode 'uptime'
- usessh: !!python/unicode 'true'
graphs:
CPU Utilization:
units: percent
@@ -118,8 +108,9 @@
maxy: 100
graphpoints:
Busy:
- dpName: cpu_ssCpuUsedPerCpu
+ dpName: cpu_ssCpuIdlePerCpu
format: '%7.2lf%%'
+ rpn: 100,EXC,-,0,MAX
System:
dpName: cpu_ssCpuSystemPerCpu
format: '%7.2lf%%'
@@ -139,7 +130,6 @@
Written:
dpName: io_ssIORawSent
format: '%7.2lf%s'
- color: 98df8a
Load Average:
units: processes
miny: 0
@@ -169,8 +159,9 @@
format: '%7.2lf%s'
rpn: ${here/os/totalSwap},EXC,-,0,MAX
Used:
- dpName: mem_MemUsed
+ dpName: mem_MemFree
format: '%7.2lf%s'
+ rpn: ${here/hw/totalMemory},EXC,-,0,MAX
Memory Utilization:
units: percent
miny: 0
@@ -189,6 +180,7 @@
format: '%7.2lf%%'
rpn: ${here/os/totalSwap},/,1,-,100,*,ABS
Used:
- dpName: mem_MemUsedPercent
+ dpName: mem_MemFree
format: '%7.2lf%%'
+ rpn: ${here/hw/totalMemory},/,1,-,100,*,ABS
ERROR:zen.zenpacklib:Monitoring template /Server/SSH/Linux/ethernetCsmacd has been modified since the ZenPacks.zenoss.LinuxMonitor ZenPack was installed. These local changes will be lost as this ZenPack is upgraded or reinstalled. Existing template will be renamed to 'ethernetCsmacd-upgrade-1494007689'. Please review and reconcile local changes:
---
+++
@@ -5,15 +5,15 @@
75 percent utilization:
dsnames: [intf_ifInOctets, intf_ifOutOctets]
eventClass: /Perf/Interface
- maxval: !!python/unicode '(here.speed or 1e12) / 8 * .75'
+ maxval: !!python/unicode '(here.speed or 1e7) / 8 * .75'
datasources:
intf:
type: COMMAND
component: ${here/id}
eventClass: /Ignore
severity: clear
- commandTemplate: /bin/sh -c 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin; if which
- ip >/dev/null 2>&1; then ip -s -o link; else ifconfig -a; fi'
+ commandTemplate: /bin/sh -c 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin; [ -x $$(which
+ ifconfig) ] && ifconfig -a || ip -s -o link'
datapoints:
ifInDropped:
rrdtype: DERIVE
@@ -26,8 +26,7 @@
ifInOctets:
rrdtype: DERIVE
rrdmin: 0
- aliases: {if_received__bytessec: '', in__pct: '8,*,${here/speed},/,100,*',
- inputOctets__bytes: ''}
+ aliases: {if_received__bytessec: '', inputOctets__bytes: ''}
ifInOverruns:
rrdtype: DERIVE
rrdmin: 0
@@ -55,13 +54,13 @@
ifOutOctets:
rrdtype: DERIVE
rrdmin: 0
- aliases: {if_sent__bytessec: '', out_pct: '8,*,${here/speed},/,100,*', outputOctets__bytes: ''}
+ aliases: {if_sent__bytessec: '', outputOctets__bytes: ''}
ifOutPackets:
rrdtype: DERIVE
rrdmin: 0
aliases: {if_sent_packets__persec: ''}
+ usessh: !!python/unicode 'true'
parser: !!python/unicode 'ZenPacks.zenoss.LinuxMonitor.parsers.linux.ifconfig'
- usessh: !!python/unicode 'true'
graphs:
Data Throughput:
units: bits/sec
ERROR:zen.zenpacklib:Monitoring template /Server/SSH/Linux/FileSystem has been modified since the ZenPacks.zenoss.LinuxMonitor ZenPack was installed. These local changes will be lost as this ZenPack is upgraded or reinstalled. Existing template will be renamed to 'FileSystem-upgrade-1494007689'. Please review and reconcile local changes:
---
+++
@@ -14,14 +14,12 @@
severity: clear
commandTemplate: /usr/bin/env df -kP
datapoints:
- availBlocks:
- rrdmin: 0
usedBlocks:
rrdmin: 0
- aliases: {fs__pct: '${here/getTotalBlocks},/,100,*', fs_used__bytes: '${here/blockSize},*',
- fs_used__pct: '${here/getTotalBlocks},/,100,*', usedFilesystemSpace__bytes: '${here/blockSize},*'}
+ aliases: {fs_used__bytes: '${here/blockSize},*', fs_used__pct: '${here/getTotalBlocks},/,100,*',
+ usedFilesystemSpace__bytes: '${here/blockSize},*'}
+ usessh: !!python/unicode 'true'
parser: !!python/unicode 'ZenPacks.zenoss.LinuxMonitor.parsers.linux.df'
- usessh: !!python/unicode 'true'
idisk:
type: COMMAND
component: ${here/id}
@@ -41,8 +39,8 @@
usedInodes:
rrdmin: 0
aliases: {fs_inodes_used: ''}
+ usessh: !!python/unicode 'true'
parser: !!python/unicode 'ZenPacks.zenoss.LinuxMonitor.parsers.linux.dfi'
- usessh: !!python/unicode 'true'
graphs:
Inode Usage:
units: inodes
WARNING:zen.zenpacklib:Monitoring template /Server/SSH/Linux/FileSystem_NFS_Client has been removed at some point after the ZenPacks.zenoss.LinuxMonitor ZenPack was installed. It will be reinstated if this ZenPack is upgraded or reinstalled
INFO:zen.ZenPackCMD:installing zenpack ZenPacks.zenoss.LinuxMonitor; launching process
INFO:zen.zenpacklib:Setting zProperty zCollectorPlugins on Server/SSH/Linux
INFO:zen.zenpacklib:Setting zProperty zSshConcurrentSessions on Server/SSH/Linux
INFO:zen.zenpacklib:Setting zProperty zPythonClass on Server/SSH/Linux
2017-05-05 18:08:15,828 INFO zen.HookReportLoader: Loading reports from /opt/zenoss/ZenPacks/ZenPacks.zenoss.LinuxMonitor-2.2.0-py2.7.egg/ZenPacks/zenoss/LinuxMonitor/reports
2017-05-05 18:08:16,307 INFO zen.zenpacklib: RRDTemplateSpec(zenpack.yaml: 488-755 - Device) adding template
2017-05-05 18:08:16,746 INFO zen.zenpacklib: RRDTemplateSpec(zenpack.yaml: 756-911 - ethernetCsmacd) adding template
2017-05-05 18:08:16,900 INFO zen.zenpacklib: RRDTemplateSpec(zenpack.yaml: 912-1021 - FileSystem) adding template
2017-05-05 18:08:17,084 INFO zen.zenpacklib: RRDTemplateSpec(zenpack.yaml: 1022-1123 - FileSystem_NFS_Client) adding template
2017-05-05 18:08:17,248 INFO zen.zenpacklib: RRDTemplateSpec(zenpack.yaml: 1124-1194 - OSProcess) replacing template
2017-05-05 18:08:17,759 INFO zen.zenpacklib: RRDTemplateSpec(zenpack.yaml: 1195-1277 - PhysicalVolume) replacing template
2017-05-05 18:08:18,098 INFO zen.zenpacklib: RRDTemplateSpec(zenpack.yaml: 1278-1339 - VolumeGroup) replacing template
2017-05-05 18:08:18,421 INFO zen.zenpacklib: RRDTemplateSpec(zenpack.yaml: 1340-1366 - LogicalVolume) replacing template
2017-05-05 18:08:18,530 INFO zen.zenpacklib: RRDTemplateSpec(zenpack.yaml: 1367-1393 - SnapshotVolume) replacing template
2017-05-05 18:08:18,630 INFO zen.zenpacklib: RRDTemplateSpec(zenpack.yaml: 1394-1563 - HardDisk) replacing template
INFO:zen.ZenPackCmd:Loading candidate /opt/zenoss/packs/ZenPacks.zenoss.PythonCollector-1.9.0-py2.7.egg
INFO:zen.ZenPackCMD:Previous ZenPack exists with same name ZenPacks.zenoss.PythonCollector
INFO:zen.ZenPackCMD:installing zenpack ZenPacks.zenoss.PythonCollector; launching process
2017-05-05 18:08:34,399 INFO zen.ZPLoader: Loading /opt/zenoss/ZenPacks/ZenPacks.zenoss.PythonCollector-1.9.0-py2.7.egg/ZenPacks/zenoss/PythonCollector/objects/objects.xml
2017-05-05 18:08:34,464 INFO zen.AddToPack: End loading objects
2017-05-05 18:08:34,464 INFO zen.AddToPack: Processing links
2017-05-05 18:08:34,557 INFO zen.AddToPack: Loaded 0 objects into the ZODB database
2017-05-05 18:08:34,567 INFO zen.HookReportLoader: Loading reports from /opt/zenoss/ZenPacks/ZenPacks.zenoss.PythonCollector-1.9.0-py2.7.egg/ZenPacks/zenoss/PythonCollector/reports
INFO:zen.ZenPackCmd:Loading candidate /opt/zenoss/packs/ZenPacks.zenoss.ZenMail-5.1.0-py2.7.egg
INFO:zen.ZenPackCMD:Previous ZenPack exists with same name ZenPacks.zenoss.ZenMail
INFO:zen.ZenPackCMD:installing zenpack ZenPacks.zenoss.ZenMail; launching process
2017-05-05 18:08:45,396 INFO zen.HookReportLoader: Loading reports from /opt/zenoss/ZenPacks/ZenPacks.zenoss.ZenMail-5.1.0-py2.7.egg/ZenPacks/zenoss/ZenMail/reports
INFO:zen.ZenPackCmd:Loading candidate /opt/zenoss/packs/ZenPacks.zenoss.ZenPackLib-2.0.5-py2.7.egg
2017-05-05 18:08:51,051 INFO zen.HookReportLoader: Loading reports from /opt/zenoss/ZenPacks/ZenPacks.zenoss.ZenPackLib-2.0.5-py2.7.egg/ZenPacks/zenoss/ZenPackLib/reports
2017-05-05 18:08:51,132 INFO zen.ZenPackLib: Setting permissions on /opt/zenoss/ZenPacks/ZenPacks.zenoss.ZenPackLib-2.0.5-py2.7.egg/ZenPacks/zenoss/ZenPackLib/bin/zenpacklib
2017-05-05 18:08:51,132 INFO zen.ZenPackLib: Setting permissions on /opt/zenoss/ZenPacks/ZenPacks.zenoss.ZenPackLib-2.0.5-py2.7.egg/ZenPacks/zenoss/ZenPackLib/zenpacklib.py
2017-05-05 18:08:51,132 INFO zen.ZenPackLib: Creating symlink /opt/zenoss/bin/zenpacklib
INFO:zen.ZenPackCmd:Loading candidate /opt/zenoss/packs/ZenPacks.zenoss.Microsoft.Windows-2.7.0-py2.7.egg
INFO:zen.ZenPackCMD:Previous ZenPack exists with same name ZenPacks.zenoss.Microsoft.Windows
2017-05-05 18:09:04,873 WARNING zpl.ZenPack: Monitoring template /Server/Microsoft/HardDisk has been removed at some point after the ZenPacks.zenoss.Microsoft.Windows ZenPack was installed. It will be reinstated if this ZenPack is upgraded or reinstalled
INFO:zen.ZenPackCMD:installing zenpack ZenPacks.zenoss.Microsoft.Windows; launching process
2017-05-05 18:09:11,813 INFO zen.HookReportLoader: Loading reports from /opt/zenoss/ZenPacks/ZenPacks.zenoss.Microsoft.Windows-2.7.0-py2.7.egg/ZenPacks/zenoss/Microsoft/Windows/reports
2017-05-05 18:09:12,788 INFO zen.Microsoft.Windows.migrate.AddOSRelations: starting: 0 total devices
2017-05-05 18:09:12,788 INFO zen.Microsoft.Windows.migrate.AddOSRelations: finished: 0 of 0 devices required migration
2017-05-05 18:09:12,791 INFO zen.Microsoft.Windows.migrate.ResetClassTypes: Adding job to remove any leftover winrmservices and reset class types for Windows devices and components.
2017-05-05 18:09:12,824 ERROR zen.ZenPackCMD: Error installing ZenPack /tmp/ZenPacks.zenoss.Microsoft.Windows-2.7.0-py2.7.egg
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 255, in InstallEggAndZenPack
ignoreServiceInstall=ignoreServiceInstall)
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 521, in InstallDistAsZenPack
zenPack, deferFileDeletion, existing = transactional_actions()
File "/opt/zenoss/lib/python2.7/site-packages/ZODB/transact.py", line 44, in g
r = f(*args, **kwargs)
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 465, in transactional_actions
zenPack.install(dmd)
File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.Microsoft.Windows-2.7.0-py2.7.egg/ZenPacks/zenoss/Microsoft/Windows/__init__.py", line 145, in install
super(ZenPack, self).install(app)
File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.ZenPackLib-2.0.5-py2.7.egg/ZenPacks/zenoss/ZenPackLib/lib/base/ZenPack.py", line 66, in install
super(ZenPack, self).install(app)
File "/opt/zenoss/Products/ZenModel/ZenPack.py", line 335, in install
self.migrate(previousVersion)
File "/opt/zenoss/Products/ZenModel/ZenPack.py", line 497, in migrate
instance.migrate(self)
File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.Microsoft.Windows-2.7.0-py2.7.egg/ZenPacks/zenoss/Microsoft/Windows/migrate/ResetClassTypes.py", line 41, in migrate
for service in facade.queryMasterDaemons():
File "/opt/zenoss/Products/Zuul/facades/application.py", line 48, in queryMasterDaemons
result = self._svc.query(tags=["daemon", "-collector"])
File "/opt/zenoss/Products/ZenUtils/controlplane/application.py", line 183, in query
services = self._servicecache.get()
File "/opt/zenoss/Products/ZenUtils/controlplane/application.py", line 140, in get
self._load()
File "/opt/zenoss/Products/ZenUtils/controlplane/application.py", line 108, in _load
self._data = self._client.queryServices(tenantID=tenant_id)
File "/opt/zenoss/Products/ZenUtils/controlplane/client.py", line 119, in queryServices
response = self._dorequest(self._servicesEndpoint, query=query)
File "/opt/zenoss/Products/ZenUtils/controlplane/client.py", line 486, in _dorequest
return self._opener.open(request)
File "/usr/lib64/python2.7/urllib2.py", line 437, in open
response = meth(req, response)
File "/usr/lib64/python2.7/urllib2.py", line 550, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib64/python2.7/urllib2.py", line 475, in error
return self._call_chain(*args)
File "/usr/lib64/python2.7/urllib2.py", line 409, in _call_chain
result = func(*args)
File "/usr/lib64/python2.7/urllib2.py", line 558, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 404: Not Found
2017-05-05 18:09:12,850 ERROR zen.ZenPackCmd: zenpack command failed
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 911, in <module>
zp.run()
File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 258, in run
ignoreServiceInstall=self.options.ignoreServiceInstall)
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 271, in InstallEggAndZenPack
raise e
HTTPError: HTTP Error 404: Not Found
ERROR:zen.ZenPackCMD:Error installing ZenPack /tmp/ZenPacks.zenoss.Microsoft.Windows-2.7.0-py2.7.egg
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 255, in InstallEggAndZenPack
ignoreServiceInstall=ignoreServiceInstall)
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 521, in InstallDistAsZenPack
zenPack, deferFileDeletion, existing = transactional_actions()
File "/opt/zenoss/lib/python2.7/site-packages/ZODB/transact.py", line 44, in g
r = f(*args, **kwargs)
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 454, in transactional_actions
(p.returncode, err))
ZenPackException: Error installing the egg (3): None
ERROR:zen.ZenPackCmd:zenpack command failed
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 911, in <module>
zp.run()
File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 258, in run
ignoreServiceInstall=self.options.ignoreServiceInstall)
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 271, in InstallEggAndZenPack
raise e
ZenPackException: Error installing the egg (3): None
ERROR:zen.ZenPackCmd:Command '['zenpack', '--install', '/tmp/ZenPacks.zenoss.Microsoft.Windows-2.7.0-py2.7.egg']' returned non-zero exit status 3
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 474, in doRestore
self._restore(pack, zpsToRestore[pack][0], zpsToRestore[pack][1])
File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 590, in _restore
subprocess.check_call(cmd)
File "/usr/lib64/python2.7/subprocess.py", line 542, in check_call
raise CalledProcessError(retcode, cmd)
CalledProcessError: Command '['zenpack', '--install', '/tmp/ZenPacks.zenoss.Microsoft.Windows-2.7.0-py2.7.egg']' returned non-zero exit status 3
INFO:zen.ZenPackCmd:Failed to install packs: ZenPacks.zenoss.Microsoft.Windows, will try again
INFO:zen.ZenPackCmd:Attempting to install packs: ZenPacks.zenoss.Microsoft.Windows
INFO:zen.ZenPackCmd:Loading candidate /opt/zenoss/.ZenPacks/ZenPacks.zenoss.Microsoft.Windows-2.7.0-py2.7.egg
2017-05-05 18:09:18,292 INFO zen.HookReportLoader: Loading reports from /opt/zenoss/ZenPacks/ZenPacks.zenoss.Microsoft.Windows-2.7.0-py2.7.egg/ZenPacks/zenoss/Microsoft/Windows/reports
2017-05-05 18:09:18,683 INFO zen.Microsoft.Windows.migrate.ResetClassTypes: Adding job to remove any leftover winrmservices and reset class types for Windows devices and components.
2017-05-05 18:09:18,716 ERROR zen.ZenPackCMD: Error installing ZenPack /tmp/ZenPacks.zenoss.Microsoft.Windows-2.7.0-py2.7.egg
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 255, in InstallEggAndZenPack
ignoreServiceInstall=ignoreServiceInstall)
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 521, in InstallDistAsZenPack
zenPack, deferFileDeletion, existing = transactional_actions()
File "/opt/zenoss/lib/python2.7/site-packages/ZODB/transact.py", line 44, in g
r = f(*args, **kwargs)
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 465, in transactional_actions
zenPack.install(dmd)
File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.Microsoft.Windows-2.7.0-py2.7.egg/ZenPacks/zenoss/Microsoft/Windows/__init__.py", line 145, in install
super(ZenPack, self).install(app)
File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.ZenPackLib-2.0.5-py2.7.egg/ZenPacks/zenoss/ZenPackLib/lib/base/ZenPack.py", line 66, in install
super(ZenPack, self).install(app)
File "/opt/zenoss/Products/ZenModel/ZenPack.py", line 335, in install
self.migrate(previousVersion)
File "/opt/zenoss/Products/ZenModel/ZenPack.py", line 497, in migrate
instance.migrate(self)
File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.Microsoft.Windows-2.7.0-py2.7.egg/ZenPacks/zenoss/Microsoft/Windows/migrate/ResetClassTypes.py", line 41, in migrate
for service in facade.queryMasterDaemons():
File "/opt/zenoss/Products/Zuul/facades/application.py", line 48, in queryMasterDaemons
result = self._svc.query(tags=["daemon", "-collector"])
File "/opt/zenoss/Products/ZenUtils/controlplane/application.py", line 183, in query
services = self._servicecache.get()
File "/opt/zenoss/Products/ZenUtils/controlplane/application.py", line 140, in get
self._load()
File "/opt/zenoss/Products/ZenUtils/controlplane/application.py", line 108, in _load
self._data = self._client.queryServices(tenantID=tenant_id)
File "/opt/zenoss/Products/ZenUtils/controlplane/client.py", line 119, in queryServices
response = self._dorequest(self._servicesEndpoint, query=query)
File "/opt/zenoss/Products/ZenUtils/controlplane/client.py", line 486, in _dorequest
return self._opener.open(request)
File "/usr/lib64/python2.7/urllib2.py", line 437, in open
response = meth(req, response)
File "/usr/lib64/python2.7/urllib2.py", line 550, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib64/python2.7/urllib2.py", line 475, in error
return self._call_chain(*args)
File "/usr/lib64/python2.7/urllib2.py", line 409, in _call_chain
result = func(*args)
File "/usr/lib64/python2.7/urllib2.py", line 558, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 404: Not Found
2017-05-05 18:09:18,740 ERROR zen.ZenPackCmd: zenpack command failed
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 911, in <module>
zp.run()
File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 258, in run
ignoreServiceInstall=self.options.ignoreServiceInstall)
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 271, in InstallEggAndZenPack
raise e
HTTPError: HTTP Error 404: Not Found
ERROR:zen.ZenPackCmd:Command '['zenpack', '--install', '/tmp/ZenPacks.zenoss.Microsoft.Windows-2.7.0-py2.7.egg']' returned non-zero exit status 3
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 474, in doRestore
self._restore(pack, zpsToRestore[pack][0], zpsToRestore[pack][1])
File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 590, in _restore
subprocess.check_call(cmd)
File "/usr/lib64/python2.7/subprocess.py", line 542, in check_call
raise CalledProcessError(retcode, cmd)
CalledProcessError: Command '['zenpack', '--install', '/tmp/ZenPacks.zenoss.Microsoft.Windows-2.7.0-py2.7.egg']' returned non-zero exit status 3
INFO:zen.ZenPackCmd:Attempting to install packs: ZenPacks.zenoss.Microsoft.Windows
INFO:zen.ZenPackCmd:Loading candidate /opt/zenoss/.ZenPacks/ZenPacks.zenoss.Microsoft.Windows-2.7.0-py2.7.egg
2017-05-05 18:09:23,928 INFO zen.HookReportLoader: Loading reports from /opt/zenoss/ZenPacks/ZenPacks.zenoss.Microsoft.Windows-2.7.0-py2.7.egg/ZenPacks/zenoss/Microsoft/Windows/reports
2017-05-05 18:09:24,293 INFO zen.Microsoft.Windows.migrate.ResetClassTypes: Adding job to remove any leftover winrmservices and reset class types for Windows devices and components.
2017-05-05 18:09:24,326 ERROR zen.ZenPackCMD: Error installing ZenPack /tmp/ZenPacks.zenoss.Microsoft.Windows-2.7.0-py2.7.egg
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 255, in InstallEggAndZenPack
ignoreServiceInstall=ignoreServiceInstall)
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 521, in InstallDistAsZenPack
zenPack, deferFileDeletion, existing = transactional_actions()
File "/opt/zenoss/lib/python2.7/site-packages/ZODB/transact.py", line 44, in g
r = f(*args, **kwargs)
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 465, in transactional_actions
zenPack.install(dmd)
File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.Microsoft.Windows-2.7.0-py2.7.egg/ZenPacks/zenoss/Microsoft/Windows/__init__.py", line 145, in install
super(ZenPack, self).install(app)
File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.ZenPackLib-2.0.5-py2.7.egg/ZenPacks/zenoss/ZenPackLib/lib/base/ZenPack.py", line 66, in install
super(ZenPack, self).install(app)
File "/opt/zenoss/Products/ZenModel/ZenPack.py", line 335, in install
self.migrate(previousVersion)
File "/opt/zenoss/Products/ZenModel/ZenPack.py", line 497, in migrate
instance.migrate(self)
File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.Microsoft.Windows-2.7.0-py2.7.egg/ZenPacks/zenoss/Microsoft/Windows/migrate/ResetClassTypes.py", line 41, in migrate
for service in facade.queryMasterDaemons():
File "/opt/zenoss/Products/Zuul/facades/application.py", line 48, in queryMasterDaemons
result = self._svc.query(tags=["daemon", "-collector"])
File "/opt/zenoss/Products/ZenUtils/controlplane/application.py", line 183, in query
services = self._servicecache.get()
File "/opt/zenoss/Products/ZenUtils/controlplane/application.py", line 140, in get
self._load()
File "/opt/zenoss/Products/ZenUtils/controlplane/application.py", line 108, in _load
self._data = self._client.queryServices(tenantID=tenant_id)
File "/opt/zenoss/Products/ZenUtils/controlplane/client.py", line 119, in queryServices
response = self._dorequest(self._servicesEndpoint, query=query)
File "/opt/zenoss/Products/ZenUtils/controlplane/client.py", line 486, in _dorequest
return self._opener.open(request)
File "/usr/lib64/python2.7/urllib2.py", line 437, in open
response = meth(req, response)
File "/usr/lib64/python2.7/urllib2.py", line 550, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib64/python2.7/urllib2.py", line 475, in error
return self._call_chain(*args)
File "/usr/lib64/python2.7/urllib2.py", line 409, in _call_chain
result = func(*args)
File "/usr/lib64/python2.7/urllib2.py", line 558, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 404: Not Found
2017-05-05 18:09:24,350 ERROR zen.ZenPackCmd: zenpack command failed
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 911, in <module>
zp.run()
File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 258, in run
ignoreServiceInstall=self.options.ignoreServiceInstall)
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 271, in InstallEggAndZenPack
raise e
HTTPError: HTTP Error 404: Not Found
ERROR:zen.ZenPackCmd:Command '['zenpack', '--install', '/tmp/ZenPacks.zenoss.Microsoft.Windows-2.7.0-py2.7.egg']' returned non-zero exit status 3
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 474, in doRestore
self._restore(pack, zpsToRestore[pack][0], zpsToRestore[pack][1])
File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 590, in _restore
subprocess.check_call(cmd)
File "/usr/lib64/python2.7/subprocess.py", line 542, in check_call
raise CalledProcessError(retcode, cmd)
CalledProcessError: Command '['zenpack', '--install', '/tmp/ZenPacks.zenoss.Microsoft.Windows-2.7.0-py2.7.egg']' returned non-zero exit status 3
ERROR:zen.ZenPackCmd:Unable to install zenpacks: ZenPacks.zenoss.Microsoft.Windows
Command returned non-zero exit code 3. Container not committed.
[91mE0505 13:09:30.975759 02793 runner.go:161] error executing step 12: SVC_RUN: exit status 3
[0m [94mI0505 13:09:30.975806 02793 runner.go:151] Executing exit functions
[0m [94mI0505 13:09:30.975817 02793 eval.go:51] restoring snapshot al0xrb7nsn1nc0zy7suu39m3r_20170505-180701.051
[0mexit status 3
Script done on Fri 05 May 2017 01:10:53 PM CDT