Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
iscsi: workaround to let podman read /dev/null
Browse files Browse the repository at this point in the history
We currently hit this bug: containers/podman#1412
In order to move forward, let's bind-mount /dev/null into the container
until the bug is fixed. Note, it doesn't hurt docker deployment as we
already mounted /dev.

Related-Bug: #1791167
Change-Id: I0e885c248bb08c04fb9b7efa9e075e692879b450
  • Loading branch information
EmilienM committed Sep 6, 2018
1 parent 6c245f7 commit 668afdc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker/services/iscsid.yaml
Expand Up @@ -102,6 +102,9 @@ outputs:
- /sys:/sys
- /lib/modules:/lib/modules:ro
- /etc/iscsi:/var/lib/kolla/config_files/src-iscsid:ro
# TODO(emilien) Workaround until this is solved:
# https://github.com/containers/libpod/issues/1412
- /dev/null:/dev/null
environment:
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
host_prep_tasks:
Expand Down

0 comments on commit 668afdc

Please sign in to comment.