Changes:
- Updated start-hook - Removed default value for management interface
This commit is contained in:
parent
dd2b392bc6
commit
178f2ccef8
@ -17,7 +17,6 @@ options:
|
||||
description: Public SSH key of PLUMgrid LCM which is running PG-Tools.
|
||||
mgmt-interface:
|
||||
type: string
|
||||
default: 'juju-br0'
|
||||
description: The interface connected to PLUMgrid Managment network.
|
||||
fabric-interfaces:
|
||||
default: 'MANAGEMENT'
|
||||
|
@ -161,11 +161,14 @@ def start():
|
||||
'''
|
||||
if config('plumgrid-license-key') is not None:
|
||||
count = 0
|
||||
while (count < 10):
|
||||
while (count < 15):
|
||||
if post_pg_license():
|
||||
break
|
||||
count += 1
|
||||
time.sleep(15)
|
||||
if count == 15:
|
||||
raise ValueError("Error occurred while posting plumgrid license"
|
||||
"key. Please check plumgrid services.")
|
||||
|
||||
|
||||
@hooks.hook('upgrade-charm')
|
||||
|
Loading…
x
Reference in New Issue
Block a user