[EnMasse] what am I doing wrong?

Ulf Lilleengen lulf at redhat.com
Thu Aug 9 07:55:09 UTC 2018


I think i see the issue. It looks like REGISTER_API_SERVER=true by default
in the 'make systemtest' target. If you edit line 51 in the makefile, you
can change that from true to false, and it will not assume you have
deployed with the custom resources integration.

IMO it should at minimum be configurable and ideally opt-in, not opt-out.

On Thu, Aug 9, 2018 at 9:47 AM Gordon Sim <gsim at redhat.com> wrote:

> On 09/08/18 08:41, Ulf Lilleengen wrote:
> > How do you deploy EnMasse? Could you share more of the log? It should
> > print which URL it tries to access where its getting the 404.
>
> I used the deploy script:
>
>     ./templates/install/deploy.sh -o multitenant -a "standard none"
>
> > -------------------------------------------------------
> >  T E S T S
> > -------------------------------------------------------
> > Running io.enmasse.systemtest.brokered.SmokeTest
> > 22:24:06,645 [main] INFO
> io.enmasse.systemtest.timemeasuring.TimeMeasuringSystem - Start time of
> operation TEST_EXECUTION is correctly stored
> > 22:24:06,646 [main] INFO io.enmasse.systemtest.ability.ITestSeparator -
> ####################################################################################################
> > 22:24:06,646 [main] INFO io.enmasse.systemtest.ability.ITestSeparator -
> io.enmasse.systemtest.brokered.SmokeTest.testCreateDeleteAddressSpace-STARTED
> > 22:24:07,953 [main] INFO io.enmasse.systemtest.bases.TestBaseWithShared
> - Test is running in multitenant mode
> > 22:24:07,953 [main] INFO
> io.enmasse.systemtest.timemeasuring.TimeMeasuringSystem - Start time of
> operation CREATE_ADDRESS_SPACE-58573fd8 is correctly stored
> > 22:24:07,953 [main] INFO
> io.enmasse.systemtest.apiclients.AddressApiClient - GET-address-spaces:
> path /apis/enmasse.io/v1alpha1/namespaces/myproject/addressspaces;
> endpoint 127.0.0.1:8443;
>
> Is that endpoint right? When manually creating addressspaces I use the
> restapi route.
>
> > 22:24:09,147 [vert.x-eventloop-thread-0] WARN
> io.enmasse.systemtest.apiclients.ApiClient - Error: get address spaces
> > io.vertx.core.json.DecodeException: Failed to decode: Can not
> deserialize instance of java.util.LinkedHashMap out of VALUE_NUMBER_INT
> token
> >  at [Source: 404 page not found
> > ; line: 1, column: 1]
> >       at io.vertx.core.json.Json.decodeValue(Json.java:119)
> >       at io.vertx.core.json.JsonObject.fromJson(JsonObject.java:948)
> >       at io.vertx.core.json.JsonObject.<init>(JsonObject.java:47)
> >       at
> io.vertx.ext.web.codec.impl.BodyCodecImpl.lambda$static$1(BodyCodecImpl.java:38)
> >       at
> io.vertx.ext.web.codec.impl.BodyCodecImpl$1.end(BodyCodecImpl.java:101)
> >       at
> io.vertx.ext.web.client.impl.HttpContext.lambda$null$4(HttpContext.java:144)
> >       at
> io.vertx.core.http.impl.HttpClientResponseImpl.handleEnd(HttpClientResponseImpl.java:256)
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/enmasse/attachments/20180809/daef5fea/attachment.htm>


More information about the enmasse mailing list