Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stuck in 403 state for logins #2

Open
bluecmd opened this issue Dec 28, 2020 · 3 comments
Open

Stuck in 403 state for logins #2

bluecmd opened this issue Dec 28, 2020 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@bluecmd
Copy link
Owner

bluecmd commented Dec 28, 2020

For some reason the exporter is now not able to talk to my V7000 G2 enclosure.

Likely this will be solved by a restart, and maybe this was caused by some brute force protection?

Nov 12 00:10:18 debian spectrum_virtualize_exporter[126738]: 2020/11/12 00:10:18 Error: Response code was 500, expected 200
Nov 12 00:10:18 debian spectrum_virtualize_exporter[126738]: 2020/11/12 00:10:18 Probe of "https://tera.xxx:7443" failed, took 0.496 seconds
Nov 12 00:10:23 debian spectrum_virtualize_exporter[126738]: 2020/11/12 00:10:23 Error: Response code was 500, expected 200
Nov 12 00:10:23 debian spectrum_virtualize_exporter[126738]: 2020/11/12 00:10:23 Probe of "https://tera.xxx:7443" failed, took 0.465 seconds
Nov 12 00:10:28 debian spectrum_virtualize_exporter[126738]: 2020/11/12 00:10:28 Error: Response code was 500, expected 200
Nov 12 00:10:28 debian spectrum_virtualize_exporter[126738]: 2020/11/12 00:10:28 Probe of "https://tera.xxx:7443" failed, took 0.464 seconds
Nov 12 00:10:33 debian spectrum_virtualize_exporter[126738]: 2020/11/12 00:10:33 Error: Response code was 500, expected 200
Nov 12 00:10:33 debian spectrum_virtualize_exporter[126738]: 2020/11/12 00:10:33 Probe of "https://tera.xxx:7443" failed, took 0.465 seconds
Nov 12 00:10:38 debian spectrum_virtualize_exporter[126738]: 2020/11/12 00:10:38 Error: Response code was 500, expected 200
Nov 12 00:10:38 debian spectrum_virtualize_exporter[126738]: 2020/11/12 00:10:38 Probe of "https://tera.xxx:7443" failed, took 0.467 seconds
Nov 12 00:10:43 debian spectrum_virtualize_exporter[126738]: 2020/11/12 00:10:43 Probe request rejected; error is: Login code was 403, expected 200
Nov 12 00:10:48 debian spectrum_virtualize_exporter[126738]: 2020/11/12 00:10:48 Probe request rejected; error is: Login code was 403, expected 200
Nov 12 00:10:53 debian spectrum_virtualize_exporter[126738]: 2020/11/12 00:10:53 Probe request rejected; error is: Login code was 403, expected 200
Nov 12 00:10:58 debian spectrum_virtualize_exporter[126738]: 2020/11/12 00:10:58 Probe request rejected; error is: Login code was 403, expected 200
Nov 12 00:11:03 debian spectrum_virtualize_exporter[126738]: 2020/11/12 00:11:03 Probe request rejected; error is: Login code was 403, expected 200
Nov 12 00:11:08 debian spectrum_virtualize_exporter[126738]: 2020/11/12 00:11:08 Probe request rejected; error is: Login code was 403, expected 200
Nov 12 00:11:13 debian spectrum_virtualize_exporter[126738]: 2020/11/12 00:11:13 Probe request rejected; error is: Login code was 403, expected 200
Nov 12 00:11:18 debian spectrum_virtualize_exporter[126738]: 2020/11/12 00:11:18 Probe request rejected; error is: Login code was 403, expected 200
Nov 12 00:11:23 debian spectrum_virtualize_exporter[126738]: 2020/11/12 00:11:23 Probe request rejected; error is: Login code was 403, expected 200
Nov 12 00:11:28 debian spectrum_virtualize_exporter[126738]: 2020/11/12 00:11:28 Probe request rejected; error is: Login code was 403, expected 200
Nov 12 00:11:33 debian spectrum_virtualize_exporter[126738]: 2020/11/12 00:11:33 Probe request rejected; error is: Login code was 403, expected 200
@matejzero
Copy link

Are you able to connect via cURL?
The 500 response codes are weird. can you add more debug to see which request returns 500?

Have a look at chsessionpolicy and lssessionpolicy commands.

I just found out your exporter while looking for something to monitor my Storwize and SVC storages. Will have a look at it tomorrow.

@bluecmd
Copy link
Owner Author

bluecmd commented Jan 19, 2021

Hi! Thanks @matejzero, I was not aware of those commands.

I was not able to connect to the API using curl, I added new users and even superuser was denied access.
A restart of both controllers solved the issue for me.

If it happens next time I will check the commands and add the output here.

@bluecmd bluecmd self-assigned this Jan 22, 2021
@bluecmd bluecmd added the bug Something isn't working label Jan 22, 2021
@olemyk
Copy link

olemyk commented Sep 22, 2022

FYI. those command chsessionspolicy is for Unified system, not the SpecV software.
Unified is/was a fileheader that runs GPFS with protocols, SMB,NFS, Object. that system is not sold anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants