Closed borntorock closed 4 years ago
Hi @borntorock , Thank you for report. By using which container engine you started your container? Podman or docker? Could you also share the version of the container engine?
I'm afraid in CentOS 7 there is old version for podman/docker so maybe that's the reason why udica is broken.
...
ImportError: cannot import name replace
This line looks quite fishy.
From what I can tell, this is a python 2.7/3.X issue. The package replace exists in python 3.X but not in 2.7.
Describe the bug While trying to run the
udica -j container.json my_container
command, I'm getting the below ImportError message. Tried with python3.4, 3.6.3 as well with python 2.7.5 on Centos7.I tried to install the udica from source via git clone and via pip (after uninstalling, at a different time). Some sources mentioned about instally pysed module, but this also doesn't resolve the issue.
To Reproduce Steps to reproduce the behavior:
Expected behavior udica command be successfully executed and able to generate policy.
Additional context Add any other context about the problem here.