<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:48:27 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-38269] Failed to upgrade to MongoDB 4.0.4 on Windows</title>
                <link>https://jira.mongodb.org/browse/SERVER-38269</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Base line:&lt;/p&gt;

&lt;p&gt;There are two servers (ServerOne, ServerTwo) with the following configuration:&lt;br/&gt;
 OS: Windows server 2012R2&lt;br/&gt;
 RAM: 3GB&lt;br/&gt;
 Installed: latest version of vc_redist.x64.exe (relates to visual studio 2017)&lt;br/&gt;
 MongoDB version: 3.4.6&lt;br/&gt;
 FCV: 3.4&lt;br/&gt;
 Engine: wiredTiger&lt;br/&gt;
 SSL is used: (mode: requireSSL)&lt;br/&gt;
 security: (clusterAuthMode: x509)&lt;br/&gt;
 All replica sets are Windows services&lt;/p&gt;

&lt;p&gt;Each server has a replica set that comprise two data members + arbiter (Rep1 for ServerOne and Rep2 for ServerTwo)&lt;br/&gt;
 A third replica set (Rep3) exists. It consist of a data member + arbiter on ServerOne and a data member on ServerTwo.&lt;/p&gt;

&lt;p&gt; Schema:&lt;/p&gt;

&lt;p&gt; ServerOne win services:&lt;br/&gt;
 1. Rep1 Data Member 1&lt;br/&gt;
 2. Rep1 Data Member 2&lt;br/&gt;
 3. Rep1 Arbiter&lt;br/&gt;
 4. Rep3 Data Member&lt;br/&gt;
 5. Rep3 Arbiter&lt;/p&gt;

&lt;p&gt; ServerTwo win services:&lt;br/&gt;
 1. Rep2 Data Member 1&lt;br/&gt;
 2. Rep2 Data Member 2&lt;br/&gt;
 3. Rep2 Arbiter&lt;br/&gt;
 4. Rep3 Data Member&lt;/p&gt;

&lt;p&gt;Goal:&lt;br/&gt;
We decided to upgrade all replica sets to version: 4.0.4.&lt;/p&gt;

&lt;p&gt;Steps:&lt;/p&gt;

&lt;p&gt;Step one: We upgraded all replica sets to version 3.6.8 and set the FCV to 3.6&lt;br/&gt;
 That was finished successfully.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/attachment/201941/201941_rs-status-result.txt&quot; title=&quot;rs-status-result.txt attached to SERVER-38269&quot;&gt;rs-status-result.txt&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.mongodb.org/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;br/&gt;
Step Two: We upgraded Rep1 and Rep2 to version 4.0.4 and set the FCV to 4.0&lt;br/&gt;
 That also finished successfully.&lt;br/&gt;
 Then we started to upgrade Rep3. The binaries for all members were replaced to version 4.0.4 and the services were restarted successfully.&lt;br/&gt;
 When I entered the mongo shell on Rep3 on ServerOne (Primary) and executed the command rs.status() an error was displayed for the other member (located on ServerTwo):&lt;br/&gt;
 &quot;lastHeartbeatMessage&quot; : &quot;Error connecting to ServerTwo:27011 (10.36.151.137:27011) :: caused by :: The Local Security Authority cannot be contacted&quot;&lt;/p&gt;

&lt;p&gt;Attached files:&lt;br/&gt;
 Rep1 on ServerOne:&lt;br/&gt;
 ServerOneMember1.cfg&lt;br/&gt;
 ServerOneMember2.cfg&lt;br/&gt;
 ServerOneArbiter.cfg&lt;/p&gt;

&lt;p&gt; Rep2 on ServerTwo:&lt;br/&gt;
 ServerTwoMember1.cfg&lt;br/&gt;
 ServerTwoMember2.cfg&lt;br/&gt;
 ServerTwoArbiter.cfg&lt;/p&gt;

&lt;p&gt; Rep3 on ServerOne + ServerTwo:&lt;br/&gt;
 Rep3ServerOneMember1.cfg&lt;br/&gt;
 Rep3ServerTwoMember2.cfg&lt;br/&gt;
 Rep3ServerOneArbiter.cfg&lt;/p&gt;

&lt;p&gt; Result of rs.status() on replica set three:&lt;br/&gt;
 rs-status-result.txt&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

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

&lt;p&gt;Itzik&lt;/p&gt;</description>
                <environment></environment>
        <key id="638784">SERVER-38269</key>
            <summary>Failed to upgrade to MongoDB 4.0.4 on Windows</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="9">Done</resolution>
                                        <assignee username="daniel.hatcher@mongodb.com">Danny Hatcher</assignee>
                                    <reporter username="itzikkg">Itzhak Kagan</reporter>
                        <labels>
                    </labels>
                <created>Tue, 27 Nov 2018 13:31:18 +0000</created>
                <updated>Mon, 3 Dec 2018 16:03:34 +0000</updated>
                            <resolved>Thu, 29 Nov 2018 22:25:18 +0000</resolved>
                                    <version>4.0.4</version>
                                                    <component>Upgrade/Downgrade</component>
                                        <votes>1</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="2078482" author="daniel.hatcher" created="Mon, 3 Dec 2018 16:03:34 +0000"  >&lt;p&gt;Hello Itzik,&lt;/p&gt;

&lt;p&gt;I&apos;m glad to hear that you were able to resolve your issue. Please note that &lt;a href=&quot;https://docs.mongodb.com/manual/reference/configuration-options/#net.ssl.clusterFile&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;per our documentation&lt;/a&gt;, if your &lt;tt&gt;clusterFile&lt;/tt&gt; is identical to your &lt;tt&gt;PEMKeyFile&lt;/tt&gt; you can omit the &lt;tt&gt;clusterFile&lt;/tt&gt; setting as x509 will default to using the PEMKeyFile.&lt;/p&gt;

&lt;p&gt;Thank you,&lt;/p&gt;

&lt;p&gt;Danny&lt;/p&gt;</comment>
                            <comment id="2078185" author="itzikkg" created="Mon, 3 Dec 2018 12:24:11 +0000"  >&lt;p&gt;OK, I understood my mistake.&lt;/p&gt;

&lt;p&gt;I&#160;thought&#160; that the &quot;clusterFile&quot; on all config files should be the same, and it happen not to be so!&lt;/p&gt;

&lt;p&gt;When I change the name of the &quot;clusterFile&quot; to be the same as the name of the &quot;PEMKeyFile&quot; it start working.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

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

&lt;p&gt;Itzik&lt;/p&gt;</comment>
                            <comment id="2077428" author="itzikkg" created="Fri, 30 Nov 2018 22:17:28 +0000"  >&lt;p&gt;Refer to: &lt;a href=&quot;https://docs.mongodb.com/manual/tutorial/configure-x509-member-authentication/#x509-internal-authentication&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.mongodb.com/manual/tutorial/configure-x509-member-authentication/#x509-internal-authentication&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;security:&lt;br/&gt;
 clusterAuthMode: x509&lt;br/&gt;
 net:&lt;br/&gt;
 ssl:&lt;br/&gt;
 mode: requireSSL&lt;br/&gt;
 PEMKeyFile: &amp;lt;path to TLS/SSL certificate and key PEM file&amp;gt;&lt;br/&gt;
 CAFile: &amp;lt;path to root CA PEM file&amp;gt;&lt;br/&gt;
 clusterFile: &amp;lt;path to x.509 membership certificate and key PEM file&amp;gt;&lt;br/&gt;
 bindIp: localhost,&amp;lt;hostname(s)|ip address(es)&amp;gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;The configuration of&#160;ServerTwo also uses a&#160;&lt;font color=&quot;#de350b&quot;&gt;PEMKeyFile&lt;/font&gt; and a&#160;&lt;font color=&quot;#de350b&quot;&gt;clusterFile&#160;respectively.&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;That is why on a replica set that comprises tow computers I have different .pem files.&lt;br/&gt;
 You can see that the&#160;clusterFile is the same for the entire replica set.&lt;br/&gt;
 When defining a replica set only on one computer we also had no problems.&lt;/p&gt;

&lt;p&gt;Only when the replica set spans over two or more computers we have encountered that error.&lt;/p&gt;

&lt;p&gt;I will appreciate if you can test the case where the replica set comprises of at least two computers.&lt;/p&gt;

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

&lt;p&gt;Itzik&#160;&lt;/p&gt;</comment>
                            <comment id="2076688" author="daniel.hatcher" created="Fri, 30 Nov 2018 14:00:46 +0000"  >&lt;p&gt;Hello Itzhak,&lt;/p&gt;

&lt;p&gt;I have not been able to reproduce your issue locally and there are no known bugs in regards to x509 support on 4.0.&lt;/p&gt;

&lt;p&gt;I do notice that you have two different PEM keyfiles listed in the Rep3Server2 config file while all the other servers have only one keyfile listed. Perhaps that is your issue?&lt;/p&gt;</comment>
                            <comment id="2076503" author="itzikkg" created="Fri, 30 Nov 2018 09:27:18 +0000"  >&lt;p&gt;Hi Daniel&lt;/p&gt;

&lt;p&gt;This Windows error does not occur when&#160; MongoDB 3.4.6 and 3.6.8 versions are running.&lt;br/&gt;
Did you try to simulate the process?&#160;&lt;br/&gt;
How can you explain that?&lt;/p&gt;

&lt;p&gt;I&apos;m not saying that this is a MongoDB error, but maybe some change in the 4.0.x version is dealing with some X509 issue that the earlier versions did not.&lt;/p&gt;

&lt;p&gt;Maybe you can give me a hint of that?&lt;/p&gt;

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

&lt;p&gt;Itzik&lt;/p&gt;</comment>
                            <comment id="2076130" author="daniel.hatcher" created="Thu, 29 Nov 2018 22:25:09 +0000"  >&lt;p&gt;Hello Itzhak,&lt;/p&gt;

&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;&quot;lastHeartbeatMessage&quot; : &quot;Error connecting to ServerTwo:27011 (10.36.151.137:27011) :: caused by :: The Local Security Authority cannot be contacted&quot;&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;This error message is triggered by Windows and not MongoDB. Unfortunately, I am not sure what is causing it. Please follow up with your Windows admins as they would be the best people to troubleshoot this Windows issue.&lt;/p&gt;

&lt;p&gt;Thank you,&lt;/p&gt;

&lt;p&gt;Danny&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="201939" name="Rep3ServerOneArbiter.cfg" size="891" author="itzikkg" created="Tue, 27 Nov 2018 13:29:06 +0000"/>
                            <attachment id="201938" name="Rep3ServerOneMember1.cfg" size="904" author="itzikkg" created="Tue, 27 Nov 2018 13:29:06 +0000"/>
                            <attachment id="201940" name="Rep3ServerTwoMember2.cfg" size="904" author="itzikkg" created="Tue, 27 Nov 2018 13:29:06 +0000"/>
                            <attachment id="201934" name="ServerOneArbiter.cfg" size="896" author="itzikkg" created="Tue, 27 Nov 2018 13:29:06 +0000"/>
                            <attachment id="201932" name="ServerOneMember1.cfg" size="912" author="itzikkg" created="Tue, 27 Nov 2018 13:29:06 +0000"/>
                            <attachment id="201933" name="ServerOneMember2.cfg" size="912" author="itzikkg" created="Tue, 27 Nov 2018 13:29:06 +0000"/>
                            <attachment id="201937" name="ServerTwoArbiter.cfg" size="896" author="itzikkg" created="Tue, 27 Nov 2018 13:29:06 +0000"/>
                            <attachment id="201935" name="ServerTwoMember1.cfg" size="912" author="itzikkg" created="Tue, 27 Nov 2018 13:29:06 +0000"/>
                            <attachment id="201936" name="ServerTwoMember2.cfg" size="912" author="itzikkg" created="Tue, 27 Nov 2018 13:29:06 +0000"/>
                            <attachment id="201941" name="rs-status-result.txt" size="4683" author="itzikkg" created="Tue, 27 Nov 2018 13:29:06 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 29 Nov 2018 22:25:09 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 10 weeks, 2 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>daniel.hatcher@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 10 weeks, 2 days ago
                        </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>daniel.hatcher@mongodb.com</customfieldvalue>
            <customfieldvalue>itzikkg</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hudpzz:</customfieldvalue>

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

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

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