Undercloud installation fails with "Destination directory /etc/cni/net.d does not exist"

Bug #1964534 reported by Ted Lum
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
New
Undecided
Unassigned

Bug Description

Description
===========

Undercloud installation fails with "Destination directory /etc/cni/net.d does not exist", during "Update default network configuration if possible", in "/usr/share/ansible/roles/tripleo_podman/tasks/tripleo_podman_install.yml"

Same basic root cause and symptom as bug #1831238, but was reintroduced in a different module.

Appears to have been fixed in commit dee317e454f0c512de4f3919f7225c6408f536f4, but not backported to some affected versions.

https://review.opendev.org/c/openstack/tripleo-ansible/+/806909

Looks like it was only merged with wallaby. Ussuri and probably victoria are also affected.

Steps to reproduce
==================

Run openstack undercloud install

*apparently requires podman 3.3 or later

Expected result
===============

Install does not fail with "Destination directory /etc/cni/net.d does not exist".

Actual result
=============

2022-03-10 16:35:38.889968 | c86000c6-74b5-cb36-6e7c-000000000a63 | TASK | Update default network configuration if possible
2022-03-10 16:35:39.196422 | c86000c6-74b5-cb36-6e7c-000000000a63 | FATAL | Update default network configuration if possible | director | error={"changed": false, "checksum": "ece5f2caab61ae83ae546c73ae36f95ff219a2c8", "msg": "Destination directory /etc/cni/net.d does not exist"}
2022-03-10 16:35:39.197496 | c86000c6-74b5-cb36-6e7c-000000000a63 | TIMING | tripleo_podman : Update default network configuration if possible | director | 0:01:40.678846 | 0.31s

Environment
===========

This is a stable/ussuri install

Ted Lum (tlum)
summary: - Undercloud installation fails with "Desti nation directory
- /etc/cni/net.d does not exist"
+ Undercloud installation fails with "Destination directory /etc/cni/net.d
+ does not exist"
Ted Lum (tlum)
description: updated
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.