CS9 Destination directory /etc/containers does not exist

Bug #1950148 reported by Amol Kahat
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Unassigned

Bug Description

Description:

https://review.rdoproject.org/r/c/config/+/36545 Use load_vars.yaml for including cs9 var file (which worked) but it does not loads redhat.yml file.

redhat.yml var file is needed for installing correct version of podman.
Since this file is missing, it leads to the above issue
Destination directory /etc/containers does not exist.

In order to fix it temp, we have added this https://review.rdoproject.org/r/c/config/+/36592.

The proper fix needs to be land in tripleo-ansible side.

````
2021-11-08 09:36:56.715412 | TASK [Load var file for Installing and configuring podman]
2021-11-08 09:36:57.682470 | primary | ok
2021-11-08 09:36:58.581518 |
2021-11-08 09:36:58.581787 | LOOP [tripleo_podman : Gather variables for each operating system]
2021-11-08 09:36:58.965870 | primary | ok: "/var/lib/zuul/builds/173bc0d51249486db8c5972ed8ee6d98/trusted/project_4/opendev.org/openstack/tripleo-ansible/tripleo_ansible/roles/tripleo_podman/vars/redhat-9.yml"
2021-11-08 09:36:59.057713 |
2021-11-08 09:36:59.057888 | TASK [Install podman]
2021-11-08 09:36:59.224507 | primary | ok
2021-11-08 09:36:59.516934 |
2021-11-08 09:36:59.517229 | LOOP [tripleo_podman : Gather variables for each operating system]
2021-11-08 09:36:59.829128 | primary | ok: "/var/lib/zuul/builds/173bc0d51249486db8c5972ed8ee6d98/trusted/project_4/opendev.org/openstack/tripleo-ansible/tripleo_ansible/roles/tripleo_podman/vars/redhat-9.yml"
2021-11-08 09:36:59.829382 | primary | ok: All items complete
2021-11-08 09:36:59.829435 |
2021-11-08 09:36:59.866176 |
2021-11-08 09:36:59.866377 | TASK [tripleo_podman : ensure podman and deps are installed]
2021-11-08 09:37:01.262078 | primary | ok: Nothing to do
2021-11-08 09:37:01.316653 |
2021-11-08 09:37:01.316899 | TASK [tripleo_podman : Ensure we get the ansible interfaces facts]
2021-11-08 09:37:01.410717 | primary | skipping: Conditional result was False
2021-11-08 09:37:01.487090 |
2021-11-08 09:37:01.487302 | TASK [tripleo_podman : Delete legacy cni0 interface (podman < 1.6)]
2021-11-08 09:37:01.738655 | primary | skipping: Conditional result was False
2021-11-08 09:37:01.806827 |
2021-11-08 09:37:01.807006 | TASK [tripleo_podman : Make sure /etc/cni/net.d folder exists]
2021-11-08 09:37:13.108175 | primary | changed
2021-11-08 09:37:13.192352 |
2021-11-08 09:37:13.192544 | TASK [tripleo_podman : Update default network configuration if possible]
2021-11-08 09:37:15.207343 | primary | changed
2021-11-08 09:37:15.244902 |
2021-11-08 09:37:15.245099 | TASK [tripleo_podman : Write containers registries.conf]
2021-11-08 09:37:16.226159 | primary | ERROR
2021-11-08 09:37:16.226516 | primary | {
2021-11-08 09:37:16.232003 | primary | "checksum": "710a00cfb11a4c3eba9c028ef1984a9fea9ba83a",
2021-11-08 09:37:16.232109 | primary | "diff": [],
2021-11-08 09:37:16.232155 | primary | "msg": "Destination directory /etc/containers does not exist"
2021-11-08 09:37:16.232195 | primary | }
````
Logs:
- https://logserver.rdoproject.org/87/36487/6/check/periodic-tripleo-ci-centos-9-scenario010-standalone-master/173bc0d/job-output.txt
- https://logserver.rdoproject.org/26/34926/9/check/periodic-tripleo-ci-centos-9-containers-multinode-master/243ffc0/job-output.txt

Additional Info:
- Bug got introduced after: https://review.rdoproject.org/r/c/config/+/36545 merge

Revision history for this message
Amol Kahat (amolkahat) wrote :
description: updated
description: updated
Revision history for this message
Marios Andreou (marios-b) wrote :

calling this fix-released.

recent runs are failingon different issues but it gets passed the previously failing task e.g. at [1][2]

        * 2021-12-06 08:21:38.441449 | TASK [tripleo_podman : Write containers registries.conf]
2021-12-06 08:21:39.284996 | primary | changed
2021-12-06 08:21:39.472034 | secondary | changed
2021-12-06 08:21:39.511099 |
2021-12-06 08:21:39.511282 | LOOP [tripleo_podman : Write containers.conf]
2021-12-06 08:21:40.174095 | primary | changed: section and option added

[1] https://logserver.rdoproject.org/98/36998/1/check/periodic-tripleo-ci-centos-9-containers-multinode-master/ebe8502/job-output.txt
[2] https://logserver.rdoproject.org/openstack-periodic-integration-main-cs9/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-9-containers-multinode-master/05a9e16/job-output.txt

Changed in tripleo:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.