JON installation fails with 'Failed to connect to the storage cluster' if executed a second time after changing storage node's host name or bind address

Solution Unverified - Updated -

Issue

  • Install fails to complete
  • Get the following error:

    ERROR [org.rhq.enterprise.server.installer.InstallerServiceImpl] Failed to connect to the storage cluster. Please check the following:
            1) At least one storage node is running
            2) The rhq.storage.nodes property specifies the correct hostname/address of at least one storage node
            3) The rhq.storage.cql-port property has the correct value
    
    ERROR [org.rhq.enterprise.server.installer.Installer] The installer will now exit due to previous errors: java.lang.Exception: Could not connect to the storage cluster: All host(s) tried for query failed (tried: jon-storage.example.com/127.0.0.1 ([jon-storage.example.com/127.0.0.1] Cannot connect))
            at org.rhq.enterprise.server.installer.InstallerServiceImpl.prepareDatabase(InstallerServiceImpl.java:580) [rhq-installer-util-4.9.0.JON320GA.jar:4.9.0.JON320GA]
            at org.rhq.enterprise.server.installer.InstallerServiceImpl.install(InstallerServiceImpl.java:316) [rhq-installer-util-4.9.0.JON320GA.jar:4.9.0.JON320GA]
            ...
    
  • Installer attempts to use an old address for the storage cluster

Environment

  • Red Hat JBoss Operations Network (ON) 3.2
  • JBoss ON storage node installer was previously executed using a different host name or IP address then what is specified in rhq-storage.properties

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.