Details

    • Bug
    • Resolution: Fixed
    • Minor
    • None
    • Professional Edition
    • Discovery
    • None

    Description

      We are using version 20.12.10924 (stable) and l3vpn vrf duplicates are added daily. 

      Attachments

        1. Screenshot 2021-01-07 at 08.22.11.png
          Screenshot 2021-01-07 at 08.22.11.png
          118 kB
        2. Screenshot 2021-01-07 at 08.22.39.png
          Screenshot 2021-01-07 at 08.22.39.png
          72 kB
        3. discovery.txt
          523 kB
        4. discovery.log
          19 kB

        Issue Links

          Activity

            [OBS-3600] Duplicate VRF entries

            Should be fixed in r11057.

            As it turned out, the problem appeared only in "./discovery.php -h all".

            landy Mike Stupalov added a comment - Should be fixed in r11057. As it turned out, the problem appeared only in "./discovery.php -h all".

            as we debugged with dklimek should be fixed in latest revisions (rolling).

            landy Mike Stupalov added a comment - as we debugged with dklimek should be fixed in latest revisions (rolling).

            probably temporary ssh access to your install?
            I still can't reproduce..

            landy Mike Stupalov added a comment - probably temporary ssh access to your install? I still can't reproduce..

            Hi Mike, could you find something? Shall I try to capture more debug information?

            dklimek Denis Klimek added a comment - Hi Mike, could you find something? Shall I try to capture more debug information?

            Ok, I will see again.

            landy Mike Stupalov added a comment - Ok, I will see again.

            We have the same problem, every discovery process adds new vrf. Our Observium version is

             

             

            dkiriljuk Dmitri Kiriljuk added a comment - We have the same problem, every discovery process adds new vrf. Our Observium version is   Observium 21.1.10964 (rolling)  
            dklimek Denis Klimek added a comment - - edited

            Now I was able to capture the process of adding multiple VRF entries. I created a new cronjob like that:

            0 */1 * * * /opt/observium/discovery.php -h all -m vrf -d >> discovery.log (see uploaded file)

            I removed all other devices and left only device 'pop19-asr' within it. There you can see that new VRFs has been added. If I run discovery manually by CLI, the VRFs will be deleted... it is only re-added by the cronjob discovery every time.

            dklimek Denis Klimek added a comment - - edited Now I was able to capture the process of adding multiple VRF entries. I created a new cronjob like that: 0 */1 * * * /opt/observium/discovery.php -h all -m vrf -d >> discovery.log (see uploaded file) I removed all other devices and left only device 'pop19-asr' within it. There you can see that new VRFs has been added. If I run discovery manually by CLI, the VRFs will be deleted... it is only re-added by the cronjob discovery every time.

            Hmm... I dont know how to reproduce it. I've stopped all cron jobs regarding discovery and tried the last three days manually to rediscover by CLI every hours.

            Not once it happened that VRF got multiple entries. Yesterday evening I enabled all cronjobs again and normalized. This morning, now I see again double entries.......----

            dklimek Denis Klimek added a comment - Hmm... I dont know how to reproduce it. I've stopped all cron jobs regarding discovery and tried the last three days manually to rediscover by CLI every hours. Not once it happened that VRF got multiple entries. Yesterday evening I enabled all cronjobs again and normalized. This morning, now I see again double entries.......----

            Hrm, we not have any polling process for vrfs.. Changes can be only in discovery.

            Make and attach discovery debug:

            ./discovery.php -d -h <device>

            landy Mike Stupalov added a comment - Hrm, we not have any polling process for vrfs.. Changes can be only in discovery. Make and attach discovery debug: ./discovery.php -d -h <device>

            Hi Mike,

            It seems to be unfixed :-/ This morning I've found new VRF entries. Looks like that discovery is removing/cleaning them everytime, but polling process creates new entries.

            dklimek Denis Klimek added a comment - Hi Mike, It seems to be unfixed :-/ This morning I've found new VRF entries. Looks like that discovery is removing/cleaning them everytime, but polling process creates new entries.

            People

              landy Mike Stupalov
              HorizonTelecom Ton Blok
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: