Ask Your Question
0

An Error by ssh public key

asked 2019-04-24 09:19:22 -0500

najeh gravatar image

updated 2019-04-24 09:22:21 -0500

when i tried to update or deploy a system Inside a created openstack instance, i got these errors:

curl: could not resolve host get.docker.com

no valid openpgp data was found

sh: 0:can't open get-docker.sh

groupadd: group 'docker' already exists

And when i tried to ping from the openstack instance to openstack.com or google.com i got a "Temporary Failure in name resolution"

edit retag flag offensive close merge delete

Comments

This hasn’t much to do with ssh though.

Bernd Bausch gravatar imageBernd Bausch ( 2019-04-24 09:40:09 -0500 )edit

1 answer

Sort by » oldest newest most voted
0

answered 2019-04-24 09:36:53 -0500

updated 2019-04-24 09:38:37 -0500

The instance has no way to translate the names docker.com, google.com etc into IP addresses. You need to set up DNS, through /etc/resolv.conf or using DNS integration.

edit flag offensive delete link more

Comments

@Bernd Bausch I think the dns in all nodes is configured correctly, how can i verify?

najeh gravatar imagenajeh ( 2019-04-24 10:41:36 -0500 )edit
1

This depends on the operating system. In principle, check /etc/nsswitch.conf and /etc/resolv.conf, but a combination of DHCP and other tools like resolvconf or NetworkManager often manage the DNS client configuration.

Bernd Bausch gravatar imageBernd Bausch ( 2019-04-24 16:04:28 -0500 )edit

@Bernd Bausch i'm working with Ubuntu server 18.04 and my /etc/resolv.conf file contains:

nameserver 8.8.8.8

nameserver 8.8.4.4

nameserver 127.0.0.53

Also i cannot reach the dashboard

Also i cannot ping openstack.org from the controller and compute nodes

najeh gravatar imagenajeh ( 2019-04-25 03:45:40 -0500 )edit

If you can access 8.8.8.8, name resolution should work.

The dashboard has nothing to do with your connectivity to docker.com.

Bernd Bausch gravatar imageBernd Bausch ( 2019-04-25 04:38:58 -0500 )edit
1

Also i cannot ping openstack.org from the controller and compute nodes

If your cloud is not connected to the internet, you can’t expect to reach docker.com from an instance.

Bernd Bausch gravatar imageBernd Bausch ( 2019-04-25 04:44:11 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2019-04-24 09:19:22 -0500

Seen: 34 times

Last updated: Apr 24