[stein][manila-ui] error
Ignazio Cassano
ignaziocassano at gmail.com
Mon Dec 2 17:44:52 UTC 2019
Hi Victoria,
I installed everything manually following documentation for centos stein at
docs.openstack.org.
The following are the version I am using:
python2-manilaclient-1.27.0-1.el7.noarch
python2-manila-8.1.0-1.el7.noarch
openstack-manila-share-8.1.0-1.el7.noarch
openstack-manila-8.1.0-1.el7.noarch
openstack-manila-ui-2.18.1-1.el7.noarch
I am using netapp share driver:
share_driver = manila.share.drivers.netapp.common.NetAppDriver
with:
driver_handles_share_servers = False
Creating manila shares and changing access permissions work fine using
command line client.
Thanks and regards
Ignazio
Il giorno lun 2 dic 2019 alle ore 18:10 Victoria Martínez de la Cruz <
victoria at vmartinezdelacruz.com> ha scritto:
> Hi Ignazio,
>
> Are you deploying everything manually? Which is the version of Manila you
> are using? Have you followed the docs we have for installation or any
> specific documentation you can point us to?
>
> Also, feel free to submit a bug report in
> https://bugs.launchpad.net/manila-ui.
>
> Thanks,
>
> Victoria
>
> On Fri, Nov 29, 2019 at 11:30 AM Ignazio Cassano <ignaziocassano at gmail.com>
> wrote:
>
>> Hello,
>> furthter information: in the dashboard admin secion if I push share it
>> does not list shares .
>> I the project section it gives the error I sent previously
>>
>> Il giorno ven 29 nov 2019 alle ore 15:03 Ignazio Cassano <
>> ignaziocassano at gmail.com> ha scritto:
>>
>>> Hi Carlos, I am installing via yum command
>>> Thanks
>>> Ignazio
>>>
>>> Il giorno ven 29 nov 2019 alle ore 14:46 Carlos Silva <
>>> ces.eduardo98 at gmail.com> ha scritto:
>>>
>>>> Hi, Ignazio!
>>>>
>>>> Could you please provide more information about how have you installed
>>>> it? It was via package, git, devstack?
>>>> I'm trying to reproduce the issue in my environment but I'm not able to.
>>>>
>>>> Regards,
>>>> Carlos Silva.
>>>>
>>>> Em sex., 29 de nov. de 2019 às 05:42, Ignazio Cassano <
>>>> ignaziocassano at gmail.com> escreveu:
>>>>
>>>>> Hello,
>>>>> I just installed openstack stein on centos.
>>>>> Manila works fine my command line but when I click "share" in the
>>>>> dashboard the following error appears:
>>>>>
>>>>> Environment:
>>>>>
>>>>>
>>>>> Request Method: GET
>>>>> Request URL: http://10.102.184.190/dashboard/project/shares/
>>>>>
>>>>> Django Version: 1.11.20
>>>>> Python Version: 2.7.5
>>>>> Installed Applications:
>>>>> ['openstack_dashboard.dashboards.project',
>>>>> 'neutron_lbaas_dashboard',
>>>>> 'heat_dashboard',
>>>>> 'openstack_dashboard.dashboards.admin',
>>>>> 'openstack_dashboard.dashboards.identity',
>>>>> 'openstack_dashboard.dashboards.settings',
>>>>> 'dashboards',
>>>>> 'openstack_dashboard',
>>>>> 'django.contrib.contenttypes',
>>>>> 'django.contrib.auth',
>>>>> 'django.contrib.sessions',
>>>>> 'django.contrib.messages',
>>>>> 'django.contrib.staticfiles',
>>>>> 'django.contrib.humanize',
>>>>> 'django_pyscss',
>>>>> 'debreach',
>>>>> 'openstack_dashboard.django_pyscss_fix',
>>>>> 'compressor',
>>>>> 'horizon',
>>>>> 'openstack_auth']
>>>>> Installed Middleware:
>>>>> ('openstack_auth.middleware.OpenstackAuthMonkeyPatchMiddleware',
>>>>> 'debreach.middleware.RandomCommentMiddleware',
>>>>> 'django.middleware.common.CommonMiddleware',
>>>>> 'django.middleware.csrf.CsrfViewMiddleware',
>>>>> 'django.contrib.sessions.middleware.SessionMiddleware',
>>>>> 'django.contrib.auth.middleware.AuthenticationMiddleware',
>>>>> 'horizon.middleware.OperationLogMiddleware',
>>>>> 'django.contrib.messages.middleware.MessageMiddleware',
>>>>> 'horizon.middleware.HorizonMiddleware',
>>>>> 'horizon.themes.ThemeMiddleware',
>>>>> 'django.middleware.locale.LocaleMiddleware',
>>>>> 'django.middleware.clickjacking.XFrameOptionsMiddleware',
>>>>>
>>>>> 'openstack_dashboard.contrib.developer.profiler.middleware.ProfilerClientMiddleware',
>>>>>
>>>>> 'openstack_dashboard.contrib.developer.profiler.middleware.ProfilerMiddleware')
>>>>>
>>>>>
>>>>>
>>>>> Traceback:
>>>>>
>>>>> File
>>>>> "/usr/lib/python2.7/site-packages/django/core/handlers/exception.py" in
>>>>> inner
>>>>> 41. response = get_response(request)
>>>>>
>>>>> File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py"
>>>>> in _get_response
>>>>> 187. response =
>>>>> self.process_exception_by_middleware(e, request)
>>>>>
>>>>> File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py"
>>>>> in _get_response
>>>>> 185. response = wrapped_callback(request,
>>>>> *callback_args, **callback_kwargs)
>>>>>
>>>>> File "/usr/lib/python2.7/site-packages/horizon/decorators.py" in dec
>>>>> 36. return view_func(request, *args, **kwargs)
>>>>>
>>>>> File "/usr/lib/python2.7/site-packages/horizon/decorators.py" in dec
>>>>> 52. return view_func(request, *args, **kwargs)
>>>>>
>>>>> File "/usr/lib/python2.7/site-packages/horizon/decorators.py" in dec
>>>>> 36. return view_func(request, *args, **kwargs)
>>>>>
>>>>> File "/usr/lib/python2.7/site-packages/horizon/decorators.py" in dec
>>>>> 113. return view_func(request, *args, **kwargs)
>>>>>
>>>>> File "/usr/lib/python2.7/site-packages/horizon/decorators.py" in dec
>>>>> 84. return view_func(request, *args, **kwargs)
>>>>>
>>>>> File "/usr/lib/python2.7/site-packages/django/views/generic/base.py"
>>>>> in view
>>>>> 68. return self.dispatch(request, *args, **kwargs)
>>>>>
>>>>> File "/usr/lib/python2.7/site-packages/django/views/generic/base.py"
>>>>> in dispatch
>>>>> 88. return handler(request, *args, **kwargs)
>>>>>
>>>>> File "/usr/lib/python2.7/site-packages/horizon/tables/views.py" in get
>>>>> 223. handled = self.construct_tables()
>>>>>
>>>>> File "/usr/lib/python2.7/site-packages/horizon/tables/views.py" in
>>>>> construct_tables
>>>>> 214. handled = self.handle_table(table)
>>>>>
>>>>> File "/usr/lib/python2.7/site-packages/horizon/tables/views.py" in
>>>>> handle_table
>>>>> 123. data = self._get_data_dict()
>>>>>
>>>>> File "/usr/lib/python2.7/site-packages/horizon/tables/views.py" in
>>>>> _get_data_dict
>>>>> 43. data.extend(func())
>>>>>
>>>>> File "/usr/lib/python2.7/site-packages/horizon/utils/memoized.py" in
>>>>> wrapped
>>>>> 109. value = cache[key] = func(*args,
>>>>> **kwargs)
>>>>>
>>>>> File
>>>>> "/usr/lib/python2.7/site-packages/manila_ui/dashboards/project/shares/views.py"
>>>>> in get_shares_data
>>>>> 57. share_nets = manila.share_network_list(self.request)
>>>>>
>>>>> File "/usr/lib/python2.7/site-packages/manila_ui/api/manila.py" in
>>>>> share_network_list
>>>>> 280. return
>>>>> manilaclient(request).share_networks.list(detailed=detailed,
>>>>>
>>>>> Exception Type: AttributeError at /project/shares/
>>>>> Exception Value: 'NoneType' object has no attribute 'share_networks'
>>>>>
>>>>>
>>>>> Anyone can help, please ?
>>>>>
>>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20191202/0945e580/attachment.html>
More information about the openstack-discuss
mailing list