OpenStack Sahara image register error -


i'm trying introduce sahara cloud using hadoop, , it's not going well. tried follow openstack documents, didn't me. i'm trying add sahara dashboard command "pip install sahara-dashboard".

sahara dashboard located @ /usr/local/lib/python2.7/dist-packages/saharadashboard.

original dashboard located @ /usr/share/openstack-dashboard/openstack-dashboard, , added

installed_apps = [     'openstack_dashboard',     'saharadashboard',     'django.contrib.contenttypes',     'django.contrib.auth',     'django.contrib.sessions',     'django.contrib.messages',     'django.contrib.staticfiles',     'django.contrib.humanize',     'django_pyscss',     'openstack_dashboard.django_pyscss_fix',     'compressor',     'horizon',     'openstack_auth', ] 

to /usr/share/openstack-dashboard/openstack-dashboard/setting.py.

and in /usr/share/openstack-dashboard/openstack-dashboard/local/local_settings.py, added:

    sahara_url='http://localhost:8386/v1.1'          openstack_api_versions = {             "data-processing": 1.1,             "identity": 3,             "volume": 2,                 "image": 2,         }       "data-processing": 1.1     sahara_use_neutron=true 

i can see sahara management interface on dashboard, i'm getting error when try register image in image registry tab of dashboard. hope don't mind korean in image. ought tell other things working fine in cloud. searched through logs related sahara, , nothing comes up.

enter image description here

i suspect these parts of code showing me error, don't know how fix issue.

/usr/local/lib/python2.7/dist-packages/saharadashboard/image_registry/forms.py

glance = importutils.import_any('openstack_dashboard.api.glance',                                 'horizon.api.glance')  def _get_images(self, request, filter):         try:             images, _more = glance.image_list_detailed(request, filters=filter)         except exception:             images = []             exceptions.handle(request,                               _("unable retrieve images filter %s.") %                               filter)         return images      def _get_public_images(self, request):         filter = {"is_public": true,                   "status": "active"}         return self._get_images(request, filter)      def _get_tenant_images(self, request):         filter = {"owner": request.user.tenant_id,                   "status": "active"}         return self._get_images(request, filter) 


Comments

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -