Closed mohierf closed 5 years ago
When this exception happens, attributes of the group are:
{'configuration_errors': [], 'notes_url': u'', 'realm': u'48a49493-2070-4baa-ad08-93957229df90', 'uuid': u'f9fb0360-9b9d-408c-93b1-fd1ce787082e', 'tags': [], 'notes': u'', 'downtimes': {}, 'instance_id': u'SchedulerLink_2', 'hostgroup_name': u'routers', 'action_url': u'', 'alias': u'All the routers', 'configuration_warnings': [], 'members': [], 'hash': '', 'hostgroup_members': [u'north-routers', u'south-routers'], 'level': 0, 'id': u'f9fb0360-9b9d-408c-93b1-fd1ce787082e'}
The hosts groups members are string values and not objects!
Fixing this problem is possible in the regenerator or in the datamanager. The best solution would be to unify the groups management done in the regenerator (link groups and hosts) and in the datamanager (set groups level information)
I noticed an exception like
when displying an host page. This looks like if the hosts groups were not build correclty by the regenerator ... when refreshing the same page, the error is no more present. this looks strange !