There's no mistakes in the documentation here. Technically, the method name can be arbitrary, however we have the convention of naming them "get_*_data". I guess you had a call for "get_instane_data" somewhere in your code.
** Changed in: horizon Status: New => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Dashboard (Horizon). https://bugs.launchpad.net/bugs/1833489 Title: Examples have errors in the Tutorials section of the horizon documentation Status in OpenStack Dashboard (Horizon): Invalid Bug description: Create the dashboard and panel according to the horizon document(Refer: Tutorial: Building a Dashboard using Horizon) But there was an error when I started horizon: ystem check identified no issues (0 silenced). June 20, 2019 - 01:36:02 Django version 1.11.20, using settings 'openstack_dashboard.settings' Starting development server at http://192.168.117.132:8000/ Quit the server with CONTROL-C. WARNING django.request Not Found: /favicon.ico WARNING django.server "GET /favicon.ico HTTP/1.1" 404 4687 INFO django.server - Broken pipe from ('192.168.117.1', 61256) DEBUG:stevedore.extension:found extension EntryPoint.parse('http = oslo_policy._external:HttpCheck') DEBUG:stevedore.extension:found extension EntryPoint.parse('https = oslo_policy._external:HttpsCheck') INFO django.server "GET /auth/login/?next=/admin/ HTTP/1.1" 200 9504 INFO django.server "GET /i18n/js/horizon+openstack_dashboard/ HTTP/1.1" 200 3217 WARNING django.request Not Found: /dashboard/header/ WARNING django.server "GET /dashboard/header/?next=/admin/ HTTP/1.1" 404 4715 INFO django.server "GET /admin/ HTTP/1.1" 200 37382 INFO django.server - Broken pipe from ('192.168.117.1', 61257) INFO openstack_auth.forms Login successful for user "admin" using domain "Default", remote address 192.168.117.1. INFO django.server "POST /auth/login/ HTTP/1.1" 302 0 INFO django.server "GET /admin/ HTTP/1.1" 200 37377 INFO django.server "GET /i18n/js/horizon+openstack_dashboard/ HTTP/1.1" 200 3217 WARNING django.request Not Found: /dashboard/header/ WARNING django.server "GET /dashboard/header/ HTTP/1.1" 404 4704 ERROR django.request Internal Server Error: /mydashboard/ Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/exception.py", line 41, in inner response = get_response(request) File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 187, in _get_response response = self.process_exception_by_middleware(e, request) File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 185, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/opt/stack/horizon/horizon/decorators.py", line 36, in dec return view_func(request, *args, **kwargs) File "/opt/stack/horizon/horizon/decorators.py", line 52, in dec return view_func(request, *args, **kwargs) File "/opt/stack/horizon/horizon/decorators.py", line 36, in dec return view_func(request, *args, **kwargs) File "/opt/stack/horizon/horizon/decorators.py", line 113, in dec return view_func(request, *args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py", line 68, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py", line 88, in dispatch return handler(request, *args, **kwargs) File "/opt/stack/horizon/horizon/tabs/views.py", line 139, in get context = self.get_context_data(**kwargs) File "/opt/stack/horizon/horizon/tables/views.py", line 106, in get_context_data context = super(MultiTableMixin, self).get_context_data(**kwargs) File "/opt/stack/horizon/horizon/tabs/views.py", line 55, in get_context_data exceptions.handle(self.request) File "/opt/stack/horizon/horizon/exceptions.py", line 348, in handle six.reraise(exc_type, exc_value, exc_traceback) File "/opt/stack/horizon/horizon/tabs/views.py", line 53, in get_context_data context["tab_group"].load_tab_data() File "/opt/stack/horizon/horizon/tabs/base.py", line 178, in load_tab_data exceptions.handle(self.request) File "/opt/stack/horizon/horizon/exceptions.py", line 348, in handle six.reraise(exc_type, exc_value, exc_traceback) File "/opt/stack/horizon/horizon/tabs/base.py", line 175, in load_tab_data tab._data = tab.get_context_data(self.request) File "/opt/stack/horizon/horizon/tabs/base.py", line 533, in get_context_data self.load_table_data() File "/opt/stack/horizon/horizon/tabs/base.py", line 512, in load_table_data % {'func_name': func_name, 'cls_name': cls_name}) NotImplementedError: You must define a get_instane_data method on InstanceTab. ERROR django.server "GET /mydashboard/ HTTP/1.1" 500 395237 WARNING django.request Not Found: /favicon.ico WARNING django.server "GET /favicon.ico HTTP/1.1" 404 4684 [2019-06-20 01:39:30,714 pyinotify ERROR] The pathname '/opt/stack/horizon/openstack_dashboard/dashboards/mydashboard/mypanel/tabs.py' of this watch <Watch wd=1536 path=/opt/stack/horizon/openstack_dashboard/dashboards/mydashboard/mypanel/tabs.py mask=4038 proc_fun=None auto_add=False exclude_filter=<function <lambda> at 0x7ff6c3ebbb18> dir=False > has probably changed and couldn't be updated, so it cannot be trusted anymore. To fix this error move directories/files only between watched parents directories, in this case e.g. put a watch on '/opt/stack/horizon/openstack_dashboard/dashboards/mydashboard/mypanel'. ERROR:pyinotify:The pathname '/opt/stack/horizon/openstack_dashboard/dashboards/mydashboard/mypanel/tabs.py' of this watch <Watch wd=1536 path=/opt/stack/horizon/openstack_dashboard/dashboards/mydashboard/mypanel/tabs.py mask=4038 proc_fun=None auto_add=False exclude_filter=<function <lambda> at 0x7ff6c3ebbb18> dir=False > has probably changed and couldn't be updated, so it cannot be trusted anymore. To fix this error move directories/files only between watched parents directories, in this case e.g. put a watch on '/opt/stack/horizon/openstack_dashboard/dashboards/mydashboard/mypanel'. Performing system checks... fixed the error when modify the method get_instances_data to get_instane_data in tabs.py So I think it's probably the documentation To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1833489/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp