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

    Posts

    Recent Best Controversial
    • RE: RunX: tech preview

      just a personal opinion I'm leaving here, no follow-up needed.

      If I want to run containers I use OKD.
      I've always seen all the comments about keeping the dom0 controller to a minimum, docker alone adds a 2GB overhead to it, no more problems in adding stuff to it.

      posted in News
      M
      mavoff
    • RE: Netbox plugin: Error code 400 - Error: Bad Request

      @pdonias ok I get a correct answer from inside but from outside I'm getting this bad request. The curl gets to the ssl certificate on the net box host, but throws the 400 bad request, when doing from outside the firewall.

      When testing locally, it works.

      Let me look this over! Thanks!

      posted in Advanced features
      M
      mavoff
    • RE: Netbox plugin: Error code 400 - Error: Bad Request

      @pdonias

      Just to say that yes the link is accessible.

      HTTP 200 OK
      Allow: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
      Content-Type: application/json
      Vary: Accept
      
      {
          "count": 1,
          "next": null,
          "previous": null,
          "results": [
              {
                  "id": 1,
                  "url": "https://fw-dea12.domain.tld/api/extras/custom-fields/1/",
                  "display": "UUID",
                  "content_types": [
                      "virtualization.cluster",
                      "virtualization.virtualmachine",
                      "virtualization.vminterface"
                  ],
                  "type": {
                      "value": "longtext",
                      "label": "Text (long)"
                  },
                  "object_type": null,
                  "data_type": "string",
                  "name": "uuid",
                  "label": "UUID",
                  "group_name": "",
                  "description": "Object UUID",
                  "required": false,
                  "search_weight": 1000,
                  "filter_logic": {
                      "value": "exact",
                      "label": "Exact"
                  },
                  "ui_visibility": {
                      "value": "read-write",
                      "label": "Read/Write"
                  },
                  "default": null,
                  "weight": 100,
                  "validation_minimum": null,
                  "validation_maximum": null,
                  "validation_regex": "",
                  "choices": [],
                  "created": "2023-10-17T12:20:53.892582Z",
                  "last_updated": "2023-10-17T12:21:47.628430Z"
              }
          ]
      }
      

      Logged in

      posted in Advanced features
      M
      mavoff
    • RE: Netbox plugin: Error code 400 - Error: Bad Request

      @pdonias hi there sorry for the late reply.

      If I open said link on the browser I get:Screenshot 2023-10-26 at 16.54.47.png

      posted in Advanced features
      M
      mavoff
    • RE: Netbox plugin: Error code 400 - Error: Bad Request

      @pdonias

      Hi there and thank you for your reply.
      Well, the error messages aren't exactly equal so to say.

      In the image below you can see the result of testing before the XO update was completed (namely the Oct 24 11:11 test was made after update BEFORE reboot/xo restart and 11:16 was after).
      So the error message does change slightly.

      Screenshot 2023-10-25 at 11.19.14.png

      Oct 24, 11:11

      plugin.test
      {
        "id": "netbox"
      }
      {
        "code": 400,
        "url": "https://fw-dea12.domain.tld:8143/api/virtualization/cluster-types/",
        "data": {
          "method": "POST",
          "path": "/virtualization/cluster-types/",
          "body": {
            "name": "[TMP] Xen Orchestra Netbox plugin test - 5qz91pafh",
            "slug": "xo-test-5qz91pafh",
            "description": "This type has been created by Xen Orchestra's Netbox plugin test. If it hasn't been properly deleted, you may delete it manually."
          }
        },
        "message": "Bad Request",
        "name": "Error",
        "stack": "Error: Bad Request
          at onResponse (/opt/xen-orchestra/node_modules/http-request-plus/index.js:255:21)
          at AsyncResource.runInAsyncScope (node:async_hooks:199:9)
          at cb (/opt/xen-orchestra/node_modules/bluebird/js/release/util.js:355:42)
          at tryCatcher (/opt/xen-orchestra/node_modules/bluebird/js/release/util.js:16:23)
          at Promise._settlePromiseFromHandler (/opt/xen-orchestra/node_modules/bluebird/js/release/promise.js:547:31)
          at Promise._settlePromise (/opt/xen-orchestra/node_modules/bluebird/js/release/promise.js:604:18)
          at Promise._settlePromise0 (/opt/xen-orchestra/node_modules/bluebird/js/release/promise.js:649:10)
          at Promise._settlePromises (/opt/xen-orchestra/node_modules/bluebird/js/release/promise.js:729:18)
          at _drainQueueStep (/opt/xen-orchestra/node_modules/bluebird/js/release/async.js:93:12)
          at _drainQueue (/opt/xen-orchestra/node_modules/bluebird/js/release/async.js:86:9)
          at Async._drainQueues (/opt/xen-orchestra/node_modules/bluebird/js/release/async.js:102:5)
          at Immediate.Async.drainQueues [as _onImmediate] (/opt/xen-orchestra/node_modules/bluebird/js/release/async.js:15:14)
          at processImmediate (node:internal/timers:464:21)
          at process.callbackTrampoline (node:internal/async_hooks:130:17)"
      }
      

      And Oct 24, 11:16:

      plugin.test
      {
        "id": "netbox"
      }
      {
        "originalUrl": "https://fw-dea12.domain.tld:8143/api/extras/custom-fields/",
        "url": "https://fw-dea12.domain.tld:8143/api/extras/custom-fields/",
        "data": {
          "method": "GET",
          "path": "/extras/custom-fields/"
        },
        "message": "400 Bad Request",
        "name": "Error",
        "stack": "Error: 400 Bad Request
          at Object.assertSuccess (/opt/xen-orchestra/node_modules/http-request-plus/index.js:162:19)
          at httpRequestPlus (/opt/xen-orchestra/node_modules/http-request-plus/index.js:217:22)
          at httpRequest (/opt/xen-orchestra/packages/xo-server-netbox/src/index.js:146:26)
          at Netbox.#request (/opt/xen-orchestra/packages/xo-server-netbox/src/index.js:183:18)
          at Netbox.#checkCustomFields (/opt/xen-orchestra/packages/xo-server-netbox/src/index.js:203:26)
          at Netbox.test (/opt/xen-orchestra/packages/xo-server-netbox/src/index.js:106:5)
          at default.testPlugin (file:///opt/xen-orchestra/packages/xo-server/src/xo-mixins/plugins.mjs:285:5)
          at Xo.test (file:///opt/xen-orchestra/packages/xo-server/src/api/plugin.mjs:109:3)
          at Api.#callApiMethod (file:///opt/xen-orchestra/packages/xo-server/src/xo-mixins/api.mjs:417:20)"
      }
      
      posted in Advanced features
      M
      mavoff
    • RE: Netbox plugin: Error code 400 - Error: Bad Request

      @pdonias said in Netbox plugin: Error code 400 - Error: Bad Request:

      /#/settings/plugins?s=netbox

      Netbox 1.3.0

      posted in Advanced features
      M
      mavoff
    • RE: Netbox plugin: Error code 400 - Error: Bad Request

      @pdonias thank you for your reply.

      I restarted the whole server before actually testing.

      the screenshot above was immediately after the build but before the reboot. Was focused on the commit.
      Then rebooted, tested, error.

      Screenshot 2023-10-24 at 14.58.03.png

      posted in Advanced features
      M
      mavoff
    • RE: Netbox plugin: Error code 400 - Error: Bad Request

      Screenshot 2023-10-24 at 10.45.12.png

      XO up to date now

      plugin.test
      {
        "id": "netbox"
      }
      {
        "originalUrl": "https://fw-dea12.domain.tld:8143/api/extras/custom-fields/",
        "url": "https://fw-dea12.domain.tld:8143/api/extras/custom-fields/",
        "data": {
          "method": "GET",
          "path": "/extras/custom-fields/"
        },
        "message": "400 Bad Request",
        "name": "Error",
        "stack": "Error: 400 Bad Request
          at Object.assertSuccess (/opt/xen-orchestra/node_modules/http-request-plus/index.js:162:19)
          at httpRequestPlus (/opt/xen-orchestra/node_modules/http-request-plus/index.js:217:22)
          at httpRequest (/opt/xen-orchestra/packages/xo-server-netbox/src/index.js:146:26)
          at Netbox.#request (/opt/xen-orchestra/packages/xo-server-netbox/src/index.js:183:18)
          at Netbox.#checkCustomFields (/opt/xen-orchestra/packages/xo-server-netbox/src/index.js:203:26)
          at Netbox.test (/opt/xen-orchestra/packages/xo-server-netbox/src/index.js:106:5)
          at default.testPlugin (file:///opt/xen-orchestra/packages/xo-server/src/xo-mixins/plugins.mjs:285:5)
          at Xo.test (file:///opt/xen-orchestra/packages/xo-server/src/api/plugin.mjs:109:3)
          at Api.#callApiMethod (file:///opt/xen-orchestra/packages/xo-server/src/xo-mixins/api.mjs:417:20)"
      }
      

      Still giving the same 400 bad request error

      posted in Advanced features
      M
      mavoff
    • RE: libfuse.so: error adding symbols: File in wrong format

      @Mark-C

      Wouldn't have made it without your help! Super.

      So far everything seems to be working normally, except for my original issue on the other topic, posting there now.

      If any more issues come up I'll post them here and reference on this topic. Many thanks!!

      posted in Xen Orchestra
      M
      mavoff
    • RE: libfuse.so: error adding symbols: File in wrong format

      @Mark-C kudus to you mate. Many thanks for your help, finally got it back.

      ]# yarn build
      yarn run v1.22.19
      $ turbo run build --scope xo-server --scope xo-server-'*' --scope xo-web
      ╭────────────────────────────────────────────────────────────────────────╮
      │                                                                        │
      │                  Update available v1.10.15 ≫ v1.10.16                  │
      │    Changelog: https://github.com/vercel/turbo/releases/tag/v1.10.16    │
      │               Run "npx @turbo/codemod update" to update                │
      │                                                                        │
      │      Follow @turborepo for updates: https://twitter.com/turborepo      │
      ╰────────────────────────────────────────────────────────────────────────╯
       WARNING  failed to contact turbod. Continuing in standalone mode: connection to turbo daemon process failed.
      	To quickly resolve the issue, try running:
      	- $ turbo daemon clean
      
      	To debug further - please ensure the following:
      	- the process identified by the pid in the file at /tmp/turbod/8288938151d980a6/turbod.pid is not running, and remove /tmp/turbod/8288938151d980a6/turbod.pid
      	- check the logs at /root/.local/share/turborepo/logs/8288938151d980a6-xen-orchestra.log
      	- the unix domain socket at /tmp/turbod/8288938151d980a6/turbod.sock has been removed
      
      	You can also run without the daemon process by passing --no-daemon
      • Packages in scope: xo-server, xo-server-audit, xo-server-auth-github, xo-server-auth-google, xo-server-auth-ldap, xo-server-auth-oidc, xo-server-auth-saml, xo-server-backup-reports, xo-server-load-balancer, xo-server-netbox, xo-server-perf-alert, xo-server-sdn-controller, xo-server-test, xo-server-test-plugin, xo-server-transport-email, xo-server-transport-icinga2, xo-server-transport-nagios, xo-server-transport-slack, xo-server-transport-xmpp, xo-server-usage-report, xo-server-web-hooks, xo-web
      • Running build in 22 packages
      • Remote caching disabled
      
       Tasks:    26 successful, 26 total
      Cached:    0 cached, 26 total
        Time:    2m38.144s 
      
      Done in 159.10s.
      

      Screenshot 2023-10-24 at 10.45.12.png

      Super! Cheers mate!!

      posted in Xen Orchestra
      M
      mavoff
    • RE: libfuse.so: error adding symbols: File in wrong format

      @Mark-C Hello Mark good morning and once more thanks for your feedback.

      So, regarding installed libs, they are:

      # dnf list installed | grep fuse
      fuse-common.aarch64                         3.3.0-16.0.1.el8                                   @ol8_baseos_latest    
      fuse-libs.aarch64                           2.9.7-16.0.1.el8                                   @ol8_baseos_latest    
      fuse3.aarch64                               3.3.0-16.0.1.el8                                   @ol8_baseos_latest    
      fuse3-libs.aarch64                          3.3.0-16.0.1.el8                                   @ol8_baseos_latest    
      

      the node-gyp ... was installed before, as every yarn ran on the fix_fuse_dependancy_arm before the pull ran successfully but worth the try:

      ]# npm install -g node-gyp
      
      added 129 packages in 6s
      
      17 packages are looking for funding
        run `npm fund` for details
      [root@xo-admin ~]# npm install -g node-gyp-build
      
      added 1 package in 465ms
      [root@xo-admin ~]# cd /opt/xen-orchestra
      [root@xo-admin xen-orchestra]# yarn
      yarn install v1.22.19
      [1/5] Validating package.json...
      [2/5] Resolving packages...
      [3/5] Fetching packages...
      [4/5] Linking dependencies...
      warning "workspace-aggregator-81db5e50-50e8-4d08-ac0a-85a8882fd055 > @vates/node-vsphere-soap > soap@1.0.0" has incorrect peer dependency "axios@^0.27.2".
      warning Workspaces can only be enabled in private projects.
      [5/5] Building fresh packages...
      [14/19] ⠠ argon2
      [13/19] ⠠ esbuild
      [12/19] ⠠ vue-echarts
      [4/19] ⠠ fuse-native
      error /opt/xen-orchestra/node_modules/fuse-native: Command failed.
      Exit code: 1
      Command: node-gyp-build
      Arguments: 
      Directory: /opt/xen-orchestra/node_modules/fuse-native
      Output:
      gyp info it worked if it ends with ok
      gyp info using node-gyp@9.4.0
      gyp info using node@18.18.2 | linux | arm64
      gyp info find Python using Python version 3.6.8 found at "/usr/bin/python3"
      gyp info spawn /usr/bin/python3
      gyp info spawn args [
      gyp info spawn args   '/usr/local/lib/node_modules/node-gyp/gyp/gyp_main.py',
      gyp info spawn args   'binding.gyp',
      gyp info spawn args   '-f',
      gyp info spawn args   'make',
      gyp info spawn args   '-I',
      gyp info spawn args   '/opt/xen-orchestra/fuse-native/build/config.gypi',
      gyp info spawn args   '-I',
      gyp info spawn args   '/usr/local/lib/node_modules/node-gyp/addon.gypi',
      gyp info spawn args   '-I',
      gyp info spawn args   '/root/.cache/node-gyp/18.18.2/include/node/common.gypi',
      gyp info spawn args   '-Dlibrary=shared_library',
      gyp info spawn args   '-Dvisibility=default',
      gyp info spawn args   '-Dnode_root_dir=/root/.cache/node-gyp/18.18.2',
      gyp info spawn args   '-Dnode_gyp_dir=/usr/local/lib/node_modules/node-gyp',
      gyp info spawn args   '-Dnode_lib_file=/root/.cache/node-gyp/18.18.2/<(target_arch)/node.lib',
      gyp info spawn args   '-Dmodule_root_dir=/opt/xen-orchestra/fuse-native',
      gyp info spawn args   '-Dnode_engine=v8',
      gyp info spawn args   '--depth=.',
      gyp info spawn args   '--no-parallel',
      gyp info spawn args   '--generator-output',
      gyp info spawn args   'build',
      gyp info spawn args   '-Goutput_dir=.'
      gyp info spawn args ]
      Package fuse was not found in the pkg-config search path.
      Perhaps you should add the directory containing `fuse.pc'
      to the PKG_CONFIG_PATH environment variable
      Package 'fuse', required by 'virtual:world', not found
      Package fuse was not found in the pkg-config search path.
      Perhaps you should add the directory containing `fuse.pc'
      to the PKG_CONFIG_PATH environment variable
      Package 'fuse', required by 'virtual:world', not found
      gyp: Call to 'pkg-config --libs-only-L --libs-only-l fuse' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
      gyp ERR! configure error 
      gyp ERR! stack Error: `gyp` failed with exit code: 1
      gyp ERR! stack     at ChildProcess.onCpExit (/usr/local/lib/node_modules/node-gyp/lib/configure.js:325:16)
      gyp ERR! stack     at ChildProcess.emit (node:events:517:28)
      gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:292:12)
      gyp ERR! System Linux 5.4.17-2136.324.5.3.el8uek.aarch64
      gyp ERR! command "/usr/local/bin/node" "/usr/local/bin/node-gyp" "rebuild"
      gyp ERR! cwd /opt/xen-orchestra/fuse-native
      
      # find / -type f -iname fuse.pc
      
      # dnf whatprovides *fuse.pc
      Last metadata expiration check: 3:09:58 ago on Tue 24 Oct 2023 06:22:10 AM GMT.
      fuse-devel-2.9.7-12.0.1.el8.aarch64 : File System in Userspace (FUSE) v2 devel files
      Repo        : ol8_baseos_latest
      Matched from:
      Other       : *fuse.pc
      
      fuse-devel-2.9.7-12.0.2.el8.aarch64 : File System in Userspace (FUSE) v2 devel files
      Repo        : ol8_baseos_latest
      Matched from:
      Other       : *fuse.pc
      
      fuse-devel-2.9.7-12.0.3.el8.aarch64 : File System in Userspace (FUSE) v2 devel files
      Repo        : ol8_baseos_latest
      Matched from:
      Other       : *fuse.pc
      
      fuse-devel-2.9.7-12.0.4.el8.aarch64 : File System in Userspace (FUSE) v2 devel files
      Repo        : ol8_baseos_latest
      Matched from:
      Other       : *fuse.pc
      
      fuse-devel-2.9.7-15.0.2.el8.aarch64 : File System in Userspace (FUSE) v2 devel files
      Repo        : ol8_baseos_latest
      Matched from:
      Other       : *fuse.pc
      
      fuse-devel-2.9.7-16.0.1.el8.aarch64 : File System in Userspace (FUSE) v2 devel files
      Repo        : ol8_baseos_latest
      Matched from:
      Other       : *fuse.pc
      
      libconfuse-devel-3.3-7.el8.aarch64 : Development files for libconfuse
      Repo        : epel
      Matched from:
      Other       : *fuse.pc
      
      squashfuse-devel-0.1.104-1.el8.aarch64 : Development files for squashfuse
      Repo        : epel
      Matched from:
      Other       : *fuse.pc
      
      
      # dnf install -y fuse-devel
      Last metadata expiration check: 3:10:38 ago on Tue 24 Oct 2023 06:22:10 AM GMT.
      Dependencies resolved.
      ============================================================================================================================================================================================================================================
       Package                                               Architecture                                       Version                                                        Repository                                                    Size
      ============================================================================================================================================================================================================================================
      Installing:
       fuse-devel                                            aarch64                                            2.9.7-16.0.1.el8                                               ol8_baseos_latest                                             44 k
      
      Transaction Summary
      ============================================================================================================================================================================================================================================
      Install  1 Package
      
      Total download size: 44 k
      Installed size: 124 k
      Downloading Packages:
      fuse-devel-2.9.7-16.0.1.el8.aarch64.rpm                                                                                                                                                                     422 kB/s |  44 kB     00:00    
      --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
      Total                                                                                                                                                                                                       410 kB/s |  44 kB     00:00     
      Running transaction check
      Transaction check succeeded.
      Running transaction test
      Transaction test succeeded.
      Running transaction
        Preparing        :                                                                                                                                                                                                                    1/1 
        Installing       : fuse-devel-2.9.7-16.0.1.el8.aarch64                                                                                                                                                                                1/1 
        Running scriptlet: fuse-devel-2.9.7-16.0.1.el8.aarch64                                                                                                                                                                                1/1 
        Verifying        : fuse-devel-2.9.7-16.0.1.el8.aarch64                                                                                                                                                                                1/1 
      
      Installed:
        fuse-devel-2.9.7-16.0.1.el8.aarch64                                                                                                                                                                                                       
      
      Complete!
      [root@xo-admin xen-orchestra]# yarn
      yarn install v1.22.19
      [1/5] Validating package.json...
      [2/5] Resolving packages...
      [3/5] Fetching packages...
      [4/5] Linking dependencies...
      warning "workspace-aggregator-fe799cd0-9fa4-4eaa-b335-8bcb3fdfd4a2 > @vates/node-vsphere-soap > soap@1.0.0" has incorrect peer dependency "axios@^0.27.2".
      warning Workspaces can only be enabled in private projects.
      [5/5] Building fresh packages...
      $ husky install
      husky - Git hooks installed
      Done in 50.84s.
      

      Going for the build now

      posted in Xen Orchestra
      M
      mavoff
    • RE: libfuse.so: error adding symbols: File in wrong format

      @Mark-C Hi Mark,

      Thanks for all the trouble, I tried to replicate your steps but unfortunately without success.

      [root@xo-admin ~]# cd /opt
      [root@xo-admin opt]# git clone https://github.com/vatesfr/xen-orchestra
      Cloning into 'xen-orchestra'...
      remote: Enumerating objects: 120119, done.
      remote: Counting objects: 100% (3260/3260), done.
      remote: Compressing objects: 100% (1430/1430), done.
      remote: Total 120119 (delta 2274), reused 2458 (delta 1787), pack-reused 116859
      Receiving objects: 100% (120119/120119), 63.88 MiB | 39.84 MiB/s, done.
      Resolving deltas: 100% (86372/86372), done.
      [root@xo-admin opt]# mkdir /usr/local/build && cd /usr/local/build
      [root@xo-admin build]# git clone https://github.com/sagemathinc/fuse-native
      Cloning into 'fuse-native'...
      remote: Enumerating objects: 409, done.
      remote: Counting objects: 100% (409/409), done.
      remote: Compressing objects: 100% (160/160), done.
      remote: Total 409 (delta 259), reused 396 (delta 246), pack-reused 0
      Receiving objects: 100% (409/409), 150.36 KiB | 6.26 MiB/s, done.
      Resolving deltas: 100% (259/259), done.
      [root@xo-admin build]# cp -a fuse-native fuse-native.orig
      [root@xo-admin build]# vim fuse-native/package.json 
      [root@xo-admin build]# diff -u fuse-native.orig fuse-native
      Common subdirectories: fuse-native.orig/.git and fuse-native/.git
      diff -u fuse-native.orig/package.json fuse-native/package.json
      --- fuse-native.orig/package.json	2023-10-23 18:51:45.481550145 +0000
      +++ fuse-native/package.json	2023-10-23 18:57:55.147358162 +0000
      @@ -1,6 +1,6 @@
       {
      -  "name": "@cocalc/fuse-native",
      -  "version": "2.4.0",
      +  "name": "fuse-native",
      +  "version": "2.2.6",
         "description": "Node.js bindings for the FUSE api (Filesystem in Userspace)",
         "main": "index.js",
         "bin": {
      @@ -28,7 +28,7 @@
         },
         "repository": {
           "type": "git",
      -    "url": "https://github.com/sagemathinc/fuse-native.git"
      +    "url": "https://github.com/fuse-friends/fuse-native.git"
         },
         "author": {
           "name": "William Stein (SageMath, Inc.)",
      @@ -44,7 +44,7 @@
         "author": " ()",
         "license": "MIT",
         "bugs": {
      -    "url": "https://github.com/sagemathinc/fuse-native/issues"
      +    "url": "https://github.com/fuse-friends/fuse-native/issues"
         },
      -  "homepage": "https://github.com/sagemathinc/fuse-native"
      +  "homepage": "https://github.com/fuse-friends/fuse-native"
       }
      Common subdirectories: fuse-native.orig/test and fuse-native/test
      [root@xo-admin build]# cp -a fuse-native /opt/xen-orchestra && cd /opt/xen-orchestra/fuse-native
      [root@xo-admin fuse-native]# yarn link
      yarn link v1.22.19
      success Registered "fuse-native".
      info You can now run `yarn link "fuse-native"` in the projects where you want to use this package and it will be used instead.
      Done in 0.07s.
      [root@xo-admin fuse-native]# cd ..
      [root@xo-admin xen-orchestra]# yarn link fuse-native
      yarn link v1.22.19
      success Using linked package for "fuse-native".
      Done in 0.06s.
      [root@xo-admin xen-orchestra]# yarn
      yarn install v1.22.19
      [1/5] Validating package.json...
      [2/5] Resolving packages...
      [3/5] Fetching packages...
      [4/5] Linking dependencies...
      warning "workspace-aggregator-a38c624e-a713-4a04-9b77-b644fa3bdb45 > @vates/node-vsphere-soap > soap@1.0.0" has incorrect peer dependency "axios@^0.27.2".
      warning Workspaces can only be enabled in private projects.
      [5/5] Building fresh packages...
      [6/19] ⠐ vue-demi
      [2/19] ⠐ highlight.js
      [3/19] ⠐ esbuild
      [4/19] ⠐ fuse-native
      error /opt/xen-orchestra/node_modules/fuse-native: Command failed.
      Exit code: 1
      Command: node-gyp-build
      Arguments: 
      Directory: /opt/xen-orchestra/node_modules/fuse-native
      Output:
      node:events:495
            throw er; // Unhandled 'error' event
            ^
      
      Error: spawn node-gyp ENOENT
          at ChildProcess._handle.onexit (node:internal/child_process:284:19)
          at onErrorNT (node:internal/child_process:477:16)
          at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
      Emitted 'error' event on ChildProcess instance at:
          at ChildProcess._handle.onexit (node:internal/child_process:290:12)
          at onErrorNT (node:internal/child_process:477:16)
          at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
        errno: -2,
        code: 'ENOENT',
        syscall: 'spawn node-gyp',
        path: 'node-gyp',
        spawnargs: [ 'rebuild' ]
      
      
      
      
      [root@xo-admin xen-orchestra]# 
      

      The instance is an ARM based instance on Oracle Cloud Infrastructure running

      [root@xo-admin xen-orchestra]# cat /etc/os-release 
      NAME="Oracle Linux Server"
      VERSION="8.8"
      ID="ol"
      ID_LIKE="fedora"
      VARIANT="Server"
      VARIANT_ID="server"
      VERSION_ID="8.8"
      PLATFORM_ID="platform:el8"
      PRETTY_NAME="Oracle Linux Server 8.8"
      ANSI_COLOR="0;31"
      CPE_NAME="cpe:/o:oracle:linux:8:8:server"
      HOME_URL="https://linux.oracle.com/"
      BUG_REPORT_URL="https://github.com/oracle/oracle-linux"
      
      ORACLE_BUGZILLA_PRODUCT="Oracle Linux 8"
      ORACLE_BUGZILLA_PRODUCT_VERSION=8.8
      ORACLE_SUPPORT_PRODUCT="Oracle Linux"
      ORACLE_SUPPORT_PRODUCT_VERSION=8.8
      

      Cheers

      posted in Xen Orchestra
      M
      mavoff
    • RE: libfuse.so: error adding symbols: File in wrong format

      @Mark-C Hi there

      I had this fuse fix for arm working for a long while.
      Recently due to another issue I was pushed towards updating, only to get a broken XO and issue abandoned. Even when shown that I was on this branch specifically, fix_fuse_dependancy_arm.

      Also tried your suggestion as a fix, but not quite working.

      # yarn
      yarn install v1.22.19
      [1/5] Validating package.json...
      [2/5] Resolving packages...
      [3/5] Fetching packages...
      [4/5] Linking dependencies...
      warning "workspace-aggregator-7976f8d6-c4ac-4618-ae07-8b737c9d1cc1 > @xen-orchestra/fs > @aws-sdk/lib-storage@3.171.0" has unmet peer dependency "@aws-sdk/abort-controller@^3.0.0".
      warning Workspaces can only be enabled in private projects.
      [5/5] Building fresh packages...
      [1/12] ⠐ husky
      [6/12] ⠐ argon2
      [3/12] ⠐ highlight.js
      [4/12] ⠐ esbuild
      warning Error running install script for optional dependency: "/opt/xen-orchestra/node_modules/fuse-native: Command failed.
      Exit code: 1
      Command: node-gyp-build
      Arguments: 
      Directory: /opt/xen-orchestra/node_modules/fuse-native
      Output:
      node:events:495
            throw er; // Unhandled 'error' event
            ^
      
      Error: spawn node-gyp ENOENT
          at ChildProcess._handle.onexit (node:internal/child_process:284:19)
          at onErrorNT (node:internal/child_process:477:16)
          at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
      Emitted 'error' event on ChildProcess instance at:
          at ChildProcess._handle.onexit (node:internal/child_process:290:12)
          at onErrorNT (node:internal/child_process:477:16)
          at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
        errno: -2,
        code: 'ENOENT',
        syscall: 'spawn node-gyp',
        path: 'node-gyp',
        spawnargs: [ 'rebuild' ]
      [10/12] ⠠ core-js
      [6/12] ⠠ argon2
      [8/12] ⠠ vuepress
      [7/12] ⠠ leveldown
      error /opt/xen-orchestra/node_modules/leveldown: Command failed.
      Exit code: 1
      Command: node-gyp-build
      Arguments: 
      Directory: /opt/xen-orchestra/node_modules/leveldown
      Output:
      node:events:495
            throw er; // Unhandled 'error' event
            ^
      
      Error: spawn node-gyp ENOENT
          at ChildProcess._handle.onexit (node:internal/child_process:284:19)
          at onErrorNT (node:internal/child_process:477:16)
          at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
      Emitted 'error' event on ChildProcess instance at:
          at ChildProcess._handle.onexit (node:internal/child_process:290:12)
          at onErrorNT (node:internal/child_process:477:16)
          at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
        errno: -2,
        code: 'ENOENT',
        syscall: 'spawn node-gyp',
        path: 'node-gyp',
        spawnargs: [ 'rebuild' ]
      

      Thank you for your reply either way. Cheers

      posted in Xen Orchestra
      M
      mavoff
    • RE: libfuse.so: error adding symbols: File in wrong format

      Looking for a long term fix. Thanks.

      posted in Xen Orchestra
      M
      mavoff
    • RE: Netbox plugin: Error code 400 - Error: Bad Request

      @olivierlambert as you know I'm not a developer and cannot contribute with code or fixes.
      Thanks...

      posted in Advanced features
      M
      mavoff
    • RE: Netbox plugin: Error code 400 - Error: Bad Request

      @sorry Olivier I'm not sure what you mean by isolate the dependency so I won't be able to use fuse for mounts?
      Has the arm fix branch been merged?

      posted in Advanced features
      M
      mavoff
    • RE: Netbox plugin: Error code 400 - Error: Bad Request

      @olivierlambert already updated node to latest lts

      Its an ARM instance.

      https://xcp-ng.org/forum/topic/6344/libfuse-so-error-adding-symbols-file-in-wrong-format

      posted in Advanced features
      M
      mavoff
    • RE: Netbox plugin: Error code 400 - Error: Bad Request
      # yarn
      yarn install v1.22.19
      warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
      [1/5] Validating package.json...
      [2/5] Resolving packages...
      [3/5] Fetching packages...
      [4/5] Linking dependencies...
      warning "workspace-aggregator-8a1904ad-6260-4eb8-b5d4-0d47e2dea9f0 > @vates/node-vsphere-soap > soap@1.0.0" has incorrect peer dependency "axios@^0.27.2".
      warning Workspaces can only be enabled in private projects.
      [5/5] Building fresh packages...
      [1/19] ⠁ core-js
      [6/19] ⠁ vue-demi
      [3/19] ⠁ esbuild
      [4/19] ⠁ fuse-native
      error /opt/xen-orchestra/node_modules/fuse-native: Command failed.
      Exit code: 1
      Command: node-gyp-build
      Arguments: 
      Directory: /opt/xen-orchestra/node_modules/fuse-native
      Output:
      node:events:495
            throw er; // Unhandled 'error' event
            ^
      
      Error: spawn node-gyp ENOENT
          at ChildProcess._handle.onexit (node:internal/child_process:284:19)
          at onErrorNT (node:internal/child_process:477:16)
          at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
      Emitted 'error' event on ChildProcess instance at:
          at ChildProcess._handle.onexit (node:internal/child_process:290:12)
          at onErrorNT (node:internal/child_process:477:16)
          at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
        errno: -2,
        code: 'ENOENT',
        syscall: 'spawn node-gyp',
        path: 'node-gyp',
        spawnargs: [ 'rebuild' ]
      

      Is this related to the fuse arm dependency?

      posted in Advanced features
      M
      mavoff
    • RE: Netbox plugin: Error code 400 - Error: Bad Request

      @olivierlambert

      unfortunately not progressing

      # yarn
      yarn install v1.22.19
      warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
      [1/5] Validating package.json...
      [2/5] Resolving packages...
      [3/5] Fetching packages...
      error lint-staged@14.0.1: The engine "node" is incompatible with this module. Expected version "^16.14.0 || >=18.0.0". Got "16.13.0"
      error Found incompatible module.
      info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
      

      updating node

      posted in Advanced features
      M
      mavoff
    • RE: Netbox plugin: Error code 400 - Error: Bad Request

      @pdonias thank you for your reply.

      I am sorry to say I was not 😭

      # git branch
      * fix_fuse_dependancy_arm
        master
      

      updating now ... will let you know in a jiffy

      posted in Advanced features
      M
      mavoff