Size: a a a

2020 October 31

DK

Dmitry K. in NOC Project
But if alarms = ActiveAlarm._get_collection().find({"managed_object": {"$exists": False}}) is empty maybe you fixed some your problem
источник

ID

Iacopo Dalla Verità in NOC Project
ok i think not something it's fixed. My crashinfo list it's changed. And when i start the alarm heat map we have a new crashinfo
источник

DK

Dmitry K. in NOC Project
Iacopo Dalla Verità
ok i think not something it's fixed. My crashinfo list it's changed. And when i start the alarm heat map we have a new crashinfo
new but not the same ?
источник

ID

Iacopo Dalla Verità in NOC Project
Yes
источник

ID

Iacopo Dalla Verità in NOC Project
subscribers = {}
             t_data = defaultdict(<class 'list'>, {})
                 qs =
[<ActiveAlarm: 5c3f215da97fab43e553583a>, <ActiveAlarm: 5c3f887da97fab43daca5905>, <ActiveAlarm: 5c40a9c3a97fab43dd1b7931>, <ActiveAlarm: 5ca5a554a97fab18c9d43bfd>, <ActiveAlarm: 5ca5a575a97fab18c9d43bff>, <ActiveAlarm: 5ca5a585a97fab18c9d43c00>, <ActiveAlarm: 5d2bddd730cc1f8a0335135b>, <ActiveAlarm: 5e2a96839b37701345653e39>, <ActiveAlarm: 5e2ae06f9b3770134565457f>, <ActiveAlarm: 5e2fcfbd4854613ae249a024>, <ActiveAlarm: 5e2fcfbd4854613ae249a025>, <ActiveAlarm: 5e2fcfbd4854613ae249a02f>, <ActiveAlarm: 5e2fcfbd4854613ae249a056>, <ActiveAlarm: 5e2fcfbd4854613ae249a05a>, <ActiveAlarm: 5e2fcfbd4854613ae249a05b>, <ActiveAlarm: 5e2fcfbd21357c4b8287290e>, <ActiveAlarm: 5e2fcfc621357c4b8287291d>, <ActiveAlarm: 5e2fd2164854613ae249a07c>, <ActiveAlarm: 5e2fd2164854613ae249a085>, <ActiveAlarm: 5e2fd21621357c4b82872935>, '...(remaining elements truncated)...']
                  a = <ActiveAlarm: 5f537883486388d04bbf3a8c>
              s_sub = {}
          s_service = {}
                 mo = <ManagedObject: Brazing-SW-Caveout-10.1.5.231>
                  w = 0
               zoom = 11
------------------------------------------------------------------------
File: services/card/card.py (Line: 69)
Function: get
  62             is_ajax = card_id == "ajax"
  63             tpl = self.CARDS.get(card_type)
  64             if not tpl:
  65                 raise tornado.web.HTTPError(404, "Card template not found")
  66             try:
  67                 card = tpl(self, card_id)
  68                 if is_ajax:
  69 ==>                 data = card.get_ajax_data()
  70                 else:
  71                     data = card.render()
  72             except BaseCard.RedirectError as e:
  73                 return self.redirect(e.args[0])
  74             except BaseCard.NotFoundError:
  75                 raise tornado.web.HTTPError(404, "Not found")
Variables:
               self = <noc.services.card.card.CardRequestHandler object at 0x7f2fcb9dc190>
          card_type = 'alarmheat'
            card_id = 'ajax'
               args = ()
             kwargs = {}
            is_ajax = True
                tpl = <class 'noc.services.card.cards.alarmheat.AlarmHeatCard'>
               card =
<noc.services.card.cards.alarmheat.AlarmHeatCard object at 0x7f2fcb0b3d60>
------------------------------------------------------------------------
END OF TRACEBACK
источник

ID

Iacopo Dalla Verità in NOC Project
this device "Brazing-SW-Caveout-10.1.5.231" have some problem
источник

DK

Dmitry K. in NOC Project
Iacopo Dalla Verità
this device "Brazing-SW-Caveout-10.1.5.231" have some problem
can you place full error trace on pastebin ?
источник

ID

Iacopo Dalla Verità in NOC Project
yes of course, but before i try with wipe the object and recreate. If the error is the same i attach the pastebin
источник

DK

Dmitry K. in NOC Project
Iacopo Dalla Verità
yes of course, but before i try with wipe the object and recreate. If the error is the same i attach the pastebin
I think its not a method to debug
источник

ID

Iacopo Dalla Verità in NOC Project
источник

ID

Iacopo Dalla Verità in NOC Project
All object have a login issue.
If i fix the login and launch a rediscover the problem is still alive.
If i wipe the object and recreate it's work
источник

ID

Iacopo Dalla Verità in NOC Project
In active alarms we have this:
источник

ID

Iacopo Dalla Verità in NOC Project
источник

DK

Dmitry K. in NOC Project
In detaled capture we see the same problem that appear in the shell

EXCEPTION: <class 'mongoengine.errors.ValidationError'> Unable to dereference <class 'noc.sa.models.managedobject.ManagedObject'>:10
источник

DK

Dmitry K. in NOC Project
But we see alarm that have this problem
источник

DK

Dmitry K. in NOC Project
instance = <ActiveAlarm: 5f537883486388d04bbf3a8c>
источник

DK

Dmitry K. in NOC Project
I think that you need create an Managed_Object with id=10
источник

ID

Iacopo Dalla Verità in NOC Project
can i insert a custom id?
источник

ID

Iacopo Dalla Verità in NOC Project
and after we need to wipe the Managed_Object with id=10?
источник

DK

Dmitry K. in NOC Project
I think so
источник