1000: Fix authentication when deleting service 44/8644/1
authorDominik Fleischmann <dominik.fleischmann@canonical.com>
Wed, 26 Feb 2020 18:58:25 +0000 (19:58 +0100)
committerDominik Fleischmann <dominik.fleischmann@canonical.com>
Wed, 26 Feb 2020 18:58:25 +0000 (19:58 +0100)
commit1ac78b3b0c1440f4c69834387c7ceafdff27ac28
tree0f0dc85ee0e0a2ba46eb8d2e6cfe15258b82590b
parentaf133268a39188bd941f4a682c07f919f1da9690
1000: Fix authentication when deleting service

This fixes 1000 where the creation of k8sclusters
was failing once a k8scluster had been deleted. This
was due to N2VC not logging out correctly from the
juju controller. Error handling was added to the
add_model funciton.

https://osm.etsi.org/bugzilla/show_bug.cgi?id=1000

Change-Id: I144ddf7ed16a3aa65e145459e49f41b9fd936353
Signed-off-by: Dominik Fleischmann <dominik.fleischmann@canonical.com>
n2vc/k8s_juju_conn.py