Add post-networking delay and adjust daemon delay
This commit is contained in:
parent
e9df043c0a
commit
7c36388c8f
|
@ -488,6 +488,9 @@ if enable_networking:
|
||||||
else:
|
else:
|
||||||
common.run_os_command('ip route add default via {} dev {}'.format(upstream_gateway, 'brupstream'))
|
common.run_os_command('ip route add default via {} dev {}'.format(upstream_gateway, 'brupstream'))
|
||||||
|
|
||||||
|
logger.out('Waiting 3s for networking to come up', state='s')
|
||||||
|
time.sleep(3)
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# PHASE 2c - Prepare sysctl for pvcnoded
|
# PHASE 2c - Prepare sysctl for pvcnoded
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
@ -559,8 +562,8 @@ if enable_storage:
|
||||||
logger.out('Starting Ceph manager daemon', state='i')
|
logger.out('Starting Ceph manager daemon', state='i')
|
||||||
common.run_os_command('systemctl start ceph-mgr@{}'.format(myhostname))
|
common.run_os_command('systemctl start ceph-mgr@{}'.format(myhostname))
|
||||||
|
|
||||||
logger.out('Waiting 5s for daemons to start', state='s')
|
logger.out('Waiting 3s for daemons to start', state='s')
|
||||||
time.sleep(5)
|
time.sleep(3)
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# PHASE 4 - Attempt to connect to the coordinators and start zookeeper client
|
# PHASE 4 - Attempt to connect to the coordinators and start zookeeper client
|
||||||
|
|
Loading…
Reference in New Issue