Revert "Add unit to time in "podman wait" command."#1150
Revert "Add unit to time in "podman wait" command."#1150dtantsur wants to merge 1 commit intoopenshift-metal3:masterfrom
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/cc @hroyrh |
|
@dtantsur: GitHub didn't allow me to request PR reviews from the following users: hroyrh. Note that only openshift-metal3 members and repo collaborators can review this PR, and authors cannot review their own PRs. DetailsIn response to this:
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. |
|
@dtantsur seems we have different and incompatible behavior with various podman versions - what version are you testing with? |
|
This seems to work for me on an updated CentOS 8. And it's required on RHEL 8.3. The history of this is here: https://bugzilla.redhat.com/show_bug.cgi?id=1897282 If there's conflicting behavior that we may need an if/else dependent on the podman version, not a direct revert. |
|
I'm using podman on CentOS 8, there were no updates the last time I checked. |
|
It's still not in CentOS 8: Can we please not rely on RHEL-only features that have not been released? :-/ |
| -v $IRONIC_DATA_DIR:/shared ${IRONIC_IPA_DOWNLOADER_LOCAL_IMAGE} /usr/local/bin/get-resource.sh | ||
|
|
||
| sudo podman wait -i 1000ms ipa-downloader | ||
| sudo podman wait -i 1000 ipa-downloader |
There was a problem hiding this comment.
Since it seems there's no format currently which works for both centos and RHEL, would you mind putting a conditional here please?
I guess checking the podman version is safest since it's probably only a matter of time before centos picks up the newer podman with the required unit (until the bz mentioned by Stephen is fixed)
Clearly that wasn't the intention, it's a bug - we'll have to work around it with a conditional until both distros have consistent versions/behavior I think. |
Do we know the version this feature was introduced?
Not necessary, it may still stay in the non-default 2.0 stream, with 1.6.4 staying the default. |
|
Closing in favour of #1151 |
We aren't. CI is running CentOS, and it passed with the units. The broken podman is also in Fedora, this wasn't only released in RHEL. |
Ah this code path only happens with local images. Perhaps we need a CI job to make sure local image code keeps working. |
1000msis not a valid syntax, an integer is expected there.Reverts #1148