Previously, a query which is not relevant to Red Hat Storage Console was displayed during Red Hat Storage Console setup. Now, with this update, only queries relevant to Red Hat Storage Console are displayed during setup.
Created attachment 835947[details]
option entered/output from rhsc-setup
Description of problem:
"Command '/sbin/service' failed to execute" while running rhsc-setup. After filling in all the options prompted in rhsc-setup with both proxy settings off, rhsc-setup fails. The error shown is "Command '/sbin/service' failed to execute".
In the installation log, /var/log/ovirt-engine/setup/ovirt-engine-setup-20131212114833.log, shows:
2013-12-12 11:51:26 DEBUG otopi.plugins.otopi.services.rhel plugin.execute:446 execute-output: ('/sbin/initctl', 'status', 'ovirt-websocket-proxy') stderr:¬
initctl: Unknown job: ovirt-websocket-proxy¬
¬
2013-12-12 11:51:26 DEBUG otopi.plugins.otopi.services.rhel plugin.executeRaw:366 execute: ('/sbin/service', 'ovirt-websocket-proxy', 'stop'), executable='None', cwd='None', env=None¬
2013-12-12 11:51:26 DEBUG otopi.plugins.otopi.services.rhel plugin.executeRaw:383 execute-result: ('/sbin/service', 'ovirt-websocket-proxy', 'stop'), rc=1¬
2013-12-12 11:51:26 DEBUG otopi.plugins.otopi.services.rhel plugin.execute:441 execute-output: ('/sbin/service', 'ovirt-websocket-proxy', 'stop') stdout:¬
¬
¬
2013-12-12 11:51:26 DEBUG otopi.plugins.otopi.services.rhel plugin.execute:446 execute-output: ('/sbin/service', 'ovirt-websocket-proxy', 'stop') stderr:¬
ovirt-websocket-proxy: unrecognized service¬
¬
2013-12-12 11:51:26 DEBUG otopi.context context._executeMethod:137 method exception¬
Traceback (most recent call last):¬
File "/usr/lib/python2.6/site-packages/otopi/context.py", line 127, in _executeMethod¬
method['method']()¬
File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/config/websocket_proxy.py", line 270, in _closeup¬
state=state,¬
File "/usr/share/otopi/plugins/otopi/services/rhel.py", line 188, in state¬
'start' if state else 'stop'¬
File "/usr/share/otopi/plugins/otopi/services/rhel.py", line 96, in _executeServiceCommand¬
raiseOnError=raiseOnError¬
File "/usr/lib/python2.6/site-packages/otopi/plugin.py", line 451, in execute¬
command=args[0],¬
RuntimeError: Command '/sbin/service' failed to execute¬
Version-Release number of selected component (if applicable):
rhsc-cb11
How reproducible:
100% of the time.
Steps to Reproduce:
1. run the rhsc-setup command
2. for prompted options, enter all the values described in the log attached
Actual results:
[ ERROR ] Failed to execute stage 'Closing up': Command '/sbin/service' failed to execute
[ INFO ] Stage: Clean up
Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20131212100315.log
[ INFO ] Stage: Pre-termination
[ INFO ] Stage: Termination
[ ERROR ] Execution of setup failed
curl http://<ipaddress>
url: (7) couldn't connect to host
Expected results:
setup should succeed
Additional info:
workaround:
run rhsc-setup again.
From the setup log
<snip>
2013-12-12 11:49:27 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:215 DIALOG:SEND Configure WebSocket Proxy on this machine? (Yes, No) [Yes]:
</snip>
We need remove this question itself.
Here the bug to remove the same bz#1040960
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
http://rhn.redhat.com/errata/RHEA-2014-0208.html
Created attachment 835947 [details] option entered/output from rhsc-setup Description of problem: "Command '/sbin/service' failed to execute" while running rhsc-setup. After filling in all the options prompted in rhsc-setup with both proxy settings off, rhsc-setup fails. The error shown is "Command '/sbin/service' failed to execute". In the installation log, /var/log/ovirt-engine/setup/ovirt-engine-setup-20131212114833.log, shows: 2013-12-12 11:51:26 DEBUG otopi.plugins.otopi.services.rhel plugin.execute:446 execute-output: ('/sbin/initctl', 'status', 'ovirt-websocket-proxy') stderr:¬ initctl: Unknown job: ovirt-websocket-proxy¬ ¬ 2013-12-12 11:51:26 DEBUG otopi.plugins.otopi.services.rhel plugin.executeRaw:366 execute: ('/sbin/service', 'ovirt-websocket-proxy', 'stop'), executable='None', cwd='None', env=None¬ 2013-12-12 11:51:26 DEBUG otopi.plugins.otopi.services.rhel plugin.executeRaw:383 execute-result: ('/sbin/service', 'ovirt-websocket-proxy', 'stop'), rc=1¬ 2013-12-12 11:51:26 DEBUG otopi.plugins.otopi.services.rhel plugin.execute:441 execute-output: ('/sbin/service', 'ovirt-websocket-proxy', 'stop') stdout:¬ ¬ ¬ 2013-12-12 11:51:26 DEBUG otopi.plugins.otopi.services.rhel plugin.execute:446 execute-output: ('/sbin/service', 'ovirt-websocket-proxy', 'stop') stderr:¬ ovirt-websocket-proxy: unrecognized service¬ ¬ 2013-12-12 11:51:26 DEBUG otopi.context context._executeMethod:137 method exception¬ Traceback (most recent call last):¬ File "/usr/lib/python2.6/site-packages/otopi/context.py", line 127, in _executeMethod¬ method['method']()¬ File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/config/websocket_proxy.py", line 270, in _closeup¬ state=state,¬ File "/usr/share/otopi/plugins/otopi/services/rhel.py", line 188, in state¬ 'start' if state else 'stop'¬ File "/usr/share/otopi/plugins/otopi/services/rhel.py", line 96, in _executeServiceCommand¬ raiseOnError=raiseOnError¬ File "/usr/lib/python2.6/site-packages/otopi/plugin.py", line 451, in execute¬ command=args[0],¬ RuntimeError: Command '/sbin/service' failed to execute¬ Version-Release number of selected component (if applicable): rhsc-cb11 How reproducible: 100% of the time. Steps to Reproduce: 1. run the rhsc-setup command 2. for prompted options, enter all the values described in the log attached Actual results: [ ERROR ] Failed to execute stage 'Closing up': Command '/sbin/service' failed to execute [ INFO ] Stage: Clean up Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20131212100315.log [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed curl http://<ipaddress> url: (7) couldn't connect to host Expected results: setup should succeed Additional info: workaround: run rhsc-setup again.