InstallationGetting Started

Expand all | Collapse all

Zenoss 4.2.5 - Running Auto Deploy script Offline

  • 1.  Zenoss 4.2.5 - Running Auto Deploy script Offline

    Posted 06-17-2020 03:56 AM
    Edited by Pheripheral 06-17-2020 08:13 AM

    I'm using the latest auto deploy script for 4.2.5 from

    but this time i' ve been tasked with being able to install zenoss totally offline.
    As the github area contains the pre req downloads its going pretty well so far I think.

    However I've just run into an issue when the script reaches the part:
    echo Install the Zenoss dependencies - zenossdeps-4.2.x-1.$els.noarch.rpm
    try yum -y localinstall zenossdeps-4.2.x-1.$els.noarch.rpm

    This installs ok, but then the next yum call
    yum -y localinstall epel-release-6-8.noarch.rpm

    attempts to go online and then fails with [Errno 14] PYCURL ERROR 7 - "Failed to connect to Network is unreachable"
    Trying other mirror.
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: zenossdeps-repo. Please verify its path and try again

    I think this is because the installed zenossdeps hasn't got all the info files about its repository?

    Is there a way to install this so it doesn't need to go online?
    Or do I need to retreive the missing files manually and place them somewhere?

    Any help much appreciated.

    The files listed online in the zenossdeps repository
    are, with the exception of quilt-0.48-2.el6.x86_64.rpm, all already present in the pre_req directory in the github download, and many are newer versions in the pre-req directory - so I'm wondering if the zenossdeps install is actually needed anymore with this new pre req setup?
    And Quilt doesn;t actually seemed to be used at all

  • 2.  RE: Zenoss 4.2.5 - Running Auto Deploy script Offline

    Posted 06-19-2020 04:43 AM
    I have just looked through the /tmp/zenoss425_install.out (supplied at the top directory of the github repository) and it looks like everything loaded from the prereqs directory so you can probably just comment out the lines installing epel.  Give it a try.

    I did also cut a VM from this build.  It is too big to put up on github but if you want to send me a note, I can try and make it available.


    Jane Curry
    Skills 1st United Kingdom

  • 3.  RE: Zenoss 4.2.5 - Running Auto Deploy script Offline

    Posted 06-22-2020 10:41 AM
    Yes, I've now manged to get zenoss installed without the use of the zenossdeps repo.
    I'll try ti again this week hopefully without bothering to install epel either and solely using my offline repo i've gathered of the various dependencies that are downloaded during install of the local files.

    I'll update this thread once i've done that, but i'm hopeful it'll work smoothly.

    Thanks for the offer of a VM but the "powers that be" want to be able to create the VM from scratch from local components, and i think i'm getting there...

    Pheripheral Pheripheral

  • 4.  RE: Zenoss 4.2.5 - Running Auto Deploy script Offline

    Posted 12-22-2020 11:37 AM


    Sorry for the delay in updating this, other bits of work got in the way as ever...

    I've finally tried this script out entirely offline and have removed the zenoss-deps and the epel install sections entirely and it proceeds ok and installs a working Zenoss instance. Success! Thanks!

    Commented out lines as shown below starting from around line 158

    # JC - get the zenoss deps (which sorts the rpmforge requirement)
    #wget --no-check-certificate$els.noarch.rpm
    #echo Install the Zenoss dependencies -  zenossdeps-4.2.x-1.$els.noarch.rpm
    #try yum -y localinstall zenossdeps-4.2.x-1.$els.noarch.rpm
    #echo "Installing EPEL Repo"
    # JC - the regex epel* in the following wget also gets epel-rpm-macro which has new prereqs
    #   (as of October 2016) of 3 python-rpm-macros packages (see )
    # In fact,  the epel-release package is in the 'extras' repo that comes with a minimal install of
    #   centos so you can just do `yum install epel-release` and avoid the wget too. (thanks baileytj)
    #yum -y localinstall epel-release-6-8.noarch.rpm
    #disable_repo epel

    Pheripheral Pheripheral