[Openstack-operators] Unable to connect to internet from Openstack instance
Andreas Scheuring
scheuran at linux.vnet.ibm.com
Thu Jul 16 12:37:22 UTC 2015
How does your setup look like? Are you using a multinode with tunneling
(vxlan or gre) configured? If so maybe your packets get dropped due to
wrong MTU configuration.
You could try with ping -s and tcpdump how far you can get and if
there's some point where packets get dropped or fragmented.
Andreas
On Do, 2015-07-16 at 09:25 +0000, aishwarya.adyanthaya at accenture.com
wrote:
> Hi,
>
> I did add a dns nameserver in the /etc/resolv.conf file. The problem I'm facing here it at times I'm able to download packages or ping any internet site but then I loose connection from accessing internet. I checked my Openstack services and they are up and in running state.
>
>
>
> -----Original Message-----
> From: Andreas Scheuring [mailto:scheuran at linux.vnet.ibm.com]
> Sent: Thursday, July 16, 2015 1:22 PM
> To: Adyanthaya, Aishwarya
> Cc: openstack-operators at lists.openstack.org
> Subject: Re: [Openstack-operators] Unable to connect to internet from Openstack instance
>
> Looks like name resolution does not work properly. You need to add an dns entry to your instance. You can try that by hand first
> (/etc/resolv.conf) or you could try to add the dns info to your neutron subnet.
>
> The dns server usually lives somewhere outside your openstack installation, so you should provide the external one
>
> Andreas (IRC: scheuran)
>
>
> On Do, 2015-07-16 at 05:09 +0000, aishwarya.adyanthaya at accenture.com
> wrote:
> > Hi,
> >
> >
> >
> > I created an instance in my dashboard and attached a floating IP to
> > it. I’m able to ssh to node (which has Ubuntu 14.04 image) but when I
> > try to do an ‘apt-get update && apt-get upgrade’ I’m facing issue
> > there. Below is what I’m facing:
> >
> >
> >
> > root at node:/home/ubuntu# apt-get update && apt-get upgrade
> >
> > Err http://archive.ubuntu.com trusty InRelease
> >
> >
> >
> > Err http://archive.ubuntu.com trusty-updates InRelease
> >
> >
> >
> > Err http://security.ubuntu.com trusty-security InRelease
> >
> >
> >
> > Err http://archive.ubuntu.com trusty Release.gpg
> >
> > Could not resolve 'archive.ubuntu.com'
> >
> > Err http://security.ubuntu.com trusty-security Release.gpg
> >
> > Could not resolve 'security.ubuntu.com'
> >
> > Err http://archive.ubuntu.com trusty-updates Release.gpg
> >
> > Could not resolve 'archive.ubuntu.com'
> >
> > Reading package lists... Done
> >
> > W: Failed to fetch
> > http://archive.ubuntu.com/ubuntu/dists/trusty/InRelease
> >
> >
> >
> > W: Failed to fetch
> > http://archive.ubuntu.com/ubuntu/dists/trusty-updates/InRelease
> >
> >
> >
> > W: Failed to fetch
> > http://security.ubuntu.com/ubuntu/dists/trusty-security/InRelease
> >
> >
> >
> > W: Failed to fetch
> > http://archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg Could not
> > resolve 'archive.ubuntu.com'
> >
> >
> >
> > W: Failed to fetch
> > http://archive.ubuntu.com/ubuntu/dists/trusty-updates/Release.gpg
> > Could not resolve 'archive.ubuntu.com'
> >
> >
> >
> > W: Failed to fetch
> > http://security.ubuntu.com/ubuntu/dists/trusty-security/Release.gpg
> > Could not resolve 'security.ubuntu.com'
> >
> >
> >
> > W: Some index files failed to download. They have been ignored, or old
> > ones used instead.
> >
> > Reading package lists... Done
> >
> > Building dependency tree
> >
> > Reading state information... Done
> >
> > Calculating upgrade... Done
> >
> > 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> >
> >
> >
> > Thank you,
> >
> > Aishwarya Adyanthaya
> >
> >
> >
> >
> > ______________________________________________________________________
> >
> > This message is for the designated recipient only and may contain
> > privileged, proprietary, or otherwise confidential information. If you
> > have received it in error, please notify the sender immediately and
> > delete the original. Any other use of the e-mail by you is prohibited.
> > Where allowed by local law, electronic communications with Accenture
> > and its affiliates, including e-mail and instant messaging (including
> > content), may be scanned by our systems for the purposes of
> > information security and assessment of internal compliance with
> > Accenture policy.
> > ______________________________________________________________________
> > ________________
> >
> > www.accenture.com
> > _______________________________________________
> > OpenStack-operators mailing list
> > OpenStack-operators at lists.openstack.org
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operator
> > s
>
> --
> Andreas
> (IRC: scheuran)
>
>
>
> ________________________________
>
> This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy.
> ______________________________________________________________________________________
>
> www.accenture.com
--
Andreas
(IRC: scheuran)
More information about the OpenStack-operators
mailing list