Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Cloudbreak on mesos: Credentials entry error "Failed to import Mesos/Marathon stack.: Internal server error: java.lang.NullPointerException"

Highlighted

Cloudbreak on mesos: Credentials entry error "Failed to import Mesos/Marathon stack.: Internal server error: java.lang.NullPointerException"

New Contributor

DCOS up and running

Marathon API available at http://192.168.65.90:8080/v2/info

cbd doctor shows all healthy

[root@p1 cloudbreak-deployment]# cbd doctor
===> Deployer doctor: Checks your environment, and reports a diagnose.
uname: Linux p1.dcos 3.10.0-514.el7.x86_64 #1 SMP Tue Nov 22 16:42:41 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
local version:1.16.4
latest release:1.16.4
docker images:
 hortonworks/haveged:1.1.0
 hortonworks/socat:1.0.0
 hortonworks/cbd-smartsense:0.10.0
 hortonworks/cloudbreak-uaa:3.6.5
 hortonworks/cloudbreak:1.16.4
 hortonworks/cb-auth:1.16.4
 hortonworks/cb-web:1.16.4
 hortonworks/cloudbreak-autoscale:1.16.4
docker command exists: OK
docker client version: 17.05.0-ce
docker client version: 17.05.0-ce
ping 8.8.8.8 on host: OK
ping github.com on host: OK
ping 8.8.8.8 in container: OK
ping github.com in container: OK
[root@p1 cloudbreak-deployment]#

However entering Mesos credentials information in cloudbreak GUI results in

Failed to import Mesos/Marathon stack.: Internal server error: java.lang.NullPointerException 

and cbd error log:

/cbreak_cloudbreak_1 | 2017-10-06 13:07:53,756 [http-nio-8080-exec-9] getStackParams:44 DEBUG c.s.c.s.s.StackParameterService - [owner:4fb8a6aa-3375-4807-853e-2d37246fcff7] [type:springLog] [id:] [name:] Get stack params
/cbreak_cloudbreak_1 | 2017-10-06 13:07:53,758 [http-nio-8080-exec-9] getStackParams:44 DEBUG c.s.c.s.s.StackParameterService - [owner:4fb8a6aa-3375-4807-853e-2d37246fcff7] [type:springLog] [id:] [name:] Get stack params
/cbreak_cloudbreak_1 | 2017-10-06 13:07:53,822 [http-nio-8080-exec-9] checkAndGetPlatformVariant:182 DEBUG c.s.c.s.s.c.a.ServiceProviderConnectorAdapter - [owner:undefined] [type:STACK] [id:undefined] [name:localdcos] Get platform variant for: com.sequenceiq.cloudbreak.domain.Stack@47636967
/cbreak_cloudbreak_1 | 2017-10-06 13:07:53,825 [reactorDispatcher-12] buildLogContextForReactorHandler:48 INFO  c.s.c.l.LogContextAspects - [owner:4fb8a6aa-3375-4807-853e-2d37246fcff7] [type:springLog] [id:null] [name:localdcos] A Reactor event handler's 'accept' method has been intercepted: execution(CheckPlatformVariantHandler.accept(..)), MDC logger context is built.
/cbreak_cloudbreak_1 | 2017-10-06 13:07:53,826 [reactorDispatcher-12] accept:31 INFO  c.s.c.c.h.CheckPlatformVariantHandler - [owner:4fb8a6aa-3375-4807-853e-2d37246fcff7] [type:springLog] [id:null] [name:localdcos] Received event: Event{id=null, headers=null, replyTo=null, key=CHECKPLATFORMVARIANTREQUEST, data=CheckPlatformVariantRequest{}}
/cbreak_cloudbreak_1 | 2017-10-06 13:07:53,827 [http-nio-8080-exec-9] checkAndGetPlatformVariant:191 INFO  c.s.c.s.s.c.a.ServiceProviderConnectorAdapter - [owner:undefined] [type:STACK] [id:undefined] [name:localdcos] Platform variant result: CloudPlatformResult{status=FAILED, statusReason='null', errorDetails=java.lang.NullPointerException, request=CheckPlatformVariantRequest{}}
/cbreak_cloudbreak_1 | 2017-10-06 13:07:53,835 [http-nio-8080-exec-9] checkAndGetPlatformVariant:193 ERROR c.s.c.s.s.c.a.ServiceProviderConnectorAdapter - [owner:undefined] [type:STACK] [id:undefined] [name:localdcos] Failed to get platform variant
/cbreak_cloudbreak_1 | java.lang.NullPointerException: null
/cbreak_cloudbreak_1 |  at com.sequenceiq.cloudbreak.cloud.handler.CheckPlatformVariantHandler.accept(CheckPlatformVariantHandler.java:35)
/cbreak_cloudbreak_1 |  at com.sequenceiq.cloudbreak.cloud.handler.CheckPlatformVariantHandler.accept(CheckPlatformVariantHandler.java:17)
/cbreak_cloudbreak_1 |  at com.sequenceiq.cloudbreak.cloud.handler.CheckPlatformVariantHandler$$FastClassBySpringCGLIB$$5fcc4c37.invoke(<generated>)
/cbreak_cloudbreak_1 |  at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
...

Any help would be appreciated.

1 REPLY 1

Re: Cloudbreak on mesos: Credentials entry error "Failed to import Mesos/Marathon stack.: Internal server error: java.lang.NullPointerException"

Contributor

Hi, Mesos provider support was in tech preview and there were some issues preventing this feature from going to GA and support for this item is removed from future roadmap. Unfortunately our documentation and UI hasn't been updated yet, we have filed a documentation ticket to finish those as well. Sorry for the inconvinience caused.