opendatadiscovery / odd-platform

First open-source data discovery and observability platform. We make a life for data practitioners easy so you can focus on your business.
https://opendatadiscovery.org
Apache License 2.0
1.19k stars 98 forks source link

Unable to create Policies in ODD Platform #1619

Closed mavenzer closed 6 months ago

mavenzer commented 6 months ago

We have deployed the ODD Platform(0.23.1) in K8s cluster using Helm charts. I have added OAUTH for authentication of the users and assigned myself as an ADMIN users in the Deployment Config

We are unable to create policies(Even though I'm ADMIN user)

ODD Web Interface when I viewed the source (has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource)

policies

Logs in ODD platform looks clean


  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::                (v3.1.0)

2024-02-13T15:39:47.255Z  INFO 1 --- [           main] o.o.oddplatform.ODDPlatformApplication   : Starting ODDPlatformApplication using Java 17.0.2 with PID 1 (/app/classes started by 1005330000 in /app)
2024-02-13T15:39:47.258Z  INFO 1 --- [           main] o.o.oddplatform.ODDPlatformApplication   : No active profile set, falling back to 1 default profile: "default"
2024-02-13T15:39:51.262Z  INFO 1 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode
2024-02-13T15:39:51.316Z  INFO 1 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2024-02-13T15:39:51.539Z  INFO 1 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 212 ms. Found 0 Redis repository interfaces.
2024-02-13T15:39:54.039Z  INFO 1 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
2024-02-13T15:39:54.354Z  INFO 1 --- [           main] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@25c548d1
2024-02-13T15:39:54.355Z  INFO 1 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.
2024-02-13T15:39:54.545Z  INFO 1 --- [           main] o.f.core.internal.command.DbValidate     : Successfully validated 87 migrations (execution time 00:00.104s)
2024-02-13T15:39:54.621Z  INFO 1 --- [           main] o.f.core.internal.command.DbMigrate      : Current version of schema "public": 0.0.87
2024-02-13T15:39:54.621Z  INFO 1 --- [           main] o.f.core.internal.command.DbMigrate      : Schema "public" is up to date. No migration necessary.
2024-02-13T15:39:57.765Z  INFO 1 --- [           main] org.reflections.Reflections              : Reflections took 32 ms to scan 1 urls, producing 2 keys and 59 values
2024-02-13T15:39:59.425Z  INFO 1 --- [           main] ctiveUserDetailsServiceAutoConfiguration : 

Using generated security password: 00b96dc9-6905-4652-b7b0-e8eb3902ba9d

2024-02-13T15:40:01.342Z  INFO 1 --- [           main] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 4 endpoint(s) beneath base path '/actuator'
2024-02-13T15:40:02.533Z  INFO 1 --- [           main] o.s.b.web.embedded.netty.NettyWebServer  : Netty started on port 8080
2024-02-13T15:40:02.554Z  INFO 1 --- [           main] o.o.oddplatform.ODDPlatformApplication   : Started ODDPlatformApplication in 15.908 seconds (process running for 17.028)
2024-02-13T15:41:28.555Z  INFO 1 --- [or-http-epoll-3] org.jooq.Constants                       : 

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@  @@        @@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@        @@@@@@@@@@
@@@@@@@@@@@@@@@@  @@  @@    @@@@@@@@@@
@@@@@@@@@@  @@@@  @@  @@    @@@@@@@@@@
@@@@@@@@@@        @@        @@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@        @@        @@@@@@@@@@
@@@@@@@@@@    @@  @@  @@@@  @@@@@@@@@@
@@@@@@@@@@    @@  @@  @@@@  @@@@@@@@@@
@@@@@@@@@@        @@  @  @  @@@@@@@@@@
@@@@@@@@@@        @@        @@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@  @@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@  Thank you for using jOOQ 3.18.4

2024-02-13T15:41:28.556Z  INFO 1 --- [or-http-epoll-3] org.jooq.Constants                       : 

jOOQ tip of the day: You don't have to register your Converters or Bindings with the code generator. You can use ad-hoc converters on any Field expression: https://www.jooq.org/doc/latest/manual/sql-execution/fetching/ad-hoc-converter/

2024-02-13T15:51:41.520Z  WARN 1 --- [or-http-epoll-3] o.h.v.i.p.javabean.JavaBeanExecutable    : HV000254: Missing parameter metadata for AlertStatus(String, int, String), which declares implicit or synthetic parameters. Automatic resolution of generic type information for method parameters may yield incorrect results if multiple parameters have the same erasure. To solve this, compile your code with the '-parameters' flag.
2024-02-13T15:55:02.623Z  INFO 1 --- [   scheduling-1] o.j.i.D.logVersionSupport                : Version                  : Database version is supported by dialect POSTGRES: 15.3
AndreyNenashev commented 6 months ago

@mavenzer Hey, thanks for noticing. We released https://github.com/opendatadiscovery/odd-platform/releases/tag/0.23.2 so it should fix the policies issue