Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

podman play kube error(log driver must be set) #3449

Closed
mritd opened this issue Jun 27, 2019 · 3 comments
Closed

podman play kube error(log driver must be set) #3449

mritd opened this issue Jun 27, 2019 · 3 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Comments

@mritd
Copy link

mritd commented Jun 27, 2019

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)

/kind bug

Description

Running podman play kube error

Steps to reproduce the issue:

  1. podman run -dt --name nginx -p 1234:80 nginx:1.17.0-alpine

  2. podman generate kube nginx > nginx.yaml

  3. podman rm -f nginx

  4. podman play kube nginx.yaml

Describe the results you received:

a container exists with the same name (nginx) as the pod in your YAML file; changing pod name to nginx_pod
Error: error running container create option: log driver must be set: invalid argument

Describe the results you expected:

Podman successfully runs pod

Additional information you deem important (e.g. issue happens only occasionally):

The log prompt does not set log driver, but the podman play command does not provide setting parameters.

Output of podman version:

Version:            1.4.0
RemoteAPI Version:  1
Go Version:         go1.10.4
OS/Arch:            linux/amd64

Output of podman info --debug:

debug:
  compiler: gc
  git commit: ""
  go version: go1.10.4
  podman version: 1.4.0
host:
  BuildahVersion: 1.8.3
  Conmon:
    package: 'conmon: /usr/bin/conmon'
    path: /usr/bin/conmon
    version: 'conmon version 0.3.0, commit: unknown'
  Distribution:
    distribution: ubuntu
    version: "18.04"
  MemFree: 7539142656
  MemTotal: 8358653952
  OCIRuntime:
    package: 'cri-o-runc: /usr/bin/runc'
    path: /usr/bin/runc
    version: 'runc version spec: 1.0.1-dev'
  SwapFree: 2147479552
  SwapTotal: 2147479552
  arch: amd64
  cpus: 2
  hostname: docker1.node
  kernel: 4.15.0-52-generic
  os: linux
  rootless: false
  uptime: 15h 44m 38.29s (Approximately 0.62 days)
registries:
  blocked: null
  insecure: null
  search:
  - docker.io
store:
  ConfigFile: /etc/containers/storage.conf
  ContainerStore:
    number: 0
  GraphDriverName: overlay
  GraphOptions: null
  GraphRoot: /var/lib/containers/storage
  GraphStatus:
    Backing Filesystem: xfs
    Native Overlay Diff: "true"
    Supports d_type: "true"
    Using metacopy: "false"
  ImageStore:
    number: 3
  RunRoot: /var/run/containers/storage
  VolumePath: /var/lib/containers/storage/volumes

Additional environment details (AWS, VirtualBox, physical, etc.):

VM: Parallels Desktop
Host OS: Mac 10.14.5
Guest OS: Ubuntu 18.04

@openshift-ci-robot openshift-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Jun 27, 2019
@haircommander
Copy link
Collaborator

This has been fixed in 1.4.1!

@haircommander
Copy link
Collaborator

First reported here #3157 (comment)

@rhatdan rhatdan closed this as completed Jun 27, 2019
@mritd
Copy link
Author

mritd commented Jun 28, 2019

Thank you for your reply 😁

@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 24, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

No branches or pull requests

4 participants