| Summary: | Unable to run VM with faked vdsm | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [oVirt] vdsm-jsonrpc-java | Reporter: | Eli Mesika <emesika> | ||||
| Component: | Core | Assignee: | Ravi Nori <rnori> | ||||
| Status: | CLOSED DEFERRED | QA Contact: | Jiri Belka <jbelka> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 1.2.5 | CC: | bugs, emesika, lsvaty, mgoldboi, mperina, oourfali | ||||
| Target Milestone: | --- | Flags: | rule-engine:
planning_ack?
rule-engine: devel_ack? lsvaty: testing_ack+ |
||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2016-12-05 19:20:19 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
Eli Mesika
2016-09-08 09:54:31 UTC
Created attachment 1198973 [details]
Engine Log
Eli - were you able to fix that? I heard the env is running properly. Anyway, putting on Ravi if a jsonrpc patch is required. Yes , Juan provides a workaround for that :
workaround:
diff --git a/backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendStorageDomainsResource.java b/backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendStorageDomainsResource.java
index 1df62b9..90f4d5a 100644
--- a/backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendStorageDomainsResource.java
+++ b/backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendStorageDomainsResource.java
@@ -90,7 +90,7 @@ public class BackendStorageDomainsResource
entity.getStorageType(),
entity.getStorageDomainType(),
connection);
- if (existing != null) {
+ if (existing != null && !Guid.isNullOrEmpty(existing.getId()))
Is it something to push to gerrit? (In reply to Oved Ourfali from comment #4) > Is it something to push to gerrit? There is an open thread on that if the fix should be on the API side or (more likely) on the faked-vdsm side. Martin, can we have a discussion/decision on that? Personally I'd rather fix fakevdsm to behave the same way as VDSM (if possible). |