-
Notifications
You must be signed in to change notification settings - Fork 14
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
[BUG]Undefined ZEBRA Login? #101
Comments
Thanks @erictreid1 - I believe this is a known issue regardless of docker or not. @salisbuk7897 can you take a look please? |
@erictreid1 Also, you don't need to log-in to use ZEBRA APIs or dashboard. It only requires if you choose to use GUI for changing settings for configuration. You can still do most of config/settings in src/confif/Zconfig.json as well as metrics.json...hope this helps. |
For sure, it's not preventing me from using this (Amazing!) tool, just a bit more of a pain for the config. |
Hi @erictreid1 , thanks for trying this tool! Just an update: We are currently in the process of converting this tool to TypeScript, and this issue should be fixed once that's released. |
Getting following error message when tried to change PW after login using default Admin/Admin password.
And this is the console message:
|
https://github.com/zowe/zebra/blob/main/src/Auth.js is the routing with update the password form. Thanks @salisbuk7897 ! |
Took a Look at the issue. Everything is working now. First time users can Login using Admin/Admin and change their password and username. A documentation on this is also provided under Documentation/User Documentation/Login.md @behives |
Thank you @salisbuk7897 ! As we verified during our scrum , it working as designed and we can close this issue.
Will merge to main. |
Describe the bug
Maybe this is a documentation bug, maybe I'm an idiot.
Used the docker version of ZEBRA, and edited the docker-compose.yml file because I have some other services that interfere with the ports. I then copied Zconfig.template.json to Zconfig.json and edited the ports, zOS RMF IP's/logins, etc to match what I know.
docker-compose-build runs pretty clean (don't see any port conflicts...etc.). I do see:
UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 657)
I am on Node.js 8.10.0.
When I point to the ZEBRA browser, I can see my sysplex names and such. However, if I go to Settings -> Config in the GUI, I get hit with a Login screen asking for a username and password. I can't see in the documentation what these should be, or where to set them. I tried:
Server username/password
DD2 username/password
MongoDb username/password (as set in the Zconfig.json file)
None of these work, and get a Login Fail error.
I even tried renaming the Zconfig file so that ZEBRA started without any Zconfig.json file (I checked this because no LPAR was defined in the GUI), and still get the login screen. The documentation makes it sound like this shouldn't be the case.
Expected behavior
I thought that this should not be login-protected, or the documentation should explain how to set the ZEBRA login. I actually don't see anywhere in the documentation where a login is required for ZEBRA itself, just for Mongo/Prometheus/Grafana.
Screenshots
See below for the login failure.
Desktop (please complete the following information):
Zebra running on Ubuntu 20.04 LTS server edition in a Windows Server 2019 Hyper-V Lenovo server.
Desktop is Windows 10 running a Mozilla Firefox browser.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: