TECHZEN Zenoss User Community ARCHIVE  

[SOLVED] Autodeploy not working

Subject: [SOLVED] Autodeploy not working
Author: [Not Specified]
Posted: 2014-05-30 10:43

Hello. The autodeploy is not working correctly in the part where it downloads the MySql Packages
It gives this message

2014-05-30 16:35:12 ERRO 404: Not Found.

Command failure: wget -N http://wiki.zenoss.org/download/core/mysql/MySQL-client-.linux2.6.x86_64...



Subject: Hmmm it looks like the
Author: [Not Specified]
Posted: 2014-05-30 11:04

Hmmm it looks like the version # is missing, see this for comparison: MySQL-client-5.5.28-1.linux2.6.x86_64.rpm

What OS are you running Can you pastebin the install log (/opt/zenoss/log/install.log)

Hydruid



Subject: Having the same problem.
Author: [Not Specified]
Posted: 2014-05-31 11:13

Downloading and installing MySQL RPMs
--2014-05-31 11:03:47-- http://wiki.zenoss.org/download/core/mysql/MySQL-client-5.5.38-1.linux2....
Resolving wiki.zenoss.org... 23.22.28.219
Connecting to wiki.zenoss.org|23.22.28.219|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2014-05-31 11:03:47 ERROR 404: Not Found.

Command failure: wget -N http://wiki.zenoss.org/download/core/mysql/MySQL-client-5.5.38-1.linux2....



Subject: Mysql server
Author: Jan Garaj
Posted: 2014-05-31 14:16

Autodeploy script is checking last mysql community version on site: ftp://mirror.anl.gov/pub/mysql/Downloads/MySQL-5.5/ (last version is 5.5.38)
But then it would like to download this version from wiki.zenoss.org (http://wiki.zenoss.org/download/core/mysql/), where is only 5.5.37, so script receives 404 - not found.

If you have this issue, you can hack it. Change one line in autodeploy script:
mysql_v="${mysql_v%%.$myels.*}"
to
mysql_v="5.5.37-1"
and it should be fine.

Devops Monitoring Expert advice: Dockerize/automate/monitor all the things.

DevOps stack: Docker / Kubernetes / Mesos / Zabbix / Zenoss / Grafana / Puppet / Ansible / Vagrant / Terraform / Elasticsearch



Subject: Thanks. That worked.
Author: [Not Specified]
Posted: 2014-05-31 19:36

Thanks. That worked.



Subject: Didnt worked out to me.
Author: [Not Specified]
Posted: 2014-06-02 04:19

Didnt worked out to me.
Ive changed the autodeploy file but continues to give me the same error

Installing JRE
Unpacking...
Checksumming...
Extracting...
UnZipSFX 5.50 of 17 February 2002, by Info-ZIP (Zip-Bugs@lists.wku.edu).
inflating: jre-6u31-linux-amd64.rpm
A preparar... ########################################### [100%]
o pacote jre-1.6.0_31-fcs.x86_64 j est instalado

Done.
Downloading and installing MySQL RPMs
--2014-06-02 09:55:30-- http://wiki.zenoss.org/download/core/mysql/MySQL-client-.linux2.6.x86_64...
A conectar 192.168.39.6:8080... conectado.
Pedido Proxy enviado, a aguardar resposta...404 Not Found
2014-06-02 09:55:31 ERRO 404: Not Found.



Subject: Proxy?
Author: Jan Garaj
Posted: 2014-06-02 06:05

Probably you are going thru proxy. So uncomment line #mysql_v="5.5.37-1" in your autodeploy script.

Devops Monitoring Expert advice: Dockerize/automate/monitor all the things.

DevOps stack: Docker / Kubernetes / Mesos / Zabbix / Zenoss / Grafana / Puppet / Ansible / Vagrant / Terraform / Elasticsearch



Subject: Yes, im going trought a proxy
Author: [Not Specified]
Posted: 2014-06-02 06:13

Yes, im going trought a proxy.
I will try that and see what happens



Subject: Nop, didnt worked out either:
Author: [Not Specified]
Posted: 2014-06-02 06:24

Nop, didnt worked out either:
Im not understanding whats the problem.
im behind a proxy but ive configured yum.conf and wgetrc, so that should not be a problem.
Even the autodeploy is pointing to a new version of mysql, i tried your first option and didnt worked out.
Now with the second fix youve told me its giving this error

Downloading and installing MySQL RPMs
--2014-06-02 12:13:53-- http://wiki.zenoss.org/download/core/mysql/MySQL-client-.linux2.6.x86_64...
A conectar 192.168.39.6:8080... conectado.
Pedido Proxy enviado, a aguardar resposta...404 Not Found
2014-06-02 12:13:53 ERRO 404: Not Found.

Command failure: wget -N http://wiki.zenoss.org/download/core/mysql/MySQL-client-.linux2.6.x86_64...



Subject: I think the problem coud be
Author: [Not Specified]
Posted: 2014-06-02 06:56

I think the problem coud be in here

#note: .listing won't be created if you going thru a proxy server(e.g. squid)
mysql_v=`cat .listing | awk '{ print $9 }' | grep MySQL-client | grep $myels.x86_64.rpm | sort | tail -n 1`

Just dont know how to fix this

Anyone has this problem or knows how to fix it



Subject: No, it's not a problem,
Author: Jan Garaj
Posted: 2014-06-02 08:00

No, it's not a problem, because there is test:
if [ -e .listing ] && [ -z "$mysql_v" ]; then
If you uncomment mysql_v a few lines above (it means #mysql_v="5.5.37-1" => mysql_v="5.5.37-1" ). And show your autodeploy script and full log, when it fails.
Jump to irc #zenoss. It'll be quicker ;-)

Devops Monitoring Expert advice: Dockerize/automate/monitor all the things.

DevOps stack: Docker / Kubernetes / Mesos / Zabbix / Zenoss / Grafana / Puppet / Ansible / Vagrant / Terraform / Elasticsearch



Subject: Thanks Jan.garaj.
Author: [Not Specified]
Posted: 2014-06-02 09:04

Thanks Jan.garaj.
Thats really the problem.
Maybe a bug in the autodeploy for people who are behind proxies.

I wasnt able to do it in the first place, cause i was changing it 2 lines down

;)

Thanks for the tip and for the IRC. I do not used Mirc in years, ehehe



Subject: I have taken a look at the
Author: Andrew Kirch
Posted: 2014-06-02 10:16

I have taken a look at the autodeploy script and fixed the issue by commenting out a section which automagically determines the current version of MySQL. I errantly uncommented this chunk of script when revving from 4.2.4 to 4.2.5.
I'm not going to change the JAVA version for consistency reasons. The version in the script works, and for the last money community members have been getting 6u31, and at release time I checked and this version will work without issue.
I have tested the install script and it works as expected with the fix.

Andrew Kirch

akirch@gvit.com

Need Zenoss support, consulting or custom development Look no further. Email or PM me!

Ready for Distributed Topology (collectors) for Zenoss 5 Coming May 1st from GoVanguard



Subject: Thanks Trelane for the Fix.
Author: [Not Specified]
Posted: 2014-06-02 17:33

Thanks Trelane for the Fix.
im using Java 6u45 and everything is working perfectly so far.
If i have any problem with it, i will report.



< Previous
Moving local template to device?
  Next
Sonicwall NSA 2400 SNMP time outs and errors
>