2020-11-12 11:39:17 |
bugproxy |
bug |
|
|
added bug |
2020-11-12 11:39:20 |
bugproxy |
tags |
|
architecture-s39064 bugnameltc-189183 severity-medium targetmilestone-inin2004 |
|
2020-11-12 11:39:21 |
bugproxy |
ubuntu: assignee |
|
Skipper Bug Screeners (skipper-screen-team) |
|
2020-11-12 11:39:24 |
bugproxy |
affects |
ubuntu |
linux (Ubuntu) |
|
2020-11-12 11:47:46 |
Frank Heimes |
affects |
linux (Ubuntu) |
s390-tools |
|
2020-11-12 11:48:31 |
Frank Heimes |
bug task added |
|
ubuntu-z-systems |
|
2020-11-12 11:48:39 |
Frank Heimes |
ubuntu-z-systems: importance |
Undecided |
Medium |
|
2020-11-12 11:48:54 |
Frank Heimes |
ubuntu-z-systems: assignee |
|
Skipper Bug Screeners (skipper-screen-team) |
|
2020-11-12 11:54:25 |
Frank Heimes |
bug task added |
|
s390-tools (Ubuntu) |
|
2020-11-12 11:54:45 |
Frank Heimes |
nominated for series |
|
Ubuntu Hirsute |
|
2020-11-12 11:54:45 |
Frank Heimes |
bug task added |
|
s390-tools (Ubuntu Hirsute) |
|
2020-11-12 11:54:45 |
Frank Heimes |
nominated for series |
|
Ubuntu Groovy |
|
2020-11-12 11:54:45 |
Frank Heimes |
bug task added |
|
s390-tools (Ubuntu Groovy) |
|
2020-11-12 11:54:45 |
Frank Heimes |
nominated for series |
|
Ubuntu Focal |
|
2020-11-12 11:54:45 |
Frank Heimes |
bug task added |
|
s390-tools (Ubuntu Focal) |
|
2020-11-12 11:55:14 |
Frank Heimes |
s390-tools: status |
New |
Invalid |
|
2020-11-12 11:55:34 |
Heinz-Werner Seeck |
summary |
Cannot run zcryptstats in the Hosting Appliance |
[UBUNTU 20.04] Cannot run zcryptstats in the Hosting Appliance |
|
2020-11-12 12:42:29 |
Dimitri John Ledkov |
s390-tools (Ubuntu Hirsute): status |
New |
Confirmed |
|
2021-01-18 16:37:55 |
Frank Heimes |
description |
---Problem Description---
I have had trouble collecting data via the zcryptstats (https://github.com/ibm-s390-tools/s390-tools/blob/master/zconf/zcrypt/zcryptstats.c) tool for our Hosting Appliance - VPC environment. Basically, the tool reports data for only the last two domain IDs. Further, it hangs if I collect data for a complete crypto card, and then I have to kill the ssh session to get back.
strace attached, ltrace not available and can't be installed due to no Internet access.
===================
Addl. Information:
This seems to be a problem with the handling of partial responses of the SCDMD CHSC command.
When many domains are available, then the output of all domains does not fit into the output buffer of one CHSC call. Thus, the response contains a partial-response-bit that indicates that there is more data to be retrieved. This is done in a subsequent CHSC call, but there is an error in zcryptstats with populating the request with the next domain number to obtain data for. This results in the fact that it retrieves the data for domains 1 to n over and over again, and always gets the partial-response bit set. So this loops forever.
===================
The fix for this in now upstream:
https://github.com/ibm-s390-tools/s390-tools/commit/cf2311f1f1de17435b49ba8c8697be91705ba031
This need to be integrated in all Ubuntu distros, from 20.04 on. F/G/H |
SRU Justification:
==================
[Impact]
* If multiple s390x crypto domains are available,
the output of all domains does no longer fit into the output buffer of one CHSC call.
* Thus, the response contains a partial-response-snippet that indicates that there is more data to be retrieved.
* The remaining data is then retrieved in a subsequent CHSC call,
but there is an error in zcryptstats in populating the request with the next domain number to obtain data for.
* This results in the fact that it retrieves the data for domains 1 to n over and over again,
and always gets the partial-response snippet, hence this loops indefinitely.
[Test Case]
* An Ubuntu Server 20.04 system (or newer) is needed on z/VM or LPAR with two or more crypto domains accessible.
* Now call 'zcryptstats --all -V' and verify if the command completes successfully (within seconds) or hangs (loops).
[Where problems could occur]
* The patch fixes the code that passes the correct next-domain to the subsequent CHSC call of a partial response.
* In case done wrong even no data at all from any of the domains is retrieved,
* or the tool may even try to retrieve data from a domain that has an invalid index, which will lead to an error (the rc is captured).
* But the code changes are marginal and pretty straight forward, and the cases where scdmd_area.request.first_drid is handled are now enclosed by proper 'if/else' statement.
* This patch was already upstream accepted and a patched s390-tools package was build and shared in a PPA for further testing.
__________
---Problem Description---
I have had trouble collecting data via the zcryptstats (https://github.com/ibm-s390-tools/s390-tools/blob/master/zconf/zcrypt/zcryptstats.c) tool for our Hosting Appliance - VPC environment. Basically, the tool reports data for only the last two domain IDs. Further, it hangs if I collect data for a complete crypto card, and then I have to kill the ssh session to get back.
strace attached, ltrace not available and can't be installed due to no Internet access.
===================
Addl. Information:
This seems to be a problem with the handling of partial responses of the SCDMD CHSC command.
When many domains are available, then the output of all domains does not fit into the output buffer of one CHSC call. Thus, the response contains a partial-response-bit that indicates that there is more data to be retrieved. This is done in a subsequent CHSC call, but there is an error in zcryptstats with populating the request with the next domain number to obtain data for. This results in the fact that it retrieves the data for domains 1 to n over and over again, and always gets the partial-response bit set. So this loops forever.
===================
The fix for this in now upstream:
https://github.com/ibm-s390-tools/s390-tools/commit/cf2311f1f1de17435b49ba8c8697be91705ba031
This need to be integrated in all Ubuntu distros, from 20.04 on. F/G/H |
|
2021-01-18 16:47:49 |
Frank Heimes |
merge proposal linked |
|
https://code.launchpad.net/~fheimes/ubuntu/+source/s390-tools/+git/s390-tools/+merge/396442 |
|
2021-01-18 19:52:15 |
Frank Heimes |
merge proposal linked |
|
https://code.launchpad.net/~fheimes/ubuntu/+source/s390-tools/+git/s390-tools/+merge/396448 |
|
2021-01-18 21:19:12 |
Frank Heimes |
merge proposal linked |
|
https://code.launchpad.net/~fheimes/ubuntu/+source/s390-tools/+git/s390-tools/+merge/396452 |
|
2021-01-19 08:05:49 |
Frank Heimes |
ubuntu-z-systems: status |
New |
Triaged |
|
2021-01-19 08:05:54 |
Frank Heimes |
s390-tools (Ubuntu Focal): status |
New |
Triaged |
|
2021-01-19 08:05:58 |
Frank Heimes |
s390-tools (Ubuntu Groovy): status |
New |
Triaged |
|
2021-01-19 11:32:24 |
Frank Heimes |
merge proposal linked |
|
https://code.launchpad.net/~fheimes/ubuntu/+source/s390-tools/+git/s390-tools/+merge/396489 |
|
2021-01-19 12:42:15 |
Frank Heimes |
attachment added |
|
changelog_hirsute https://bugs.launchpad.net/s390-tools/+bug/1903984/+attachment/5454509/+files/changelog_hirsute |
|
2021-01-19 12:42:36 |
Frank Heimes |
attachment added |
|
changelog_groovy https://bugs.launchpad.net/s390-tools/+bug/1903984/+attachment/5454510/+files/changelog_groovy |
|
2021-01-19 12:43:12 |
Frank Heimes |
attachment removed |
changelog_hirsute https://bugs.launchpad.net/s390-tools/+bug/1903984/+attachment/5454509/+files/changelog_hirsute |
|
|
2021-01-19 12:43:35 |
Frank Heimes |
attachment removed |
changelog_groovy https://bugs.launchpad.net/s390-tools/+bug/1903984/+attachment/5454510/+files/changelog_groovy |
|
|
2021-01-19 12:43:54 |
Frank Heimes |
attachment added |
|
debdiff_hirsute.diff https://bugs.launchpad.net/s390-tools/+bug/1903984/+attachment/5454511/+files/debdiff_hirsute.diff |
|
2021-01-19 12:46:32 |
Frank Heimes |
attachment added |
|
debdiff_groovy.diff https://bugs.launchpad.net/s390-tools/+bug/1903984/+attachment/5454512/+files/debdiff_groovy.diff |
|
2021-01-19 12:46:54 |
Frank Heimes |
attachment added |
|
debdiff_focal.diff https://bugs.launchpad.net/s390-tools/+bug/1903984/+attachment/5454513/+files/debdiff_focal.diff |
|
2021-01-19 16:27:41 |
Ubuntu Foundations Team Bug Bot |
tags |
architecture-s39064 bugnameltc-189183 severity-medium targetmilestone-inin2004 |
architecture-s39064 bugnameltc-189183 patch severity-medium targetmilestone-inin2004 |
|
2021-01-19 16:27:49 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2021-01-19 17:15:56 |
Frank Heimes |
s390-tools (Ubuntu Focal): assignee |
|
Frank Heimes (fheimes) |
|
2021-01-19 17:16:00 |
Frank Heimes |
s390-tools (Ubuntu Groovy): assignee |
|
Frank Heimes (fheimes) |
|
2021-01-19 18:06:27 |
Frank Heimes |
merge proposal linked |
|
https://code.launchpad.net/~fheimes/ubuntu/+source/s390-tools/+git/s390-tools/+merge/396521 |
|
2021-01-19 18:09:46 |
Frank Heimes |
attachment removed |
debdiff_hirsute.diff https://bugs.launchpad.net/s390-tools/+bug/1903984/+attachment/5454511/+files/debdiff_hirsute.diff |
|
|
2021-01-19 18:10:25 |
Frank Heimes |
attachment added |
|
debdiff_hirsute.diff https://bugs.launchpad.net/s390-tools/+bug/1903984/+attachment/5454564/+files/debdiff_hirsute.diff |
|
2021-01-19 18:18:31 |
bugproxy |
attachment added |
|
debdiff_hirsute.diff https://bugs.launchpad.net/bugs/1903984/+attachment/5454565/+files/debdiff_hirsute.diff |
|
2021-01-19 18:31:34 |
Frank Heimes |
merge proposal linked |
|
https://code.launchpad.net/~fheimes/ubuntu/+source/s390-tools/+git/s390-tools/+merge/396522 |
|
2021-01-19 18:32:45 |
Frank Heimes |
attachment removed |
debdiff_groovy.diff https://bugs.launchpad.net/s390-tools/+bug/1903984/+attachment/5454512/+files/debdiff_groovy.diff |
|
|
2021-01-19 18:33:05 |
Frank Heimes |
attachment added |
|
debdiff_groovy.diff https://bugs.launchpad.net/s390-tools/+bug/1903984/+attachment/5454566/+files/debdiff_groovy.diff |
|
2021-01-19 18:38:46 |
bugproxy |
attachment added |
|
debdiff_groovy.diff https://bugs.launchpad.net/bugs/1903984/+attachment/5454567/+files/debdiff_groovy.diff |
|
2021-01-19 18:47:38 |
Frank Heimes |
merge proposal linked |
|
https://code.launchpad.net/~fheimes/ubuntu/+source/s390-tools/+git/s390-tools/+merge/396524 |
|
2021-01-19 18:53:06 |
Frank Heimes |
attachment removed |
debdiff_focal.diff https://bugs.launchpad.net/s390-tools/+bug/1903984/+attachment/5454513/+files/debdiff_focal.diff |
|
|
2021-01-19 18:54:20 |
Frank Heimes |
attachment added |
|
debdiff_focal.diff https://bugs.launchpad.net/s390-tools/+bug/1903984/+attachment/5454586/+files/debdiff_focal.diff |
|
2021-01-19 18:59:06 |
bugproxy |
attachment added |
|
debdiff_focal.diff https://bugs.launchpad.net/bugs/1903984/+attachment/5454587/+files/debdiff_focal.diff |
|
2021-01-21 08:51:30 |
Frank Heimes |
s390-tools (Ubuntu Hirsute): status |
Confirmed |
Fix Committed |
|
2021-01-21 15:55:42 |
Frank Heimes |
merge proposal linked |
|
https://code.launchpad.net/~fheimes/ubuntu/+source/s390-tools/+git/s390-tools/+merge/396673 |
|
2021-01-22 04:42:54 |
Mathew Hodson |
s390-tools (Ubuntu Focal): importance |
Undecided |
Medium |
|
2021-01-22 04:42:57 |
Mathew Hodson |
s390-tools (Ubuntu Groovy): importance |
Undecided |
Medium |
|
2021-01-22 04:43:01 |
Mathew Hodson |
s390-tools (Ubuntu Hirsute): importance |
Undecided |
Medium |
|
2021-01-22 04:46:03 |
Mathew Hodson |
affects |
s390-tools |
ubuntu-translations |
|
2021-01-22 04:46:17 |
Mathew Hodson |
bug task deleted |
ubuntu-translations |
|
|
2021-01-22 07:46:50 |
Frank Heimes |
merge proposal linked |
|
https://code.launchpad.net/~fheimes/ubuntu/+source/s390-tools/+git/s390-tools/+merge/396717 |
|
2021-01-22 07:58:37 |
Frank Heimes |
merge proposal linked |
|
https://code.launchpad.net/~fheimes/ubuntu/+source/s390-tools/+git/s390-tools/+merge/396718 |
|
2021-01-22 09:12:29 |
Frank Heimes |
merge proposal linked |
|
https://code.launchpad.net/~fheimes/ubuntu/+source/s390-tools/+git/s390-tools/+merge/396729 |
|
2021-01-22 09:19:28 |
Frank Heimes |
attachment added |
|
debdiff_groovy.diff https://bugs.launchpad.net/ubuntu-z-systems/+bug/1903984/+attachment/5455521/+files/debdiff_groovy.diff |
|
2021-01-22 19:41:45 |
Frank Heimes |
merge proposal linked |
|
https://code.launchpad.net/~fheimes/ubuntu/+source/s390-tools/+git/s390-tools/+merge/396775 |
|
2021-01-25 11:34:47 |
Lukas Märdian |
s390-tools (Ubuntu Groovy): status |
Triaged |
In Progress |
|
2021-01-26 10:05:16 |
Lukas Märdian |
s390-tools (Ubuntu Focal): status |
Triaged |
In Progress |
|
2021-01-26 10:19:21 |
Frank Heimes |
ubuntu-z-systems: status |
Triaged |
In Progress |
|
2021-01-26 19:04:36 |
Brian Murray |
s390-tools (Ubuntu Groovy): status |
In Progress |
Fix Committed |
|
2021-01-26 19:04:38 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2021-01-26 19:04:40 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2021-01-26 19:04:44 |
Brian Murray |
tags |
architecture-s39064 bugnameltc-189183 patch severity-medium targetmilestone-inin2004 |
architecture-s39064 bugnameltc-189183 patch severity-medium targetmilestone-inin2004 verification-needed verification-needed-groovy |
|
2021-01-26 19:11:16 |
Brian Murray |
s390-tools (Ubuntu Focal): status |
In Progress |
Fix Committed |
|
2021-01-26 19:11:22 |
Brian Murray |
tags |
architecture-s39064 bugnameltc-189183 patch severity-medium targetmilestone-inin2004 verification-needed verification-needed-groovy |
architecture-s39064 bugnameltc-189183 patch severity-medium targetmilestone-inin2004 verification-needed verification-needed-focal verification-needed-groovy |
|
2021-01-26 19:48:39 |
Brian Murray |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2021-01-27 11:39:27 |
Frank Heimes |
ubuntu-z-systems: status |
In Progress |
Fix Committed |
|
2021-01-27 12:02:51 |
Frank Heimes |
tags |
architecture-s39064 bugnameltc-189183 patch severity-medium targetmilestone-inin2004 verification-needed verification-needed-focal verification-needed-groovy |
architecture-s39064 bugnameltc-189183 patch severity-medium targetmilestone-inin2004 verification-done verification-done-focal verification-done-groovy |
|
2021-01-28 10:43:56 |
Launchpad Janitor |
s390-tools (Ubuntu Hirsute): status |
Fix Committed |
Fix Released |
|
2021-01-28 16:23:51 |
Launchpad Janitor |
s390-tools (Ubuntu Groovy): status |
Fix Committed |
Fix Released |
|
2021-01-28 16:24:01 |
Łukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2021-01-28 16:24:26 |
Launchpad Janitor |
s390-tools (Ubuntu Focal): status |
Fix Committed |
Fix Released |
|
2021-01-28 17:06:57 |
Frank Heimes |
ubuntu-z-systems: status |
Fix Committed |
Fix Released |
|