TECHZEN Zenoss User Community ARCHIVE  

Upgrading Zenoss Core 6.0.0 to 6.1.0

Subject: Upgrading Zenoss Core 6.0.0 to 6.1.0
Author: Dave Lund
Posted: 2018-01-18 12:46

Hello,

Here is the background of my setup:

OS:  CentOS 7.4.1708
Control Center:  1.5.0_1
Current Zenoss Version:  6.0.0

I'm following the Zenoss Core 6.1.0 upgrade guide.  I installed the new zenoss-core_6.1, hbase, and opentsdb docker images.  I then edited the upgrade_core.txt file and commented out these lines since I am not upgrading from 5.x to 6.x

# Do a model catalog hard reindex. This is only needed when upgrading to 6.X from 5.X
#SVC_EXEC NO_COMMIT "Zenoss.core/Zenoss/User Interface/Zope" su - zenoss -c "/opt/zenoss/bin/upgrade_reindex.sh Zenoss.core"

# Re-run the migration to Remove Empty Product Class Relationships, since it uses the model catalog. This is only needed when upgrading to 6.X from 5.X
#SVC_EXEC NO_COMMIT "Zenoss.core/Zenoss/User Interface/Zope" /opt/zenoss/bin/zenmigrate --step=RemoveEmptyProductClassRelationships --dont-bump

I also installed the zenoss-core-services-6.1.0-1.noarch.rpm to install the updated template.

I then ran the upgrade_core.sh script which ran without error.  I'm attaching the log to this post.

I then restarted the zenoss.core application.  

Now in Control Center it shows Zenoss.core (v6.1.0) but when I go to the Zenoss login page it still shows version 6.0.0.  It also shows as 6.0.0 under Advanced > Versions.

I wondering if there is something I missed?  I tried this upgrade a couple times with the same results.  If I add a new Zenoss.core instance using the 6.1.0 template, the version shows correctly.

Thanks

Attachments:

script-2018-01-18-101942-root.txt



Subject: RE: Upgrading Zenoss Core 6.0.0 to 6.1.0
Author: Dave Lund
Posted: 2018-01-24 16:55

It appears that after I ran the upgrade script and restarted the zenoss application it is still using the core_6.0 image rather than core_6.1.  After upgrading shouldn't it use the newly install 6.1 image?  In Control Center it lists my installed zenoss application as v6.1.0.  Is there a way to configure it to use the new 6.1 image?

Thanks


Subject: RE: Upgrading Zenoss Core 6.0.0 to 6.1.0
Author: Chris Smouse
Posted: 2018-01-24 17:22

Dave -

If Control Center is reporting that 6.1.0 is the version you're now running, what is making you think it's still using the core_6.0 image?

------------------------------
Chris Smouse
Senior Manager, Software Engineering
Zenoss
------------------------------


Subject: RE: Upgrading Zenoss Core 6.0.0 to 6.1.0
Author: Dave Lund
Posted: 2018-01-25 10:12

Hi Chris, thank you for your reply.

There's 2 reasons I think it's not using the newest image:

1.  On the login page for my zenoss application that I upgraded it still shows the version as 6.0.0.  It also shows version 6.0.0 r430 under Advanced > Settings > Versions.

2.  When I run a "docker ps" on the server, it still shows it using core_6.0 instead of the installed core_6.1  Attached is an output of that command.

Attachments:

docker_ps.txt



< Previous
Zenoss Community 6 distributed collector
  Next
Zenoss refuses to connect
>