TECHZEN Zenoss User Community ARCHIVE  

Upgrade from 5.1.5 to 6.2 solr issue

Subject: Upgrade from 5.1.5 to 6.2 solr issue
Author: Anthony Parrington
Posted: 2019-02-01 12:00

Hello,
I seem to be running into an issue when attempting to upgrade to 6.2 from 5.1.5. The upgrade script seems to stumble at step 12. Any help would be appreciated:

I0201 16:47:23.010558 40791 runner.go:159] executing step 12: SVC_EXEC NO_COMMIT "Zenoss.core/Zenoss/User Interface/Zope" /opt/zenoss/bin/zenmigrate --step=AddSolrService --dont-bump
I0201 16:47:23.816672 40791 eval.go:302] running: serviced service shell -s 164723-20190201_4iqe4naz94ylsleb3aalij6kz 4iqe4naz94ylsleb3aalij6kz /opt/zenoss/bin/zenmigrate --step=AddSolrService --dont-bump
I0201 16:47:24.660103 41504 server.go:345] Connected to the control center at port 5.101.140.242:4979
I0201 16:47:24.689097 41504 server.go:364] Getting image localhost:5000/9p3jemkvoeym7euwelqffok1k/core_6.2:latest
I0201 16:47:26.017695 41504 server.go:453] Acquiring image from the dfs...
I0201 16:47:27.426850 41504 server.go:458] Acquired! Starting shell
2019/02/01 16:47:31 Connected to 5.101.140.242:2181
2019/02/01 16:47:31 Authenticated: id=101512288030294102, timeout=15000
2019/02/01 16:47:31 Connected to 5.101.140.242:2181
2019/02/01 16:47:31 Authenticated: id=101512288030294103, timeout=15000
E0201 16:47:31.803343 00001 endpoint.go:478] No proxy for 9p3jemkvoeym7euwelqffok1k_localhost_zenhubPB - no need to set empty address list
E0201 16:47:31.804107 00001 endpoint.go:478] No proxy for 9p3jemkvoeym7euwelqffok1k_zproxy - no need to set empty address list
E0201 16:47:31.805371 00001 endpoint.go:478] No proxy for 9p3jemkvoeym7euwelqffok1k_zep - no need to set empty address list
E0201 16:47:31.805864 00001 endpoint.go:478] No proxy for 9p3jemkvoeym7euwelqffok1k_memcached - no need to set empty address list
2019-02-01 16:47:49 INFO zen.migrate: Will execute these steps: AddSolrService
2019-02-01 16:47:49 INFO zen.migrate: Installing AddSolrService (200.0.0)
INFO:zen.migrate:Will execute these steps: AddSolrService
INFO:zen.migrate:Installing AddSolrService (200.0.0)
2019-02-01 16:47:51 WARNING zen.migrate: Recovering
WARNING:zen.migrate:Recovering
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenModel/migrate/zenmigrate.py", line 19, in <module>
main()
File "/opt/zenoss/Products/ZenModel/migrate/zenmigrate.py", line 16, in main
m.main()
File "/opt/zenoss/Products/ZenModel/migrate/Migrate.py", line 442, in main
self.cutover()
File "/opt/zenoss/Products/ZenModel/migrate/Migrate.py", line 318, in cutover
self.migrate()
File "/opt/zenoss/Products/ZenModel/migrate/Migrate.py", line 289, in migrate
m.cutover(self.dmd)
File "/opt/zenoss/Products/ZenModel/migrate/addSolrService.py", line 29, in cutover
ctx = sm.ServiceContext()
File "/opt/zenoss/lib/python2.7/site-packages/servicemigration/version.py", line 34, in func_wrapper
return func(*args)
File "/opt/zenoss/lib/python2.7/site-packages/servicemigration/context.py", line 53, in __init__
data = self._client.getServicesForMigration(os.environ["CONTROLPLANE_TENANT_ID"])
File "/opt/zenoss/Products/ZenUtils/controlplane/client.py", line 401, in getServicesForMigration
response = self._dorequest("/services/%s" % serviceId, query=query)
File "/opt/zenoss/Products/ZenUtils/controlplane/client.py", line 489, in _dorequest
self._login()
File "/opt/zenoss/Products/ZenUtils/controlplane/client.py", line 477, in _login
response = self._opener.open(request)
File "/usr/lib64/python2.7/urllib2.py", line 437, in open
response = meth(req, response)
File "/usr/lib64/python2.7/urllib2.py", line 550, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib64/python2.7/urllib2.py", line 475, in error
return self._call_chain(*args)
File "/usr/lib64/python2.7/urllib2.py", line 409, in _call_chain
result = func(*args)
File "/usr/lib64/python2.7/urllib2.py", line 558, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 401: Unauthorized
exit status 1

------------------------------
Anthony Parrington
------------------------------


Subject: RE: Upgrade from 5.1.5 to 6.2 solr issue
Author: John Boyle
Posted: 2019-02-01 13:03

Quick read of your post and quick response. Not diving into the exact issue but FYI that 6.3 was just released and there may be fixes etc to leverage in the new version.

JB



------------------------------
John Boyle
Lead Product Manager - Modern Security Platform
Dell Technologies
Austin TX
john.boyle@dell.com
http://www.zenoss.com
------------------------------


Subject: RE: Upgrade from 5.1.5 to 6.2 solr issue
Author: Hrvoje T
Posted: 2019-02-04 03:23

Could you please instruct on where to find the links to the updated Zenoss Core 6.3 version?

------------------------------
Hrvoje T
CS Computer Systems
Zagreb
------------------------------

Subject: RE: Upgrade from 5.1.5 to 6.2 solr issue
Author: Anthony Parrington
Posted: 2019-02-09 10:10

Thank you John, it's probably not a bad idea to give that a try. As Hrvoje mentions I can't seem to find any download links as yet but I will keep checking

------------------------------
Anthony Parrington
------------------------------


Subject: RE: Upgrade from 5.1.5 to 6.2 solr issue
Author: John Boyle
Posted: 2019-02-12 22:36

Should be uploaded to the site already. Ping @Zack or @Kimberly. Community Edition artifacts are available same time as Enterprise release. ​

​Cheers!

JB



------------------------------
John Boyle
SPG Lead - Modern Security Product Management
Dell Technologies
Austin TX
john.boyle@dell.com
http://www.dell.com
------------------------------

Quick read of your post and quick response. Not diving into the exact issue but FYI that 6.3 was just released and there may be fixes etc to leverage in the new version.

JB



------------------------------
John Boyle
Lead Product Manager - Modern Security Platform
Dell Technologies
Austin TX
john.boyle@dell.com
http://www.zenoss.com


Subject: RE: Upgrade from 5.1.5 to 6.2 solr issue
Author: Jason Olson
Posted: 2019-02-13 09:35

Well....should be available at the same time, but lately with the last few releases hasn't been. I also checked the artifacts list on Amazon just in case the new version had been published but not updated on the community site but no luck there, either.

------------------------------
Jason Olson
------------------------------


< Previous
just installed 6.2.1 OVA Master
  Next
Multiple SNMP instances on the same device
>