<!-- 
RSS generated by JIRA (9.4.5#940005-sha1:e3094934eac4fd8653cf39da58f39364fb9cc7c1) at Sat Feb 10 05:58:40 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>Akraino JIRA</title>
    <link>https://jira.akraino.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.5</version>
        <build-number>940005</build-number>
        <build-date>11-04-2023</build-date>
    </build-info>


<item>
            <title>[ICN-281] Vagrant vm can not get correct name server in ubuntu-1804.</title>
                <link>https://jira.akraino.org/browse/ICN-281</link>
                <project id="10400" key="ICN">Integrated Cloud Native NFV</project>
                    <description>&lt;p&gt;Wrong name server causes that vagrant vm cannot running correctly. &lt;br/&gt;
systemd-resolved will set the nameserver to 127.0.0.53, which will not work correctly.&lt;br/&gt;
It happened when your bare metal works behind a NAT and the vm image is 18.04+.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Bare metal with Ubuntu-18.04-server behind a NAT&lt;/p&gt;</environment>
        <key id="11226">ICN-281</key>
            <summary>Vagrant vm can not get correct name server in ubuntu-1804.</summary>
                <type id="10004" iconUrl="https://jira.akraino.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.akraino.org/images/icons/priorities/medium.svg">Medium</priority>
                        <status id="10001" iconUrl="https://jira.akraino.org/" description="">Done</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="iProg">Le Yao</assignee>
                                    <reporter username="iProg">Le Yao</reporter>
                        <labels>
                            <label>icn-kud-r3</label>
                    </labels>
                <created>Mon, 24 Feb 2020 01:08:47 +0000</created>
                <updated>Thu, 17 Dec 2020 00:53:37 +0000</updated>
                            <resolved>Tue, 25 Feb 2020 01:03:07 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="11125" author="iprog" created="Wed, 26 Feb 2020 02:15:19 +0000"  >&lt;p&gt;Get it, but these two solution can not work with &apos;vagrant up installer&apos;.&lt;br/&gt;
The vm Installer uses nfs type to set synced_folder and the vm will install nfs client before the vm.provision shell scripts runs. That&apos;s to say the vm still use the wrong nameserver 127.0.0.53.&lt;/p&gt;</comment>
                            <comment id="11124" author="akhilakishore" created="Wed, 26 Feb 2020 02:08:39 +0000"  >&lt;p&gt;The issue is with VM&apos;s to be created during Vagrant up or Vagrant up installer&lt;/p&gt;

&lt;p&gt;Solution 1:&lt;br/&gt;
#!/bin/bashset -e&lt;br/&gt;
echo &quot;nameserver %{NATIP}&quot; &amp;gt;&amp;gt; /etc/resolv.conf&lt;br/&gt;
Solution 2: Could be&#160;&lt;a href=&quot;https://gerrit.onap.org/r/c/multicloud/k8s/+/99540/2/kud/hosting_providers/vagrant/node.sh#87&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://gerrit.onap.org/r/c/multicloud/k8s/+/99540/2/kud/hosting_providers/vagrant/node.sh#87&lt;/a&gt;&#160;adding this information inside Vagrantfile (&lt;a href=&quot;https://github.com/onap/multicloud-k8s/blob/master/kud/hosting_providers/vagrant/Vagrantfile&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/onap/multicloud-k8s/blob/master/kud/hosting_providers/vagrant/Vagrantfile&lt;/a&gt;) instead of node.sh.&#160;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.akraino.org/secure/ViewProfile.jspa?name=r.kuralamudhan&quot; class=&quot;user-hover&quot; rel=&quot;r.kuralamudhan&quot;&gt;r.kuralamudhan&lt;/a&gt;: The broader question should be why aren&apos;t the 18.04 VMs getting created properly in my opinion. Solution 1 &amp;amp; 2 could be a potential fix. However, this could be perceived as hardcoding the values inside the VM rather than debugging why aren&apos;t the VMs getting created fine with the correct nameserver information in the first place.&lt;/p&gt;</comment>
                            <comment id="11122" author="iprog" created="Wed, 26 Feb 2020 01:36:54 +0000"  >&lt;p&gt;Another patch may fix the issues:&lt;br/&gt;
&lt;a href=&quot;https://gerrit.onap.org/r/c/multicloud/k8s/+/99540/2/kud/hosting_providers/vagrant/node.sh#87&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://gerrit.onap.org/r/c/multicloud/k8s/+/99540/2/kud/hosting_providers/vagrant/node.sh#87&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11119" author="iprog" created="Tue, 25 Feb 2020 01:09:45 +0000"  >&lt;p&gt;To solve it, you can add a shell script to Vagrantfile to set the name server manually.&lt;/p&gt;


&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-bash&quot;&gt;&lt;span class=&quot;code-comment&quot;&gt;#!/bin/bash
&lt;/span&gt;set -e
echo &lt;span class=&quot;code-quote-red&quot;&gt;&quot;nameserver %{NATIP}&quot;&lt;/span&gt; &amp;gt;&amp;gt; /etc/resolv.conf

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
</comment>
                            <comment id="11118" author="iprog" created="Tue, 25 Feb 2020 01:06:16 +0000"  >&lt;p&gt;Some of the errors it caused:&lt;br/&gt;
Stderr from the command:&lt;/p&gt;

&lt;p&gt;W: Failed to fetch &lt;a href=&quot;http://us.archive.ubuntu.com/ubuntu/dists/bionic/InRelease&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://us.archive.ubuntu.com/ubuntu/dists/bionic/InRelease&lt;/a&gt;  Temporary failure resolving &apos;us.archive.ubuntu.c                           om&apos;&lt;br/&gt;
W: Failed to fetch &lt;a href=&quot;http://us.archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://us.archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease&lt;/a&gt;  Temporary failure resolving &apos;us.archive.                           ubuntu.com&apos;&lt;br/&gt;
W: Failed to fetch &lt;a href=&quot;http://us.archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://us.archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease&lt;/a&gt;  Temporary failure resolving &apos;us.archiv                           e.ubuntu.com&apos;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="11203">ICN-260</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10105" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i003cg:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10104" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="14">ICN Sprint 12</customfieldvalue>

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