XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. nraynaud
    3. Posts
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 91
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: ova import failing silently. logs show timeout against xcp-ng node

      @ITJamie I'm sorry I can't answer about the node version until we get the bug.

      I suspect there is some kind of compounding, where an error happens somewhere, but is lost by improper error handling, and no all we see is a corrupted state long after the error happened.

      posted in Xen Orchestra
      nraynaudN
      nraynaud
    • RE: ova import failing silently. logs show timeout against xcp-ng node

      @ITJamie No, we don't have any hierarchical log system on the front side AFAIK.

      posted in Xen Orchestra
      nraynaudN
      nraynaud
    • RE: ova import failing silently. logs show timeout against xcp-ng node

      @ITJamie oh I see you're building from sources, even better, would you mind being my eyes in Chrome debugger?

      when you click on the 'import' button (maybe for a failing VMDK disk, it's the simplest code path that fails) there should be a POST request to a weird URL , if you could tell me the content-length of the request (not the response), and if you see anything untowards in the payload.

      here is a capture of a normal thing on my computer:
      https://gfycat.com/aggressivedisgustinggopher (there is an HD button at the bottom right)
      the payload size should be a few KB and at the bottom there should be the file name. No private information transits here, it's the addresses of the the blocks in the file, not their content.

      Thank you for your help.

      posted in Xen Orchestra
      nraynaudN
      nraynaud
    • RE: ova import failing silently. logs show timeout against xcp-ng node

      @ITJamie thanks! it's the first clue ever we get on this problem.

      and it is front side, which makes it a bit easier to find.

      It's not a slam dunk, because it works here, on a mac with chrome, mut we have a lead.

      posted in Xen Orchestra
      nraynaudN
      nraynaud
    • RE: ova import failing silently. logs show timeout against xcp-ng node

      I am extremely sorry, but it seems to works on my machine

      Capture d’écran 2022-02-17 à 10.00.28.png

      BUT, the error I see in your logs also exists at another customer site, and they also trigger it with a publicly available OVA.
      If you can and want, would you mind trying to import 'watchguard-dimension_2_2.ova' https://software.watchguard.com/SoftwareDownloads?current=true&familyId=a2RF00000009On4MAE
      and check if you get the same error ? you don't have to start the VM, we are just looking for vhd-tool output: vhd-tool: Non-zero size required in xensource.log

      We will confer internally. in the mean time.

      Nicolas.

      posted in Xen Orchestra
      nraynaudN
      nraynaud
    • RE: ova import failing silently. logs show timeout against xcp-ng node

      yes, I'll have a look

      posted in Xen Orchestra
      nraynaudN
      nraynaud
    • RE: s3 backups with minio using https and various CAs

      @sidsanders Hi, I gave a look at your issue, it seems that it is often associated with the ssl certificate missing the middle of the Merkle chain.

      here are a couple of explanations:

      • https://serverfault.com/questions/693033/unable-to-use-builtin-ca-bundle-to-verify-godaddy-sha2-ssl-certificate
      • https://www.npmjs.com/package/ssl-root-cas

      I suspect that the certificate you gave to minio was incomplete. Note that the chain of certificate should not include the root certificate, only all the certificates in the chain minus the root.

      Nico.

      posted in Xen Orchestra
      nraynaudN
      nraynaud
    • RE: Import problem which Mikrotik Cloud Hosted Router

      I think the issue is solved, you can follow the fix here: https://github.com/vatesfr/xen-orchestra/pull/5903

      nraynaud opened this pull request in vatesfr/xen-orchestra

      closed fix(xo-server/{disk,vm}.import): fix import of very small VMDK files #5903

      posted in Xen Orchestra
      nraynaudN
      nraynaud
    • RE: Import problem which Mikrotik Cloud Hosted Router

      I found a weird thing, I'm trying to find the cause.
      Capture d’écran 2021-09-14 à 11.00.31.png

      posted in Xen Orchestra
      nraynaudN
      nraynaud
    • RE: Import problem which Mikrotik Cloud Hosted Router

      Hi, sorry for the delay, I reproduce the error with chr-6.48.4.ova, I'm now starting to diagnose it.

      posted in Xen Orchestra
      nraynaudN
      nraynaud
    • RE: Backup to S3 aborted what permissions are required?

      @jensolsson-se Can you use SMB, NFS or local backups? I don't think S3 has ever worked for anyone.

      posted in Xen Orchestra
      nraynaudN
      nraynaud
    • RE: Backup to S3 aborted what permissions are required?

      @jensolsson-se yes, we have though of complicated solutions too, but we haven't yet really dug into it, because this is a backup situation, we'd like the state of things and failure modes to be manageable.

      posted in Xen Orchestra
      nraynaudN
      nraynaud
    • RE: Backup to S3 aborted what permissions are required?

      @jensolsson-se Hi Jens, you are on the right track. The other thing is that 5TB/10000 leads to big fragment size that are a bit much to keep in memory.

      posted in Xen Orchestra
      nraynaudN
      nraynaud
    • RE: Backup to S3 aborted what permissions are required?

      @jensolsson-se that is weird, there is no real error in the logs you posted, and the testing function actually writes on the S3 bucket, so I really think a lot of things went right.

      I am trying to think of a bug that would have gone around the error reporting system. The websocket message is a bit suspicious.

      posted in Xen Orchestra
      nraynaudN
      nraynaud
    • RE: Backup to S3 aborted what permissions are required?

      @jensolsson-se hello, sorry the notification slipped through the cracks.

      the current fashion in S3 bugs at the moment is in the backups, and the stacktrace clearly shows our code:

                      "stack": "Error: Error calling AWS.S3.upload: write ECONNRESET\n
          at rethrow (/home/xoa/xen-orchestra/node_modules/@sullux/aws-sdk/index.js:254:24)\n
          at runMicrotasks (<anonymous>)\n    at processTicksAndRejections (internal/process/task_queues.js:95:5)\n
          at async S3Handler._outputStream (/home/xoa/xen-orchestra/@xen-orchestra/fs/dist/s3.js:100:5)\n
          at async S3Handler.outputStream (/home/xoa/xen-orchestra/@xen-orchestra/fs/dist/abstract.js:250:5)\n
          at async RemoteAdapter.outputStream (/home/xoa/xen-orchestra/@xen-orchestra/backups/RemoteAdapter.js:509:5)\n
          at async /home/xoa/xen-orchestra/@xen-orchestra/backups/writers/FullBackupWriter.js:69:7"
      

      I am extremely puzzled by the stacktrace you posted, the "websocket" keyword almost suggest that the server tried to answer to the browser, but the TCP socket had been closed.

      what do you have in the backup log ?

      This circled button copies a very long detail of the error to the clipboard, you can paste it in a text editor and have a look.
      Capture d’écran 2021-06-02 à 14.21.11.png

      posted in Xen Orchestra
      nraynaudN
      nraynaud
    • RE: Backup to S3 aborted what permissions are required?

      @olivierlambert no I have never encountered this error, but the "websocket" keyword make me suspect it's a UI error between XO and the browser,

      posted in Xen Orchestra
      nraynaudN
      nraynaud
    • RE: Unable to import vmdk Error: not a VMDK file

      Hi @Meth0d , I had a look at your file, I see that it's VMFS ( https://en.wikipedia.org/wiki/VMware_VMFS ) inside, which seems to be a real file system and not a disk image. I'm unfamiliar with esxi, but I think you might not have exported the virtual machine the way other users do.

      posted in Xen Orchestra
      nraynaudN
      nraynaud
    • RE: backblaze b2 / amazon s3 as remote in xoa

      @shorian Ah sorry, I think S3 is completely broken at the moment.

      posted in Xen Orchestra
      nraynaudN
      nraynaud
    • RE: backblaze b2 / amazon s3 as remote in xoa

      @shorian thanks. If you could just try no concurrency as a proof that the code work, then your normal concurrency, to check if the issue is fixed that would be great.

      This code is meant to be more vulnerable to losing the connection to S3, but I think it's a low risk. It's now using straight HTTP POST.

      posted in Xen Orchestra
      nraynaudN
      nraynaud
    • RE: backblaze b2 / amazon s3 as remote in xoa

      @shorian I would like to abuse your patience again, by asking you to test this branch: https://github.com/vatesfr/xen-orchestra/tree/nr-s3-fix-big-backups2

      The concept is that the backup upload will happen without any sort of smart upload system or queue.

      Thank you, Nico

      posted in Xen Orchestra
      nraynaudN
      nraynaud