Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-6950

Annotate device doesn't work from STANDBY nodes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.9.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Story Points:
      1
    • Sprint:
      L Sprint #4 - Bugs

      Description

      From: https://groups.google.com/a/onosproject.org/forum/#!topic/onos-dev/orNSSTCPB7w
      I am using ONOS 1.9.0 and trying to apply annotations in cluster environment.

      onos> masters
      192.168.10.138: 0 devices
      192.168.10.139: 1 devices
      of:000100c88b56a3af
      192.168.10.140: 0 devices

      When I try to annotate device from a non-master node, I cannot apply the annotations:

      onos> annotate-device of:000100c88b56a3af rackAddress 1
      onos> devices
      id=of:000100c88b56a3af, available=true, local-status=connected 2s ago, role=STANDBY, type=SWITCH, mfr=Cisco Systems, Inc., hw=N9K-C9372PX-E V01, sw=7.0(3)I2(2)| of_agent 2.1.5, serial=SAL2003X3R5, driver=default, channelId=192.168.10.235:60007, dcNodeType=LEAF, managementAddress=192.168.10.235, name=leaf_cisco, protocol=OF_13, rackId=6, rackPosition=5

      No rackAddress annotation.

      But, when I do it from master node, it is successful:

      onos> annotate-device of:000100c88b56a3af rackAddress 1
      onos> devices
      id=of:000100c88b56a3af, available=true, local-status=connected 2s ago, role=MASTER, type=SWITCH, mfr=Cisco Systems, Inc., hw=N9K-C9372PX-E V01, sw=7.0(3)I2(2)| of_agent 2.1.5, serial=SAL2003X3R5, driver=default, channelId=192.168.10.235:60007, dcNodeType=LEAF, managementAddress=192.168.10.235, name=leaf_cisco, protocol=OF_13, rackAddress=1, rackId=6, rackPosition=5

      I know, we need to wait for 2-3 seconds before annotations are applied and I did that.

        Attachments

        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            palashk Palash Kala
            Reporter:
            palashk Palash Kala
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: