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

[api] fire an event when renaming a container #13919

Closed
strzinek opened this issue Apr 19, 2022 · 1 comment
Closed

[api] fire an event when renaming a container #13919

strzinek opened this issue Apr 19, 2022 · 1 comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Comments

@strzinek
Copy link

/kind feature

Description

When calling API method /libpod/container//rename, no event gets fired afterwards. There is no event type for container renaming defined.

Having "rename" event fired would help in implementing renaming functionality in client UI such as cockpit-podman. Without such event, it is hard to detect that container has been renamed.

Steps to reproduce the issue:

  1. start consuming events, e.g. with calling API /libpod/events GET
  2. rename a container, e.g. with calling API /libpod/container//rename POST

Describe the results you received:
There is no event triggered and client consuming podman API does not get notified about new container name, getting into inconsistent state.

Describe the results you expected:
There should be some event triggered when renaming a container. New event type for could be named for example "rename".

Output of podman version:

3.4.4

Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/main/troubleshooting.md)

No. There is no "rename" event documented in latest version: https://github.com/containers/podman/blob/main/docs/source/markdown/podman-events.1.md

Additional environment details:
does not depend on environment. Tested on Fedora 35.

@openshift-ci openshift-ci bot added the kind/feature Categorizes issue or PR as related to a new feature. label Apr 19, 2022
@Luap99
Copy link
Member

Luap99 commented Apr 19, 2022

Duplicate of #13670

#13677 should be in podman 4.1

@Luap99 Luap99 closed this as completed Apr 19, 2022
@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 20, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/feature Categorizes issue or PR as related to a new feature. 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

2 participants