Bug 1020316 - websocket proxy configuration is not offered when /etc/pki/ovirt-engine directory already exists
Summary: websocket proxy configuration is not offered when /etc/pki/ovirt-engine direc...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-setup
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 3.3.0
Assignee: Alon Bar-Lev
QA Contact: Pavel Stehlik
URL:
Whiteboard: integration
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-17 12:33 UTC by David Jaša
Modified: 2013-10-25 10:07 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-19 19:40:24 UTC
oVirt Team: ---
Target Upstream Version:


Attachments (Terms of Use)

Description David Jaša 2013-10-17 12:33:45 UTC
Description of problem:
websocket proxy configuration is not offered when /etc/pki/ovirt-engine directory already exists

Version-Release number of selected component (if applicable):
is19 / rhevm-setup-3.3.0-0.26.master.el6ev.noarch

How reproducible:
always

Steps to Reproduce:
1. copy a working ovirt-engine pki directory (e.g. from previous or different setup) to /etc/pki/ovirt-engine, make sure that permissions/selinux labels are correct
2. run engine-setup
3.

Actual results:
websocket proxy configuration is not offered

Expected results:
websocket proxy configuration should be offered

Additional info:

Comment 1 Alon Bar-Lev 2013-10-19 19:40:24 UTC
If /etc/pki/ovirt-engine/keys/websocket-proxy.p12 exists, the assumption is that websocket is configured either manually or by setup.

So no need to re-configure it, hence no prompt.

Copying blindly files from one setup to another setup is not something that is expected during normal course of application handling.

Closing it as not a bug as it is per design.

Thanks!

Comment 2 David Jaša 2013-10-25 10:04:47 UTC
(In reply to Alon Bar-Lev from comment #1)
> If /etc/pki/ovirt-engine/keys/websocket-proxy.p12 exists, the assumption is
> that websocket is configured either manually or by setup.
> 
> So no need to re-configure it, hence no prompt.
> 

IMO there should be a log message similar to PKI - saying something about websocket proxy configuration being found and assumption that it works.

> Copying blindly files from one setup to another setup is not something that
> is expected during normal course of application handling.
> 

I wanted to achieve just a fresh installation with just PKI (CA) reused. If I understand correctly, this "blind copying of [PKI] files" is also part of backup/restore (that adds also database backup/restore).

Comment 3 Alon Bar-Lev 2013-10-25 10:07:32 UTC
(In reply to David Jaša from comment #2)
> > Copying blindly files from one setup to another setup is not something that
> > is expected during normal course of application handling.
> > 
> 
> I wanted to achieve just a fresh installation with just PKI (CA) reused. If
> I understand correctly, this "blind copying of [PKI] files" is also part of
> backup/restore (that adds also database backup/restore).

backup/restore is taking a backup of one machine and restore it to another including configuration and database.

when you restore configured webproxy you get configured web proxy.


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