XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. mdm
    M
    Online
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Groups 0

    mdm

    @mdm

    0
    Reputation
    1
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    mdm Unfollow Follow

    Latest posts made by mdm

    • RE: XAPI sr-create ignores name-description parameter

      @psafont Thank you for the quick response.

      I also found a similar issue: the other-config:auto-scan=true parameter is not being applied during xe sr-create either. As with the name-description parameter, the workaround is to add it separately afterwards using xe sr-param-add.

      posted in Compute
      M
      mdm
    • XAPI sr-create ignores name-description parameter

      Hello,

      I’m not entirely sure whether this is a bug or expected behavior, so I’d like to ask for clarification here.

      When creating an SR using xe sr-create with the name-description parameter, the command succeeds but the value is not persisted.

      After creation, xe sr-list shows an empty name-description field. However, the value can be set correctly afterwards using xe sr-param-set.

      Steps to reproduce:

      xe sr-create name-label="NFS-SR-01" name-description="NFS storage repository for VM disks" type=nfs content-type=user shared=true device-config:server=192.168.1.50 device-config:serverpath=/export/xe-storage other-config:auto-scan=true
      b3c2a7d1-6f2e-4a91-9d3f-1a2c9d8e7f10
      
      
      xe sr-list uuid=b3c2a7d1-6f2e-4a91-9d3f-1a2c9d8e7f10 
      uuid ( RO)                : b3c2a7d1-6f2e-4a91-9d3f-1a2c9d8e7f10  
                name-label ( RW): NFS-SR-01  
          name-description ( RW):  
                      host ( RO): <shared>  
                      type ( RO): nfs  
              content-type ( RO): user
      

      Result:
      name-description is empty.

      Workaround:

      xe sr-param-set uuid=<SR_UUID> name-description="test description"
      

      Expected behavior:
      The name-description value should be saved during sr-create.

      Actual behavior:
      The parameter is ignored without error.

      Environment:
      XCP-ng 8.3

      posted in Compute
      M
      mdm