Bug 1140599 - [engine-setup] setup fails if the user decide to configure websocket proxy without having installed websocketproxy rpm
Summary: [engine-setup] setup fails if the user decide to configure websocket proxy wi...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-installer
Version: 3.5
Hardware: Unspecified
OS: Unspecified
low
high
Target Milestone: ---
: 3.5.2
Assignee: Simone Tiraboschi
QA Contact: Jiri Belka
URL:
Whiteboard: integration
Depends On:
Blocks: 1098191 1193058 1196662 1197441
TreeView+ depends on / blocked
 
Reported: 2014-09-11 10:22 UTC by Simone Tiraboschi
Modified: 2015-04-29 06:19 UTC (History)
16 users (show)

Fixed In Version: ovirt-3.5.1_rc1
Clone Of:
Environment:
Last Closed: 2015-04-29 06:19:46 UTC
oVirt Team: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 32818 0 master MERGED packaging: setup: handling websocket_proxy rpm from websocketproxy plugin Never
oVirt gerrit 33201 0 ovirt-engine-3.5 MERGED packaging: setup: handling websocket_proxy rpm from websocketproxy plugin Never

Description Simone Tiraboschi 2014-09-11 10:22:22 UTC
Description of problem:
ovirt-engine-websocket-proxy depends from ovirt-engine-setup-plugin-websocket-proxy but ovirt-engine-setup-plugin-websocket-proxy doesn't depends from ovirt-engine-websocket-proxy so the user can run engine-setup having ovirt-engine-setup-plugin-websocket-proxy rpm but without having ovirt-engine-websocket-proxy rpm.
In that case setup will fail trying to start websocket-proxy simply because it's not available on the system.


Version-Release number of selected component (if applicable):
3.5.0

How reproducible:
100%

Steps to Reproduce:
1. yum install ovirt-engine-websocket-proxy
2. yum remove ovirt-engine-websocket-proxy
2. yum install ovirt-engine-setup-plugin-websocket-proxy
3. engine-setup

Actual results:
engine-setup fails

Expected results:
engine-setup installs ovirt-engine-websocket-proxy rpm and completes sucessfully

Additional info:

Comment 1 Bill Sanford 2014-10-21 14:30:47 UTC
The default in the "rhevm-setup" is to look for the "ovirt-engine-websocket-proxy" and not the "rhevm-websocket-proxy" which is installed as "rhevm-websocket-proxy-3.5.0-0.15.beta.el6ev.noarch"

[root@rhevm35 ~]# rhevm-setup
[ INFO  ] Stage: Initializing
[ INFO  ] Stage: Environment setup
          Configuration files: ['/etc/ovirt-engine-setup.conf.d/10-packaging.conf']
          Log file: /var/log/ovirt-engine/setup/ovirt-engine-setup-20141021102843-566nw9.log
          Version: otopi-1.3.0 (otopi-1.3.0-1.el6ev)
[ INFO  ] Stage: Environment packages setup
[ INFO  ] Stage: Programs detection
[ INFO  ] Stage: Environment setup
[ INFO  ] Stage: Environment customization
         
          --== PRODUCT OPTIONS ==--
         
          Configure Engine on this host (Yes, No) [Yes]: 
          Configure WebSocket Proxy on this host (Yes, No) [Yes]: 
         
          --== PACKAGES ==--
         

[ INFO  ] Checking for product updates...
[ ERROR ] Yum: Cannot queue package ovirt-engine-websocket-proxy: Package ovirt-engine-websocket-proxy cannot be found
[ INFO  ] Yum: Performing yum transaction rollback
[ ERROR ] Failed to execute stage 'Environment customization': Package ovirt-engine-websocket-proxy cannot be found
[ INFO  ] Stage: Clean up
          Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20141021102843-566nw9.log
[ INFO  ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20141021102907-setup.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Execution of setup failed
[root@rhevm35 ~]# 

[root@rhevm35 ~]# yum install ovirt-engine-websocket-proxy
Loaded plugins: product-id, refresh-packagekit, rhnplugin, security, subscription-manager, versionlock
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
No package ovirt-engine-websocket-proxy available.
Error: Nothing to do
[root@rhevm35 ~]#

Comment 2 Simone Tiraboschi 2014-10-21 15:29:03 UTC
(In reply to Bill Sanford from comment #1)
> The default in the "rhevm-setup" is to look for the
> "ovirt-engine-websocket-proxy" and not the "rhevm-websocket-proxy" which is
> installed as "rhevm-websocket-proxy-3.5.0-0.15.beta.el6ev.noarch"

Thanks Bill, we already noticed that, please check
https://gerrit.eng.lab.tlv.redhat.com/14465

It should be included in vt7.

Comment 3 Yedidyah Bar David 2014-10-22 12:15:21 UTC
Current builds of rhevm fail due to the fix for this bug. A workaround until the next build:

engine-setup --otopi-environment='OVESETUP_WSP_RPMDISRO_PACKAGES=str:rhevm-websocket-proxy OVESETUP_WSP_RPMDISRO_PACKAGES_SETUP=str:rhevm-setup-plugin-websocket-proxy'

Comment 4 Sandro Bonazzola 2015-01-15 14:15:40 UTC
This is an automated message: 
This bug should be fixed in oVirt 3.5.1 RC1, moving to QA

Comment 5 Sandro Bonazzola 2015-01-21 16:06:39 UTC
oVirt 3.5.1 has been released. If problems still persist, please make note of it in this bug report.

Comment 6 Eyal Edri 2015-02-26 12:33:16 UTC
this ovirt bug was fixed during 3.5.1 cycle and is included in the build, and therefore should be verified.

Comment 7 Yaniv Lavi 2015-03-02 08:09:28 UTC
This is moved to oVirt 3.5.2 to test only. This issue is already patched in 3.5.1.

Comment 8 Jiri Belka 2015-03-16 14:41:19 UTC
ok rhevm-setup-plugin-websocket-proxy-3.5.1-0.1.el6ev.noarch

Comment 9 Eyal Edri 2015-04-29 06:19:46 UTC
ovirt 3.5.2 was GA'd. closing current release.


Note You need to log in before you can comment on or make changes to this bug.