[EnMasse] Error creating address spaces in r17

Ulf Lilleengen lulf at redhat.com
Wed Feb 28 05:30:55 UTC 2018


Hi Nandan,

This is unfortunately a bug in the 0.17.0 ansible playbooks for 
multitenant configurations: 
https://github.com/EnMasseProject/enmasse/issues/938

You can try to patch the playbooks according to 
https://github.com/EnMasseProject/enmasse/commit/2f72178becafa55cbc529dc9f14fd52d5027dc36

Best regards,

Ulf

On 02/27/2018 09:31 PM, Nandan Joshi wrote:
> I built enmasse using the ansible playbook as::
> 
> % ansible-playbook -e namespace=amq-enmasse-4400 
> playbooks/openshift/multitenant.yml
> 
> When I try to create a standard or brokered address space, the address 
> controller does not recognize the plans {unlimited-standard, 
> unlimited-brokered}. Here's the address controller log::
> 
> 2018-02-27 20:23:08 ERROR HttpAddressSpaceService:48 - Error creating 
> address space brkaddrspace
> io.enmasse.address.model.UnresolvedAddressSpaceException: Unknown 
> address space plan unlimited-brokered
> at 
> io.enmasse.address.model.AddressSpaceResolver.lambda$getPlan$0(AddressSpaceResolver.java:16)
> at java.util.Optional.orElseThrow(Optional.java:290)
> at 
> io.enmasse.address.model.AddressSpaceResolver.getPlan(AddressSpaceResolver.java:16)
> at 
> io.enmasse.address.model.AddressSpaceResolver.validate(AddressSpaceResolver.java:33)
> at 
> io.enmasse.controller.api.v1.http.HttpAddressSpaceService.lambda$createAddressSpace$4(HttpAddressSpaceService.java:84)
> at 
> io.enmasse.controller.api.v1.http.HttpAddressSpaceService.doRequest(HttpAddressSpaceService.java:46)
> at 
> io.enmasse.controller.api.v1.http.HttpAddressSpaceService.createAddressSpace(HttpAddressSpaceService.java:81)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at 
> org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140)
> at 
> org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:294)
> at 
> org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:248)
> at 
> org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:235)
> at 
> org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:398)
> at 
> org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:205)
> at 
> org.jboss.resteasy.plugins.server.vertx.RequestDispatcher.service(RequestDispatcher.java:93)
> at 
> org.jboss.resteasy.plugins.server.vertx.VertxRequestHandler.lambda$handle$0(VertxRequestHandler.java:65)
> at 
> io.vertx.core.http.HttpServerRequest.lambda$bodyHandler$0(HttpServerRequest.java:209)
> at 
> io.vertx.core.http.impl.HttpServerRequestImpl.handleEnd(HttpServerRequestImpl.java:417)
> at 
> io.vertx.core.http.impl.Http1xServerConnection.handleLastHttpContent(Http1xServerConnection.java:462)
> at 
> io.vertx.core.http.impl.Http1xServerConnection.handleContent(Http1xServerConnection.java:457)
> at 
> io.vertx.core.http.impl.Http1xServerConnection.processMessage(Http1xServerConnection.java:437)
> at 
> io.vertx.core.http.impl.Http1xServerConnection.handleMessage(Http1xServerConnection.java:141)
> at 
> io.vertx.core.http.impl.HttpServerImpl$ServerHandlerWithWebSockets.handleMessage(HttpServerImpl.java:728)
> at 
> io.vertx.core.http.impl.HttpServerImpl$ServerHandlerWithWebSockets.handleMessage(HttpServerImpl.java:636)
> at 
> io.vertx.core.net.impl.VertxHandler.lambda$channelRead$1(VertxHandler.java:146)
> at io.vertx.core.impl.ContextImpl.lambda$wrapTask$2(ContextImpl.java:337)
> at io.vertx.core.impl.TaskQueue.run(TaskQueue.java:76)
> at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at 
> io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
> at java.lang.Thread.run(Thread.java:748)
> 2018-02-27 20:23:08 INFO  DefaultExceptionMapper:44 - Returning client 
> error HTTP status 400: Unknown address space plan unlimited-brokered
> 
> Thanks,
> 
> Nandan
> 




More information about the enmasse mailing list