Skip to content

Add unit to time in "podman wait" command.#1148

Merged
openshift-merge-robot merged 2 commits intoopenshift-metal3:masterfrom
hroyrh:hroyrh-patch-1
Nov 13, 2020
Merged

Add unit to time in "podman wait" command.#1148
openshift-merge-robot merged 2 commits intoopenshift-metal3:masterfrom
hroyrh:hroyrh-patch-1

Conversation

@hroyrh
Copy link
Copy Markdown
Contributor

@hroyrh hroyrh commented Nov 12, 2020

Changes made in 04_setup_ironic.sh file to fix error raised when podman wait executes with no unit for time.

Changes made in 04_setup_ironic.sh file
@openshift-ci-robot openshift-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Nov 12, 2020
@openshift-ci-robot
Copy link
Copy Markdown

Hi @hroyrh. Thanks for your PR.

I'm waiting for a openshift-metal3 member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@stbenjam
Copy link
Copy Markdown
Member

stbenjam commented Nov 12, 2020

1000s is too long, the -i is the check interval, which means podman won't check for completion until after 16 minutes. Maybe do ms?

The podman-wait manpage does not document that a unit is required:

       --interval, -i=microseconds
         Microseconds to wait before polling for completion

And breaking working functionality is a problem. We should file a bug against podman for this.

@stbenjam
Copy link
Copy Markdown
Member

I filed a bug about the podman issue, https://bugzilla.redhat.com/show_bug.cgi?id=1897282

@hroyrh
Copy link
Copy Markdown
Contributor Author

hroyrh commented Nov 12, 2020

1000s is too long, the -i is the check interval, which means podman won't check for completion until after 16 minutes. Maybe do ms?

I have changed it to ms.

The podman-wait manpage does not document that a unit is required:

       --interval, -i=microseconds
         Microseconds to wait before polling for completion

And breaking working functionality is a problem. We should file a bug against podman for this.

Thanks for filing the bug, yes we need clarification on this.

@hardys
Copy link
Copy Markdown

hardys commented Nov 13, 2020

/ok-to-test

@openshift-ci-robot openshift-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Nov 13, 2020
@stbenjam
Copy link
Copy Markdown
Member

/retest

Network issues?
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to mirror.openshift.com:443

@stbenjam
Copy link
Copy Markdown
Member

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Nov 13, 2020
@stbenjam
Copy link
Copy Markdown
Member

/approve

@openshift-ci-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: stbenjam

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 the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 13, 2020
@openshift-merge-robot openshift-merge-robot merged commit 42af610 into openshift-metal3:master Nov 13, 2020
@dtantsur
Copy link
Copy Markdown
Member

Folks, this patch is broken, 1000ms is not a valid syntax..

$ sudo podman wait -i 1000ms ipa-downloader
Error: invalid argument "1000ms" for "-i, --interval" flag: strconv.ParseUint: parsing "1000ms": invalid syntax

dtantsur added a commit to dtantsur/dev-scripts that referenced this pull request Nov 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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. ok-to-test Indicates a non-member PR verified by an org member that is safe to test.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants