-
Bug
-
Resolution: Done
-
Undefined
-
4.14.0
-
No
-
False
-
Description of problem:
Output of command "oc adm upgrade" missing newline character in the "Message" line
Version-Release number of selected component (if applicable):
quay.io/openshift-release-dev/ocp-release:4.14.0-rc.5-x86_64
How reproducible:
Always
Steps to Reproduce:
1. Install cluster and cluster version is 4.14.0-rc.5 2. Upgrade cluster to 4.14.0-rc.6 and then roll back to 4.14.0-rc.5 $ oc adm upgrade --to=4.14.0-rc.6 Requested update to 4.14.0-rc.6 $ oc adm upgrade --to-image=registry.ci.openshift.org/ocp/release@sha256:042899f17f33259ed9f2cfc179930af283733455720f72ea3483fd1905f9b301 --allow-upgrade-with-warnings --allow-explicit-upgrade --force warning: The requested upgrade image is not one of the available updates.You have used --allow-explicit-upgrade for the update to proceed anyway warning: --force overrides cluster verification of your supplied release image and waives any update precondition failures. warning: --allow-upgrade-with-warnings is bypassing: the cluster is already upgrading: Reason: ClusterOperatorUpdating Message: Working towards 4.14.0-rc.6: 118 of 859 done (13% complete), waiting on kube-apiserverRequested update to release image registry.ci.openshift.org/ocp/release@sha256:042899f17f33259ed9f2cfc179930af283733455720f72ea3483fd1905f9b301
Actual results:
Output of command "oc adm upgrade" missing newline character in the "Message" line: Message: Working towards 4.14.0-rc.6: 118 of 859 done (13% complete), waiting on kube-apiserverRequested update to release image registry.ci.openshift.org/ocp/release@sha256:042899f17f33259ed9f2cfc179930af283733455720f72ea3483fd1905f9b301
Expected results:
"Requested update to release image..." should be a new line like: Message: Working towards 4.14.0-rc.6: 118 of 859 done (13% complete), waiting on kube-apiserver. Requested update to release image registry.ci.openshift.org/ocp/release@sha256:042899f17f33259ed9f2cfc179930af283733455720f72ea3483fd1905f9b301
Additional info:
According to the expect result in the case OCP-52581, based on previous output, there expecting the request line is a new line.
- links to