| Summary: | Missing executables not handled correctly | ||
|---|---|---|---|
| Product: | [oVirt] vdsm | Reporter: | Nir Soffer <nsoffer> |
| Component: | Core | Assignee: | Marcin Sobczyk <msobczyk> |
| Status: | CLOSED WONTFIX | QA Contact: | Petr Kubica <pkubica> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.16.31 | CC: | bugs, fromani, mperina, nsoffer, pstehlik |
| Target Milestone: | --- | Flags: | mperina:
ovirt-4.4?
rule-engine: planning_ack? rule-engine: devel_ack? rule-engine: testing_ack? |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-03-03 15:38:30 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 1496381 | ||
|
Description
Nir Soffer
2016-04-07 06:35:43 UTC
Same issue exists when using ionice, sudo, and setsid - this is not related to cpu_afinity and exist in all vdsm versions. >>> subprocess.check_call(["ionice", "-c", "3", "bleep", "1"]) ionice: failed to execute bleep: No such file or directory Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib64/python2.7/subprocess.py", line 540, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['ionice', '-c', '3', 'bleep', '1']' returned non-zero exit status 1 >>> subprocess.check_call(["sudo", "foobar"]) sudo: foobar: command not found Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib64/python2.7/subprocess.py", line 540, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['sudo', 'foobar']' returned non-zero exit status 1 >>> subprocess.check_call(["setsid", "-w", "foobar"]) setsid: failed to execute foobar: No such file or directory Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib64/python2.7/subprocess.py", line 540, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['setsid', '-w', 'foobar']' returned non-zero exit status 1 I sent a pull request for util-linux fixing this issue in taskset and ionice (and all other commands running other commands). Lets for response. https://github.com/karelzak/util-linux/pull/311 (In reply to Nir Soffer from comment #2) > I sent a pull request for util-linux fixing this issue in taskset and ionice > (and all other commands running other commands). Lets for response. > https://github.com/karelzak/util-linux/pull/311 Very nice! we currently don't require any specific version of util-linux. please update if it gets in and we'll add this requirement Yaniv - please target this one to the relevant milestone. Bug tickets must have version flags set prior to targeting them to a release. Please ask maintainer to set the correct version flags and only then set the target milestone. This request has been proposed for two releases. This is invalid flag usage. The ovirt-future release flag has been cleared. If you wish to change the release flag, you must clear one release flag and then set the other release flag to ?. Yaniv, what info is needed? Based on comment #2 you posted https://github.com/karelzak/util-linux/pull/311 to fix the issue. what else is needed ? (In reply to Yaniv Bronhaim from comment #9) > Based on comment #2 you posted > https://github.com/karelzak/util-linux/pull/311 to fix the issue. what else > is needed ? Yaniv - please discuss with Nir and agree on the status of the bug Yaniv, the suggested change was discussed in the mailing list: https://www.spinics.net/lists/util-linux-ng/msg12763.html and there was agreement about this direction, but completing the work to get this accepted required lot of time and I never had the time to work on it. I think we can try to push a smaller change fixing only taskset (the original patch tried to fix this issue in all util-linux executables). According to the last comment it won't be finished in 4.2, so moving to 4.3 Given the latest comments by the bug author in [1] I think we should close it. [1] https://gerrit.ovirt.org/#/c/106859/ |