Ask Your Question
1

GetDiscoveryUrlFailed: Failed to get discovery url from 'https://discovery.etcd.io/new?size=1'.

asked 2018-01-31 11:53:22 -0500

br gravatar image

updated 2019-01-31 08:19:38 -0500

novainfinite gravatar image

I am trying to create cluster using magnum without internet access. But I got the following error:

"ERROR magnum.drivers.heat.template_def [req-8b4d63f6-1839-4c24-893f-e299efeb9fb8 - - - - -] HTTPSConnectionPool(host='discovery.etcd.io', port=443): Max retries exceeded with url: /new?size=1 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f776b0ab450>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)): ConnectionError: HTTPSConnectionPool(host='discovery.etcd.io', port=443): Max retries exceeded with url: /new?size=1 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f776b0ab450>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))
magnum-conductor.log:132:2018-01-31 09:41:19.690 4977 ERROR oslo_messaging.rpc.server [req-8b4d63f6-1839-4c24-893f-e299efeb9fb8 - - - - -] Exception during message handling: GetDiscoveryUrlFailed: Failed to get discovery url from 'https://discovery.etcd.io/new?size=1'.

"

But with internet access cluster created successfully. Only without internet access cluster creation failed. I am using openstack pike version. Can Someone help me how to create cluster without internet access?

edit retag flag offensive close merge delete

Comments

Search for Kubernetes offline.

Bernd Bausch gravatar imageBernd Bausch ( 2019-01-31 08:37:16 -0500 )edit

1 answer

Sort by » oldest newest most voted
0

answered 2018-02-01 06:25:01 -0500

updated 2018-02-01 06:41:29 -0500

Container orchestration engines download fundamental containers from the internet. To use Magnum without internet access, you therefore need a copy of the respective environment (Kubernetes or Mesos, and Docker) in your local network. Perhaps it can be done, but I guess that it would require much more effort than setting up OpenStack.

See also the documentation:

Magnum will create a router between this private network and the external network. This will allow the servers to download images, access discovery service, etc, and the containers to install packages, etc.

EDIT: Perhaps it’s not that hard after all; see instructions for offline Kubernetes.

edit flag offensive delete link more

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: 2018-01-31 11:53:22 -0500

Seen: 505 times

Last updated: Jan 31