Skip to content

Commit 5cb475d

Browse files
Merge pull request #198 from shiftstack/gather-lb-status
Include output of loadbalancer status
2 parents b74e14f + 5ccf7cc commit 5cb475d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

server.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,8 @@ for driver in "${!drivers[@]}"; do
248248
echo "Testing connectivity from the instance ${name}"
249249
sleep 60
250250
if ! ssh -o ConnectTimeout=30 -o StrictHostKeyChecking=no "$os_user"@"$fip_address" ping -c 1 1.1.1.1; then
251+
echo "Error when running a ping from the instance. Dumping load balancer status..."
252+
openstack loadbalancer status show "$lb_id"
251253
echo "Error when running a ping from the instance. Dumping instance console..."
252254
openstack console log show "$name" || true
253255
echo "Done"

0 commit comments

Comments
 (0)