Bug 1323450

Summary: [z-stream clone - 3.6.5] java.lang.IllegalArgumentException: No type specified for option: 'encrypt_options' in /api/capabilities
Product: Red Hat Enterprise Virtualization Manager Reporter: rhev-integ
Component: ovirt-engineAssignee: Juan Hernández <juan.hernandez>
Status: CLOSED ERRATA QA Contact: Gonza <grafuls>
Severity: urgent Docs Contact:
Priority: high    
Version: 3.6.4CC: gklein, juan.hernandez, lsurette, mgoldboi, mperina, oourfali, pdwyer, pstehlik, rbalakri, Rhev-m-bugs, srevivo, ykaul
Target Milestone: ovirt-3.6.5Keywords: ZStream
Target Release: 3.6.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1322923 Environment:
Last Closed: 2016-04-20 16:44:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1322923    
Bug Blocks:    

Comment 1 Juan Hernández 2016-04-04 09:05:40 UTC
Note that in order to test and verify this you will need to force an error in the configuration. To do so manually perform the following update in the database:

  update vdc_options set option_value='secure=bool,port=int,slot=int' where option_name='VdsFenceOptionTypes'

Then restart the engine, and once it is running again request the API capabilities resource:

  GET /ovirt-engine/api/capabilities

That used to fail but should succeed now, and the following error message should appear in engine.log:

  ERROR: No type specified for fencing option "encrypt_options".

Comment 2 Martin Perina 2016-04-04 18:34:57 UTC
Moving back to MODIFIED, although patch was merged into 3.6.5 earlier than the build started, it's not included ...

Comment 3 Oved Ourfali 2016-04-06 05:15:18 UTC
As far as I understand there is another 3.6.5 engine build, so moving back to 3.6.5.

Comment 5 Gonza 2016-04-13 08:33:36 UTC
Verified with:
rhevm-3.6.5.3-0.1.el6.noarch

engine=# update vdc_options set option_value='secure=bool,port=int,slot=int' where option_name='VdsFenceOptionTypes';

engine=# select * from vdc_options where option_name='VdsFenceOptionTypes';
 option_id |     option_name     |         option_value          | version 
-----------+---------------------+-------------------------------+---------
       655 | VdsFenceOptionTypes | secure=bool,port=int,slot=int | general
(1 row)

# service ovirt-engine restart

https://10-34-61-187.rhev.lab.eng.brq.redhat.com/ovirt-engine/api/capabilities returns correct xml

Comment 7 errata-xmlrpc 2016-04-20 16:44:29 UTC
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.

https://rhn.redhat.com/errata/RHBA-2016-0661.html