Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

opscenter upgrade to 5.1.1 keeps failing to upgrade agents

i'm running DSE 4.6.1 with opscenter 5.1.0.

i upgraded (through deb package) to opscenter 5.1.1, in the webUI now it says my agents are old (5.1.0) and need to be upgraded, when i try to upgrade through the webUI it says it finished succesfully but actually nothing happened, the agents continue to be 5.1.0.

I've try to upgrade the datastax-agent through apt but it fails also.

any ideas? i was planning to upgrade to 4.6.4 and 5.1.1 this morning but got stuck with this

like image 503
sebamontini Avatar asked Nov 22 '25 01:11

sebamontini


1 Answers

I experienced the same problem yesterday! You can resolve this issue by following these steps:

  1. Check your datastax-agent share directory ( default: /usr/share/datastax-agent )
  2. Ensure datastax-agent-5.1.1-standalone.jar is present. If it is and datastax-agent-5.1.0-standalone.jar is present, delete the 5.1.0 jar file.
  3. Restart the datastax-agent service and check that OpsCenter is seeing the correct agent version, if not, continue to the next step!
  4. Manually update: /etc/init.d/datastax-agent from it's original form to: http://pastebin.com/x72vWdQK (This is the base datastax-agent init script for 5.1.1)

You will want to restart the datastax-agent service after completing these steps!

Note: The above method resolved two issues for me. The first being your issue upon upgrading OpsCenter to 5.1.1 with the agents not updating appropriately and the second issue involving backups not having appropriate access to store in the datastax-agent/tmp folder. It appears that the latest release has a few bugs regarding deployment.

Major thanks to nickmbailey at the freenode IRC #cassandra channel for working through this with me!

like image 171
mbeacom Avatar answered Nov 24 '25 22:11

mbeacom