<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:36:06 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-14826] Upgrade to 2.6.3 appeared to remove admin user</title>
                <link>https://jira.mongodb.org/browse/SERVER-14826</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Hi Mongo,&lt;/p&gt;

&lt;p&gt;I upgraded mongo from 2.2 to 2.6 this afternoon and on completing the upgrade the applications failed to connect to mongo as the previous user and password was &quot;not authorised&quot;. It appears the user in the admin collection was deleted by the upgrade. I realise thats a bit unlikely but I am looking for an explanation. The user must of been present in the 2.2 install as thats how the connection would of been authorised. Could it be part of taking down the replica set and the secondary becoming prime that caused the anomaly?&lt;/p&gt;

&lt;p&gt;We fixed the issue by adding the user back to the admin database but I would really appreciate an explanation and help diagnosing exactly what happened. &lt;/p&gt;

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

&lt;p&gt;Phil&lt;/p&gt;</description>
                <environment></environment>
        <key id="151379">SERVER-14826</key>
            <summary>Upgrade to 2.6.3 appeared to remove admin user</summary>
                <type id="6" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14720&amp;avatarType=issuetype">Question</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="4">Incomplete</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="phil.marshalsea@haymarketmedia.com">Phil Marshalsea</reporter>
                        <labels>
                    </labels>
                <created>Thu, 7 Aug 2014 21:14:56 +0000</created>
                <updated>Sat, 24 Jan 2015 17:18:34 +0000</updated>
                            <resolved>Fri, 23 Jan 2015 17:01:54 +0000</resolved>
                                    <version>2.2.4</version>
                    <version>2.6.3</version>
                                                    <component>Usability</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="709561" author="ramon.fernandez" created="Tue, 2 Sep 2014 19:36:48 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=phil.marshalsea%40haymarket.com&quot; class=&quot;user-hover&quot; rel=&quot;phil.marshalsea@haymarket.com&quot;&gt;phil.marshalsea@haymarket.com&lt;/a&gt;, did you follow the &lt;a href=&quot;http://docs.mongodb.org/manual/release-notes/2.6-upgrade/#upgrade-requirements&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;upgrade procedure described here&lt;/a&gt;? As you can read in the &quot;User Requirements&quot;, upgrading from 2.2 to 2.6 requires going through 2.4. If you went through 2.4, can you please send us the details of the procedure you used to determine if there are any bugs in the 2.4 -&amp;gt; 2.6 upgrade process?&lt;/p&gt;

&lt;p&gt;As explained in the &lt;a href=&quot;http://docs.mongodb.org/manual/release-notes/2.6-upgrade-authorization/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;instructions to update to 2.6&lt;/a&gt;, there were significant changes in the authorization model which may require additional upgrade steps. Those steps are not performed automatically when upgrading via &lt;tt&gt;yum&lt;/tt&gt; though.&lt;/p&gt;</comment>
                            <comment id="688439" author="phil.marshalsea@haymarketmedia.com" created="Tue, 12 Aug 2014 18:34:47 +0000"  >&lt;p&gt;I started by replacing the binaries on the backup server first. Following the stop mongo (sudo service mongo stop) and dropping the binaries in.  I was also executing a sudo yum upgrade on the linux box and noted that it was offering to upgrade mongo for me. So on the secondary I did the stop sudo yum update it all looked good, so executed on the primary (after stop) and everything looked good from the replica set side. &lt;/p&gt;

&lt;p&gt;As I mentioned this admin user was missing after the process. Whether it was a change in the user implementation in 2.6.3 or my upgrade process...&lt;/p&gt;</comment>
                            <comment id="685437" author="ramon.fernandez" created="Fri, 8 Aug 2014 20:45:07 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=phil.marshalsea%40haymarketmedia.com&quot; class=&quot;user-hover&quot; rel=&quot;phil.marshalsea@haymarketmedia.com&quot;&gt;phil.marshalsea@haymarketmedia.com&lt;/a&gt;, can you please post the details of your upgrade procedure? Did you use &lt;tt&gt;mongodump&lt;/tt&gt;/&lt;tt&gt;mongorestore&lt;/tt&gt;? Or just replaced the binaries?&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 8 Aug 2014 20:45:07 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        9 years, 24 weeks, 1 day 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>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            9 years, 24 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>phil.marshalsea@haymarketmedia.com</customfieldvalue>
            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrlqa7:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>131384</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|hsgqyv:</customfieldvalue>

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