Commit graph

7432 commits

Author SHA1 Message Date
dependabot-preview[bot] ddbe1aef17 build(deps): bump github.com/rootless-containers/rootlesskit
Bumps [github.com/rootless-containers/rootlesskit](https://github.com/rootless-containers/rootlesskit) from 0.9.3 to 0.9.4.
- [Release notes](https://github.com/rootless-containers/rootlesskit/releases)
- [Commits](https://github.com/rootless-containers/rootlesskit/compare/v0.9.3...v0.9.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-04-27 12:28:24 +02:00
OpenShift Merge Robot c2a33b7bf9
Merge pull request #5990 from baude/v2intrunns
enable run_ns integration tests
2020-04-27 11:42:10 +02:00
OpenShift Merge Robot 45932c123b
Merge pull request #5989 from baude/v2intrunrestart
enable run_restart integration tests
2020-04-27 11:39:48 +02:00
OpenShift Merge Robot 3bc6a886a0
Merge pull request #5988 from baude/v2intrunsignal
enable run_signal integration tests
2020-04-27 11:37:19 +02:00
OpenShift Merge Robot efafd99e6d
Merge pull request #5983 from baude/v2intcontainerinspect
Enable container inspect integration tests
2020-04-27 09:42:33 +02:00
Brent Baude 0e82dece77 enable run_restart integration tests
also, correct arg processing mistake in start

Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-26 10:44:17 -05:00
Brent Baude 4d2e926a2a enable run_ns integration tests
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-26 10:42:40 -05:00
Brent Baude a2704003ef enable run_signal integration tests
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-26 10:34:47 -05:00
OpenShift Merge Robot 13c1d2c6af
Merge pull request #5982 from baude/v2intpodps
Enable pod ps integration tests
2020-04-26 13:34:18 +02:00
Brent Baude 56c27ea1c6 Enable container inspect integration tests
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-25 13:36:11 -05:00
Brent Baude 942a3ef588 Enable pod ps integration tests
Enable integration tests for pod ps.

In addition, fixed bug where output was still using slice go template routines and would fail when no infra container was present.  Added integration test to prevent future regressions.

Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-25 13:13:32 -05:00
OpenShift Merge Robot 2afe579c06
Merge pull request #5971 from giuseppe/fix-userns-tests
v2, podman: fix and enable all run_userns_test.go tests
2020-04-24 22:39:26 +02:00
OpenShift Merge Robot 10f3a8ac6b
Merge pull request #5977 from QiWang19/commit-test
V2 tests: enables commit tests
2020-04-24 22:29:27 +02:00
Qi Wang d7a3785b3e V2 tests: enables commit tests
V2 tests enables commit tests

Signed-off-by: Qi Wang <qiwan@redhat.com>
2020-04-24 15:20:04 -04:00
OpenShift Merge Robot a49d5c9c2f
Merge pull request #5974 from giuseppe/fix-init
[v2] containers, init: skip invalid state errors with --all
2020-04-24 20:33:17 +02:00
OpenShift Merge Robot 3c3adac528
Merge pull request #5967 from giuseppe/run-test-fixes
v2, tests: fix various run_test.go failures
2020-04-24 17:46:20 +02:00
Giuseppe Scrivano bd7cad775a
containers, init: skip invalid state errors with --all
reintroduce the same check that exists in v1.9.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-24 17:33:27 +02:00
OpenShift Merge Robot dcb99f5315
Merge pull request #5972 from mheon/fix_noinfra
Do not join pod namespaces without an infra ctr
2020-04-24 16:58:24 +02:00
Giuseppe Scrivano 88f1994ab9
podman: assume user namespace if there are mappings
if some mappings are specified, assume there is a private user
namespace.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-24 15:55:38 +02:00
Matthew Heon b1552d9124 Do not join pod namespaces without an infra ctr
We do not want to join pod namespaces if no infra container is
present. A pod may claim it shares namespaces without an infra
container (I'll take an action item to fix that - it really
should not be allowed), which was tripping up our default
namespace code and forcing us to try and join the namespaces of
the nonexistant infra container.

Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-04-24 09:44:51 -04:00
Giuseppe Scrivano 64d8b4eebb
podman: implement userns=keep-id
add missing implementation for userns=keep-id and enable the user
namespaces tests.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-24 15:03:50 +02:00
OpenShift Merge Robot 46463e454e
Merge pull request #5968 from giuseppe/fix-cgroup-tests
v2, test: enable cgroup parent tests
2020-04-24 14:55:07 +02:00
OpenShift Merge Robot ec17b2652e
Merge pull request #5965 from containers/dependabot/go_modules/github.com/containers/common-0.9.5
Bump github.com/containers/common from 0.9.4 to 0.9.5
2020-04-24 14:52:21 +02:00
Giuseppe Scrivano c746980baf
test: enable cgroup parent tests
cgroups tests should pass now

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-24 13:05:43 +02:00
Giuseppe Scrivano 3eeb03d1f9
podman: fix --log-opt=path=%s
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-24 13:02:07 +02:00
Giuseppe Scrivano 145d74716c
podman: fix --http-proxy
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-24 12:56:24 +02:00
Giuseppe Scrivano a1f73d0954
podman: fix podman --group-add
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-24 12:56:23 +02:00
Giuseppe Scrivano 543d5f1740
test: fix --host-env test
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-24 12:56:22 +02:00
Giuseppe Scrivano 2e6a62fc38
podman: fix --cgroups=disabled
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-24 12:56:21 +02:00
Giuseppe Scrivano 9f8d002e1f
test: enable some run_test.go tests that pass now
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-24 12:56:21 +02:00
Giuseppe Scrivano a3acc4f977
podman: add support for --rootfs
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-24 12:56:20 +02:00
OpenShift Merge Robot 2c457a632c
Merge pull request #5962 from rhatdan/selinux
Fix SELinux functions names to not be repetitive
2020-04-24 12:48:39 +02:00
dependabot-preview[bot] f0ebde8254
Bump github.com/containers/common from 0.9.4 to 0.9.5
Bumps [github.com/containers/common](https://github.com/containers/common) from 0.9.4 to 0.9.5.
- [Release notes](https://github.com/containers/common/releases)
- [Commits](https://github.com/containers/common/compare/v0.9.4...v0.9.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-24 06:43:30 -04:00
Giuseppe Scrivano 23d431f0bf
specgen: fix error message
the check is correct but the error message was stating the opposite.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-24 10:49:18 +02:00
Giuseppe Scrivano 36039a38ea
create: move validate after setting default ns
validate the configuration only after we set the default namespaces.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-24 10:48:40 +02:00
OpenShift Merge Robot 81c7a2444c
Merge pull request #5957 from giuseppe/drop-foo
foo: delete spurious file
2020-04-24 10:03:35 +02:00
OpenShift Merge Robot d1be20fa5b
Merge pull request #5963 from akerl-unpriv/fix/tmpdir-for-pull
set bigfilestemporarydir for pull
2020-04-24 10:00:53 +02:00
Les Aker 26081e79c1 remove blank line
Signed-off-by: Les Aker <me@lesaker.org>
2020-04-23 16:25:02 -04:00
Les Aker 2c328f94b6 set bigfilestemporarydir for pull
Signed-off-by: Les Aker <me@lesaker.org>
2020-04-23 16:15:55 -04:00
Daniel J Walsh 995cd97c10
Fix SELinux functions names to not be repetitive
Since functions are now in an selinux subpackage, they should not start with
SELinux

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-23 15:57:34 -04:00
Giuseppe Scrivano 0e9967e038
foo: delete spurious file
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-23 20:51:56 +02:00
OpenShift Merge Robot 802763c604
Merge pull request #5933 from giuseppe/fix-namespaces
podman, v2: handle namespaces specified on the CLI
2020-04-23 19:32:08 +02:00
OpenShift Merge Robot e5a3e46746
Merge pull request #5946 from jwhonce/wip/shutdown
V2 restore libpod.Shutdown() when exiting podman commands
2020-04-23 18:27:32 +02:00
Giuseppe Scrivano 48530acbd9
podman: handle namespaces specified on the CLI
and handle differently the user namespace as it supports additional
options.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-23 18:05:03 +02:00
Giuseppe Scrivano 2fd6a84c09
specgen: do not always set shmsize
if it wasn't overriden on the CLI, leave it undefined.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-23 18:05:02 +02:00
Giuseppe Scrivano d98b6f4232
pkg: fix shmsize error message
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-23 18:05:01 +02:00
OpenShift Merge Robot 397dcc358a
Merge pull request #5843 from QiWang19/manifest_create
manifest create,add,inspect
2020-04-23 17:45:38 +02:00
OpenShift Merge Robot e25528633d
Merge pull request #5952 from rhatdan/v
Stop wrapping pull messages
2020-04-23 13:31:51 +02:00
Daniel J Walsh e66346c7b0
Stop wrapping pull messages
The length and size of our error messages on failure to pull
is huge.  This patch at least eliminates some of the wrapping.
But I think eventually we need to look at containers/image
and see if we can modify the error messages to something a little
more human friendly.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-23 05:31:36 -04:00
OpenShift Merge Robot c71bbffc0f
Merge pull request #5948 from jwhonce/jira/826
V2 Restore rmi tests
2020-04-23 10:32:15 +02:00