HUB Templates


  • XO Team

    This is a XenServer/XCP-ng error, I don't know what it means.

    @S-Pam please open a support ticket and a support tunnel if you want us to investigate further.



  • Well, not entirely sure. However both support tunnel and XOA updates work 🙂 Also YUM updates.



  • It's not production critical. Was just curious. I can create VMs and boot with ISOs from my ISO SR.
    What happens is that I click Install
    afd23e67-f265-4acb-ba5b-b6e5169f6b33-image.png
    The little circle spins around for a bit and then a red error box comes up.
    4e05ea4f-3f15-4c23-be7a-91ea6abc5fd6-image.png
    I can't really see any errors in any log on the xcp-ng server or in the xoa console.

    Perhaps it is because I have not updated xcp-ng to latest patch levels yet?


  • XCP-ng Team

    Can you display the whole message? (in Settings/logs, eye icon)



  • This is the error log when I click the little Eye icon. This is from today. I have the latest xcp-ng patches installed.

    cloud.downloadAndInstallResource
    {
      "namespace": "CentOS8",
      "id": "a5e60c2e-cf38-4205-b51f-6fe6d5550f86",
      "version": "1.0.0",
      "sr": "de54f828-dfd2-c44f-c8c8-552c9392deed"
    }
    {
      "code": "ECONNRESET",
      "url": "http://localhost:9002/",
      "message": "socket hang up",
      "name": "Error",
      "stack": "Error: socket hang up
        at createHangUpError (_http_client.js:342:15)
        at Socket.socketOnEnd (_http_client.js:437:23)
        at emitNone (events.js:111:20)
        at Socket.emit (events.js:208:7)
        at Socket.patchedEmit [as emit] (/usr/local/lib/node_modules/xo-server/node_modules/@xen-orchestra/log/src/configure.js:94:16)
        at endReadableNT (_stream_readable.js:1064:12)
        at _combinedTickCallback (internal/process/next_tick.js:139:11)
        at process._tickCallback (internal/process/next_tick.js:181:9)"
    }
    

    EDIT: Also tested Alpine Linux. Same issue.

    XOA has connectivity and can update itself through the proxy.I'm thinking that the problem with the HUB installer is that it doesn't use the pre-configured proxy.

    cloud.downloadAndInstallResource
    {
      "namespace": "Alpine3",
      "id": "053f2391-a122-4b09-98d0-c0902a8eb342",
      "version": "1.0.0",
      "sr": "de54f828-dfd2-c44f-c8c8-552c9392deed"
    }
    {
      "code": "ECONNRESET",
      "url": "http://localhost:9002/",
      "message": "socket hang up",
      "name": "Error",
      "stack": "Error: socket hang up
        at createHangUpError (_http_client.js:342:15)
        at Socket.socketOnEnd (_http_client.js:437:23)
        at emitNone (events.js:111:20)
        at Socket.emit (events.js:208:7)
        at Socket.patchedEmit [as emit] (/usr/local/lib/node_modules/xo-server/node_modules/@xen-orchestra/log/src/configure.js:94:16)
        at endReadableNT (_stream_readable.js:1064:12)
        at _combinedTickCallback (internal/process/next_tick.js:139:11)
        at process._tickCallback (internal/process/next_tick.js:181:9)"
    }
    

    6c0a9c43-4cdf-4b18-8d78-7e8a7ffbc8b4-image.png


  • XCP-ng Team

    Ping @pdonias do we have an issue opened with this?


  • XO Team

    I'm not seeing any. And I don't think this would be fixed by @julien-f's recent change on xo-server-xoa since it should already use the configured proxy by going through the updater.

    /cc @Mohamedox


  • XO Team

    @pdonias We only see the connection error between xo-server and xo-updater, we need to reproduce to figure out what's going on.



  • Sorry, I know this topic is kind of old. But what is the username for alpine? I've loaded my public key and tried a few users without success.



  • @luiscamaral Let me reply to myself. If you update xoa it will show user and password as in bellow description:

    Template for Alpine Linux 3.10, with 'root' username and 'xohub' password, DHCP enabled
    😊


Log in to reply
 

XCP-ng Pro Support

XCP-ng Pro Support