-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Minor
-
Resolution: Done
-
Affects Version/s: 1.1.0
-
Fix Version/s: 1.5.0
-
Component/s: None
-
Labels:None
-
Environment:
ONOS 1.1 maintenance branch (commit ) + linc OE + mininet
-
Epic Link:
-
Sprint:Drake Sprint 0 (6/22-6/26), Drake Sprint 1 (7/6-7/24), Drake Sprint 2 (7/27-8/14) 2, Emu Sprint 2 (10/12-10/30)
When I try to create more than one intent, I get the following exception:
2015-04-13 14:14:48,807 | ERROR | -intent-worker-0 | HazelcastLinkResourceStore | 163 - org.onosproject.onos-core-dist - 1.1.1.SNAPSHOT | Exception thrown, rolling back
org.onosproject.net.resource.ResourceAllocationException: Unable to allocate lambda for link DefaultLink{src=ConnectPoint
, dst=ConnectPoint
{elementId=of:0000ffffffffff0e, portNumber=101}, type=OPTICAL, state=ACTIVE, durable=t
rue} lambda is 1
at org.onosproject.store.resource.impl.HazelcastLinkResourceStore.allocateLinkResource(HazelcastLinkResourceStore.java:398)[163:org.onosproject.onos-core-dist:1.1.1.SNAPSHOT]
at org.onosproject.store.resource.impl.HazelcastLinkResourceStore.allocateResources(HazelcastLinkResourceStore.java:345)[163:org.onosproject.onos-core-dist:1.1.1.SNAPSHOT]
at org.onosproject.net.resource.impl.LinkResourceManager.requestResources(LinkResourceManager.java:207)[161:org.onosproject.onos-core-net:1.1.1.SNAPSHOT]
at org.onosproject.net.intent.impl.installer.OpticalPathIntentInstaller.assignWavelength(OpticalPathIntentInstaller.java:122)[161:org.onosproject.onos-core-net:1.1.1.SNAPSHOT]
at org.onosproject.net.intent.impl.installer.OpticalPathIntentInstaller.install(OpticalPathIntentInstaller.java:96)[161:org.onosproject.onos-core-net:1.1.1.SNAPSHOT]
at org.onosproject.net.intent.impl.installer.OpticalPathIntentInstaller.install(OpticalPathIntentInstaller.java:60)[161:org.onosproject.onos-core-net:1.1.1.SNAPSHOT]
at org.onosproject.net.intent.impl.InstallerRegistry.coordinate(InstallerRegistry.java:153)[161:org.onosproject.onos-core-net:1.1.1.SNAPSHOT]
at org.onosproject.net.intent.impl.IntentManager$InternalIntentProcessor.coordinate(IntentManager.java:374)[161:org.onosproject.onos-core-net:1.1.1.SNAPSHOT]
at org.onosproject.net.intent.impl.phase.InstallCoordinating.execute(InstallCoordinating.java:52)[161:org.onosproject.onos-core-net:1.1.1.SNAPSHOT]
at org.onosproject.net.intent.impl.phase.IntentWorker.call(IntentWorker.java:48)[161:org.onosproject.onos-core-net:1.1.1.SNAPSHOT]
at org.onosproject.net.intent.impl.phase.IntentWorker.call(IntentWorker.java:27)[161:org.onosproject.onos-core-net:1.1.1.SNAPSHOT]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_40]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_40]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_40]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_40]
2015-04-13 14:14:50,062 | WARN | nos-intent-batch | IntentManager | 161 - org.onosproject.onos-core-net - 1.1.1.SNAPSHOT | Future failed: {}
java.util.concurrent.ExecutionException: org.onosproject.net.resource.ResourceAllocationException: Unable to allocate lambda for link DefaultLink{src=ConnectPoint
, dst=ConnectPoint
{elementId=of:0000ffffffffff0e, portNumber=10 1}, type=OPTICAL, state=ACTIVE, durable=true} lambda is 1
at java.util.concurrent.FutureTask.report(FutureTask.java:122)[:1.8.0_40]
at java.util.concurrent.FutureTask.get(FutureTask.java:192)[:1.8.0_40]
at org.onosproject.net.intent.impl.IntentManager$IntentBatchProcess.waitForFutures(IntentManager.java:340)[161:org.onosproject.onos-core-net:1.1.1.SNAPSHOT]
at org.onosproject.net.intent.impl.IntentManager$IntentBatchProcess.run(IntentManager.java:315)[161:org.onosproject.onos-core-net:1.1.1.SNAPSHOT]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_40]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_40]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_40]
Caused by: org.onosproject.net.resource.ResourceAllocationException: Unable to allocate lambda for link DefaultLink{src=ConnectPoint
, dst=ConnectPoint
{elementId=of:0000ffffffffff0e, portNumber=101}, type=OPTICAL, state=ACTIVE, durable=true} lambda is 1
at org.onosproject.store.resource.impl.HazelcastLinkResourceStore.allocateLinkResource(HazelcastLinkResourceStore.java:398)[163:org.onosproject.onos-core-dist:1.1.1.SNAPSHOT]
at org.onosproject.store.resource.impl.HazelcastLinkResourceStore.allocateResources(HazelcastLinkResourceStore.java:345)[163:org.onosproject.onos-core-dist:1.1.1.SNAPSHOT]
at org.onosproject.net.resource.impl.LinkResourceManager.requestResources(LinkResourceManager.java:207)[161:org.onosproject.onos-core-net:1.1.1.SNAPSHOT]
at org.onosproject.net.intent.impl.installer.OpticalPathIntentInstaller.assignWavelength(OpticalPathIntentInstaller.java:122)[161:org.onosproject.onos-core-net:1.1.1.SNAPSHOT]
at org.onosproject.net.intent.impl.installer.OpticalPathIntentInstaller.install(OpticalPathIntentInstaller.java:96)[161:org.onosproject.onos-core-net:1.1.1.SNAPSHOT]
at org.onosproject.net.intent.impl.installer.OpticalPathIntentInstaller.install(OpticalPathIntentInstaller.java:60)[161:org.onosproject.onos-core-net:1.1.1.SNAPSHOT]
at org.onosproject.net.intent.impl.InstallerRegistry.coordinate(InstallerRegistry.java:153)[161:org.onosproject.onos-core-net:1.1.1.SNAPSHOT]
at org.onosproject.net.intent.impl.IntentManager$InternalIntentProcessor.coordinate(IntentManager.java:374)[161:org.onosproject.onos-core-net:1.1.1.SNAPSHOT]
at org.onosproject.net.intent.impl.phase.InstallCoordinating.execute(InstallCoordinating.java:52)[161:org.onosproject.onos-core-net:1.1.1.SNAPSHOT]
at org.onosproject.net.intent.impl.phase.IntentWorker.call(IntentWorker.java:48)[161:org.onosproject.onos-core-net:1.1.1.SNAPSHOT]
at org.onosproject.net.intent.impl.phase.IntentWorker.call(IntentWorker.java:27)[161:org.onosproject.onos-core-net:1.1.1.SNAPSHOT]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_40]
... 3 more