Red Hat Bugzilla – Bug 1259554
Changing the Storage Node JMX port does not update the JMX connection URL
Last modified: 2015-11-01 19:46:48 EST
Description of problem:
The Storage Node administration exposes the JMX port in both the admin UI and in the CLI. This is the port on which the Storage Node listens for JMX requests. Most management of the Storage Node is done via JMX. If you change the JMX port in the admin UI for example, the underlying connection URL does not get updated. The Storage Node is reported down, and management/monitoring of the Storage Node is broken. This can be fixed by going to the Storage Node resource in the inventory UI, then go to the connection settings, and then update the Manager URL property with the new port. This will fix the JMX connection problem, but the Jmx Port property in the connection settings will still show the original port.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
I left out a key detail in the description. The jmx_port property in cassandra-jvm.properties does get updated and the storage node gets restarted so that the port change takes effect. The agent can no longer connect to the storage node via JMX, and it is reported down.
jmx_port from cassandra-jvm.properties always shows up on command line. So I think it is not relevant.
I am going to fix resource upgrade code within StorageNodeDiscoveryComponent
time: 2015-09-03 14:14:27 +0200
author: Libor Zoubek - email@example.com
message: Bug 1259554 - Changing the Storage Node JMX port does not update the JMX
Fix upgrade facet impl. of StorageNodeDiscoveryComponent. We're
now able to detect JMX port change at agent/pc startup time