TECHZEN Zenoss User Community ARCHIVE  

Zenoss 4.2.5 - Running Auto Deploy script Offline

Subject: Zenoss 4.2.5 - Running Auto Deploy script Offline
Author: Pheripheral Pheripheral
Posted: 2020-06-17 04:56

Hi,

I'm using the latest auto deploy script for 4.2.5 from
https://github.com/jcurry/Zenoss_4.2.5_core-autodeploy

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

http://deps.zenoss.com/yum/4.2.x/centos/6/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "Failed to connect to 10.108.19.5: 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.

UPDATE
The files listed online in the zenossdeps repository
http://deps.zenoss.com/yum/4.2.x/centos/6/os/x86_64/
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
Thanks
Dafydd


Subject: RE: Zenoss 4.2.5 - Running Auto Deploy script Offline
Author: Jane Curry
Posted: 2020-06-19 05:43

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.

Cheers,
Jane

------------------------------
Jane Curry
Skills 1st United Kingdom
jane.curry@skills-1st.co.uk
------------------------------


Subject: RE: Zenoss 4.2.5 - Running Auto Deploy script Offline
Author: Pheripheral Pheripheral
Posted: 2020-06-22 11:41

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
------------------------------


Subject: RE: Zenoss 4.2.5 - Running Auto Deploy script Offline
Author: Pheripheral Pheripheral
Posted: 2020-12-22 12:37

Hi,

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 http://deps.zenoss.com/yum/zenossdeps-4.2.x-1.$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 http://www.zenoss.org/forum/146626 )
# 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
------------------------------



< Previous
Need help for Full installing&configuring Zenoss for IT system monitoring
  Next
Google could not process addresses. Reason: REQUEST_DENIED in geocoding node loc ...
>