OpenShift Merge Robot
82cbebcbea
Merge pull request #5656 from baude/v2imagetag
...
podman v2 image tag and untag
2020-04-01 16:10:10 +02:00
OpenShift Merge Robot
394f1c26d6
Merge pull request #5684 from baude/v2podps
...
podmanv2 pod ps
2020-04-01 15:39:35 +02:00
Brent Baude
26644d7cb8
podman v2 image tag and untag
...
add the ability to tag and untag images in podmanv2
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-03-31 19:36:26 -05:00
Brent Baude
7def91910c
podmanv2 pod ps
...
add the ability to list pods in podmanv2
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-03-31 19:32:37 -05:00
OpenShift Merge Robot
6d36d05447
Merge pull request #5670 from cevich/new_images
...
Cirrus: Update VM Images
2020-04-01 00:01:10 +02:00
OpenShift Merge Robot
9f5fcc3565
Merge pull request #5655 from baude/v2hcrun
...
podmanv2 enable healthcheck run
2020-03-31 23:01:19 +02:00
OpenShift Merge Robot
4d66704211
Merge pull request #5683 from larsks/bug/rpm-systemd-tag
...
add systemd build tag to podman builds
2020-03-31 22:37:15 +02:00
OpenShift Merge Robot
6e8f6cab60
Merge pull request #5675 from vrothberg/v2-pull
...
podmanV2: implement pull
2020-03-31 21:12:49 +02:00
OpenShift Merge Robot
56ab9e4cc8
Merge pull request #5649 from jwhonce/wip/varlink
...
V2 Move varlink home
2020-03-31 20:34:36 +02:00
OpenShift Merge Robot
4e3010d4e7
Merge pull request #5681 from rhatdan/timeout
...
Switch to using --time as opposed to --timeout to better match Docker.
2020-03-31 16:32:59 +02:00
OpenShift Merge Robot
7d4ab3fd8f
Merge pull request #5518 from containers/dependabot/go_modules/github.com/containers/conmon-2.0.12incompatible
...
Bump github.com/containers/conmon from 2.0.10+incompatible to 2.0.14
2020-03-31 16:30:34 +02:00
OpenShift Merge Robot
9b86835c39
Merge pull request #5674 from containers/dependabot/go_modules/github.com/rootless-containers/rootlesskit-0.9.3
...
Bump github.com/rootless-containers/rootlesskit from 0.9.2 to 0.9.3
2020-03-31 16:28:09 +02:00
Lars Kellogg-Stedman
2753df2973
add systemd build tag to podman builds
...
Without the systemd build tag, podman will fail with the error "No
support for journald logging".
This commit adds the `systemd` build tag explicitly, rather than
relying on `hack/systemd_tag.sh` (because we're building an rpm and
we've explicitly included systemd-devel as a dependency).
Signed-off-by: Lars Kellogg-Stedman <lars@redhat.com>
2020-03-31 09:42:42 -04:00
dependabot-preview[bot]
4841cd1630
Bump github.com/rootless-containers/rootlesskit from 0.9.2 to 0.9.3
...
Bumps [github.com/rootless-containers/rootlesskit](https://github.com/rootless-containers/rootlesskit ) from 0.9.2 to 0.9.3.
- [Release notes](https://github.com/rootless-containers/rootlesskit/releases )
- [Commits](https://github.com/rootless-containers/rootlesskit/compare/v0.9.2...v0.9.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-03-31 09:05:15 -04:00
Daniel J Walsh
3449b27cd1
Switch to using --time as opposed to --timeout to better match Docker.
...
We need to consistently use --time rather then --timeout throughout the code.
Fix locations where timeout defaults are not set correctly as well.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-03-31 08:50:32 -04:00
Valentin Rothberg
3bdad6fa2a
podmanV2: implement pull
...
Implement pulling images for the v2 client. What I _really_ don't like
is the fact that we are now having a near identical code clone among
`pkg/domain/infra/abi` and `pkg/api/handlers/libpod`. Partly because we
don't yet have a higher-level pull function and partly because we have
redudancy among `pkg/domain` and `pkg/api`. Pull might be a high
outlier but I am concerned already by the potential of introducing more
redundancy. I'd love to `infra/abi` and `pkg/abi` to really use the
same code in the future.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-03-31 13:01:27 +02:00
Chris Evich
5884225cb0
Cirrus: Update VM Images
...
Fedora release 31 (Thirty One)
```
Kernel: 5.5.11-200.fc31.x86_64
Cgroups: cgroup2fs
conmon-2.0.14-1.fc31-x86_64
containernetworking-plugins-0.8.5-1.fc31-x86_64
containers-common-0.1.41-1.fc31-x86_64
container-selinux-2.129.0-1.fc31-noarch
criu-3.13-5.fc31-x86_64
crun-0.13-1.fc31-x86_64
golang-1.13.6-1.fc31-x86_64
libseccomp-2.4.2-2.fc31-x86_64
package runc is not installed
podman-1.8.2-2.fc31-x86_64
skopeo-0.1.41-1.fc31-x86_64
slirp4netns-0.4.0-20.1.dev.gitbbd6f25.fc31-x86_64
```
Ubuntu 18.04.4 LTS
```
Kernel: 5.0.0-1031-gcp
Cgroups: tmpfs
conmon-2.0.14~1-amd64
containernetworking-plugins-0.8.5~1-amd64
containers-common-0.1.41~1-all
cri-o-runc-1.0.0-3~dev2-amd64
criu-3.13-2ppa1.18.04-amd64
golang-2:1.14-1longsleep1+bionic-all
libseccomp2-2.4.1-0ubuntu0.18.04.2-amd64
podman-1.8.2~1-amd64
skopeo-0.1.41~1-amd64
slirp4netns-0.4.3~1-amd64
```
Signed-off-by: Chris Evich <cevich@redhat.com>
2020-03-30 17:07:33 -04:00
OpenShift Merge Robot
9c7410d331
Merge pull request #5669 from sshnaidm/cpushare
...
Revert "Default CPUShares in Inspect are 1024"
2020-03-30 22:01:16 +02:00
Chris Evich
19c3b5462f
Cirrus: Minor docs update
...
Signed-off-by: Chris Evich <cevich@redhat.com>
2020-03-30 16:00:01 -04:00
Sagi Shnaidman
f7241b24e6
Revert "Default CPUShares in Inspect are 1024"
...
cpu-share is 0 in docker inspect, see
https://github.com/moby/moby/issues/35452
This reverts commit eb229d526c .
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2020-03-30 21:38:19 +03:00
OpenShift Merge Robot
edd623c419
Merge pull request #5667 from edsantiago/apiv2_fixes
...
fix more swagger inconsistencies
2020-03-30 19:29:10 +02:00
OpenShift Merge Robot
95d9a1e667
Merge pull request #5664 from giuseppe/rootless-make-error-not-fatal
...
rootless: make cgroup ownership detection not fatal
2020-03-30 17:50:06 +02:00
OpenShift Merge Robot
c77a57ff2c
Merge pull request #5662 from containers/dependabot/go_modules/github.com/spf13/cobra-0.0.7
...
Bump github.com/spf13/cobra from 0.0.6 to 0.0.7
2020-03-30 17:47:28 +02:00
Ed Santiago
11e79bcd95
fix more swagger inconsistencies
...
I'm getting really tired of doing this manually.
Signed-off-by: Ed Santiago <santiago@redhat.com>
2020-03-30 09:45:34 -06:00
Jhon Honce
7a12e01556
V2 Move varlink home
...
* move cmd/podman/varlink/* to pkg/varlink to support podmanV2 refactor
* update Makefile
* reformatted all impacted code
Signed-off-by: Jhon Honce <jhonce@redhat.com>
2020-03-30 08:18:35 -07:00
OpenShift Merge Robot
0fa01c8bf8
Merge pull request #5643 from edsantiago/test_apiv2
...
API v2 tests: usability improvements
2020-03-30 16:51:58 +02:00
Daniel J Walsh
3838bb0062
Bump github.com/containers/conmon
...
Bumps [github.com/containers/conmon](https://github.com/containers/conmon ) from 2.0.10+incompatible to 2.0.14
- [Release notes](https://github.com/containers/conmon/releases )
- [Changelog](https://github.com/containers/conmon/blob/master/changelog.txt )
- [Commits](https://github.com/containers/conmon/compare/v2.0.10...v2.0.14 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-03-30 10:30:33 -04:00
dependabot-preview[bot]
16fa9b6a0b
Bump github.com/spf13/cobra from 0.0.6 to 0.0.7
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 0.0.6 to 0.0.7.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v0.0.6...0.0.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-03-30 10:00:55 -04:00
OpenShift Merge Robot
cc22b94a7a
Merge pull request #5602 from rhatdan/vendor
...
Update vendor of boltdb and containers/image
2020-03-30 15:54:36 +02:00
OpenShift Merge Robot
8193751287
Merge pull request #5639 from vrothberg/v2-pod-top
...
V2 pod top
2020-03-30 13:59:37 +02:00
Giuseppe Scrivano
f59c948928
rootless: make cgroup ownership detection not fatal
...
do not fail if we cannot detect the cgroup ownership. The detection
fails when running in a container, since the cgroup showed in
/proc/self/cgroup is not accessible, due to the runtime mounting it
directly as the cgroup root.
Closes: https://github.com/containers/libpod/issues/5488
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-03-30 12:24:10 +02:00
Brent Baude
a84c006368
podmanv2 enable healthcheck run
...
run healthcheck with podmanv2
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-03-29 18:48:29 -05:00
OpenShift Merge Robot
598bb53d46
Merge pull request #5523 from xcffl/patch-1
...
Fix path of tmp_dir
2020-03-29 14:12:58 +02:00
OpenShift Merge Robot
dabfa10b65
Merge pull request #5641 from baude/v2commit
...
podmanv2 commit
2020-03-29 13:22:25 +02:00
Daniel J Walsh
366001fb5f
Update vendor of boltdb and containers/image
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-03-29 06:16:27 -04:00
Valentin Rothberg
edec8ccf3f
swagger: top: remove "Docker" from the identifiers
...
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-03-28 17:32:27 +01:00
Valentin Rothberg
9812804f75
podmanv2: implement pod top
...
Implement `podman pod top` for podmanV2.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-03-28 17:32:22 +01:00
Valentin Rothberg
cc129d13c5
v2 api: implement pods top endpoint
...
Note that this commit does not add tests for the pod-top endpoint.
They will be added in a later change.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-03-28 16:49:08 +01:00
OpenShift Merge Robot
684b4bd2f1
Merge pull request #5644 from rhatdan/buildah
...
Bump to buildah v1.14.5
2020-03-28 16:29:54 +01:00
Brent Baude
3ff1583814
podmanv2 commit
...
add commit of a container to a container-image
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-03-28 10:11:50 -05:00
OpenShift Merge Robot
21b67e6469
Merge pull request #4976 from rpjday/rpjday/podman_version
...
docs: mention that "podman version" prints out Remote API Version
2020-03-28 10:52:42 +01:00
OpenShift Merge Robot
17ad800905
Merge pull request #5368 from cevich/opensuse_ubuntu_packages
...
Opensuse openbuild ubuntu + buildah packages
2020-03-28 10:50:10 +01:00
OpenShift Merge Robot
debd6face3
Merge pull request #4340 from cevich/libseccomp_update
...
Log libseccomp package version
2020-03-28 10:47:32 +01:00
OpenShift Merge Robot
3336b100ef
Merge pull request #4698 from rhatdan/containers.conf
...
Add support for containers.conf
2020-03-27 20:55:48 +01:00
Daniel J Walsh
4e2aa8563b
Bump to buildah v1.14.5
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-03-27 14:49:19 -04:00
OpenShift Merge Robot
1fe2fbb421
Merge pull request #5642 from tylarb/5610_play_kube_network
...
Sanitize port parsing for pods in play kube
2020-03-27 19:42:50 +01:00
Daniel J Walsh
4352d58549
Add support for containers.conf
...
vendor in c/common config pkg for containers.conf
Signed-off-by: Qi Wang qiwan@redhat.com
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-03-27 14:36:03 -04:00
Ed Santiago
46e434e2cb
API v2 tests: usability improvements
...
* Allow for descriptive comment in 't' invocations, making it
easier to distinguish similar requests
* Include test file basename (eg 40-pods) in 'ok/not ok' line
* Always symlink $TMPDIR/test-apiv2.log to latest YYMMDDetc file
* Include test result ('ok', 'not ok') in said log
* When curl results are JSON, filter them through jq into log
Signed-off-by: Ed Santiago <santiago@redhat.com>
2020-03-27 12:25:59 -06:00
OpenShift Merge Robot
2c5c198020
Merge pull request #5632 from jwhonce/wip/images
...
V2 podman image prune
2020-03-27 18:47:51 +01:00
Tyler Ramer
d704144f53
Sanitize port parsing for pods in play kube
...
The logic used in parsing the ports to be utilized in a kubenetes api
defined pod did not fully adhere to the kubenetes spec, nor did it map
well to a podman context. This fix sanitizes the input of container
ports to meet the following rules:
- A defined containerPort with no defined hostPort does nothing in a
podman context, or is informational. This is line with [usage in
Kubernetes.](https://github.com/kubernetes/kubernetes/issues/4332 )
- A defined hostPort with no defined containerPort acts like a
publish [hostPort]:[hostPort]
- A defined containerPort and defined hostPort works like it does in
kubernetes, as in a publish [hostPort]:[containerPort]
Addresses https://github.com/containers/libpod/issues/5610
Signed-off-by: Tyler Ramer <tyaramer@gmail.com>
2020-03-27 13:33:37 -04:00