savanna-all team mailing list archive
-
savanna-all team
-
Mailing list archive
-
Message #00028
Re: Hadoop on Openstack
Hi Anang,
It looks like there are now endpoints in Keystone for your Savanna installation.
> Exception Type: ServiceCatalogException at /project/hadoop/
> Exception Value: Invalid service catalog service: map reduce
You can add them to the Keystone using the following commands:
keystone service-create --name savanna --type mapreduce --description "Savanna"
keystone endpoint-create --service-id 338a48ce826642c3a90017a768ee1eb6 --internalurl "http://10.1.0.9:9000/v0.2/%(tenant_id)s" --publicurl "http://172.18.79.139:9000/v0.2/%(tenant_id)s" --adminurl "none"
338a48ce826642c3a90017a768ee1eb6 == id of service created by the first command
Sincerely yours,
Sergey Lukjanov
Software Engineer
Mirantis Inc.
GTalk: me@xxxxxxxxxxx
Skype: lukjanovsv
On May 2, 2013, at 6:42, Anang Hudaya Muhamad Amin <ananghudaya@xxxxxxxx> wrote:
> Hi,
>
> I am encountering a problem with my hadoop installation on openstack. Could anyone tell me what's wrong here? I am a bit confused.
>
> Environment:
>
>
> Request Method: GET
> Request URL: http://10.0.84.12/project/hadoop/
>
> Django Version: 1.4.5
> Python Version: 2.7.3
> Installed Applications:
> ['openstack_dashboard',
> 'django.contrib.contenttypes',
> 'django.contrib.auth',
> 'django.contrib.sessions',
> 'django.contrib.messages',
> 'django.contrib.staticfiles',
> 'django.contrib.humanize',
> 'compressor',
> 'horizon',
> 'openstack_dashboard.dashboards.project',
> 'openstack_dashboard.dashboards.admin',
> 'openstack_dashboard.dashboards.settings',
> 'openstack_auth']
> Installed Middleware:
> ('django.middleware.common.CommonMiddleware',
> 'django.middleware.csrf.CsrfViewMiddleware',
> 'django.contrib.sessions.middleware.SessionMiddleware',
> 'django.contrib.auth.middleware.AuthenticationMiddleware',
> 'django.contrib.messages.middleware.MessageMiddleware',
> 'horizon.middleware.HorizonMiddleware',
> 'django.middleware.doc.XViewMiddleware',
> 'django.middleware.locale.LocaleMiddleware',
> 'django.middleware.clickjacking.XFrameOptionsMiddleware')
>
>
> Traceback:
> File "/home/cloudmaster/openstack-horizon/.venv/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
> 111. response = callback(request, *callback_args, **callback_kwargs)
> File "/home/cloudmaster/openstack-horizon/openstack_dashboard/wsgi/../../horizon/decorators.py" in dec
> 38. return view_func(request, *args, **kwargs)
> File "/home/cloudmaster/openstack-horizon/openstack_dashboard/wsgi/../../horizon/decorators.py" in dec
> 54. return view_func(request, *args, **kwargs)
> File "/home/cloudmaster/openstack-horizon/openstack_dashboard/wsgi/../../horizon/decorators.py" in dec
> 38. return view_func(request, *args, **kwargs)
> File "/home/cloudmaster/openstack-horizon/.venv/lib/python2.7/site-packages/django/views/generic/base.py" in view
> 48. return self.dispatch(request, *args, **kwargs)
> File "/home/cloudmaster/openstack-horizon/.venv/lib/python2.7/site-packages/django/views/generic/base.py" in dispatch
> 69. return handler(request, *args, **kwargs)
> File "/home/cloudmaster/openstack-horizon/openstack_dashboard/wsgi/../../horizon/tables/views.py" in get
> 155. handled = self.construct_tables()
> File "/home/cloudmaster/openstack-horizon/openstack_dashboard/wsgi/../../horizon/tables/views.py" in construct_tables
> 146. handled = self.handle_table(table)
> File "/home/cloudmaster/openstack-horizon/openstack_dashboard/wsgi/../../horizon/tables/views.py" in handle_table
> 118. data = self._get_data_dict()
> File "/home/cloudmaster/openstack-horizon/openstack_dashboard/wsgi/../../horizon/tables/views.py" in _get_data_dict
> 44. data.extend(func())
> File "/home/cloudmaster/openstack-horizon/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/hadoop/views.py" in get_clusters_data
> 62. _('Unable to retrieve clusters.'))
> File "/home/cloudmaster/openstack-horizon/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/hadoop/views.py" in get_clusters_data
> 58. clusters = list_clusters(self.request)
> File "/home/cloudmaster/openstack-horizon/openstack_dashboard/wsgi/../../openstack_dashboard/api/savanna.py" in list_clusters
> 57. get_eho_address(request) + "/clusters",
> File "/home/cloudmaster/openstack-horizon/openstack_dashboard/wsgi/../../openstack_dashboard/api/savanna.py" in get_eho_address
> 22. return url_for(request, 'mapreduce')
> File "/home/cloudmaster/openstack-horizon/openstack_dashboard/wsgi/../../openstack_dashboard/api/base.py" in url_for
> 166. raise exceptions.ServiceCatalogException(service_type)
>
> Exception Type: ServiceCatalogException at /project/hadoop/
> Exception Value: Invalid service catalog service: mapreduce
>
>
> Best regards,
>
> Anang
> --
> Mailing list: https://launchpad.net/~savanna-all
> Post to : savanna-all@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~savanna-all
> More help : https://help.launchpad.net/ListHelp
References