Bug 1162078
| Summary: | [LOG] Query GetVmTemplateQuery failed with NullPointerException when applied to a non-existent template. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Raz Tamir <ratamir> | ||||
| Component: | ovirt-engine | Assignee: | Amit Aviram <aaviram> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Raz Tamir <ratamir> | ||||
| Severity: | medium | Docs Contact: | Tal Nisan <tnisan> | ||||
| Priority: | unspecified | ||||||
| Version: | 3.4.3 | CC: | aaviram, aberezin, acanan, amureini, ecohen, gklein, iheim, lpeer, lsurette, rbalakri, Rhev-m-bugs, tnisan, yeylon | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 3.5.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | storage | ||||||
| Fixed In Version: | ovirt-engine-3.5.0_vt11 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2015-02-16 19:10:49 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | Storage | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Raz Tamir
2014-11-10 08:48:25 UTC
Please notice that the automation tried to get a vm template, and expected it to succeed without checking if the result is null: " 2014-11-09 17:51:57,021 - MainThread - templates - DEBUG - Waiting for status 'OK' currently status is 'locked' 2014-11-09 17:52:07,029 - MainThread - templates - DEBUG - GET request content is -- url:/api/templates/ad27be17-26b1-40c3-9989-771bd1bcda4e 2014-11-09 17:52:07,311 - MainThread - templates - ERROR - Response code is not valid, expected is: [200, 201], actual is: 404 2014-11-09 17:52:07,313 - MainThread - templates - ERROR - Element template doesn't have attribute status " Reducing severity as the real blocking error is the fact that the template is not created, the fact that the query throws an NPE since it can't find the uncreated template is merely a log error There are two issues here: 1. The automation test fails to create a template. This is being handled as part of a different BZ - Amit, please provide the number. 2. An NPE once we failed to create the template - handled in this BZ. the bug which handles the template creation failure: https://bugzilla.redhat.com/show_bug.cgi?id=1160620 (In reply to Amit Aviram from comment #5) > the bug which handles the template creation failure: > https://bugzilla.redhat.com/show_bug.cgi?id=1160620 Removing the blocker flag - this is just a logging issue. The real underlying bug may indeed be a blocker though. verified - vt12 RHEV-M 3.5.0 has been released, closing this bug. |