Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-17440

"Unable to detect which node you are currently connected to" warning may appear even when not clustered

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.12.1
    • Fix Version/s: 3.13.0
    • Component/s: HA, UI
    • Labels:

      Description

      When starting a non-clustered PRO instance (ie. nexus.clustered=false) it is still possible to get the following warning in the UI, which looks HA related:

      Unable to detect which node you are currently connected to
      

      This warning comes from the DatabaseQuorumReset JS controller, specifically when the NX.direct.node_NodeAccess.nodes query in its "init" method fails.

      So far I've only been able to recreate this when stopping, or very occasionally when rebooting, the NXRM instance while the UI was loading - or by disrupting the network connection between the browser and NXRM while the UI loads. (Note the local node name is used when resetting the quorum to ensure we reduce it down to just the current node.)

      The DatabaseQuorumReset JS controller is always activated regardless whether the current instance is clustered or not. I believe this is to let people reset quorum even when the instance is non-clustered (there are some edge cases where it's necessary to boot a node as non-clustered to get NXRM up and running, so the DB can be fixed in preparation for running as clustered).

      Given the difficulty in recreating this issue, we might decide this ticket is enough to document that this message can occur even in non-clustered mode - and more importantly it doesn't indicate the instance was ever run in clustered mode.

      Alternatively it might be possible to avoid this issue by lazy loading the local node name, rather than eagerly fetching the status when the UI loads. But is the extra complexity worth it?

        Attachments

          Activity

            People

            Assignee:
            dsawa Dawid Sawa
            Reporter:
            mcculls Stuart McCulloch
            Last Updated By:
            Peter Lynch
            Team:
            Nexus - UX
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title