XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Nos stats problem (but not the know one I guess)

    Scheduled Pinned Locked Moved Management
    3 Posts 2 Posters 12 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C Offline
      cgasser
      last edited by

      I have upgraded from 8.2.1 to 8.3. No I cant see any stats anymore. But I get a lot of these messages:

      {
        "id": "0mfjnqn6i",
        "properties": {
          "method": "vm.stats",
          "params": {
            "id": "2dd9279e-1f06-0151-6b9a-1ebf29d48edc"
          },
          "name": "API call: vm.stats",
          "userId": "7a3187b0-312e-43f9-9870-cfd591078f02",
          "type": "api.call"
        },
        "start": 1757852076761,
        "status": "failure",
        "updatedAt": 1757852076845,
        "end": 1757852076845,
        "result": {
          "errno": -111,
          "code": "ECONNREFUSED",
          "syscall": "connect",
          "address": "127.0.0.1",
          "port": 443,
          "message": "connect ECONNREFUSED 127.0.0.1:443",
          "name": "Error",
          "stack": "Error: connect ECONNREFUSED 127.0.0.1:443\n    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)\n    at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:128:17)"
        }
      }
      

      To me it looks like XOA tries to load the data from 127.0.0.1.
      I have another pool connected to that XOA. Also 8.3. No issues. Therefore I assume it is not my XOA that causes that problem. I also update to the latest version via git pull. No change.

      Anyone and idea why this is?

      BR
      C

      C 1 Reply Last reply Reply Quote 0
      • C Offline
        cgasser @cgasser
        last edited by

        Update: I have 4 hosts in that pool. For one host, I can see stats. But just for that one host only. Not sure if that helps to point to the right directrion.

        BR
        C

        1 Reply Last reply Reply Quote 0
        • olivierlambertO Online
          olivierlambert Vates 🪐 Co-Founder CEO
          last edited by

          @cgasser said in Nos stats problem (but not the know one I guess):

          connect ECONNREFUSED 127.0.0.1:443

          That's the issue. XO needs to have access to all hosts management IPs, not just the master. I assume you made a tunnel or something specific to make XO connecting to the master. It's not related to 8.2 or 8.3, it's an architecture thing on pools since XCP exists 🙂

          1 Reply Last reply Reply Quote 0
          • First post
            Last post