Problems upgrading from 1.3.0 to 1.4.0

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
vmesquita
Posts: 315
Joined: Fri Aug 10, 2012 12:52 pm

Problems upgrading from 1.3.0 to 1.4.0

Post by vmesquita »

I am trying to upgrade to Nagios Log Sever 1.4.0 but I am getting this error:

Code: Select all

Loaded plugins: product-id, rhnplugin, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
Package openssl-1.0.1e-42.el6.x86_64 already installed and latest version
Package pyOpenSSL-0.13.1-2.el6.x86_64 already installed and latest version
Nothing to do
Collecting elasticsearch-curator==3.4.0
  Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x2832410>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/elasticsearch-curator/
  Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x28325d0>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/elasticsearch-curator/
  Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x2832710>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/elasticsearch-curator/
  Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x2832850>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/elasticsearch-curator/
  Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x2832990>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/elasticsearch-curator/
  Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x2832590>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/elasticsearch-curator/
  Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x2832850>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/elasticsearch-curator/
  Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x2832a10>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/elasticsearch-curator/
  Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x2832610>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/elasticsearch-curator/
  Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x2832bd0>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/elasticsearch-curator/
  Could not find a version that satisfies the requirement elasticsearch-curator==3.4.0 (from versions: )
No matching distribution found for elasticsearch-curator==3.4.0
I have a proxy to connect to the internet but maybe I am missing some seeting. Any ideas?
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Problems upgrading from 1.3.0 to 1.4.0

Post by jolson »

'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/elasticsearch-curator/
I have a proxy to connect to the internet but maybe I am missing some seeting. Any ideas?
You'll need to proxy the pip connection. I found the following Stack Exchange post:
http://stackoverflow.com/questions/1908 ... oxy-server

It looks like pip should respect proxy environment variables:

Code: Select all

export https_proxy="http://<proxy.server>:<port>"
-or-

Code: Select all

export http_proxy="http://<proxy.server>:<port>"
Use one of the above depending on whether you use http or https.

After you set the variable, try re-running the upgrade script. Thanks!

Jesse
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
vmesquita
Posts: 315
Joined: Fri Aug 10, 2012 12:52 pm

Re: Problems upgrading from 1.3.0 to 1.4.0

Post by vmesquita »

Yesterday I tried creating the variable and it didn't work. Then I tried adding the proxy information to the command-line as suggested in the link. Still same error message.

So today I tried again and the upgrade worked. I suspect logging off and on again did the trick, but I can't be sure.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Problems upgrading from 1.3.0 to 1.4.0

Post by hsmith »

That's some strange behavior. I wonder if there was some kind of weird connectivity thing happening. Is there anything else we can do for you in this thread?
Former Nagios Employee.
me.
vmesquita
Posts: 315
Joined: Fri Aug 10, 2012 12:52 pm

Re: Problems upgrading from 1.3.0 to 1.4.0

Post by vmesquita »

I think not. Let's wait for the next release to see if it happens again.
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Problems upgrading from 1.3.0 to 1.4.0

Post by bwallace »

Sounds like a plan vmesquita. We'll go ahead and lock this thread now.
Be sure to check out the Knowledgebase for helpful articles and solutions!
Locked