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

sap_swpm: hdbuserstore default entry changed incorrectly in the post installation steps #747

Closed
rob0d opened this issue Jun 5, 2024 · 4 comments

Comments

@rob0d
Copy link
Contributor

rob0d commented Jun 5, 2024

Hi guys, over the past few weeks I was trying to do installs in a more secure way with different passwords for different users (rather than the same for everything) and I've found a few problems :). Some may be bugs in swpm and I am still investigating that. Presumably it will be best to create separate issues and pull requests for each? So this is the first one.

SAP SWPM Post Install - Enforce Connection Info in SAP HANA Client hdbuserstore is inserting incorrect password for the SAPHANADB user. This completely kills the system as the hdbuserstore is changed after SAP started (so it's not obvious), but when it's restarted or new connections are made the SAPHANADB user gets locked and the ABAP instances obviously die/hang.

I don't understand why is this step required? hdbuserstore is correctly populated by SWPM and everything works. How does it relate to host agent?

Anyway, sap_swpm_db_schema_abap_password (SAPHANADB schema password) should be used instead of sap_swpm_db_system_password (user SYSTEM password).

@rob0d
Copy link
Contributor Author

rob0d commented Jun 5, 2024

Pull request #748

@sean-freeman
Copy link
Member

@rob0d Original code is from PR #446 describing hdbuserstore incorrectly populated by SWPM using the IP Address instead of Hostname . Your PR #748 addresses the password problem identified, and has been merged - please re-run a test and use any of the commands I showed in the PR to validate at will.

If everything is taken care of, please close this GH Issue

@rob0d
Copy link
Contributor Author

rob0d commented Jul 24, 2024

@sean-freeman I think we need the code (or similar) you pasted in PR #802 for this to be closed and correct. As this PR on it's own introduces a problem when sap_swpm_db_schema_abap_password is not set. Happy to close it, if you want to track it under #802 instead.

@sean-freeman
Copy link
Member

@rob0d Let's consolidate the discussion in one place and close this GH Issue?

@rob0d rob0d closed this as completed Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants