Centos 7 based jobs are failing on TASK [Enable container-tools and disable rhel-modules] with error: /bin/sh: line 1: dnf: command not found
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Critical
|
Unassigned |
Bug Description
Description:-
Centos 7 based jobs are failing on TASK [Enable container-tools and disable rhel-modules] with error: /bin/sh: line 1: dnf: command not found
So, far we have noticed this failure on the following jobs:-
periodic-
periodic-
periodic-
periodic-
Logs:-
~~~
2020-12-30 13:52:27.688114 | TASK [Enable container-tools and disable rhel-modules]
2020-12-30 13:52:28.020301 | primary | + dnf module disable container-
2020-12-30 13:52:28.020992 | primary | /bin/sh: line 1: dnf: command not found
2020-12-30 13:52:28.237860 | primary | ERROR
2020-12-30 13:52:28.238078 | primary | {
2020-12-30 13:52:28.238128 | primary | "delta": "0:00:00.006601",
2020-12-30 13:52:28.238166 | primary | "end": "2020-12-30 13:52:28.021627",
2020-12-30 13:52:28.238203 | primary | "msg": "non-zero return code",
2020-12-30 13:52:28.238239 | primary | "rc": 127,
2020-12-30 13:52:28.238274 | primary | "start": "2020-12-30 13:52:28.015026"
2020-12-30 13:52:28.238309 | primary | }
~~~
~~~
2020-12-30 14:02:08.467490 | TASK [Enable container-tools and disable rhel-modules]
2020-12-30 14:02:09.189305 | primary | + dnf module disable container-
2020-12-30 14:02:09.190093 | primary | /bin/sh: line 1: dnf: command not found
2020-12-30 14:02:09.233140 | secondary | + dnf module disable container-
2020-12-30 14:02:09.233973 | secondary | /bin/sh: line 1: dnf: command not found
2020-12-30 14:02:09.696696 | primary | ERROR
2020-12-30 14:02:09.696837 | primary | {
2020-12-30 14:02:09.696877 | primary | "delta": "0:00:00.006698",
2020-12-30 14:02:09.696910 | primary | "end": "2020-12-30 14:02:09.190754",
2020-12-30 14:02:09.696942 | primary | "msg": "non-zero return code",
2020-12-30 14:02:09.696972 | primary | "rc": 127,
2020-12-30 14:02:09.697001 | primary | "start": "2020-12-30 14:02:09.184056"
2020-12-30 14:02:09.697030 | primary | }
2020-12-30 14:02:09.851393 | secondary | ERROR
2020-12-30 14:02:09.851534 | secondary | {
2020-12-30 14:02:09.851572 | secondary | "delta": "0:00:00.008049",
2020-12-30 14:02:09.851603 | secondary | "end": "2020-12-30 14:02:09.234769",
2020-12-30 14:02:09.851655 | secondary | "msg": "non-zero return code",
2020-12-30 14:02:09.851690 | secondary | "rc": 127,
2020-12-30 14:02:09.851718 | secondary | "start": "2020-12-30 14:02:09.226720"
2020-12-30 14:02:09.851746 | secondary | }
~~~
Caused after merge by following patch:-
https:/
Looks like we just need a condition here https:/
Changed in tripleo: | |
status: | Triaged → Fix Released |
fix: https:/ /review. rdoproject. org/r/# /c/31452/