Bug 906797
| Summary: | [Admin Portal] Importing a template based VM fails - Cannot import VM. The selected Storage Domain does not contain the VM Template. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Jiri Belka <jbelka> | ||||
| Component: | ovirt-engine | Assignee: | Daniel Erez <derez> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | Haim <hateya> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 3.2.0 | CC: | abaron, acathrow, dyasny, iheim, lpeer, Rhev-m-bugs, scohen, sgrinber, yeylon, ykaul | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 3.2.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | storage | ||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2013-02-21 09:46:03 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
Jiri Belka
2013-02-01 14:10:00 UTC
Hi Jiri, can you reproduce this? from the logs it doesn't appear as though the template was imported. In addition, the question is not whether the template is in the system, but rather whether the disks reside on the target domain. Please reproduce and also query: /api/templates/e2ef30b8-8f12-44b4-8135-830eddec2857/disks Still same issue on sf7, here I imported previously exported diskless/nicless template00. As it is diskless template, then you say the error is related to disks residing on the target domain? Well, if you presuppose disk-based template then I would say it is wrong.
on_template00:
Cannot import VM. The selected Storage Domain does not contain the VM Template.
$ curl -sk -X GET -u 'admin@internal:xxxxxx' -H 'Accept: application/xml' https://10.34.63.76/api/templates/1eb0e966-6a32-4c39-b79c-b5c4376aa2c5 | grep '<name>'
<name>template00</name>
$ curl -sk -X GET -u 'admin@internal:xxxxxx' -H 'Accept: application/xml' https://10.34.63.76/api/templates/1eb0e966-6a32-4c39-b79c-b5c4376aa2c5/disks
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<disks/>
Does this reproduce in a scenario without nic and with disk? No, as it was previously said - this is related to template without disk. So in scenario without nic _and_ with disk this cannot be reproduced. But this can be reproduced in scenarion with nic and _without_ disk. |