<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:02:50 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-3350] Allow 0.0.0.0 as the bind_ip</title>
                <link>https://jira.mongodb.org/browse/SERVER-3350</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I just installed mongo 1.8.2 on a CentOS 64 bits server and try to create a replicate set using the following command:&lt;/p&gt;

&lt;p&gt;&amp;gt; rs.initiate()      &lt;br/&gt;
{&lt;br/&gt;
        &quot;info2&quot; : &quot;no configuration explicitly specified &amp;#8211; making one&quot;,&lt;br/&gt;
        &quot;errmsg&quot; : &quot;couldn&apos;t initiate : can&apos;t find self in the replset config&quot;,&lt;br/&gt;
        &quot;ok&quot; : 0&lt;br/&gt;
}&lt;br/&gt;
&amp;gt; &lt;/p&gt;

&lt;p&gt;The mongod is started with the following and there are no other replication set on the subnet:&lt;/p&gt;

&lt;p&gt;mongod --fork --rest --replSet osm&lt;/p&gt;


&lt;p&gt;I&apos;ve created replicate set without any issues with 1.6.5 on other 32 and 64 bits servers.&lt;/p&gt;</description>
                <environment>CentOS 5.5 64 bits</environment>
        <key id="18884">SERVER-3350</key>
            <summary>Allow 0.0.0.0 as the bind_ip</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="brandon">Brandon Diamond</assignee>
                                    <reporter username="jlhm">Jonas Lindholm</reporter>
                        <labels>
                            <label>replication</label>
                    </labels>
                <created>Thu, 30 Jun 2011 17:32:36 +0000</created>
                <updated>Tue, 12 Jul 2016 00:19:38 +0000</updated>
                            <resolved>Wed, 25 Jan 2012 16:32:10 +0000</resolved>
                                    <version>1.8.2</version>
                                    <fixVersion>2.1.1</fixVersion>
                                    <component>Replication</component>
                                        <votes>1</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="81814" author="auto" created="Mon, 23 Jan 2012 21:59:50 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;&apos;, u&apos;name&apos;: u&apos;Brandon Diamond&apos;, u&apos;email&apos;: u&apos;brandon@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3350&quot; title=&quot;Allow 0.0.0.0 as the bind_ip&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3350&quot;&gt;&lt;del&gt;SERVER-3350&lt;/del&gt;&lt;/a&gt;: handle 0.0.0.0 for bind_ip&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/477496bf414fafaa83c8512fcd47b1c0ede80b5e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/477496bf414fafaa83c8512fcd47b1c0ede80b5e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="43829" author="jed204" created="Thu, 21 Jul 2011 17:37:26 +0000"  >&lt;p&gt;I got hit by this last night when trying to bring up replication. I changed the bind parameter to a specific IP. That got the replication working but now my config has the IP vs. the hostname of the server. Not a huge deal but it would be helpful to use the hostname as it clarifies to someone looking at the config where the server is (we are replicating across data centers). Thanks!&lt;/p&gt;</comment>
                            <comment id="40191" author="jlhm" created="Fri, 1 Jul 2011 15:58:40 +0000"  >&lt;p&gt;Thanks, I appreciate the responsiveness you have to suggestions.&lt;/p&gt;</comment>
                            <comment id="40184" author="kristina" created="Fri, 1 Jul 2011 15:18:52 +0000"  >&lt;p&gt;That seems reasonable, I&apos;ll see what I can do.  &lt;/p&gt;</comment>
                            <comment id="40132" author="jlhm" created="Fri, 1 Jul 2011 11:57:39 +0000"  >&lt;p&gt;I can see that the resolution is work as design. Well, this is the first application I know about for over 25 years that try to translate 0.0.0.0 to the hostname and not just use it to indicate that the application should bind to all available IP interfaces on the host and use another way to find the host name.&lt;/p&gt;

&lt;p&gt;You should modify your code so it works like other application when 0.0.0.0 is used as the bind parameter.&lt;/p&gt;</comment>
                            <comment id="40017" author="jlhm" created="Thu, 30 Jun 2011 19:46:54 +0000"  >&lt;p&gt;I believe I found the error. In this case it&apos;s not a DNS issue but an issue when you specify bind=0.0.0.0 in the mongod.conf file. It seems mongod takes 0.0.0.0 as an IP address and try to translate that to the hostname.&lt;br/&gt;
What I could see in the log file was that it tried to insert an entry in system.replset with 0.0.0.0:27017 and not a hostname when I did rs.initialize().&lt;/p&gt;</comment>
                            <comment id="40006" author="kristina" created="Thu, 30 Jun 2011 18:56:58 +0000"  >&lt;p&gt;This is generally a DNS issue, it finds a hostname for the local machine but then cannot match it to itself.  You can get around it by explicitly specifying a configuration.  In 1.9.1+, rs.initiate() will return the address it was trying to resolve.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="289215">SERVER-24280</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>7.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 30 Jun 2011 18:56:58 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            12 years, 4 weeks, 2 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="10020"><![CDATA[Linux]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>brandon</customfieldvalue>
            <customfieldvalue>jed204</customfieldvalue>
            <customfieldvalue>jlhm</customfieldvalue>
            <customfieldvalue>kristina</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrowpz:</customfieldvalue>

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

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

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