Bug 783981

Summary: [ovirt] [RFE] engine-config - should set configuration values such as usage of SSL and installVds
Product: [Retired] oVirt Reporter: Haim <hateya>
Component: ovirt-engine-configAssignee: Doron Fediuck <dfediuck>
Status: CLOSED WONTFIX QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: acathrow, bazulay, iheim, mgoldboi, yeylon, ykaul
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-19 00:40:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Haim 2012-01-23 12:47:30 UTC
Description of problem:

flows: 

- user wants to work without SSL
- user doesn't want to install host 

current state:

- login to DB, change values manually 
  
psql -U postgres engine -c "update vdc_options set option_value='false' where option_name='UseSecureConnectionWithServers' and version='general' ; "
psql -U postgres engine -c "update vdc_options set option_value='false' where option_name='SSLEnabled' and version='general' ; "
psql -U postgres engine -c "update vdc_options set option_value='false' where option_name='installVds' and version='general' ; " 

- we could simplify the process by adding this functionality to engine-config

Comment 1 Doron Fediuck 2012-01-29 14:15:51 UTC
I agree it's a nice RFE- configuration groups, similar to what yum supports for
installation.

The implementation should be simple- add a groups property for each key,
along with a matching group value;

SSLEnabled.description="SPICE SSL Enabled"
SSLEnabled.validValues=true,false
+SSLEnabled.groups=NoSSL:false,DoSSL:true

The code should be able to get a group name and set all relevant values.
So the user can do: engine-config -S DoSSL
in order to set all relevant values (-S | --group-set).

Comment 2 Itamar Heim 2012-12-19 00:40:16 UTC
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.