Commit Graph

6355 Commits

Author SHA1 Message Date
Matthew Heon 74cce34e31 Bump to v0.10.2-dev
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
2018-10-17 11:34:13 -04:00
Matthew Heon 2b4f8d1f5f Bump to v0.10.1.2
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
2018-10-17 11:34:09 -04:00
Matthew Heon d12eb5f35a
Merge pull request #1668 from mheon/release_notes_0.10.1.2
Update release notes for 0.10.1.2
2018-10-17 11:33:47 -04:00
Matthew Heon 9002efcb77 Update release notes for 0.10.1.2
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
2018-10-17 11:34:11 -04:00
Matthew Heon 4ad2904261
Merge pull request #1667 from mheon/fix_systemd_cgroup_path
Fix CGroup paths used for systemd CGroup mount
2018-10-17 11:29:03 -04:00
Matthew Heon 4a60656dbb Fix CGroup paths used for systemd CGroup mount
We already have functions for retrieving the container's CGroup
path, so use them instead of manually generating a path.

Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
2018-10-17 10:45:58 -04:00
Matthew Heon 604728d65d
Merge pull request #1658 from mheon/bump-0.10.1.1
Bump to 0.10.1.1
2018-10-16 13:53:49 -04:00
Matthew Heon f98c4a9c73 Bump gitvalidation epoch
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
2018-10-16 13:52:16 -04:00
Matthew Heon a9d9444b70 Bump to v0.10.2-dev
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
2018-10-16 13:52:15 -04:00
Matthew Heon 4bea3e9466 Bump to v0.10.1.1
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
2018-10-16 13:52:10 -04:00
Matthew Heon 4aeaadb857
Merge pull request #1657 from mheon/release_notes_0.10.1.1
Update release notes for 0.10.1.1
2018-10-16 13:51:25 -04:00
Matthew Heon 58ad6ec779 Update release notes for 0.10.1.1
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
2018-10-16 13:50:20 -04:00
Matthew Heon a2266c63b4
Merge pull request #1650 from rhatdan/systemd
Mount proper cgroup for systemd to manage inside of the container.
2018-10-16 13:26:20 -04:00
Matthew Heon 81e63ac309
Merge pull request #1609 from giuseppe/fix-volume-rootless
volume: resolve symlink paths in volumes
2018-10-16 13:25:27 -04:00
Daniel J Walsh 57a8c2e5e8
Mount proper cgroup for systemd to manage inside of the container.
We are still requiring oci-systemd-hook to be installed in order to run
systemd within a container.  This patch properly mounts

/sys/fs/cgroup/systemd/libpod_parent/libpod-UUID on /sys/fs/cgroup/systemd inside of container.

Since we need the UUID of the container, we needed to move Systemd to be a config option of the
container.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2018-10-15 16:19:11 -04:00
OpenShift Merge Robot 2bc9a3c4bb
Merge pull request #1645 from cevich/flake_delay
Cirrus: Enable debugging delay on non-zero exit
2018-10-15 07:26:29 -07:00
OpenShift Merge Robot f667a782a4
Merge pull request #1644 from TomSweeneyRedHat/dev/tsweeney/nofileo
Touchup fileo typo
2018-10-15 07:12:54 -07:00
Chris Evich b610913ef5
Cirrus: Enable debugging delay on non-zero exit
There have been some python-podman flakes observed across multiple CI
systems.  Support capturing a VM for further investigation in the
event of a non-zero exit.  This is done by printing a warning message
and delaying script-exit for a long time.  Hopefully a human will notice
and have an opportunity to enable deletion-protection on the VM.

Signed-off-by: Chris Evich <cevich@redhat.com>
2018-10-15 09:48:19 -04:00
TomSweeneyRedHat d8d4c0f0e1 Touchup fileo typo
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
2018-10-15 08:13:42 -04:00
OpenShift Merge Robot 3639ac1ad0
Merge pull request #1631 from giuseppe/papr-drop-double-process
papr_prepare: remove double process for starting up .papr.sh
2018-10-15 03:52:39 -07:00
Giuseppe Scrivano 6dd6ce1ebc
volume: resolve symlinks in paths
ensure the volume paths are resolved in the mountpoint scope.

Otherwise we might end up using host paths.

Closes: https://github.com/containers/libpod/issues/1608

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2018-10-14 16:57:30 +02:00
Giuseppe Scrivano 2ad6012ea1
volume: write the correct ID of the container in error messages
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2018-10-14 16:57:29 +02:00
Giuseppe Scrivano 5691938563
vendor: update containers/buildah
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2018-10-14 16:57:28 +02:00
Giuseppe Scrivano 83f79dbacc
papr: relabel GOPATH/github.com/containers/libpod
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2018-10-14 16:52:32 +02:00
Giuseppe Scrivano 1f8b844c2b
tests: do not fail in the cleanup phase
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2018-10-14 16:52:31 +02:00
Giuseppe Scrivano e1521c6323
tests: do not make assumptions on the mount output
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2018-10-14 16:52:30 +02:00
Giuseppe Scrivano c173c2cfa0
papr_prepare: remove double process for starting up .papr.sh
and specify --security-opt label=disable

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2018-10-14 16:52:27 +02:00
OpenShift Merge Robot 2c4f3d6dad Merge pull request #1635 from jwhonce/wip/pods
Add support for pod commands
2018-10-13 04:56:33 -07:00
Jhon Honce 40cb756801 Add support for pod commands
* Add support for pod -- create, inspect, kill, pause, ps, rm,
  restart, start, stop, top, unpause
* Update pylintrc to better reflect pep8 code standards
* Fix various pylint reported errors
* Refactor code that determines screen width to no longer
  require initializing curses.  Improved start up time and
  pushing data blob down ssh tunnel.
* Correct pod-create man page, cgroupparent not boolean
* Abort integration tests if podman service fails to start

Signed-off-by: Jhon Honce <jhonce@redhat.com>
2018-10-12 09:34:23 -07:00
OpenShift Merge Robot b0b6dc40bd
Merge pull request #1558 from rhatdan/user
Generate a passwd file for users not in container
2018-10-12 08:31:56 -07:00
OpenShift Merge Robot 9a933c70b1
Merge pull request #1611 from QiWang19/issue1340
Support auth file environment variable in related podman commands & add change to man pages
2018-10-12 07:54:13 -07:00
Qi Wang 88673a5fcf Support auth file environment variable & add change to man pages
Signed-off-by: Qi Wang <qiwan@redhat.com>
2018-10-12 10:05:14 -04:00
Daniel J Walsh 04a537756d
Generate a passwd file for users not in container
If someone runs podman as a user (uid) that is not defined in the container
we want generate a passwd file so that getpwuid() will work inside of container.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2018-10-12 07:08:13 -04:00
Matthew Heon da5c89497f
Merge pull request #1634 from mheon/bump-0.10.1
Bump to v0.10.1
2018-10-11 16:53:55 -04:00
Matthew Heon 99d9012650 Bump gitvalidation epoch
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
2018-10-11 16:51:28 -04:00
Matthew Heon c260b5aa8c Bump to v0.10.2-dev
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
2018-10-11 16:51:28 -04:00
Matthew Heon e4a155328f Bump to v0.10.1
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
2018-10-11 16:51:24 -04:00
Matthew Heon 44b650c38e
Merge pull request #1633 from mheon/release_notes_0.10.1
Add release notes for 0.10.1
2018-10-11 16:48:36 -04:00
OpenShift Merge Robot dddea7bca9
Merge pull request #1632 from mheon/fix_map_sync
Swap from map to channels for podman stop workers
2018-10-11 13:47:08 -07:00
Matthew Heon e0c980925b Swap from map to channels for podman stop workers
We were encountering sync issues with the map, so swap to a
thread-safe channel and convert into a map when we output

Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
2018-10-11 16:16:29 -04:00
Matthew Heon 95c9731279 Add release notes for 0.10.1
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
2018-10-11 16:14:25 -04:00
OpenShift Merge Robot 5f6e4cc830
Merge pull request #1605 from mheon/syslog_cleanup
Pass along syslog variable to podman cleanup processes
2018-10-11 11:49:45 -07:00
OpenShift Merge Robot 6d8bc879cb
Merge pull request #1619 from QiWang19/issus1610
Sort all CLI flags in podman commands
2018-10-11 11:25:41 -07:00
OpenShift Merge Robot e8172b334e
Merge pull request #1628 from giuseppe/rootless-fix-hang-on-setresuid
rootless: fix hang on startup with older glibc versions
2018-10-11 11:05:26 -07:00
OpenShift Merge Robot 83327e6973
Merge pull request #1614 from baude/parastop
Stop containers in parallel fashion
2018-10-11 10:55:18 -07:00
OpenShift Merge Robot 6983e00a28
Merge pull request #1623 from mheon/static_ip
Add ability to specify static IPs with --ip flag
2018-10-11 10:40:37 -07:00
OpenShift Merge Robot 3c23bfca80
Merge pull request #1613 from mheon/log_netns_error
Log an otherwise ignored error from joining a net ns
2018-10-11 10:40:32 -07:00
Matthew Heon f87f0abb77 Pass along syslog variable to podman cleanup processes
As of now, there is no way to debug podman clean up processes.
They are started by conmon with no stdout/stderr and log nowhere.
This allows us to actually figure out what is going on when a
cleanup process runs.

Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
2018-10-11 13:19:39 -04:00
OpenShift Merge Robot 92b68e802c
Merge pull request #1621 from QiWang19/issue1615
Document --net as an alias of --network in podman run & create
2018-10-11 10:19:05 -07:00
Qi Wang d73600626d Sort all command flags
Signed-off-by: Qi Wang <qiwan@redhat.com>
2018-10-11 13:17:14 -04:00