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

    Posts

    Recent Best Controversial
    • RE: cloud-init : Cannot read properties of undefined (reading 'forEach')

      After updating the docker image to the latest version ( commit 82891 )I can create a VM without any problem. Thank you for pointing me in the right direction.

      posted in Advanced features
      C
      carloum70
    • RE: cloud-init : Cannot read properties of undefined (reading 'forEach')

      @Danp commit: https://github.com/vatesfr/xen-orchestra/commit/a62ac1ab8205ac36d2d60710c6475db41322c2d9

      There is no logging.

      0 fbeauchamp committed to vatesfr/xen-orchestra
      feat(sdn-controller): use host plugin  (#8488)
      
      * feat(sdn-controller): use XCP plugin to manage open switch
      
      try to instantiate the plugin and fall back to direct query
      if it fails
      The plugin allow to define and target multiple bridges in parallel
      
      * feat(sdn-controller): implement network wide rules
      
      this introduce 2 new API method sdnController.addNetworkRule
      and sdnController.deleteNetworkRule
      Theses methods will only work with the plugin, and can't work with
      the legacy ( direct channel) approach
      posted in Advanced features
      C
      carloum70
    • cloud-init : Cannot read properties of undefined (reading 'forEach')

      Hi all,

      I have the following cloud-config template:

      #cloud-config
      users:
        - name: userx
          groups:
            - sudo
          sudo:
            - ALL=(ALL) NOPASSWD:ALL
          shell: /bin/bash
          ssh_authorized_keys:
            - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5fdsafdasfasfdasfdsafmDSqIko2UD8o userx@clientx.local"code_text
      

      Creating a vm int he XO webinterface failes with the error "Cannot read properties of undefined (reading 'forEach')" when I use this cloud-init template.

      I can run the xo-cli command with the same template without any problem:

      xo-cli vm.create bootAfterCreate=true cloudConfig="$(cat /root/user.yaml)" clone=true name_label="Test VM" template=afde76ab-bfc5-ebd1-3bab-21116e77fc97 hvmBootFirmware=uefi
      efd54d95-32ad-39b7-3d20-55b74b9211fb
      
      root@a5820ee6bc16:~# cat user.yaml 
      #cloud-config
      users:
        - name: userx
          groups:
            - sudo
          sudo:
            - ALL=(ALL) NOPASSWD:ALL
          shell: /bin/bash
          ssh_authorized_keys:
            - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5fdsafdasfasfdasfdsafmDSqIko2UD8o userx@clientx.local"
      

      I am runningen XO in a docker container: image: ronivay/xen-orchestra:latest

      Thanks in advance,
      Carlo

      posted in Advanced features
      C
      carloum70