[magnum] cluster node fail to establish connection (wrong IP address)

Zufar Dhiyaulhaq zufar at onf-ambassador.org
Sat Dec 15 17:54:03 UTC 2018


Hi I am creating a swarm cluster with this command :

   - openstack coe cluster template create swarm-cluster-template --image
   fedora-atomic-latest --external-network external --dns-nameserver 8.8.8.8
   --master-flavor m1.small --flavor m1.small --coe swarm-mode
   --docker-volume-size 4 --docker-storage-driver=devicemapper
   - openstack coe cluster create swarm-cluster --cluster-template
   swarm-cluster-template --master-count 1 --node-count 1 --keypair mykey

but its stack on *swarm_primary_master *heat with *CREATE_IN_PROGRESS*. I
try to login into swarm VM and see the log.

I get this :


   - requests.exceptions.ConnectionError:
   HTTPConnectionPool(host='10.60.60.10', port=5000): Max retries exceeded
   with url: /v3/auth/tokens (Caused by
   NewConnectionError('<urllib3.connection.HTTPConnection object at
   0x7f02f57321d0>: Failed to establish a new connection: [Errno 110]
   Connection timed out',))
   - Cloud-init v. 0.7.9 running 'modules:final' at Sat, 15 Dec 2018
   17:36:44 +0000. Up 33.29 seconds.


Swarm Instance try to open connection to 10.60.60.10 which is my management
ip address on OpenStack.  But it cannot (by design it cannot, I try to curl
manual to 10.60.60.10 and error). When curl to 10.61.61.10 which is my
floating IP and external IP for OpenStack cluster, it works.

Anyone know how to change the cloud-init to curl into 10.61.61.10?

Best Regards,
Zufar Dhiyaulhaq
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20181216/1905825e/attachment-0001.html>


More information about the openstack-discuss mailing list