[AAA-126] Unable to start blueprint container for bundle org.opendaylight.aaa.idmlight Created: 04/May/17 Updated: 21/Mar/19 Resolved: 09/May/17 |
|
| Status: | Verified |
| Project: | aaa |
| Component/s: | General |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Ivan Hrasko | Assignee: | Andrej Mak |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Issue Links: |
|
||||||||||||
| External issue ID: | 8373 | ||||||||||||
| Description |
|
2017-05-04 14:13:27,606 | ERROR | rint Extender: 3 | BlueprintContainerImpl | 11 - org.apache.aries.blueprint.core - 1.7.1 | Unable to start blueprint container for bundle org.opendaylight.aaa.idmlight/0.5.0.SNAPSHOT due to unresolved dependencies [(objectClass=org.opendaylight.aaa.api.IIDMStore)] |
| Comments |
| Comment by Ivan Hrasko [ 04/May/17 ] |
|
This blocks 8364. After second installation of odl-restconf feature aaa is not initialized again. |
| Comment by Ryan Goulding [ 04/May/17 ] |
|
Only on second installation of odl-restconf? |
| Comment by Colin Dixon [ 04/May/17 ] |
|
I suspect that this is basically that idmlight doesn't handle being reloaded well, and that Karaf 4's default lifecycle management is reloading when later features are installed because they include aaa (transitively?) and don't use dependency=true in the inclusion. See: https://lists.opendaylight.org/pipermail/release/2017-May/010691.html That being said, I don't have a great way to test it. I think Lori (now cc'ed on the bug) is also seeing this though. |
| Comment by Lori Jakab [ 04/May/17 ] |
|
I just encountered this bug yesterday. I built integration/distribution and started karaf. The container comes up with just the basic karaf features, no Opendaylight features, as expected. I loaded odl-lispflowmapping-msmr manually from the console. Things work well for southbound only operations. When I try to use RESTCONF, on the client side I get 401 unauthorized, and the karaf console throws this excpetion: 2017-05-04 06:37:04,085 | ERROR | rint Extender: 1 | BlueprintContainerImpl | 11 - org.apache.aries.blueprint.core - 1.7.1 | Unable to start blueprint container for bundle org.opendaylight.aaa.idmlight/0.5.0.SNAPSHOT due to unresolved dependencies [(objectClass=org.opendaylight.aaa.api.IIDMStore)] |
| Comment by Vina Ermagan [ 04/May/17 ] |
|
I have also seen this error intermittently failing odl-vbd-distribution in Nitrogen. E.g: https://logs.opendaylight.org/releng/jenkins092/vbd-distribution-check-nitrogen/23/console.log.gz "2017-05-02 17:06:42,391 | ERROR | rint Extender: 1 | BlueprintContainerImpl | 69 - org.apache.aries.blueprint.core - 1.7.1 | Unable to start blueprint container for bundle org.opendaylight.aaa.idmlight/0.6.0.SNAPSHOT due to unresolved dependencies [(objectClass=org.opendaylight.aaa.api.IIDMStore)] |
| Comment by Andrej Mak [ 04/May/17 ] |
|
Not sure if this is correct solution, but we can set destroy method for blueprint container, which closes its resources. |
| Comment by Ryan Goulding [ 04/May/17 ] |
|
Not sure that fixes this issue, but I merged since it was definitely needed either way. Anyone still seeing this? |
| Comment by Ivan Hrasko [ 05/May/17 ] |
|
It looks to be fixed. |
| Comment by Ryan Goulding [ 05/May/17 ] |
|
Awesome, thanks Ivan and Andrej. Please switch to "Verified" if this has been verified fixed. |
| Comment by Ivan Hrasko [ 09/May/17 ] |
|
I have verified that problem was fixed. |