<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:10:45 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>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-6101] Error when bootstrapping 2.1.x with auth from localhost   </title>
                <link>https://jira.mongodb.org/browse/SERVER-6101</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;As of 2.1.0, when bootstrapping a server that is running with --auth, I get an error when adding the first admin user. The user does get added but an error is thrown:&lt;/p&gt;


&lt;p&gt;&amp;gt; db.addUser(&apos;aaa&apos; , &apos;aaa&apos;)&lt;br/&gt;
{&lt;br/&gt;
	&quot;user&quot; : &quot;aaa&quot;,&lt;br/&gt;
	&quot;readOnly&quot; : false,&lt;br/&gt;
	&quot;pwd&quot; : &quot;23f8b034fedbdf7c2f1c184fbc5452c0&quot;,&lt;br/&gt;
	&quot;_id&quot; : ObjectId(&quot;4fd92e5aee90c3265d5ff41d&quot;)&lt;br/&gt;
}&lt;br/&gt;
Wed Jun 13 17:20:42 uncaught exception: getlasterror failed: &lt;/p&gt;
{ &quot;errmsg&quot; : &quot;need to login&quot;, &quot;ok&quot; : 0 }
</description>
                <environment>osx-x86_64, linux-x86_64</environment>
        <key id="41410">SERVER-6101</key>
            <summary>Error when bootstrapping 2.1.x with auth from localhost   </summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="3">Duplicate</resolution>
                                        <assignee username="spencer@mongodb.com">Spencer Brody</assignee>
                                    <reporter username="abdul">Abdul Alkhatib</reporter>
                        <labels>
                    </labels>
                <created>Fri, 15 Jun 2012 16:11:29 +0000</created>
                <updated>Thu, 20 Jun 2013 16:14:36 +0000</updated>
                            <resolved>Fri, 6 Jul 2012 17:06:04 +0000</resolved>
                                    <version>2.1.0</version>
                    <version>2.1.1</version>
                                                    <component>Security</component>
                                        <votes>1</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="364271" author="auto" created="Thu, 20 Jun 2013 16:14:36 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;stbrody&apos;, u&apos;name&apos;: u&apos;Spencer T Brody&apos;, u&apos;email&apos;: u&apos;spencer@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-6101&quot; title=&quot;Error when bootstrapping 2.1.x with auth from localhost   &quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-6101&quot;&gt;&lt;del&gt;SERVER-6101&lt;/del&gt;&lt;/a&gt; Remove no longer necessary try-catch from test&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/aae69729c55172dcf70081e6e5ce8650e9ac0dc2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/aae69729c55172dcf70081e6e5ce8650e9ac0dc2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="133518" author="abdul" created="Fri, 15 Jun 2012 22:49:33 +0000"  >&lt;p&gt;Sorry if this was not clear but here is what i am doing/running into:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Start a mongod from scratch (no DB files/no users) with --auth&lt;br/&gt;
   &lt;span class=&quot;error&quot;&gt;&amp;#91;shell&amp;#93;&lt;/span&gt; mongod --auth&lt;/li&gt;
&lt;/ul&gt;


&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;mongo to that server from localhost&lt;br/&gt;
   &lt;span class=&quot;error&quot;&gt;&amp;#91;shell&amp;#93;&lt;/span&gt; mongo&lt;/li&gt;
&lt;/ul&gt;


&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Add an admin user&lt;br/&gt;
  &lt;span class=&quot;error&quot;&gt;&amp;#91;mongo shell&amp;#93;&lt;/span&gt; db.addUser(&apos;foo&apos;, &apos;bar&apos;)&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;The user will be added but an error is thrown:&lt;/p&gt;

{ &quot;user&quot; : &quot;foo&quot;, &quot;readOnly&quot; : false, &quot;pwd&quot; : &quot;23f8b034fedbdf7c2f1c184fbc5452c0&quot;, &quot;_id&quot; : ObjectId(&quot;4fd92e5aee90c3265d5ff41d&quot;) }
&lt;p&gt;Wed Jun 13 17:20:42 uncaught exception: getlasterror failed: &lt;/p&gt;
{ &quot;errmsg&quot; : &quot;need to login&quot;, &quot;ok&quot; : 0 }

&lt;p&gt;Thanks!&lt;/p&gt;

&lt;p&gt;-abdul&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="24618">SERVER-4225</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 19 Jun 2013 22:28:13 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 years, 34 weeks, 6 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ian@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            10 years, 34 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>abdul</customfieldvalue>
            <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>spencer@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrnzx3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrir8f:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>23065</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hs9wgn:</customfieldvalue>

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