- Updated start-hook
  - Removed default value for management interface
This commit is contained in:
Junaid Ali 2016-07-23 19:21:58 +05:00
parent dd2b392bc6
commit 178f2ccef8
2 changed files with 4 additions and 2 deletions

View File

@ -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'

View File

@ -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')