<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:21:15 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>[DRIVERS-316] Driver is unable to resolve hostnames to IP addresses</title>
                <link>https://jira.mongodb.org/browse/DRIVERS-316</link>
                <project id="10980" key="DRIVERS">Drivers</project>
                    <description>&lt;p&gt;MongoDB ruby driver cannot connect to the replica set. &lt;br/&gt;
The driver itself seems to want to resolve the host names of each individual node e.g. mongod-node-0 =&amp;gt; 10.0.x.x&lt;/p&gt;

&lt;p&gt;Logs from the Mongo adapter: note where &quot;getaddrinfo&quot; fails to resolve the hostname to the IP address.&lt;/p&gt;

&lt;p&gt;016-07-14T15:10:42.35-0700 &lt;span class=&quot;error&quot;&gt;&amp;#91;APP/0&amp;#93;&lt;/span&gt;      OUT D, &lt;a href=&quot;#28&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;2016-07-14T22:10:30.331490 #28&lt;/a&gt; DEBUG &amp;#8211; : MONGODB | Adding 10.65.178.135:28000 to the cluster.&lt;br/&gt;
2016-07-14T15:10:42.35-0700 &lt;span class=&quot;error&quot;&gt;&amp;#91;APP/0&amp;#93;&lt;/span&gt;      OUT D, &lt;a href=&quot;#28&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;2016-07-14T22:10:30.333658 #28&lt;/a&gt; DEBUG &amp;#8211; : MONGODB | Adding mongod-node-0:28000 to the cluster.&lt;br/&gt;
2016-07-14T15:10:42.35-0700 &lt;span class=&quot;error&quot;&gt;&amp;#91;APP/0&amp;#93;&lt;/span&gt;      OUT D, &lt;a href=&quot;#28&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;2016-07-14T22:10:30.335013 #28&lt;/a&gt; DEBUG &amp;#8211; : MONGODB | getaddrinfo: Name or service not known&lt;br/&gt;
2016-07-14T15:10:42.35-0700 &lt;span class=&quot;error&quot;&gt;&amp;#91;APP/0&amp;#93;&lt;/span&gt;      OUT D, &lt;a href=&quot;#28&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;2016-07-14T22:10:30.335204 #28&lt;/a&gt; DEBUG &amp;#8211; : MONGODB | Adding mongod-node-1:28000 to the cluster.&lt;br/&gt;
2016-07-14T15:10:42.35-0700 &lt;span class=&quot;error&quot;&gt;&amp;#91;APP/0&amp;#93;&lt;/span&gt;      OUT D, &lt;a href=&quot;#28&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;2016-07-14T22:10:30.335781 #28&lt;/a&gt; DEBUG &amp;#8211; : MONGODB | getaddrinfo: Name or service not known&lt;br/&gt;
2016-07-14T15:10:42.35-0700 &lt;span class=&quot;error&quot;&gt;&amp;#91;APP/0&amp;#93;&lt;/span&gt;      OUT D, &lt;a href=&quot;#28&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;2016-07-14T22:10:30.335950 #28&lt;/a&gt; DEBUG &amp;#8211; : MONGODB | Adding mongod-node-2:28000 to the cluster.&lt;br/&gt;
2016-07-14T15:10:42.35-0700 &lt;span class=&quot;error&quot;&gt;&amp;#91;APP/0&amp;#93;&lt;/span&gt;      OUT D, &lt;a href=&quot;#28&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;2016-07-14T22:10:30.348431 #28&lt;/a&gt; DEBUG &amp;#8211; : MONGODB | getaddrinfo: Name or service not known&lt;br/&gt;
2016-07-14T15:10:42.35-0700 &lt;span class=&quot;error&quot;&gt;&amp;#91;APP/0&amp;#93;&lt;/span&gt;      OUT D, &lt;a href=&quot;#28&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;2016-07-14T22:10:30.348763 #28&lt;/a&gt; DEBUG &amp;#8211; : MONGODB | Adding 10.65.178.133:28000 to the cluster.&lt;br/&gt;
2016-07-14T15:10:42.35-0700 &lt;span class=&quot;error&quot;&gt;&amp;#91;APP/0&amp;#93;&lt;/span&gt;      OUT D, &lt;a href=&quot;#28&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;2016-07-14T22:10:30.351169 #28&lt;/a&gt; DEBUG &amp;#8211; : MONGODB | 10.65.178.135:28000 being removed from the cluster.&lt;br/&gt;
2016-07-14T15:10:42.35-0700 &lt;span class=&quot;error&quot;&gt;&amp;#91;APP/0&amp;#93;&lt;/span&gt;      OUT D, &lt;a href=&quot;#28&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;2016-07-14T22:10:30.351480 #28&lt;/a&gt; DEBUG &amp;#8211; : MONGODB | Server 10.65.178.133:28000 elected as primary in pcf_repl.&lt;br/&gt;
2016-07-14T15:10:42.35-0700 &lt;span class=&quot;error&quot;&gt;&amp;#91;APP/0&amp;#93;&lt;/span&gt;      OUT D, &lt;a href=&quot;#28&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;2016-07-14T22:10:30.351706 #28&lt;/a&gt; DEBUG &amp;#8211; : MONGODB | Adding 10.65.178.134:28000 to the cluster.&lt;br/&gt;
2016-07-14T15:10:42.35-0700 &lt;span class=&quot;error&quot;&gt;&amp;#91;APP/0&amp;#93;&lt;/span&gt;      OUT D, &lt;a href=&quot;#28&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;2016-07-14T22:10:30.354136 #28&lt;/a&gt; DEBUG &amp;#8211; : MONGODB | 10.65.178.133:28000 being removed from the cluster.&lt;br/&gt;
2016-07-14T15:10:42.35-0700 &lt;span class=&quot;error&quot;&gt;&amp;#91;APP/0&amp;#93;&lt;/span&gt;      OUT D, &lt;a href=&quot;#28&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;2016-07-14T22:10:30.834764 #28&lt;/a&gt; DEBUG &amp;#8211; : MONGODB | getaddrinfo: Name or service not known&lt;br/&gt;
2016-07-14T15:10:42.35-0700 &lt;span class=&quot;error&quot;&gt;&amp;#91;APP/0&amp;#93;&lt;/span&gt;      OUT D, &lt;a href=&quot;#28&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;2016-07-14T22:10:30.835866 #28&lt;/a&gt; DEBUG &amp;#8211; : MONGODB | getaddrinfo: Name or service not known&lt;br/&gt;
2016-07-14T15:10:42.35-0700 &lt;span class=&quot;error&quot;&gt;&amp;#91;APP/0&amp;#93;&lt;/span&gt;      OUT D, &lt;a href=&quot;#28&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;2016-07-14T22:10:30.836627 #28&lt;/a&gt; DEBUG &amp;#8211; : MONGODB | getaddrinfo: Name or service not known&lt;br/&gt;
2016-07-14T15:10:42.35-0700 &lt;span class=&quot;error&quot;&gt;&amp;#91;APP/0&amp;#93;&lt;/span&gt;      OUT D, &lt;a href=&quot;#28&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;2016-07-14T22:10:31.334806 #28&lt;/a&gt; DEBUG &amp;#8211; : MONGODB | getaddrinfo: Name or service not known&lt;br/&gt;
2016-07-14T15:10:42.35-0700 &lt;span class=&quot;error&quot;&gt;&amp;#91;APP/0&amp;#93;&lt;/span&gt;      OUT D, &lt;a href=&quot;#28&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;2016-07-14T22:10:31.335955 #28&lt;/a&gt; DEBUG &amp;#8211; : MONGODB | getaddrinfo: Name or service not known&lt;br/&gt;
2016-07-14T15:10:42.35-0700 &lt;span class=&quot;error&quot;&gt;&amp;#91;APP/0&amp;#93;&lt;/span&gt;      OUT D, &lt;a href=&quot;#28&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;2016-07-14T22:10:31.336675 #28&lt;/a&gt; DEBUG &amp;#8211; : MONGODB | getaddrinfo: Name or service not known&lt;br/&gt;
2016-07-14T15:10:42.35-0700 &lt;span class=&quot;error&quot;&gt;&amp;#91;APP/0&amp;#93;&lt;/span&gt;      OUT D, &lt;a href=&quot;#28&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;2016-07-14T22:10:31.834838 #28&lt;/a&gt; DEBUG &amp;#8211; : MONGODB | getaddrinfo: Name or service not known&lt;br/&gt;
2016-07-14T15:10:42.35-0700 &lt;span class=&quot;error&quot;&gt;&amp;#91;APP/0&amp;#93;&lt;/span&gt;      OUT D, &lt;a href=&quot;#28&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;2016-07-14T22:10:31.835991 #28&lt;/a&gt; DEBUG &amp;#8211; : MONGODB | getaddrinfo: Name or service not known&lt;/p&gt;

&lt;p&gt;As soon as the driver adds a host, it tries to resolve it&apos;s name. This just isn&apos;t possible in a container, we can&apos;t add host entries.&lt;/p&gt;

&lt;p&gt;Is it possible to instruct the driver to use IP addresses only?&lt;/p&gt;</description>
                <environment>Mongodb version : &lt;a href=&quot;https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-amazon-3.2.7.tgz&quot;&gt;https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-amazon-3.2.7.tgz&lt;/a&gt;  , this is running on Pivotal Cloud Foundry</environment>
        <key id="301564">DRIVERS-316</key>
            <summary>Driver is unable to resolve hostnames to IP addresses</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="bernie@mongodb.com">Bernie Hackett</assignee>
                                    <reporter username="miyer24">Mallika Iyer</reporter>
                        <labels>
                            <label>driver</label>
                    </labels>
                <created>Fri, 15 Jul 2016 20:56:57 +0000</created>
                <updated>Mon, 22 Jan 2018 17:14:03 +0000</updated>
                            <resolved>Mon, 22 Jan 2018 17:14:03 +0000</resolved>
                                                                            <votes>1</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="1780913" author="behackett" created="Mon, 22 Jan 2018 17:14:03 +0000"  >&lt;p&gt;Closing won&apos;t fix. The workaround in this situation is to map hostnames to IPs in /etc/hosts.&lt;/p&gt;</comment>
                            <comment id="1328838" author="behackett" created="Tue, 19 Jul 2016 19:23:28 +0000"  >&lt;p&gt;I&apos;ve moved this ticket to the DRIVERS project since all MongoDB drivers work the same way. This behavior is defined in the server discover and monitoring spec:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/specifications/blob/master/source/server-discovery-and-monitoring/server-discovery-and-monitoring.rst#parsing-an-ismaster-response&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/blob/master/source/server-discovery-and-monitoring/server-discovery-and-monitoring.rst#parsing-an-ismaster-response&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1327128" author="miyer24" created="Mon, 18 Jul 2016 16:17:27 +0000"  >&lt;p&gt;Unfortunately that won&apos;t resolve the issue, I would like to leave it open&lt;br/&gt;
because it is a critical issue until a workaround can be agreed on.&lt;/p&gt;

&lt;p&gt;On Mon, Jul 18, 2016 at 4:46 AM, Emily Stolfo (JIRA) &amp;lt;jira@mongodb.org&amp;gt;&lt;/p&gt;




&lt;p&gt;&amp;#8211; &lt;br/&gt;
Mallika Iyer | Principal Software Architect // Cloud Platform Engineering |&lt;br/&gt;
Pivotal&lt;br/&gt;
415.632.7294 | miyer@pivotal.io &amp;lt;miyer@gopivotal.com&amp;gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="309029">DOCS-8596</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                            <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hsnmy7:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>