Ticket #3083 (new defect)
rpm -i zenoss-2.1.92*.rpm zenoss-core-zenpacks-2.1.92*.rpm fails
| Reported by: | chris | Owned by: | cholden |
|---|---|---|---|
| Priority: | 3 - Medium | Milestone: | Blue Crab |
| Component: | ZenPack | Version: | 2.1.3 |
| Keywords: | Cc: | jstevens | |
| Community Patch Attached: | Deployed @ Customer: | ||
| Installer: | Maintenance Target: | ||
| Specific ZenPack: | Maintenance Status: | ||
| Documentation Note?: | Not required | Regression: |
Description
You can't install both Zenoss and the core zenpacks in the same rpm command.
The zenoss-core-zenpacks uses the zenpack --install command in it's %post section and we have not yet started up zenoss at that point.
Maybe we should avoid doing the zenpack --install inside our rpm and instead do that at the next zenoss restart. We could create a ${ZENHOME}/.newpacks and then our standard zenoss_init_post and zenoss_upgrade_post scripts can check that file and install the zenpacks listed in it.
Something a little more graceful than:
[root@cent5-64t ~]# rpm -Uvh zenoss-*
Preparing... ########################################### [100%]
useradd: warning: the home directory already exists.
Not copying any file from skel directory into it.
1:zenoss ########################################### [ 33%]
2:zenoss-core-zenpacks ########################################### [ 67%]
Installing /opt/zenoss/packs/ZenPacks.zenoss.ApacheMonitor-2.0.0-py2.4.egg...
WARNING:ZEO.zrpc:(17881) CW: error connecting to ('localhost', 8100): ECONNREFUSED
WARNING:ZEO.zrpc:(17881) CW: error connecting to ('localhost', 8100): ECONNREFUSED
WARNING:ZEO.zrpc:(17881) CW: error connecting to ('localhost', 8100): ECONNREFUSED
Change History
Note: See
TracTickets for help on using
tickets.