Page 1 of 1

Problems upgrading from 1.3.0 to 1.4.0

Posted: Mon Dec 28, 2015 10:52 am
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?

Re: Problems upgrading from 1.3.0 to 1.4.0

Posted: Mon Dec 28, 2015 11:11 am
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

Re: Problems upgrading from 1.3.0 to 1.4.0

Posted: Tue Dec 29, 2015 9:10 am
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.

Re: Problems upgrading from 1.3.0 to 1.4.0

Posted: Tue Dec 29, 2015 10:06 am
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?

Re: Problems upgrading from 1.3.0 to 1.4.0

Posted: Tue Dec 29, 2015 3:08 pm
by vmesquita
I think not. Let's wait for the next release to see if it happens again.

Re: Problems upgrading from 1.3.0 to 1.4.0

Posted: Tue Dec 29, 2015 3:16 pm
by bwallace
Sounds like a plan vmesquita. We'll go ahead and lock this thread now.