Ask Your Question
0

Could not connect to instance. Retrying.: ... [Errno 113] No route to host. provisioning_status stays on PENDING_CREATE

asked 2018-10-07 06:30:56 -0500

esxzawq gravatar image

updated 2018-10-07 13:46:55 -0500

hi all

I have configured an octavia service by help of Michael, but after creating loadbalancer the provisioning_status stays on PENDING_CREATE. the log of worker shows Could not connect to instance. Retrying.: ... [Errno 113] No route to hos

I have deployed openstack on virtualbox ( one vm for controller and one vm for compute) my network setting are :

2 vboxnet :

vboxnet1 : 192.168.58.0/24 for provider network

vboxnet2 : 10.0.0.0/24 for management network

NAT

and I have used linuxbridging.

in openstack I have created two network ( provider and selfservice)

provider : 192.168.58.0/24

selfservice : 192.168.100.0/24

after creating loadbalancer ( openstack loadbalancer create .... --vip-subnet-id selfservice) , it create the loadbalancer and wants to connect to the amphora instance with ip in range of 192.168.100.0/24 that naturally does not have route to it , so provisioning_status stays on PENDING_CREATE ...

are my network configuration wrong !

should I use ovs instead of linuxbridging ! ...

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-10-08 08:23:19 -0500

novainfinite gravatar image

i configure loadbalancer with linuxbridg and it does not have any problem. your load balancer should be provider that you can ping it from outside. openstack loadbalancer create .... --vip-subnet-id provider

you can use haproxy it is so simple

edit flag offensive delete link more

Comments

thank you I have tried this alos. the loadbalancer gets a provider ip but the instance gets the selfservice ip and loadbalancer stays on pending creat till it connect to the amphora

ctavia.amphorae.drivers.haproxy.rest_api_driver [-] Could not connect to instance. Retrying

esxzawq gravatar imageesxzawq ( 2018-10-08 14:27:19 -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: 2018-10-07 06:30:56 -0500

Seen: 47 times

Last updated: Oct 08