<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[XAPI sr-create ignores name-description parameter]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I’m not entirely sure whether this is a bug or expected behavior, so I’d like to ask for clarification here.</p>
<p dir="auto">When creating an SR using <code>xe sr-create</code> with the <code>name-description</code> parameter, the command succeeds but the value is not persisted.</p>
<p dir="auto">After creation, <code>xe sr-list</code> shows an empty <code>name-description</code> field. However, the value can be set correctly afterwards using <code>xe sr-param-set</code>.</p>
<p dir="auto"><strong>Steps to reproduce:</strong></p>
<pre><code>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): &lt;shared&gt;  
                type ( RO): nfs  
        content-type ( RO): user
</code></pre>
<p dir="auto"><strong>Result:</strong><br />
<code>name-description</code> is empty.</p>
<p dir="auto"><strong>Workaround:</strong></p>
<pre><code>xe sr-param-set uuid=&lt;SR_UUID&gt; name-description="test description"
</code></pre>
<p dir="auto"><strong>Expected behavior:</strong><br />
The <code>name-description</code> value should be saved during <code>sr-create</code>.</p>
<p dir="auto"><strong>Actual behavior:</strong><br />
The parameter is ignored without error.</p>
<p dir="auto"><strong>Environment:</strong><br />
XCP-ng 8.3</p>
]]></description><link>https://xcp-ng.org/forum/topic/12213/xapi-sr-create-ignores-name-description-parameter</link><generator>RSS for Node</generator><lastBuildDate>Wed, 13 May 2026 13:51:13 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/12213.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 13 May 2026 11:52:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to XAPI sr-create ignores name-description parameter on Wed, 13 May 2026 13:29:59 GMT]]></title><description><![CDATA[<p dir="auto">This is a problem with the CLI, the parameter is not read and instead an empty string is used.  The same situation happens with sr-introduce.</p>
<p dir="auto">It should be a very quick fix, I don't know why it was done since the beginning.</p>
<p dir="auto">I've opened the PRs upstream:<br />
<a href="https://github.com/xapi-project/xen-api/pull/7066" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/xapi-project/xen-api/pull/7066</a><br />
<a href="https://github.com/xapi-project/xen-api/pull/7067" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/xapi-project/xen-api/pull/7067</a></p>
<div class="row github-embeds-container">

<div class="col-md-6">
<div class="github-embed card">
<div class="card-body">


<div class="meta">
<img class="author-picture not-responsive" src="https://avatars.githubusercontent.com/u/5189409?v=4" title="psafont" />
<a href="https://github.com/psafont"><span class="username">psafont</span></a> opened this pull request <span class="timeago" title="2026-05-13T13:23:48Z"></span> in <a href="//github.com/xapi-project/xen-api">xapi-project/xen-api</a>
</div>
<h3>

<span class="badge open float-end">open</span>

<a href="https://github.com/xapi-project/xen-api/pull/7066">xapi-cli-server: set name description for SRs, when given</a>
<span class="number">#7066</span>
</h3>


</div>
</div>
</div>

<div class="col-md-6">
<div class="github-embed card">
<div class="card-body">


<div class="meta">
<img class="author-picture not-responsive" src="https://avatars.githubusercontent.com/u/5189409?v=4" title="psafont" />
<a href="https://github.com/psafont"><span class="username">psafont</span></a> opened this pull request <span class="timeago" title="2026-05-13T13:26:41Z"></span> in <a href="//github.com/xapi-project/xen-api">xapi-project/xen-api</a>
</div>
<h3>

<span class="badge open float-end">open</span>

<a href="https://github.com/xapi-project/xen-api/pull/7067">xapi-cli-server: set name description for SRs, when given (8.3)</a>
<span class="number">#7067</span>
</h3>


</div>
</div>
</div>

</div>]]></description><link>https://xcp-ng.org/forum/post/105384</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/105384</guid><dc:creator><![CDATA[psafont]]></dc:creator><pubDate>Wed, 13 May 2026 13:29:59 GMT</pubDate></item><item><title><![CDATA[Reply to XAPI sr-create ignores name-description parameter on Wed, 13 May 2026 13:11:58 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Thanks for the report, let me ping <a class="plugin-mentions-group plugin-mentions-a" href="/forum/groups/team-xapi-network" aria-label="Profile: Team-XAPI-Network">@<bdi>Team-XAPI-Network</bdi></a></p>
]]></description><link>https://xcp-ng.org/forum/post/105383</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/105383</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Wed, 13 May 2026 13:11:58 GMT</pubDate></item></channel></rss>