Skip to content

container start: fix regression when using name#4394

Merged
openshift-merge-robot merged 1 commit into
containers:masterfrom
vrothberg:fix-start
Oct 31, 2019
Merged

container start: fix regression when using name#4394
openshift-merge-robot merged 1 commit into
containers:masterfrom
vrothberg:fix-start

Conversation

@vrothberg
Copy link
Copy Markdown
Member

When starting a container by using its name as a reference, we should
print the name instead of the ID. We regressed on this behaviour
with commit b412448 which made it into Podman v1.6.2.

Kudos to openSUSE testing for catching it. To prevent future
regressions, extend the e2e tests to check the printed container
name/ID.

Reported-by: @sysrich
Signed-off-by: Valentin Rothberg rothberg@redhat.com

@openshift-ci-robot
Copy link
Copy Markdown
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: vrothberg

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/M labels Oct 31, 2019
@vrothberg
Copy link
Copy Markdown
Member Author

@mheon @baude that's currently blocking openSUSE.

@sysrich, you could downstream patch it until the next release. Podman v1.6.3 was just released yesterday, so I think it'll take a while until the next release.

@TomSweeneyRedHat
Copy link
Copy Markdown
Member

LGTM

@mheon
Copy link
Copy Markdown
Member

mheon commented Oct 31, 2019

@vrothberg Technically it was 1.6.3 RC1, so we can land this in the branch for 1.6.3 final

@vrothberg
Copy link
Copy Markdown
Member Author

@vrothberg Technically it was 1.6.3 RC1, so we can land this in the branch for 1.6.3 final

@sysrich noticed that too ... I must have missed a coffee or two :^) I'll tackle the unhappy CI now.

When starting a container by using its name as a reference, we should
print the name instead of the ID.  We regressed on this behaviour
with commit b412448 which made it into Podman v1.6.2.

Kudos to openSUSE testing for catching it.  To prevent future
regressions, extend the e2e tests to check the printed container
name/ID.

Reported-by: @sysrich
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
@vrothberg
Copy link
Copy Markdown
Member Author

Remote tests didn't like it. The remote client always returns the full ID, so we're skipping the specific checks in the e2e tests. It would be ideal to have both clients return the same output but this seems like a bigger change - it also pre-dates the regression and this PR.

@vrothberg
Copy link
Copy Markdown
Member Author

We're green. @mheon @baude @rhatdan PTAL

@rhatdan
Copy link
Copy Markdown
Member

rhatdan commented Oct 31, 2019

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 31, 2019
@openshift-merge-robot openshift-merge-robot merged commit 1e750f7 into containers:master Oct 31, 2019
@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 26, 2023
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Sep 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants