Commit graph

12161 commits

Author SHA1 Message Date
OpenShift Merge Robot a53251e1c6
Merge pull request #10533 from rhatdan/docs
[CI:DOCS] Fix spacing in buildthedocs
2021-06-03 18:01:22 +02:00
OpenShift Merge Robot cbcf0a1dd7
Merge pull request #10545 from containers/dependabot/go_modules/go.etcd.io/bbolt-1.3.6
Bump go.etcd.io/bbolt from 1.3.5 to 1.3.6
2021-06-03 17:58:24 +02:00
OpenShift Merge Robot 0f8ec8e366
Merge pull request #10543 from containers/dependabot/go_modules/github.com/opencontainers/selinux-1.8.2
Bump github.com/opencontainers/selinux from 1.8.1 to 1.8.2
2021-06-03 17:57:25 +02:00
OpenShift Merge Robot 251f5b8d75
Merge pull request #10541 from Luap99/fix-10158
add ipv6 nameservers only when the container has ipv6 enabled
2021-06-03 17:31:25 +02:00
OpenShift Merge Robot e4cce8f34f
Merge pull request #10544 from containers/dependabot/go_modules/github.com/docker/docker-20.10.7incompatible
Bump github.com/docker/docker from 20.10.6+incompatible to 20.10.7+incompatible
2021-06-03 17:07:23 +02:00
dependabot[bot] 735470ff23
Bump go.etcd.io/bbolt from 1.3.5 to 1.3.6
Bumps [go.etcd.io/bbolt](https://github.com/etcd-io/bbolt) from 1.3.5 to 1.3.6.
- [Release notes](https://github.com/etcd-io/bbolt/releases)
- [Commits](https://github.com/etcd-io/bbolt/compare/v1.3.5...v1.3.6)

---
updated-dependencies:
- dependency-name: go.etcd.io/bbolt
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-03 09:34:51 +00:00
dependabot[bot] 48ea142ca5
Bump github.com/docker/docker
Bumps [github.com/docker/docker](https://github.com/docker/docker) from 20.10.6+incompatible to 20.10.7+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Changelog](https://github.com/moby/moby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/docker/docker/compare/v20.10.6...v20.10.7)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-03 09:34:37 +00:00
dependabot[bot] b36278c3ef
Bump github.com/opencontainers/selinux from 1.8.1 to 1.8.2
Bumps [github.com/opencontainers/selinux](https://github.com/opencontainers/selinux) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/opencontainers/selinux/releases)
- [Commits](https://github.com/opencontainers/selinux/compare/v1.8.1...v1.8.2)

---
updated-dependencies:
- dependency-name: github.com/opencontainers/selinux
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-03 09:34:20 +00:00
OpenShift Merge Robot b64e20a53d
Merge pull request #10540 from containers/dependabot/go_modules/github.com/onsi/ginkgo-1.16.4
Bump github.com/onsi/ginkgo from 1.16.3 to 1.16.4
2021-06-03 11:26:03 +02:00
Paul Holzinger df2e7e00fc add ipv6 nameservers only when the container has ipv6 enabled
The containers /etc/resolv.conf allways preserved the ipv6 nameserves
from the host even when the container did not supported ipv6. Check
if the cni result contains an ipv6 address or slirp4netns has ipv6
support enabled and only add the ipv6 nameservers when this is the case.

The test needs to have an ipv6 nameserver in the hosts /etc/hosts but we
should never mess with this file on the host. Therefore the test is
skipped when no ipv6 is detected.

Fixes #10158

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2021-06-03 10:19:36 +02:00
dependabot[bot] 366016fa85
Bump github.com/onsi/ginkgo from 1.16.3 to 1.16.4
Bumps [github.com/onsi/ginkgo](https://github.com/onsi/ginkgo) from 1.16.3 to 1.16.4.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v1.16.3...v1.16.4)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-03 08:01:15 +00:00
Daniel J Walsh 433a5a8c7f
Fix spacing in buildthedocs
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-06-02 16:56:12 -04:00
OpenShift Merge Robot 52dae693da
Merge pull request #10514 from vrothberg/fix-10507
events: support disjunctive filters
2021-06-02 10:37:58 -04:00
Valentin Rothberg 37f39eefee events: support disjunctive filters
While different filters are applied in conjunction, the same filter (but
with different values) should be applied in disjunction.  This allows,
for instance, to query the events of two containers.

Fixes: #10507
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2021-06-02 13:37:56 +02:00
OpenShift Merge Robot 6df37abd50
Merge pull request #10523 from rhatdan/docs
[CI:DOCS] Use secrets and machine rst file properly
2021-06-02 07:05:57 -04:00
OpenShift Merge Robot 41c76d694f
Merge pull request #10527 from edsantiago/bats
System tests: add :Z to volume mounts
2021-06-01 20:37:15 -04:00
OpenShift Merge Robot 1f3b13759f
Merge pull request #10517 from cdoern/master
API one-shot query implementation/handling
2021-06-01 19:49:15 -04:00
Ed Santiago b6167cedb2 System tests: add :Z to volume mounts
selinux-policy-34.9-1.fc34 breaks a behavior we've relied on
since (at least) January 2020:

   - Revert "Add permission open to files_read_inherited_tmp_files()
     interface"

That's probably the correct thing to do, but it breaks our
existing tests. Solution: add ':Z' where needed.

Tested on Ed's laptop, which has the offending selinux-policy
as of 2021-05-31. Tests pass root and rootless. (I mention
this because tests will obviously pass in CI, which has a
much older selinux-policy).

Also: add a 'podman rmi' for cleanup in one test, to avoid
noise in test logs.

Fixes: #10522

Signed-off-by: Ed Santiago <santiago@redhat.com>
2021-06-01 15:26:18 -06:00
OpenShift Merge Robot 24b364a230
Merge pull request #10486 from vrothberg/tag-digest-support
support tag@digest notation
2021-06-01 22:38:03 +02:00
OpenShift Merge Robot ce2b331fef
Merge pull request #10519 from matejvasek/use-req-ctx
Use request context instead of background
2021-06-01 22:37:02 +02:00
OpenShift Merge Robot 36ff2293e3
Merge pull request #10524 from rugk/patch-1
[CI:DOCS] Fix link error
2021-06-01 22:36:04 +02:00
rugk ff79b2e5a1
Fix link error
Signed-off-by: rugk <rugk+git@posteo.de>
2021-06-01 21:49:35 +02:00
Daniel J Walsh 433674918a
Use secrets and machine rst file properly
This change makes secrets and machine handling match the handling of
other subcommands of Podman.

Possible fixes: https://github.com/containers/podman/issues/10513

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-06-01 15:31:56 -04:00
cdoern 2cc4535e1f added tests in python rest api
Signed-off-by: cdoern <cbdoer23@g.holycross.edu>
2021-06-01 14:54:02 -04:00
OpenShift Merge Robot cbffdddce6
Merge pull request #10488 from baude/machinehostnetwork
Enable port forwarding on host
2021-06-01 19:41:46 +02:00
OpenShift Merge Robot 7a52440a6d
Merge pull request #10508 from matejvasek/fix-from-img
Better error handing for images/create compat api
2021-06-01 19:10:47 +02:00
OpenShift Merge Robot 19cd46cdc2
Merge pull request #10510 from matejvasek/improve-creat-from-img
Use request context instead of background context
2021-06-01 19:08:49 +02:00
OpenShift Merge Robot 65ae1e4506
Merge pull request #10516 from vrothberg/fix-10512
[CI:DOCS] rm containers-mounts.conf.5.md
2021-06-01 19:06:47 +02:00
OpenShift Merge Robot 53642ca5e9
Merge pull request #10518 from zhangguanzhang/api-networks-list
[NO TESTS NEEDED] Fixes API list networks returns "null" instead of empty array when used with no networks
2021-06-01 17:31:47 +02:00
Brent Baude 7ef3981abe Enable port forwarding on host
Using the gvproxy application on the host, we can now port forward from
the machine vm on the host.  It requires that 'gvproxy' be installed in
an executable location.  gvproxy can be found in the
containers/gvisor-tap-vsock github repo.

[NO TESTS NEEDED]

Signed-off-by: Brent Baude <bbaude@redhat.com>
2021-06-01 10:13:18 -05:00
Matej Vasek ad182976b6 Use request context instead of background
This prevents goroutine leak:
If background context were used then push operation would continue even
if client aborted request by closing connection.

[NO TESTS NEEDED]

Signed-off-by: Matej Vasek <mvasek@redhat.com>
2021-06-01 15:25:20 +02:00
zhangguanzhang 1daaf34d7b [NO TESTS NEEDED] API list networks should return [] when used with no networks
Signed-off-by: zhangguanzhang <zhangguanzhang@qq.com>
2021-06-01 20:58:48 +08:00
Valentin Rothberg 249da1b93d [CI:DOCS] rm containers-mounts.conf.5.md
The code for mounts.conf including the man page lives in
containers/common, so remove it from Podman to prevent
divergence among the two repositories.

Fixes: #10512
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2021-06-01 13:57:07 +02:00
Matej Vasek ef8ba99ff6 Use request context instead of background context
This fixes a goroutine leak. Previously if request was cancelled the
image pulling goroutine kept running regardless.

[NO TESTS NEEDED]

Signed-off-by: Matej Vasek <mvasek@redhat.com>
2021-06-01 11:54:31 +02:00
OpenShift Merge Robot 7dd463bad1
Merge pull request #10504 from containers/dependabot/go_modules/github.com/onsi/ginkgo-1.16.3
Bump github.com/onsi/ginkgo from 1.16.2 to 1.16.3
2021-06-01 11:11:30 +02:00
OpenShift Merge Robot 8f5f0cf448
Merge pull request #10450 from containers/dependabot/go_modules/github.com/uber/jaeger-client-go-2.29.1incompatible
Bump github.com/uber/jaeger-client-go from 2.28.0+incompatible to 2.29.1+incompatible
2021-05-31 16:20:34 +02:00
Matej Vasek 3330f98762 Better error handing for images/create compat api
If server cannot resolve short name due to enforcing policy send
non-2xx status code.

[NO TESTS NEEDED]

Signed-off-by: Matej Vasek <mvasek@redhat.com>
2021-05-31 15:30:56 +02:00
dependabot[bot] d657a070d3
Bump github.com/uber/jaeger-client-go
Bumps [github.com/uber/jaeger-client-go](https://github.com/uber/jaeger-client-go) from 2.28.0+incompatible to 2.29.1+incompatible.
- [Release notes](https://github.com/uber/jaeger-client-go/releases)
- [Changelog](https://github.com/jaegertracing/jaeger-client-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uber/jaeger-client-go/compare/v2.28.0...v2.29.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-31 12:55:49 +00:00
OpenShift Merge Robot 60b372b49b
Merge pull request #10506 from vrothberg/fix-10493
generate systemd: make mounts portable
2021-05-31 14:53:35 +02:00
dependabot[bot] 761466dcab Bump github.com/onsi/ginkgo from 1.16.2 to 1.16.3
Bumps [github.com/onsi/ginkgo](https://github.com/onsi/ginkgo) from 1.16.2 to 1.16.3.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v1.16.2...v1.16.3)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2021-05-31 14:46:09 +02:00
Valentin Rothberg fb4a0c572e support tag@digest notation
Vendor in the latest HEAd of containers/common to implicitly support the
tag@digest notation for images.  To remain compatible with Docker, the
tag will be stripped off the image reference and is entirely ignored.

Fixes: #6721
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2021-05-31 14:38:43 +02:00
OpenShift Merge Robot c1c18039dc
Merge pull request #10502 from rugk/patch-1
[CI:DOCS] fix: add missing space
2021-05-31 13:52:33 +02:00
Valentin Rothberg 5307218419 generate systemd: make mounts portable
Commit 748826fc88 fixed a bug where slow mounting of the runroot was
causing issues when the units are started at boot.  The fix was to add
the container's runroot to the required mounts; the graph root has been
added as well.

Hard-coding the run- and graphroot to the required mounts, however,
breaks the portability of units generated with --now.  Those units are
intended to be running on any machine as, theoreticaly, any user.

Make the mounts portable by using the `%t` macro for the run root.
Since the graphroot's location varies across root and ordinary users,
drop it from the list of required mounts.  The graphroot was not causing
issues.

Fixes: #10493
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2021-05-31 11:31:27 +02:00
rugk 699272ed29
add missing space
Fixes a small typo in the man page. 🙂

Signed-off-by: rugk <rugk+git@posteo.de>
2021-05-31 08:36:42 +02:00
OpenShift Merge Robot 59236762ec
Merge pull request #10481 from flouthoc/fix-sigsegv-rootless
rootless: fix SIGSEGV, Make `LISTEN_FDNAMES` optional
2021-05-30 02:20:31 +02:00
OpenShift Merge Robot ffca97a01e
Merge pull request #10499 from edsantiago/libera
[CI:DOCS] point IRC to libera.chat
2021-05-30 00:41:32 +02:00
Ed Santiago 51a8e01f82 [CI:DOCS] point IRC to libera.chat
Project IRC comms are moving to Libera. Update docs.

Confirmation cookie: libera-ieVeeGahbiaf1einguw1xav6bahquie

Signed-off-by: Ed Santiago <santiago@redhat.com>
2021-05-29 11:39:40 -06:00
flouthoc 2addc0f90d rootless: fix SIGSEGV ,make LISTEN_FDNAMES optional [Closes #10435].
[NO TESTS NEEDED]

Signed-off-by: flouthoc <flouthoc.git@gmail.com>
2021-05-29 15:16:26 +05:30
OpenShift Merge Robot 083746112f
Merge pull request #10477 from Procyhon/manpage_syntax
[CI:DOCS] Manpage syntax proposal
2021-05-29 03:48:30 +02:00
OpenShift Merge Robot 3d6c19c8be
Merge pull request #10487 from rhatdan/docs
[CI:DOCS] Update a way out of date transfer document
2021-05-28 12:18:41 +02:00