Bug 1323450 - [z-stream clone - 3.6.5] java.lang.IllegalArgumentException: No type specified for option: 'encrypt_options' in /api/capabilities
Summary: [z-stream clone - 3.6.5] java.lang.IllegalArgumentException: No type specifie...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.6.4
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: ovirt-3.6.5
: 3.6.5
Assignee: Juan Hernández
QA Contact: Gonza
URL:
Whiteboard:
Depends On: 1322923
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-03 08:00 UTC by rhev-integ
Modified: 2016-04-20 16:44 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1322923
Environment:
Last Closed: 2016-04-20 16:44:29 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:0661 0 normal SHIPPED_LIVE Red Hat Enterprise Virtualization Manager (rhevm) bug fix 3.6.5 2016-04-20 20:44:06 UTC
oVirt gerrit 55571 0 master MERGED restapi: Tolerate invalid fencing options 2016-04-03 09:33:29 UTC
oVirt gerrit 55572 0 ovirt-engine-3.6 MERGED restapi: Tolerate invalid fencing options 2016-04-03 11:04:28 UTC
oVirt gerrit 55602 0 ovirt-engine-3.6.5 MERGED restapi: Tolerate invalid fencing options 2016-04-04 08:57:10 UTC

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


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