Commit graph

23873 commits

Author SHA1 Message Date
Chris Evich
09b6cd06c8
Cirrus: Install conmon in Fedora VMs
This is needed because older versions of podman (1.5.1) do not
automatically install the new conmon package.

Also, include removal of `/usr/libexec/podman/conmon` when preparing to
install and test podman built from source.

Signed-off-by: Chris Evich <cevich@redhat.com>
2019-10-07 11:27:45 -04:00
Valentin Rothberg
6e0ca9e46c vendor c/psgo@v1.3.2
Now supports cgroupsv2.

Fixes: #4192
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2019-10-07 16:27:09 +02:00
OpenShift Merge Robot
589261f275
Merge pull request #4196 from mheon/normal_remove_on_evict
When evicting containers, perform a normal remove first
2019-10-07 02:54:13 -07:00
Simon Li
8bfa4c975b troubleshooting: fix useradd no-log-init argument
--log-no-init should be --no-log-init

Signed-off-by: Simon Li <spli@dundee.ac.uk>
2019-10-06 12:21:06 +01:00
OpenShift Merge Robot
2c2782a217
Merge pull request #4165 from mtrmac/c-image-4
Update c/image to v4.0.0 + Buildah to 1.11.3
2019-10-04 13:26:38 -07:00
Daniel J Walsh
118cf1fc63
Setup a reasonable default for pids-limit 4096
CRI-O defaults to 1024 for the maximum pids in a container.  Podman
should have a similar limit. Once we have a containers.conf, we can
set the limit in this file, and have it easily customizable.

Currently the documentation says that -1 sets pids-limit=max, but -1 fails.
This patch allows -1, but also indicates that 0 also sets the max pids limit.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-10-04 16:09:13 -04:00
Miloslav Trmač
d3f59bedb3 Update c/image to v4.0.1 and buildah to 1.11.3
This requires updating all import paths throughout, and a matching
buildah update to interoperate.

I can't figure out the reason for go.mod tracking
	github.com/containers/image v3.0.2+incompatible // indirect
((go mod graph) lists it as a direct dependency of libpod, but
(go list -json -m all) lists it as an indirect dependency),
but at least looking at the vendor subdirectory, it doesn't seem
to be actually used in the built binaries.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2019-10-04 20:18:23 +02:00
OpenShift Merge Robot
bd08fc0e9b
Merge pull request #4180 from cevich/update_download_links
Docs: Update links, add links to latest
2019-10-04 08:55:50 -07:00
OpenShift Merge Robot
c03b1b95a3
Merge pull request #4194 from containers/dependabot/go_modules/gopkg.in/yaml.v2-2.2.4
Bump gopkg.in/yaml.v2 from 2.2.3 to 2.2.4
2019-10-04 08:45:34 -07:00
Matthew Heon
bb803b8f7a When evicting containers, perform a normal remove first
This ensures that containers that didn't require an evict will be
dealt with normally, and we only break out evict for containers
that refuse to be removed by normal means.

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2019-10-04 11:04:43 -04:00
OpenShift Merge Robot
70d5b0a6fb
Merge pull request #4186 from cevich/log_runc_crun
Cirrus: Simplify package NVR logging
2019-10-04 07:42:05 -07:00
OpenShift Merge Robot
c9e936a407
Merge pull request #3549 from marcov/evict-container
Add ability to evict a container
2019-10-04 07:30:27 -07:00
dependabot-preview[bot]
f418fc70e7 Bump gopkg.in/yaml.v2 from 2.2.3 to 2.2.4
Bumps [gopkg.in/yaml.v2](https://github.com/go-yaml/yaml) from 2.2.3 to 2.2.4.
- [Release notes](https://github.com/go-yaml/yaml/releases)
- [Commits](https://github.com/go-yaml/yaml/compare/v2.2.3...v2.2.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2019-10-04 15:27:36 +02:00
OpenShift Merge Robot
1fe9556009
Merge pull request #4188 from Mrigank11/validate_network_name
podman network create: validate user input
2019-10-04 02:11:56 -07:00
Mrigank Krishan
c5e26f8e40 podman network create: validate user input
Disallow invalid/confusing names such as '../bar' or 'foo '
Closes #4184

Signed-off-by: Mrigank Krishan <mrigankkrishan@gmail.com>
2019-10-04 02:34:01 +05:30
Chris Evich
5756fd8ff9
Cirrus: Simplify package NVR logging
Also include runc/crun version for Fedora

Signed-off-by: Chris Evich <cevich@redhat.com>
2019-10-03 15:53:07 -04:00
OpenShift Merge Robot
7af4074c6f
Merge pull request #4161 from afbjorklund/machine-env
Handle environment variables from podman-machine
2019-10-03 12:45:43 -07:00
Chris Evich
980291d0c1
Docs: Update links, add links to latest
Signed-off-by: Chris Evich <cevich@redhat.com>
2019-10-03 15:18:38 -04:00
Chris Evich
f8deaf9f9d
Cirrus: Fix log URIs & add optional $ALSO_FILENAME
Signed-off-by: Chris Evich <cevich@redhat.com>
2019-10-03 15:18:26 -04:00
OpenShift Merge Robot
86c8650c23
Merge pull request #4174 from cevich/use_bash_not_sh
System-tests: Use bash explicitly
2019-10-03 11:28:58 -07:00
OpenShift Merge Robot
343573461b
Merge pull request #4173 from mheon/bump_release_in_readme
Podman 1.6.0 has been released, update the README
2019-10-03 11:28:52 -07:00
OpenShift Merge Robot
1f85f9f82e
Merge pull request #4163 from containers/dependabot/go_modules/gopkg.in/yaml.v2-2.2.3
Bump gopkg.in/yaml.v2 from 2.2.2 to 2.2.3
2019-10-03 11:28:44 -07:00
Chris Evich
584c70a9f8
Raise start_test polling interval
According to the documentation
https://onsi.github.io/gomega/#eventually

> the default value for the polling interval is 10 milliseconds

That is excessively fast given the observed failures in
issue #4021 are always using podman-remote.  Lower the interval to
3-seconds, which should be plenty long enough for container removal.

Signed-off-by: Chris Evich <cevich@redhat.com>
2019-10-03 12:08:36 -04:00
OpenShift Merge Robot
f96fbfcd6d
Merge pull request #4179 from edsantiago/bats
system tests: info: deal with hyphen in username
2019-10-03 08:17:03 -07:00
Ed Santiago
0ed9763b72 system tests: info: deal with hyphen in username
...e.g. cloud-user. 9822f54ac was intended to fix this,
but it doesn't. Simple and standard solution is to
move the dash to the end of the character class.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2019-10-03 07:55:41 -06:00
OpenShift Merge Robot
b32cb4b750
Merge pull request #4169 from TomSweeneyRedHat/dev/tsweeney/tutreadfix2
Add api link to tutorials
2019-10-03 06:37:33 -07:00
OpenShift Merge Robot
e67e9e123c
Merge pull request #4177 from mheon/bump-1.6.1
Bump to v1.6.1
2019-10-02 16:12:02 -07:00
Matthew Heon
119bc9b6f8 Bump gitvalidation epoch
Signed-off-by: Matthew Heon <mheon@redhat.com>
2019-10-02 17:39:05 -04:00
Matthew Heon
9e5646ec23 Bump to v1.6.2-dev
Signed-off-by: Matthew Heon <mheon@redhat.com>
2019-10-02 17:39:05 -04:00
Matthew Heon
233d95f4f0 Bump to v1.6.1
Signed-off-by: Matthew Heon <mheon@redhat.com>
2019-10-02 17:39:00 -04:00
OpenShift Merge Robot
960f07b0f7
Merge pull request #4176 from mheon/release_notes_1.6.1
Update release notes for v1.6.1
2019-10-02 14:37:14 -07:00
Matthew Heon
2bb5279503 Update release notes for v1.6.1
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2019-10-02 15:25:01 -04:00
Anders F Björklund
c831a64bb1 Apply changes also to the windows implementation
Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
2019-10-02 20:49:09 +02:00
Chris Evich
c091374d77
System-tests: Use bash explicitly
On Ubuntu, /bin/sh != /bin/bash.  Update system-tests to only use
bash for testing consistency across platforms.

Signed-off-by: Chris Evich <cevich@redhat.com>
2019-10-02 14:32:31 -04:00
OpenShift Merge Robot
0046b0195e
Merge pull request #4170 from mheon/bump-1.6.1-rc1
Bump to v1.6.1-RC1
2019-10-02 10:36:47 -07:00
Matthew Heon
6a540bd3ba Podman 1.6.0 has been released, update the README
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2019-10-02 13:09:50 -04:00
Matthew Heon
3018d700bb Bump gitvalidation epoch
Signed-off-by: Matthew Heon <mheon@redhat.com>
2019-10-02 12:42:13 -04:00
Matthew Heon
faf70ae589 Bump to v1.6.1-dev
Signed-off-by: Matthew Heon <mheon@redhat.com>
2019-10-02 12:42:13 -04:00
Matthew Heon
a2fdb6ea02 Bump to v1.6.1-rc1
Signed-off-by: Matthew Heon <mheon@redhat.com>
2019-10-02 12:42:10 -04:00
OpenShift Merge Robot
dac7889d13
Merge pull request #4171 from giuseppe/allow-cgroupfs-on-cgroup
rootless: allow cgroupfs manager on cgroups v2
2019-10-02 09:40:19 -07:00
Giuseppe Scrivano
4ad2cd54a1
rootless: allow cgroupfs manager on cgroups v2
if there are no resources specified, make sure the OCI resources block
is empty so that the OCI runtime won't complain.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-10-02 17:07:14 +02:00
OpenShift Merge Robot
2648955cf5
Merge pull request #4168 from edsantiago/bats
system tests: reenable skipped tests
2019-10-02 07:41:07 -07:00
TomSweeneyRedHat
5f932fa441 Add api link to tutorials
We recently moved the "How to use libpod for custom/derivative projects" page to
the docs/tutorials directory.  This adds a link to the README.md there so it can
be more easily found and adds a logo to the tutorial itself.

Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
2019-10-02 10:25:42 -04:00
OpenShift Merge Robot
257a985f5a
Merge pull request #4150 from containers/dependabot/go_modules/github.com/onsi/gomega-1.7.0
Bump github.com/onsi/gomega from 1.5.0 to 1.7.0
2019-10-02 06:34:50 -07:00
Ed Santiago
6c0b5a2fab system tests: reenable skipped tests
Issue #3829 (cp symlinks) has been fixed: enable tests for it

And, it looks like podman-remote is now handling exit status
of a force-rm'ed container. Enable that test too.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2019-10-02 06:22:36 -06:00
OpenShift Merge Robot
32a2ce8fc0
Merge pull request #4166 from giuseppe/set-dbus-session-if-not-set
rootless: set DBUS_SESSION_BUS_ADDRESS if it is not set
2019-10-02 02:33:24 -07:00
OpenShift Merge Robot
74879c8c17
Merge pull request #4140 from vrothberg/add-libbtrfs-dev
install.md: add libbtrfs-dev for Debian build
2019-10-02 01:14:44 -07:00
Giuseppe Scrivano
57f4149a87
rootless: set DBUS_SESSION_BUS_ADDRESS if it is not set
if the variable is not set, make sure it has a sane value so that
go-dbus won't try to connect to the wrong user session.

Closes: https://github.com/containers/libpod/issues/4162
Closes: https://github.com/containers/libpod/issues/4164

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-10-02 09:21:57 +02:00
dependabot-preview[bot]
2f6276cd72 Bump gopkg.in/yaml.v2 from 2.2.2 to 2.2.3
Bumps [gopkg.in/yaml.v2](https://github.com/go-yaml/yaml) from 2.2.2 to 2.2.3.
- [Release notes](https://github.com/go-yaml/yaml/releases)
- [Commits](https://github.com/go-yaml/yaml/compare/v2.2.2...v2.2.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Matthew Heon <mheon@redhat.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2019-10-02 09:14:25 +02:00
Anders F Björklund
23ae7604c9 Allow setting default parameters with env vars
Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
2019-10-01 19:46:57 +02:00