Skip to content

The authentication is not working properly #3

Description

@The-Debarghya

I've carefully followed all the instructions to run the AAA test, but it keeps looping with these log messages:

onos-1               | 18:04:48.640 WARN  [StateMachine$Pending] START transition from this state is not allowed.
onos-1               | 18:04:48.640 INFO  [AaaManager] Auth event STARTED for of:0000000000000002/1
onos-1               | 18:04:48.642 INFO  [StateMachine] Current State 2
onos-1               | 18:04:48.644 WARN  [StateMachine$Pending] REQUEST ACCESS transition from this state is not allowed.
onos-1               | 18:04:48.644 INFO  [AaaManager] Auth event REQUESTED for of:0000000000000002/1
onos-1               | 18:04:48.646 INFO  [StateMachine] Current State 2

and the authentication doesn't go into authenticated state at all, it keeps showing:

mininet> h2 wpa_supplicant -Dwired -ih2-eth0 -c/etc/config/wpa_supplicant.conf
Successfully initialized wpa_supplicant
h2-eth0: Associated with 01:80:c2:00:00:03
h2-eth0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
h2-eth0: CTRL-EVENT-EAP-STARTED EAP authentication started
h2-eth0: CTRL-EVENT-EAP-STARTED EAP authentication started
h2-eth0: CTRL-EVENT-EAP-STARTED EAP authentication started
h2-eth0: CTRL-EVENT-EAP-STARTED EAP authentication started
h2-eth0: CTRL-EVENT-EAP-STARTED EAP authentication started
h2-eth0: CTRL-EVENT-EAP-STARTED EAP authentication started
h2-eth0: CTRL-EVENT-EAP-STARTED EAP authentication started
h2-eth0: CTRL-EVENT-EAP-STARTED EAP authentication started
h2-eth0: CTRL-EVENT-EAP-STARTED EAP authentication started
h2-eth0: CTRL-EVENT-EAP-STARTED EAP authentication started
h2-eth0: CTRL-EVENT-EAP-STARTED EAP authentication started

I checked the subsId field is UNKNOWN, is that the problem?

karaf@root > aaa-users                                                                                           18:14:23
18:17:50.425 WARN  [SubscriberManager] Data not found for id s1-eth1
of:0000000000000001/1: STARTED_STATE, last-changed=25s ago, mac=00:00:00:00:00:01, subid=UNKNOWN, username=admin
18:17:50.431 WARN  [SubscriberManager] Data not found for id s2-eth1
of:0000000000000002/1: PENDING_STATE, last-changed=15m41s ago, mac=00:00:00:00:00:02, subid=UNKNOWN, username=admin

Please tell me possible fixes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions