You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The previous SSH test was prone to sporadic failures with a failure rate
above 10% for the amphora driver in vh-mecha-central. The HTTP test has
been reliable so far in testing.
The liveliness periodic invokes server.sh with `-u centos`, which both
supplied the username to use when logging in via SSH and enabled the
test. We no longer require a login username for the test so we add a new
option `-l` which enables the test without taking an option. We retain
the `-u` option for compatibility with the periodic. It can be removed
after we have updated the periodic.
lb_pool_id="$(openstack loadbalancer pool create --wait --name "$name" -f value -c id --lb-algorithm "${drivers[$driver]}" --listener "$lb_listener_id" --protocol TCP)"
233
243
>&2echo"Created loadbalancer pool ${lb_pool_id}"
234
244
235
-
lb_member_id="$(openstack loadbalancer member create --wait -f value -c id --subnet-id "$subnet_id" --address "$server_ip" --protocol-port 22"$lb_pool_id")"
245
+
lb_member_id="$(openstack loadbalancer member create --wait -f value -c id --subnet-id "$subnet_id" --address "$server_ip" --protocol-port 80"$lb_pool_id")"
236
246
>&2echo"Created loadbalancer member ${lb_member_id}"
237
247
238
248
fip_id="$(openstack floating ip create -f value -c id \
@@ -244,17 +254,29 @@ for driver in "${!drivers[@]}"; do
244
254
lb_vip_id="$(openstack port show -f value -c id "${ports[$driver]}"-"$lb_id")"
245
255
openstack floating ip set --port "$lb_vip_id""$fip_id"
246
256
247
-
if [ "$os_user"!='' ];then
248
-
echo"Testing connectivity from the instance ${name}"
0 commit comments