Bug 1005510
Summary: | Feature Request: rhc-fix-missing-frontend needs option to run non-interactively | ||
---|---|---|---|
Product: | OpenShift Online | Reporter: | Matt Woodson <mwoodson> |
Component: | Containers | Assignee: | Michal Fojtik <mfojtik> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 2.x | CC: | bmeng, mfojtik, twiest, xtian |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-10-17 13:28:25 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Matt Woodson
2013-09-07 19:28:58 UTC
Commit pushed to master at https://github.com/openshift/li https://github.com/openshift/li/commit/f89c7cc0491f3920695e5590a5569783e32944e1 Bug 1005510 - Added '-y' option to rhc-fix-missing-frontend [root@ip-10-236-180-13 ~]# rhc-fix-missing-frontend -y 522e88e7a9d92ce9ba0000b9 Rebuilding the frontend for: -y 522e88e7a9d92ce9ba0000b9 Fixing gear: 522e88e7a9d92ce9ba0000b9 ... Done [root@ip-10-236-180-13 ~]# rhc-fix-missing-frontend 522e88e7a9d92ce9ba0000b9 -y Rebuilding the frontend for: 522e88e7a9d92ce9ba0000b9 -y Fixing gear: 522e88e7a9d92ce9ba0000b9 ... Done The original issue is fixed, it will not need interactive action for this command. But it will list the option -y as a gear, please refer to the result above. And maybe -b is a better option for this, since most of the rhc tools using -b|--bypass for skip the interactive action. And I think it also needs an usage update for this option. [root@ip-10-236-180-13 ~]# rhc-fix-missing-frontend Usage: /usr/bin/rhc-fix-missing-frontend uuid uuid uuid ... Commit pushed to master at https://github.com/openshift/li https://github.com/openshift/li/commit/8d279aaedcf180449757670a8269388e15782d37 Bug 1005510 - Changed non-interactive param name for rhc-fix-missing-frontend to -b # rhc-fix-missing-frontend 5238058d6cd292253f0002ad Rebuilding the frontend for: 5238058d6cd292253f0002ad Fixing gear: 5238058d6cd292253f0002ad ... Done # rhc-fix-missing-frontend -b 5238058d6cd292253f0002ad Rebuilding the frontend for: 5238058d6cd292253f0002ad Hit 'y' to continue, anything else to abort. y Fixing gear: 5238058d6cd292253f0002ad ... Done The command will be interactive only when the option -b present. Commit pushed to master at https://github.com/openshift/li https://github.com/openshift/li/commit/3baf3d7034c454a0ecb7bb103ab544b502cfba0a Bug 1005510 - Skip interactive mode when -b option is set [root@ip-10-178-10-155 ~]# rhc-fix-missing-frontend 523eab0ae6e4dc9cf40000f1 Rebuilding the frontend for: 523eab0ae6e4dc9cf40000f1 Hit 'y' to continue, anything else to abort. y Fixing gear: 523eab0ae6e4dc9cf40000f1 ... Done [root@ip-10-178-10-155 ~]# rhc-fix-missing-frontend -b 523eab0ae6e4dc9cf40000f1 Rebuilding the frontend for: 523eab0ae6e4dc9cf40000f1 Fixing gear: 523eab0ae6e4dc9cf40000f1 ... Done The issue has been fixed on devenv_3810. Move bug to verified. |