thelastpickle / cassandra-reaper

Automated Repair Awesomeness for Apache Cassandra
http://cassandra-reaper.io/
Apache License 2.0
487 stars 217 forks source link

Reaper not starting after enabling UI Authentication #438

Closed kptnew3 closed 2 years ago

kptnew3 commented 6 years ago

Spotted on 1.1.0 (03ce27f) Hi,

I enabled the Shiro UI authentication as described in the documentation on cassandra-reaper.io, however after that I restarted the service but reaper didn't start and UI stopped showing up.

Here are the settings:

cassandra-reaper.yaml:

accessControl: sessionTimeout: PT10M shiro:

iniConfigs: ["file:/etc/cassandra-reaper/shiro.ini"]

/etc/cassandra-reaper/shiro.ini

[main] authc = org.apache.shiro.web.filter.authc.PassThruAuthenticationFilter authc.loginUrl = /webui/login.html

[users] reaper= reaper

[urls]

Allow anonynous access to login page (and dependencies), but no other pages

/webui/ = authc /webui = authc /webui/login.html = anon /webui/.html = authc /webui/.js = anon /ping = anon /login = anon /** = anon

Can you let me know if there is anything additional required.

Regards, Gagan

┆Issue is synchronized with this Jira Task by Unito ┆Issue Number: K8SSAND-353

shawnbutts commented 6 years ago

As far as I can tell, this is caused by the same "bug" as https://github.com/thelastpickle/cassandra-reaper/issues/407.

It's in the docs as being in 1.1. But, is not actually in 1.1 and only available on master.

Since I have also wasted a bit of my time trying to troubleshoot this same issue, perhaps someone with the power could take time to update the official docs(cassandra-reaper.io/)to match reality of 1.1 or release 1.1++ to make reality match the docs.

kptnew3 commented 6 years ago

Thanks a lot Shawn for your time in answering the query. This saved me lot of time by avoiding to try further experiments.

I would check beta version 1.2 if that works and would post my updates.

Thanks again! Gagan

On Wed, Jun 6, 2018, 10:54 PM Shawn Butts notifications@github.com wrote:

As far as I can tell, this is caused by the same "bug" as #407 https://github.com/thelastpickle/cassandra-reaper/issues/407.

It's in the docs as being in 1.1. But, is not actually in 1.1 and only available on master.

Since I have also wasted a bit of my time trying to troubleshoot this same issue, perhaps someone with the power could take time to update the official docs(cassandra-reaper.io/)to match reality of 1.1 or release 1.1++ to make reality match the docs.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/thelastpickle/cassandra-reaper/issues/438#issuecomment-395148339, or mute the thread https://github.com/notifications/unsubscribe-auth/Alp1Tjc6AEDGftYdvnEHYqn6BABu9F31ks5t6BAugaJpZM4UcVJK .