Hide Forgot
Description of problem: 2016-03-24 10:09:26,872 ERROR [io.undertow.request] (default task-18) UT005023: Exception handling request to /ovirt-engine/api/v3/storagedomains: java.lang.RuntimeException: org.jboss.resteasy.spi.UnhandledException: java.lang.IllegalArgumentException: No enum constant org.ovirt.engine.api.model.StorageType.nfs at io.undertow.servlet.spec.RequestDispatcherImpl.forwardImpl(RequestDispatcherImpl.java:217) [undertow-servlet-1.3.15.Final.jar:1.3.15.Final] at io.undertow.servlet.spec.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:106) [undertow-servlet-1.3.15.Final.jar:1.3.15.Final] at org.ovirt.engine.api.restapi.invocation.VersionFilter.doFilter(VersionFilter.java:139) [restapi-jaxrs.jar:] at org.ovirt.engine.api.restapi.invocation.VersionFilter.doFilter(VersionFilter.java:68) [restapi-jaxrs.jar:] Test (Lago) tries to add a storage domain, via 3.6 Python SDK's api.storagedomains.add(p) Version-Release number of selected component (if applicable): ovirt-engine-restapi-4.0.0-0.0.master.20160323171719.git71fa3c8.el7.centos.noarch ovirt-engine-4.0.0-0.0.master.20160323171719.git71fa3c8.el7.centos.noarch How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Ay, same for iSCSI: 2016-03-24 11:44:01,476 ERROR [io.undertow.request] (default task-19) UT005023: Exception handling request to /ovirt-engine/api/v3/storagedomains: java.lang.RuntimeException: org.jboss.resteasy.spi.UnhandledExce ption: java.lang.IllegalArgumentException: No enum constant org.ovirt.engine.api.model.StorageType.iscsi
The issue causing this is the same causing bug 1320964. I'm leaving it open so you can decide to close it as duplicate, maybe after verifying that the fix actually works.
Verified - fix is working.