Re: [Engine-devel] How to show our VM template from web protal?

2013-02-04 Thread Itamar Heim

On 01/02/2013 11:31, Chen, Wei D wrote:

Hi,

We are trying to create a VM template which is similar with blank template and hope to 
display this template on web portal, our consideration is simple, that is, just execute 
InsertVmTemplate
procedure manually and expect our template would be showed from web portal. 
Unfortunately, there is no changes seen from portal even after restarting 
engine service.
Definitely, we must miss something, would you anyone input any suggestion, any 
feedback is great appreciated. thanks in advance!


the supported way of creating a template is to stand on a VM and click 
'make template'.

(as normally, templates have disks in them, though not mandatory).

___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] How to show our VM template from web protal?

2013-02-04 Thread Chen, Wei D
Thanks Itamar. Of course, we can create a VM template by clicking 'make 
template' button. What we want to do is create a VM template contains some 
customized parameters which are not currently supported by web portal, so, we 
expect to create the template by executing some DB procedure, like  
InsertVmTemplate . The result is this template could be created in DB but 
cannot be showed from web portal. Thanks.


Best Regards,
Dave Chen


 -Original Message-
 From: Itamar Heim [mailto:ih...@redhat.com]
 Sent: Monday, February 04, 2013 4:51 PM
 To: Chen, Wei D
 Cc: engine-devel; Liu, DanqingX
 Subject: Re: [Engine-devel] How to show our VM template from web protal?
 
 On 01/02/2013 11:31, Chen, Wei D wrote:
  Hi,
 
  We are trying to create a VM template which is similar with blank template
 and hope to display this template on web portal, our consideration is simple,
 that is, just execute InsertVmTemplate
  procedure manually and expect our template would be showed from web
 portal. Unfortunately, there is no changes seen from portal even after
 restarting engine service.
  Definitely, we must miss something, would you anyone input any suggestion,
 any feedback is great appreciated. thanks in advance!
 
 the supported way of creating a template is to stand on a VM and click 'make
 template'.
 (as normally, templates have disks in them, though not mandatory).

___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] How to show our VM template from web protal?

2013-02-04 Thread Omer Frenkel


- Original Message -
 From: Wei D Chen wei.d.c...@intel.com
 To: Itamar Heim ih...@redhat.com
 Cc: engine-devel engine-devel@ovirt.org
 Sent: Monday, February 4, 2013 11:49:33 AM
 Subject: Re: [Engine-devel] How to show our VM template from web protal?
 
 Thanks Itamar. Of course, we can create a VM template by clicking
 'make template' button. What we want to do is create a VM template
 contains some customized parameters which are not currently
 supported by web portal, so, we expect to create the template by
 executing some DB procedure, like  InsertVmTemplate . The result
 is this template could be created in DB but cannot be showed from
 web portal. Thanks.
 

you can't see it also in the web admin portal or just user portal?
my guess is that you are missing a permission for it (check permissions table - 
object id is the template id, object type for template is 4)

 
 Best Regards,
 Dave Chen
 
 
  -Original Message-
  From: Itamar Heim [mailto:ih...@redhat.com]
  Sent: Monday, February 04, 2013 4:51 PM
  To: Chen, Wei D
  Cc: engine-devel; Liu, DanqingX
  Subject: Re: [Engine-devel] How to show our VM template from web
  protal?
  
  On 01/02/2013 11:31, Chen, Wei D wrote:
   Hi,
  
   We are trying to create a VM template which is similar with
   blank template
  and hope to display this template on web portal, our consideration
  is simple,
  that is, just execute InsertVmTemplate
   procedure manually and expect our template would be showed from
   web
  portal. Unfortunately, there is no changes seen from portal even
  after
  restarting engine service.
   Definitely, we must miss something, would you anyone input any
   suggestion,
  any feedback is great appreciated. thanks in advance!
  
  the supported way of creating a template is to stand on a VM and
  click 'make
  template'.
  (as normally, templates have disks in them, though not mandatory).
 
 ___
 Engine-devel mailing list
 Engine-devel@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/engine-devel
 
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] How to show our VM template from web protal?

2013-02-04 Thread Chen, Wei D
Cannot see it either admin or use portal. I agree with you, let's try to 
resolve the permission issue at first. Thanks so much.

Best Regards,
Dave Chen


 -Original Message-
 From: Omer Frenkel [mailto:ofren...@redhat.com]
 Sent: Monday, February 04, 2013 5:57 PM
 To: Chen, Wei D
 Cc: engine-devel; Itamar Heim
 Subject: Re: [Engine-devel] How to show our VM template from web protal?
 
 
 
 - Original Message -
  From: Wei D Chen wei.d.c...@intel.com
  To: Itamar Heim ih...@redhat.com
  Cc: engine-devel engine-devel@ovirt.org
  Sent: Monday, February 4, 2013 11:49:33 AM
  Subject: Re: [Engine-devel] How to show our VM template from web protal?
 
  Thanks Itamar. Of course, we can create a VM template by clicking
  'make template' button. What we want to do is create a VM template
  contains some customized parameters which are not currently supported
  by web portal, so, we expect to create the template by executing some
  DB procedure, like  InsertVmTemplate . The result is this template
  could be created in DB but cannot be showed from web portal. Thanks.
 
 
 you can't see it also in the web admin portal or just user portal?
 my guess is that you are missing a permission for it (check permissions table 
 -
 object id is the template id, object type for template is 4)
 
 
  Best Regards,
  Dave Chen
 
 
   -Original Message-
   From: Itamar Heim [mailto:ih...@redhat.com]
   Sent: Monday, February 04, 2013 4:51 PM
   To: Chen, Wei D
   Cc: engine-devel; Liu, DanqingX
   Subject: Re: [Engine-devel] How to show our VM template from web
   protal?
  
   On 01/02/2013 11:31, Chen, Wei D wrote:
Hi,
   
We are trying to create a VM template which is similar with blank
template
   and hope to display this template on web portal, our consideration
   is simple, that is, just execute InsertVmTemplate
procedure manually and expect our template would be showed from
web
   portal. Unfortunately, there is no changes seen from portal even
   after restarting engine service.
Definitely, we must miss something, would you anyone input any
suggestion,
   any feedback is great appreciated. thanks in advance!
  
   the supported way of creating a template is to stand on a VM and
   click 'make template'.
   (as normally, templates have disks in them, though not mandatory).
 
  ___
  Engine-devel mailing list
  Engine-devel@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/engine-devel
 
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


[Engine-devel] How to show our VM template from web protal?

2013-02-01 Thread Chen, Wei D
Hi, 

We are trying to create a VM template which is similar with blank template 
and hope to display this template on web portal, our consideration is simple, 
that is, just execute InsertVmTemplate
procedure manually and expect our template would be showed from web portal. 
Unfortunately, there is no changes seen from portal even after restarting 
engine service. 
Definitely, we must miss something, would you anyone input any suggestion, any 
feedback is great appreciated. thanks in advance!

Best Regards,
Dave Chen


___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel