Uploaded image for project: 'VOLTHA'
  1. VOLTHA
  2. VOL-1708

Deleted devices, marked as deleted, but still shown in list

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Medium
    • Resolution: Cannot Reproduce
    • Affects Version/s: VOLTHA v2.0
    • Fix Version/s: VOLTHA v2.1
    • Component/s: api-server, ro-core, rw-core
    • Labels:
      None
    • Environment:

      k8s: 1 master, 3 workers

      simulated OLT

      Description

      It looks like there was a node failure during this (compute1)

       

      create a device (simulated olt/onu)

      enable device (olt)

      disable device (olt)

      delete device (olt)

       

      some ONUs deleted and removed from list, but OLT and ONU remain, they are marked as deleted

       

      Command history:

      1582 ./start-voltha.sh
      1583 ./start-adapters.sh
      1584 voltctl adapter list
      1585 voltctl device enable $(voltctl device create)
      1586 voltctl device flows 7434b8cc5c131376694be27d
      1587 voltctl logicaldevice flows 076D384C3A20
      1588 JUST_OFAGENT=true ./restart-api.sh
      1589 voltctl logicaldevice flows 076D384C3A20
      1590 voltctl device flows 7434b8cc5c131376694be27d
      1591 voltctl device disable 7434b8cc5c131376694be27d
      1592 voltctl logicaldevice flows 076D384C3A20
      1593 voltctl logicaldevice list
      1594 voltctl device list
      1595 voltctl device delete 7434b8cc5c131376694be27d
      1596 voltctl device list
      1597 voltctl device delete 7434b8cc5c131376694be27d
      1598 voltctl device list
      1599 voltctl device list --filter AdminState=DISABLED
      1600 voltctl device list --filter AdminState=DISABLED -q
      1601 voltctl device delet $(voltctl device list --filter AdminState=DISABLED -q)
      1602 voltctl device delete $(voltctl device list --filter AdminState=DISABLED -q)
      1603 voltctl device list
      1604 voltctl device delete $(voltctl device list --filter AdminState=DELETED -q)
      1605 voltctl device list
      1606 voltctl device delete $(voltctl device list -q)
      1607 voltctl device list
      1608 ./voltha-debug-dump.sh

       

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            dbainbri David Bainbridge
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes