Feature 8681: Add VCA HA capabilities 19/9119/57
authorDavid Garcia <david.garcia@canonical.com>
Fri, 19 Jun 2020 09:40:18 +0000 (11:40 +0200)
committerDavid Garcia <david.garcia@canonical.com>
Fri, 26 Jun 2020 11:40:16 +0000 (13:40 +0200)
commit2f66c4df28308b5b2747bb207e7797932e502436
tree4dd7b55986e55b0cf59fab4b36bf27f589b65262
parent41b40a10384cd725be87f1800242cc8eba38e991
Feature 8681: Add VCA HA capabilities

- juju watcher: fix exception handling when websocket is closed
- libjuju.py:
  - Get vca endpoints from database (if exists)
  - Update vca endpoints in database
  - Get controller per operation (remove controller from class attribute)
  - Add health check: Every 5 minutes the connection to the controller will be tested.
- Dockerfile: update it to 18.04

Change-Id: Ifa0a3a705d48fd736a9634b0722bdc914003b497
Signed-off-by: David Garcia <david.garcia@canonical.com>
devops-stages/stage-test.sh
n2vc/juju_watcher.py
n2vc/libjuju.py
n2vc/n2vc_conn.py
n2vc/utils.py