File: oci-ping-all-nodes

package info (click to toggle)
openstack-cluster-installer 43.0.22
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,544 kB
  • sloc: php: 19,169; sh: 18,137; ruby: 75; makefile: 31; xml: 8
file content (8 lines) | stat: -rwxr-xr-x 224 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
#!/bin/sh

set -e

. /usr/bin/oci-cluster-upgrade-funcs

ALL_NODES=$(ocicli -csv machine-list -a | q -H -d, "SELECT Cur_ip,hostname FROM - WHERE status='installed' ORDER BY hostname" | tr '\n' ' ')
oci_check_all_nodes_alive