-
Notifications
You must be signed in to change notification settings - Fork 59
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: New functionality to push SUM through the manual steps #875
base: dev
Are you sure you want to change the base?
Conversation
@rob0d Thanks for this contribution, this looks really cool and seems to be nice additional functionality without adding too much complexity. Will soon have some time for testing. |
@rob0d - I'd ran a first test but it timed out in task |
Hi @berndfinger, Also did you provide stack file to SUM? |
It couldn't connect, and the reply of a
But it is probably related to the missing parameters for SUM to start correctly. To prepare for this, I need more time for preparing and testing with a MP stack file. Unfortunately, I also have to work on some other open issues and PRs for this collection so I cannot immediately continue with testing this PR. But maybe someone else can jump in and test the proposed code? @rob0d Can you please provide more details about the software you configured in Maintenance Planner (e.g. product name, version, any additional selections)? |
Hi @berndfinger, It looks like the SUM wasn't started by SWPM due to the missing parameters. The process with Maintenance Planner is something like this:
|
Git diff is misbehaving in this PR, only Ansible Task Test has begun for 1 new task + new task file with the updated v1.5.x codeline |
@rob0d Why restriction to PAS or OneHost? Personally I'd only ever install from PAS, but it has been questioned before so unless there is a referenceable reason - restricting is not the best. Feedback:
|
Yes. I don't understand why. It's showing a conflict even though there doesn't seem to be one. I am not able to resolve it as I don't have write access to the repo. |
@rob0d - I found:
is missing at the top.
whereas the current dev tree has:
Maybe the easiest way to solve this is that you modify your files accordingly. If that doesn't help, you could of course also create a new PR based on the current dev tree (or I could do that - but I'd rather have your userid in the git commit history ;-) ). |
Solves #919. |
@rob0d As there was no reply from you, I will now try to resolve the conflicts using the |
@rob0d Unfortunately, my attempt to resolve the merge conflict using the Resolve |
Signed-off-by: Bernd Finger <[email protected]>
... to new file tasks/post_install/sum_push_to_finish.yml Signed-off-by: Bernd Finger <[email protected]>
@rob0d I failed removing my commit so I added one more commit for resolving the merge conflict. I also added one more commit for adding the missing SPDX identifier to file roles/sap_swpm/tasks/post_install/sum_push_to_finish.yml. |
Signed-off-by: Bernd Finger <[email protected]>
@rob0d Fixing the ansible-lint errors requires a code change in file |
Hi @berndfinger, |
This will push SUM through the manual steps in order to fully automate the installation of the system when sap_swpm_sum_start is enabled.
If SWPM is in observer mode, it will not do anything as SWPM waits for SUM to complete.
Updated code (correcting for whitespace in HTTP Response Body) from Shell script for SUM provided by @sean-freeman in #738 (comment)