summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--newton/newton/registration/views/registration.py1
-rw-r--r--ocata/ocata/registration/views/registration.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/newton/newton/registration/views/registration.py b/newton/newton/registration/views/registration.py
index cc97e048..9f28cdff 100644
--- a/newton/newton/registration/views/registration.py
+++ b/newton/newton/registration/views/registration.py
@@ -15,6 +15,7 @@
import logging
import json
import uuid
+import traceback
from django.conf import settings
from keystoneauth1.exceptions import HttpError
diff --git a/ocata/ocata/registration/views/registration.py b/ocata/ocata/registration/views/registration.py
index 4dd87675..b4b73d71 100644
--- a/ocata/ocata/registration/views/registration.py
+++ b/ocata/ocata/registration/views/registration.py
@@ -319,7 +319,7 @@ class Registry(newton_registration.Registry):
cloud_extra_info_str = viminfo.get('cloud_extra_info')
if cloud_extra_info_str :
- cloud_dpdk_info = cloud_extra_info.get("ovsDpdk")
+ cloud_dpdk_info = cloud_extra_info_str.get("ovsDpdk")
if cloud_dpdk_info :
ovsdpdk_capability['hpaCapabilityID'] = str(feature_uuid)
ovsdpdk_capability['hpaFeature'] = 'ovsDpdk'