<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:16:05 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-15174] lctl llog_print emits invalid YAML</title>
                <link>https://jira.whamcloud.com/browse/LU-15174</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;&lt;tt&gt;lctl llog_print&lt;/tt&gt; emits invalid YAML. Strings are not quoted or escaped properly.&lt;/p&gt;

&lt;p&gt;An unquoted YAML string scalar cannot begin with &apos;*&apos;. See &lt;a href=&quot;https://docs.ansible.com/ansible/latest/reference_appendices/YAMLSyntax.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.ansible.com/ansible/latest/reference_appendices/YAMLSyntax.html&lt;/a&gt; .&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;# lctl --device MGS llog_print params 
- { index: 2, event: set_param, device: general, parameter: *.*.lbug_on_grant_miscount, value: 1 }
- { index: 5, event: set_param, device: general, parameter: obdfilter.*.access_log_size, value: 1048576 }
# lctl --device MGS llog_print params | yq .
yq: Error running jq: ScannerError: while scanning an alias
  in &quot;&amp;lt;stdin&amp;gt;&quot;, line 1, column 61
expected alphabetic or numeric character, but found &apos;.&apos;
  in &quot;&amp;lt;stdin&amp;gt;&quot;, line 1, column 62.

# lctl set_param -P -d &apos;*.*.lbug_on_grant_miscount&apos;
# lctl --device MGS llog_print params 
- { index: 5, event: set_param, device: general, parameter: obdfilter.*.access_log_size, value: 1048576 }
# lctl --device MGS llog_print params | yq .
[
  {
    &quot;index&quot;: 5,
    &quot;event&quot;: &quot;set_param&quot;,
    &quot;device&quot;: &quot;general&quot;,
    &quot;parameter&quot;: &quot;obdfilter.*.access_log_size&quot;,
    &quot;value&quot;: 1048576
  }
]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This makes it impossible to parse the output of &lt;tt&gt;lctl llog_print&lt;/tt&gt; using standard YAML parsers. Like yq.&lt;/p&gt;</description>
                <environment></environment>
        <key id="66889">LU-15174</key>
            <summary>lctl llog_print emits invalid YAML</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="jhammond">John Hammond</reporter>
                        <labels>
                    </labels>
                <created>Thu, 28 Oct 2021 14:20:05 +0000</created>
                <updated>Fri, 29 Oct 2021 13:40:42 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i028pr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>