onpanic: add support for multipathed zfcp-attached SCSI disks#108
onpanic: add support for multipathed zfcp-attached SCSI disks#108dgdavid merged 3 commits intoyast:SLE-15-SP6from
Conversation
|
Friendly ping.
I think @ngueorguiev applied the dependencies and they are waiting for acceptance.
Looks like I need "at least 1 approving review is required by reviewers with write access" as merge pre-req. @joseivanlopez @jreidinger @lslezak @shundhammer @dgdavid and from https://github.com/yast/yast-s390/blob/master/MAINTAINER: and from https://github.com/yast/yast.github.io/wiki/The-YaST-Team: Apologies for the mentioning list. Seems I'm not allowed to request a PR review from someone specific (because I'm not owner and do not have write access). |
joseivanlopez
left a comment
There was a problem hiding this comment.
Thanks for this PR. Please, add a changelog entry and bump the version.
|
@steffen-maier just fixing it for SLE-15-SP6 is good enough? |
I looked at prior art in git log history and https://yastgithubio.readthedocs.io/en/latest/versioning/#new-schema-version-numbers-are-related-to-suse-versions and https://yastgithubio.readthedocs.io/en/latest/contributing/#code-changes. This is all new to me; hopefully I got it right.
Primarily it was meant for a new major release such as SLE-16, but backporting to SLE-15-SP6 would also be OK (if stated s390-tools requirements are fulfilled there) and would be sufficient.
|
Thanks a lot! 💯 |
|
I suppose the Rubocop test fail is not due to my code change?: |
|
@steffen-maier nope, it is issue with yast2-s390 and adapting to the latest ruby version. BTW master is for TW only. Do you want change in SLE15 or master only? ( btw for more details it is caused by API incompatible change in yaml processing and need specific wrapper to support multiple ruby versions ) |
|
David changed base branch to SLE-15-SP6, which is fine with me, so I'll rebase to that and force push to allow a clean merge against that new target. |
|
Are you going to somehow bring the change into master as well? |
What does "TW" mean?
My original thought was master (hoping this means SLE-16) |
|
TW means Tumbleweed. Now As you can see, I've changed the target branch to SP6 one based on your comment above (#108 (comment)) Now I'm solving the conflicts in the changes file. I'll let you know when it's ready. Sorry for the inconvenience on getting this merge. |
Depends on https://build.opensuse.org/package/show/Base:System/s390-tools commit ("mkdump: add support for multipathed zfcp-attached SCSI disks") from SUSE bug 1216257. Users should use multipathing for all zfcp-attached SCSI disks. Since a long time, zipl can write the partition-based zfcpdump standalone dumper boot record to a multipath device. This avoids users having to flush multipath maps or maintain a multipath exception list just for zfcp dump volumes. Always having multipathing for everything also provides redundant access to the dump volume on importing the dump from the volume into a filesystem after the standalone dumper had written the dump. An updated mkdump.pl from SUSE s390-tools understands and lists such multipath devices. Make "yast onpanic" understand /dev/mapper/... multipath devices as better alternative to single path SCSI disks /dev/sd[a-z]+. Fixes SUSE bug 1020336. Signed-off-by: Steffen Maier <maier@linux.ibm.com>
Signed-off-by: Steffen Maier <maier@linux.ibm.com>
cbf00c6 to
e9f264b
Compare
|
I really sorry for making a Now I think everything is in the place. Please, be aware that I had to send your changes on top of the That means that, unless I'm wrong, there are few commits from master that are no part of the SLE-15-SP6, namely
If you don't mind, please check that your changes still working as you expected. Please, bear in mind that usually is not as difficult to send a contribution to YaST codebase 😭 You followed the right steps for a normal contribution. The thing is that with SP6 things has changed and, as said above, it does not follow the @jreidinger and @lslezak can explain it better. |
|
@steffen-maier also excuse me because I was working on it and didn't realize that you did a force-push as soon as I changed the target branch. That was so quick! |
This comment was marked as outdated.
This comment was marked as outdated.
It is not backport, but it is called merge and it follows are code conventions -> apply to the oldest applicable code stream and then merge fix to all newer ones |
jreidinger
left a comment
There was a problem hiding this comment.
just please use version 4.6.5 to avoid collision of previous TW releases as can be seen in https://github.com/yast/yast-s390/blob/master/package/yast2-s390.changes
To avoid collisions with changes already send to master branch as 4.6.0, 4.6.1, 4.6.2, 4.6.3, and 4.6.4.
|
After a short talk with @jreidinger in the IRC channel, I've sent a commit updating version to 4.6.5 to avoid collision with master branch 🤷♂️ 🤷♂️ Hope @jreidinger don't mind, quoting his explanation below
|
|
thanks, so now it is ready for merge |
|
I'm going to merge it as soon as @steffen-maier can confirm everything is in place after my push force. |
Cannot comment on those as I don't know anything about their origin.
f7f7813 still looks like my original and thus correct. The other two patches for changelog and version bump also look good to me. I think this can be merged. |
|
✔️ Internal Jenkins job #3 successfully finished |
Depends on https://build.opensuse.org/package/show/Base:System/s390-tools commit ("mkdump: add support for multipathed zfcp-attached SCSI disks") [patch 7 in SUSE bug 1216257].
Problem
Users should use multipathing for all zfcp-attached SCSI disks. Since a long time, zipl can write the partition-based zfcpdump standalone dumper boot record to a multipath device. This avoids users having to flush multipath maps or maintain a multipath exception list just for zfcp dump volumes. Always having multipathing for everything also provides redundant access to the dump volume on importing the dump from the volume into a filesystem after the standalone dumper had written the dump.
Solution
An updated mkdump.pl from SUSE s390-tools understands and lists such multipath devices. Make "yast onpanic" understand /dev/mapper/... multipath devices as better alternative to single path SCSI disks /dev/sd[a-z]+.
Fixes SUSE bug 1020336.
Testing
Screenshots
@jiribohac @hramrach @hreinecke @mwilck @teclator