Archived community.zenoss.org | full text search
Skip navigation
1 2 Previous Next 35940 Views 24 Replies Latest reply: Mar 13, 2010 4:32 AM by Snake-BIS RSS
Snake-BIS Rank: Green Belt 97 posts since
Nov 26, 2009
Currently Being Moderated

Mar 3, 2010 5:32 AM

Problem with Zenoss 2.5.2

Hello,

 

After an upgrade from 2.5.1 OR with a fresh install (Debian 5.0 for both) I have several problems which seems to be related.

 

With 2.5.2 I cannot install any zenpacks !

 

Here is the event log :

 

Traceback (innermost last):
  Module ZPublisher.Publish, line 119, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 42, in call_object
  Module Products.ZenModel.ZenPackManager, line 294, in manage_installZenPack
  Module ZServer.HTTPResponse, line 163, in write
TypeError: Value must be a string

 

And here is what I have on the interface :

 

/bin/sh: zenpack: command not found

 

 

Same issue when upgrading from 2.5.1 to 2.5.2. This release doesn't work for me.

 

Has anyone tested it yet ?

 

Regards,

 

Richard

  • gstreiff ZenossEmployee 78 posts since
    Oct 9, 2008
    Currently Being Moderated
    1. Mar 3, 2010 10:57 AM (in response to Snake-BIS)
    Re: Problem with Zenoss 2.5.2

    Hey, Richard.

     

    Thanks for the feedback.  Can you provide a bit more data?

     

    With which artifact did you try upgrading / installing?

     

         zenoss-stack_2.5.2_x64.deb

         zenoss-stack_2.5.2_i386.deb

     

    Did you go through the deb repo or did you download the artifact directly and do a dpkg -i?

    Please spell this out a bit more in gory detail so it is easier to repro.  Is there anything unique about your setup that would be helpful to know (i.e., in terms of install paths or overridden zope/zeo ports)?

     

    What errors, if any, did you see while installing the core product (as opposed to what you saw while trying to install zenpacks).

    Is there any interesting recent content in /tmp/bitrock_installer.log?

     

    Can you post the exact steps you took to install the zenpacks?

     

    Which zenpack were you trying to install, btw?

     

    On a typical (healthy system), the zenpack executable is found here:

     

    -rwxr-xr-x 1 zenoss zenoss 918 2010-03-03 10:22 /usr/local/zenoss/zenoss/bin/zenpack

     

    Is this missing on your system or do you see, perhaps, a path issue when you become the zenoss user?

    Please post your path...

     

    su - zenoss

    echo $PATH

     

    Anyone else in the community having similar grief?

     

    QA generally shakes out the *.deb artifacts on Ubuntu and does test installs off the repo once the bits have been blessed internally.

     

    Thanks,

     

    Glenn

     

    p.s.

     

    Zenoss QA is sponsoring a community test day on Thursday.  You might want to join in on that.  They actually had a test day a few weeks ago with a recent 2.5.2 candidate build.  Your input upstream of any release in any of these or similar events is much appreciated.

  • Gabriel Latour Newbie 5 posts since
    Feb 25, 2010
    Currently Being Moderated
    2. Mar 3, 2010 4:43 PM (in response to gstreiff)
    Re: Problem with Zenoss 2.5.2

    Same thing for me on Debian 5 (2.6.26-2-amd64) with both apt-get and dpkg -i for:

     

    zenoss-stack_2.5.2_x64.deb

     

    The web zenpack installer is broken.

     

    When you install zenpacks with the shell, they show as broken.

     

    Gabriel

  • bbibeault ZenossEmployee 142 posts since
    May 19, 2009
    Currently Being Moderated
    3. Mar 3, 2010 5:06 PM (in response to Snake-BIS)
    Re: Problem with Zenoss 2.5.2

    All - QA is trying to reproduce with the .deb installation against Ubuntu (that is the method we use for testing the .deb installers internally).  What ZenPacks were you trying to install?  Were they community zenpacks, or zenoss core zenpacks?  Links would be helpful, if they are community zenpacks.

  • Ryan Matte ZenossMaster 653 posts since
    Mar 26, 2009
    Currently Being Moderated
    5. Mar 3, 2010 5:16 PM (in response to Gabriel Latour)
    Re: Problem with Zenoss 2.5.2

    "When you install zenpacks with the shell, they show as broken." - Gabriel

     

    I'd just like to point out that quite a few ZenPacks will show as broken after being installed.  This generally means that you need to restart Zenoss.  This is completely normal behaviour (nothing new).

     

    Based on what I've read here, this issue appears to be very specifically related to installing ZenPacks via the UI.

     

    I'll be conducting a few tests tomorrow to see if I can duplicate this issue.

  • arivera Newbie 1 posts since
    Sep 25, 2009
    Currently Being Moderated
    7. Mar 3, 2010 6:18 PM (in response to Snake-BIS)
    Re: Problem with Zenoss 2.5.2

    Hello, ticket http://dev.zenoss.com/trac/ticket/6250 (Cannot Install a Zenpack via UI on .deb installer) was opened to track this issue.

     

    There is a workaround for this. Try to install the zenpack manually by using a ssh client

     

    1. Log in on your system using the ssh client.
    2. Change to the zenoss user by doing
      su - zenoss
    3. Move to another where you can download the zenpack without problems like /tmp

      cd /tmp
    4. use the wget command in order to download the zenpack
      wget [URL of the zenpack]
    5. then use the zenpack command
      zenpack --install [.egg file or .zip file]

     

    That will install the zenpack, now use browser and navigate on your server and look for the Zenpack page at Settings->Zenpack, if you see that the zenpack is reported as broken or missing then you need to restart zenoss. open a new ssh client on your system and as the root user execute:

     

    /etc/init.d/zenoss-stack stop

    /etc/init.d/zenoss-stack start

     

    That will do the trick

  • Gabriel Latour Newbie 5 posts since
    Feb 25, 2010
    Currently Being Moderated
    8. Mar 3, 2010 7:45 PM (in response to Ryan Matte)
    Re: Problem with Zenoss 2.5.2

    The UI is one bug but the shell one is another. I tried to install WMI Data Source with zenpack --install and restarted the stack but the zenpack showed as broken even after the restart.

     

    Gabriel

  • bbibeault ZenossEmployee 142 posts since
    May 19, 2009
    Currently Being Moderated
    9. Mar 3, 2010 7:48 PM (in response to Gabriel Latour)
    Re: Problem with Zenoss 2.5.2

    Gabriel - is it any zenpack that fails to install, or the WMI one, via SSH?  Could you please try and install the core zenoss zenpacks and see how those fair?  Is it possible that what you are seeing from the command line is tied to a particular issue with that zenpack and not all zenpacks?

  • cjet Rank: White Belt 8 posts since
    Mar 4, 2010
    Currently Being Moderated
    10. Mar 4, 2010 4:41 AM (in response to Gabriel Latour)
    Re: Problem with Zenoss 2.5.2

    I am also having problems with WMI DataSource 1.5 Zenpack. After upgrading from zenoss 2.5.1 to 2.5.2, zenperfwmi daemon won't start. I tried to uninstall this zenpack, and install it again, and I faced this same zenpack installation error through web UI (/bin/sh: zenpack: not found). I managed to install zenpack back again through SSH, but the problem with zenpack still remains.

     

    Seems to be that upgrade broke:

    - Zenpack installation through web ui won't work --> seems like from web ui, the path to zenpack-command can not be reached.

    - WMI DataSource 1.5 functionality --> zenperfwmi daemon can not be started.

     

    I use Ubuntu 9.10 64bit version and now from this morning zenoss 2.5.2.

     

    Any suggestions how to get these things working again?

  • Mariogd Rank: White Belt 12 posts since
    Mar 5, 2010
    Currently Being Moderated
    11. Mar 5, 2010 1:43 PM (in response to cjet)
    Re: Problem with Zenoss 2.5.2

    experiencing the same issue w/ ubuntu server, tried deleting/re-installing zenpack from command line, re-installing zenoss-stack, set sym link from message/46362, none of it works, 2.5.2 completely destroys wmi monitoring on ubuntu... is there anyway to downgrade

    back to 2.5.1?

    -m

  • bbibeault ZenossEmployee 142 posts since
    May 19, 2009
    Currently Being Moderated
    12. Mar 5, 2010 1:52 PM (in response to Mariogd)
    Re: Problem with Zenoss 2.5.2

    Mariogd - I believe that the issues with that WMI zenpack are affecting all artifacts.  I believe that the developer is aware of the situation, but I don't have any additional information or workarounds, sorry.

     

      -- Brian

  • Mariogd Rank: White Belt 12 posts since
    Mar 5, 2010
    Currently Being Moderated
    13. Mar 5, 2010 2:03 PM (in response to bbibeault)
    Re: Problem with Zenoss 2.5.2

    What do you mean "affecting all artifacts"? Is it affecting other zenoss processes/daemons as well?

    -m

  • bbibeault ZenossEmployee 142 posts since
    May 19, 2009
    Currently Being Moderated
    14. Mar 5, 2010 2:16 PM (in response to Mariogd)
    Re: Problem with Zenoss 2.5.2

    It is not just tied to the Ubuntu/Deb installer artifact, I meant.  I believe I had seen issues reported with that zenpack and the RPM installers, for example.  The issue with the zenpack installs through the UI failing, the original post in this thread, is specific to the .deb installer.

1 2 Previous Next

More Like This

  • Retrieving data ...

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 2 points