[AAA-20] java.lang.NullPointerException at org.opendaylight.aaa.sts.TokenAuthFilter Created: 23/Sep/14 Updated: 21/Mar/19 Resolved: 02/Oct/14 |
|
| Status: | Verified |
| Project: | aaa |
| Component/s: | General |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | RichardHill | Assignee: | Liem Nguyen |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Attachments: |
|
| External issue ID: | 2057 |
| Description |
|
When starting ODL with config in attachment, saw this warning. logs are also attached. I tried and failed to replicate this bug by dl and manually installing the same odl version so it may be a problem created by automated test framework.
|
| Comments |
| Comment by RichardHill [ 23/Sep/14 ] |
|
Attachment opendaylight.tar(1).xz has been added with description: odl config ang logs |
| Comment by Liem Nguyen [ 23/Sep/14 ] |
|
This issue is likely caused by the fact that Restconf is accessed (and hence the Auth filter invoked) before AAA (odl-aaa-authn feature) is fully started. |
| Comment by Liem Nguyen [ 23/Sep/14 ] |
|
Short term fix will be for AAA to return a 503 (Service Unavailable). Longer term fix to specify a dependency on odl-aaa-authn in Restconf. |
| Comment by Liem Nguyen [ 23/Sep/14 ] |
|
AAA service now returns 503 (Service Unavailable) if it is accessed before completely started up. Upon receiving this error code, clients/test code can retry accessing Restconf/REST API at a later time. |
| Comment by Liem Nguyen [ 23/Sep/14 ] |