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

Zufar Dhiyaulhaq zufar at onf-ambassador.org
Sat Dec 15 19:09:08 UTC 2018


Hi, Ignazio,

yes all of my endpoint is in 10.60.60.

Ignazio, can you check `sudo cat /etc/sysconfig/heat-params` inside the VM
and see `DOCKER_VOLUME_SIZE="0"`
Maybe this give you solution.

Best Regards,
Zufar Dhiyaulhaq


On Sun, Dec 16, 2018 at 2:03 AM Ignazio Cassano <ignaziocassano at gmail.com>
wrote:

> Pobably you configured all services
> (Nova , magnum and so on) with endpoint on 10.60.60..... in keystone
> section
>
> Il giorno Sab 15 Dic 2018 19:39 Zufar Dhiyaulhaq <zufar at onf-ambassador.org>
> ha scritto:
>
>> Hi Ignazio,
>>
>> I try to change the heat configuration as you suggested, but still my
>> instance are try to 10.60.60.10.
>> this is the output :
>>
>> | 0c34c8b0dcdc459f818c2bab04913039 | RegionOne | keystone     |
>> identity        | True    | public    | http://10.60.60.10:5000/v3
>> |
>> | 8ca42fccdb774f9daf67c95ea61fd006 | RegionOne | keystone     |
>> identity        | True    | admin     | http://10.60.60.10:35357/v3
>> |
>> | 8d0a23730608495980dce151d466a579 | RegionOne | keystone     |
>> identity        | True    | internal  | http://10.60.60.10:5000/v3
>> |
>>
>> testing curl :
>>
>> @swarm-cluster-wtet5ppc5eqi-primary-master-0 ~]$ curl
>> http://10.60.60.10:5000/v3
>> ^C
>> [fedora at swarm-cluster-wtet5ppc5eqi-primary-master-0 ~]$ curl
>> http://10.61.61.10:5000/v3
>> {"version": {"status": "stable", "updated": "2018-02-28T00:00:00Z",
>> "media-types": [{"base": "application/json", "type":
>> "application/vnd.openstack.identity-v3+json"}], "id": "v3.10", "links":
>> [{"href": "http://10.61.61.10:5000/v3/", "rel":
>> "self"}]}}[fedora at swarm-cluster-wtet5ppc5eqi-primary-master-0 ~]$
>>
>>
>> Best Regards,
>> Zufar Dhiyaulhaq
>>
>>
>> On Sun, Dec 16, 2018 at 1:20 AM Ignazio Cassano <ignaziocassano at gmail.com>
>> wrote:
>>
>>> What reports the command
>>> openstack endpoint list | grep keystone
>>>
>>> ?
>>>
>>>
>>> Il giorno Sab 15 Dic 2018 19:16 Zufar Dhiyaulhaq <
>>> zufar at onf-ambassador.org> ha scritto:
>>>
>>>> By Design, my OpenStack have 2 networks.
>>>>
>>>> External Network (Floating IP) : 10.61.61.0/24
>>>> Management Network & Data Network (private): 10.60.60.0/24
>>>>
>>>> An instance that deploys with floating IP cant access to the management
>>>> network. It is possible to change the URL from the error log (10.60.60.10)
>>>> to 10.61.61.10?
>>>>
>>>> Best Regards,
>>>> Zufar Dhiyaulhaq
>>>>
>>>>
>>>> On Sun, Dec 16, 2018 at 1:12 AM Zufar Dhiyaulhaq <
>>>> zufar at onf-ambassador.org> wrote:
>>>>
>>>>> Yes. Master Node communicates with port 5000, but with a wrong IP
>>>>> address.
>>>>>
>>>>> Floating IP give to my instance is in 10.61.61.0/24 but all of my
>>>>> endpoints are in 10.60.60.0/24, but when I try to curl manual the
>>>>> endpoint with 10.61.61.0/24 it's working fine.
>>>>> It is possible to change the IP address installed on cloud-init to
>>>>> 10.61.61.X?
>>>>>
>>>>> Best Regards,
>>>>> Zufar Dhiyaulhaq
>>>>>
>>>>>
>>>>> On Sun, Dec 16, 2018 at 1:08 AM Ignazio Cassano <
>>>>> ignaziocassano at gmail.com> wrote:
>>>>>
>>>>>> Zufar, the master node must communicat with port 5000 on the network
>>>>>> where you deployed keystone endpoint.
>>>>>> Ignazio
>>>>>> Il giorno Sab 15 Dic 2018 18:58 Zufar Dhiyaulhaq <
>>>>>> zufar at onf-ambassador.org> ha scritto:
>>>>>>
>>>>>>> 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/2cf3206b/attachment-0001.html>


More information about the openstack-discuss mailing list