Re: [Users] mislabelled template source

2012-12-12 Thread Jim Kinney
On Wed, Dec 12, 2012 at 11:03 AM, Eli Mesika emes...@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/----
id=----/
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/
*
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] mislabelled template source

2012-12-12 Thread Itamar Heim

On 12/12/2012 08:01 PM, Jim Kinney wrote:



On Wed, Dec 12, 2012 at 11:03 AM, Eli Mesika emes...@redhat.com
mailto:emes...@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/----
id=----/
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.)

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] mislabelled template source

2012-12-11 Thread Eli Mesika


- Original Message -
 From: Jim Kinney jim.kin...@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
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] mislabelled template source

2012-12-11 Thread Jim Kinney
On Tue, Dec 11, 2012 at 4:10 AM, Eli Mesika emes...@redhat.com wrote:



 - Original Message -
  From: Jim Kinney jim.kin...@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/
*
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] mislabelled template source

2012-12-09 Thread Jim Kinney
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/
*
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users