
Greetings, I've built several new templates from the blank template and a ISO install of various OS's. However, when I built a new VM using the new template(s), the new VM still says it's based from the blank template. I expected it to say it was from the "template-foo" U specified. The VM is correctly built from the template so I think it's a generation/database issue. -- -- James P. Kinney III * *Every time you stop a school, you will have to build a jail. What you gain at one end you lose at the other. It's like feeding a dog on his own tail. It won't fatten the dog. - Speech 11/23/1900 Mark Twain * http://electjimkinney.org http://heretothereideas.blogspot.com/ *

----- Original Message -----
From: "Jim Kinney" <jim.kinney@gmail.com> To: users@ovirt.org Sent: Sunday, December 9, 2012 7:22:32 PM Subject: [Users] mislabelled template source
Greetings,
I've built several new templates from the blank template and a ISO install of various OS's. However, when I built a new VM using the new template(s), the new VM still says it's based from the blank template. I expected it to say it was from the "template-foo" U specified. The VM is correctly built from the template so I think it's a generation/database issue.
Hi Jim Did you created the VM from the Web Admin UI or from the API ?
-- -- James P. Kinney III
Every time you stop a school, you will have to build a jail. What you gain at one end you lose at the other. It's like feeding a dog on his own tail. It won't fatten the dog. - Speech 11/23/1900 Mark Twain
http://electjimkinney.org http://heretothereideas.blogspot.com/
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On Tue, Dec 11, 2012 at 4:10 AM, Eli Mesika <emesika@redhat.com> wrote:
----- Original Message -----
From: "Jim Kinney" <jim.kinney@gmail.com> To: users@ovirt.org Sent: Sunday, December 9, 2012 7:22:32 PM Subject: [Users] mislabelled template source
Greetings,
I've built several new templates from the blank template and a ISO install of various OS's. However, when I built a new VM using the new template(s), the new VM still says it's based from the blank template. I expected it to say it was from the "template-foo" U specified. The VM is correctly built from the template so I think it's a generation/database issue.
Hi Jim Did you created the VM from the Web Admin UI or from the API ?
Hi Eli, Yes. I used the web admin gui.
-- -- James P. Kinney III
Every time you stop a school, you will have to build a jail. What you gain at one end you lose at the other. It's like feeding a dog on his own tail. It won't fatten the dog. - Speech 11/23/1900 Mark Twain
http://electjimkinney.org http://heretothereideas.blogspot.com/
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- -- James P. Kinney III * *Every time you stop a school, you will have to build a jail. What you gain at one end you lose at the other. It's like feeding a dog on his own tail. It won't fatten the dog. - Speech 11/23/1900 Mark Twain * http://electjimkinney.org http://heretothereideas.blogspot.com/ *

----- Original Message -----
From: "Jim Kinney" <jim.kinney@gmail.com> To: "Eli Mesika" <emesika@redhat.com> Cc: users@ovirt.org Sent: Tuesday, December 11, 2012 11:41:06 PM Subject: Re: [Users] mislabelled template source
On Tue, Dec 11, 2012 at 4:10 AM, Eli Mesika < emesika@redhat.com > wrote:
----- Original Message -----
From: "Jim Kinney" < jim.kinney@gmail.com > To: users@ovirt.org Sent: Sunday, December 9, 2012 7:22:32 PM Subject: [Users] mislabelled template source
Greetings,
I've built several new templates from the blank template and a ISO install of various OS's. However, when I built a new VM using the new template(s), the new VM still says it's based from the blank template. I expected it to say it was from the "template-foo" U specified. The VM is correctly built from the template so I think it's a generation/database issue.
Hi Jim Did you created the VM from the Web Admin UI or from the API ?
Hi Eli,
Yes. I used the web admin gui.
can you try to browse to http[s]://<ip>:<port>/api/vms Look at the result and see if you got the same from the API to figure out if this is a UI issue
-- -- James P. Kinney III
Every time you stop a school, you will have to build a jail. What you gain at one end you lose at the other. It's like feeding a dog on his own tail. It won't fatten the dog. - Speech 11/23/1900 Mark Twain
http://electjimkinney.org http://heretothereideas.blogspot.com/
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- -- James P. Kinney III
Every time you stop a school, you will have to build a jail. What you gain at one end you lose at the other. It's like feeding a dog on his own tail. It won't fatten the dog. - Speech 11/23/1900 Mark Twain
http://electjimkinney.org http://heretothereideas.blogspot.com/

On Wed, Dec 12, 2012 at 11:03 AM, Eli Mesika <emesika@redhat.com> wrote:
<snip>
Yes. I used the web admin gui.
can you try to browse to http[s]://<ip>:<port>/api/vms
Look at the result and see if you got the same from the API to figure out if this is a UI issue
According to api/vms, everything of type server was built using <template href="/api/templates/00000000-0000-0000-0000-000000000000" id="00000000-0000-0000-0000-000000000000"/> while all desktop types show the correct template (or at least a template ID that's not "blank").
Usual process: from a blank template - install OS (windows/linux) from iso. Save that vm as <os>_raw template once agent tools loaded (no OS patches applied). Use the <os>_raw template to build a new VM which gets all current patches. Save that as a new template. so far, no VM shows a heritage other than "blank" if it was built with a preallocated drive space from a template other than blank. -- -- James P. Kinney III * *Every time you stop a school, you will have to build a jail. What you gain at one end you lose at the other. It's like feeding a dog on his own tail. It won't fatten the dog. - Speech 11/23/1900 Mark Twain * http://electjimkinney.org http://heretothereideas.blogspot.com/ *

On 12/12/2012 08:01 PM, Jim Kinney wrote:
On Wed, Dec 12, 2012 at 11:03 AM, Eli Mesika <emesika@redhat.com <mailto:emesika@redhat.com>> wrote:
<snip> > > Yes. I used the web admin gui.
can you try to browse to http[s]://<ip>:<port>/api/vms
Look at the result and see if you got the same from the API to figure out if this is a UI issue
According to api/vms, everything of type server was built using <template href="/api/templates/00000000-0000-0000-0000-000000000000" id="00000000-0000-0000-0000-000000000000"/> while all desktop types show the correct template (or at least a template ID that's not "blank").
Usual process: from a blank template - install OS (windows/linux) from iso. Save that vm as <os>_raw template once agent tools loaded (no OS patches applied). Use the <os>_raw template to build a new VM which gets all current patches. Save that as a new template.
so far, no VM shows a heritage other than "blank" if it was built with a preallocated drive space from a template other than blank.
that's "by design". once you clone the template (pre-allocated rather than thinly provisioned), there is no relation to the original template (it can be deleted, etc.)
participants (3)
-
Eli Mesika
-
Itamar Heim
-
Jim Kinney