Ask Your Question
0

The operation could not be completed because RBACs database has not been initialized

asked 2018-05-08 07:22:29 -0500

sk14188 gravatar image

I am installing PE on ec2 centOS7.5. Installation fails with below error.

Error:::: 2018-05-08 12:13:37,485 - [Error]: Failed to apply catalog: Received 5 server error responses from the Node Manager service at https://localhost:4433/classifier-api: 500 <meta content="text/html;charset=utf-8" http-equiv="Content-Type"/> <title>Error 500 Server Error</title>

HTTP ERROR 500

Problem accessing /classifier-api/v1/update-classes. Reason:

 Server Error

Caused by:

clojure.lang.ExceptionInfo: throw+: {:kind :puppetlabs.rbac/db-not-initialized, :msg "The operation could not be completed because RBACs database has not been initialized."} {:kind :puppetlabs.rbac/db-not-initialized, :msg "The operation could not be completed because RBACs database has not been initialized."}
at slingshot.support$stack_trace.invoke(support.clj:201)
at puppetlabs.rbac.services.rbac$realize_service_promise.invokeStatic(rbac.clj:110)
at puppetlabs.rbac.services.rbac$realize_service_promise.invoke(rbac.clj:101)
at puppetlabs.rbac.services.rbac$reify_29727$service_fnk5265auto_positional$reify_29738.security_manager(rbac.clj:360)
at puppetlabs.rbac.services.rbac$eval29508$fn_29535$G29482_29537.invoke(rbac.clj:29)
at puppetlabs.rbac.services.rbac$eval29508$fn_29535$G29481_29540.invoke(rbac.clj:29)
at clojure.core$partial$fn__4759.invoke(core.clj:2514)
at puppetlabs.rbac.http.middleware.authentication$wrap_session_access_STAR_$fn__28953.invoke(authentication.clj:117)
at ring.middleware.params$wrap_params$fn__18520.invoke(params.clj:64)
at ring.middleware.keyword_params$wrap_keyword_params$fn__18270.invoke(keyword_params.clj:35)
at puppetlabs.classifier.http.middleware$wrap_authn_errors$fn__36403.invoke(middleware.clj:601)
at puppetlabs.i18n.core$locale_negotiator$fn__124.invoke(core.clj:357)
at ring.util.servlet$make_service_method$fn__29890.invoke(servlet.clj:129)
at ring.util.servlet$servlet$fn__29894.invoke(servlet.clj:139)
at ring.util.servlet.proxy$javax.servlet.http.HttpServlet$ff19274a.service(Unknown Source)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:841)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1634)
at puppetlabs.trapperkeeper.services.webserver.normalized_uri_helpers$eval40976$normalized_uri_filter_40981$fn$reify_40983.doFilter(normalized_uri_helpers.clj:112)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1621)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:541)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:481)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:219)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:454)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:56)
at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:169)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org ...
(more)
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2018-05-08 13:38:55 -0500

binford2k gravatar image

Hi Subodh! Based on internal conversation on the ticket you filed, it appears that this is a transient issue that rarely shows up. Being that you also had a Postgresql issue, can you try installing again on a fresh instance? If it still fails, you should follow updates on ENTERPRISE-1166.

edit flag offensive delete link more
0

answered 2018-05-08 21:12:16 -0500

sk14188 gravatar image

Hi. The issue with PostgreSQL has been resolved and pe-PostgreSQL service started successfully. I am not getting PostgreSQL error anymore.

But still getting mention error and PE installation fails.

I have tried reinstalling multiple time but every time I am getting the same error.

Port 4433 is open on localhost. I am able to do telnet on 4433 port.

Selinux is disable.

Please help me to resolve this issue.

Regards. Subodh

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-05-08 07:22:29 -0500

Seen: 62 times

Last updated: May 08