[Engine-devel] about ticket
by wlbleaboy@126
ÕâÊÇÒ»·â MIME žñÊœµÄ¶à²¿·ÖÓÊŒþ¡£
------=_NextPart_000_0009_01CE5BDD.2829C850
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Hi all:
When I connect to a vm via spicec or spicy, I need a ticket, so I
get a ticket from ovirt-engine via
ovirt-engine-sdk, and it works well.
But I don't know how long can a ticket to use? For example, when I
got a ticket, it's validated
In many minutes, or several hours, or always. Or in some other condition, a
ticket will invalidate.
If a ticket have a time limits, where and how could I change it,
let it always can validated.
I guess the ticket come from ovirt-node, when I via
ovirt-engine-sdk get a ticket, sdk will get
ovirt-engine a POST action, and then engine-core give VDSM a command, VDSM
get it from ovirt-node
and return it to ovirt-engine. ovirt-engine-sdk use GET action to get it.
------=_NextPart_000_0009_01CE5BDD.2829C850
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:\5B8B\4F53;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@\5B8B\4F53";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
font-size:10.5pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"\6279\6CE8\6846\6587\672C Char";
margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
font-size:9.0pt;
font-family:"Calibri","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.Char
{mso-style-name:"\6279\6CE8\6846\6587\672C Char";
mso-style-priority:99;
mso-style-link:\6279\6CE8\6846\6587\672C;}
.MsoChpDefault
{mso-style-type:export-only;}
/* Page Definitions */
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3DZH-CN link=3Dblue vlink=3Dpurple =
style=3D'text-justify-trim:punctuation'>
<div class=3DSection1>
<p class=3DMsoNormal><span lang=3DEN-US>Hi all:<o:p></o:p></span></p>
<p class=3DMsoNormal><span =
lang=3DEN-US>
When I connect to a vm via spicec or spicy, I need a ticket, so I get a =
ticket
from ovirt-engine via <o:p></o:p></span></p>
<p class=3DMsoNormal><span lang=3DEN-US>ovirt-engine-sdk, and it works =
well.<o:p></o:p></span></p>
<p class=3DMsoNormal><span =
lang=3DEN-US>
But I don’t know how long can a ticket to use? For example, when I =
got a
ticket, it’s validated <o:p></o:p></span></p>
<p class=3DMsoNormal><span lang=3DEN-US>In many minutes, or several =
hours, or
always. Or in some other condition, a ticket will =
invalidate.<o:p></o:p></span></p>
<p class=3DMsoNormal><span =
lang=3DEN-US>
If a ticket have a time limits, where and how could I change it, let it =
always
can validated.<o:p></o:p></span></p>
<p class=3DMsoNormal><span lang=3DEN-US><o:p> </o:p></span></p>
<p class=3DMsoNormal><span =
lang=3DEN-US>
I guess the ticket come from ovirt-node, when I via ovirt-engine-sdk get =
a
ticket, sdk will get <o:p></o:p></span></p>
<p class=3DMsoNormal><span lang=3DEN-US>ovirt-engine a POST action, and =
then
engine-core give VDSM a command, VDSM get it from =
ovirt-node<o:p></o:p></span></p>
<p class=3DMsoNormal><span lang=3DEN-US>and return it to ovirt-engine.
ovirt-engine-sdk use GET action to get it.<o:p></o:p></span></p>
<p class=3DMsoNormal><span lang=3DEN-US><o:p> </o:p></span></p>
</div>
</body>
</html>
------=_NextPart_000_0009_01CE5BDD.2829C850--
11 years, 7 months
[Engine-devel] How to get the number of all running VMs
by Edgar
------=_Part_304743_92154911.1369661742498
Content-Type: text/plain; charset=GBK
Content-Transfer-Encoding: 7bit
Hi All,
I need to get the number of All running VMs of the oVirt-engine.
My thought is first get all hosts with "up" status and then traverse each host and count the
VM with state "Running" .
Does this method feasible,and is there any easier way to count the running VMs of oVirt-engine?
Best Regards
------=_Part_304743_92154911.1369661742498
Content-Type: text/html; charset=GBK
Content-Transfer-Encoding: 7bit
<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><span style="line-height: 1.7;">Hi All,</span><div style="color: rgb(0, 0, 0); font-family: arial; font-size: 14px; line-height: 1.7; "> I need to get the number of All running VMs of the oVirt-engine.</div><div style="color: rgb(0, 0, 0); font-family: arial; font-size: 14px; line-height: 1.7; "> My thought is first get all hosts with "up" status and then <span style="line-height: 1.7; ">traverse each host and count the </span></div><div style="color: rgb(0, 0, 0); font-family: arial; font-size: 14px; line-height: 1.7; "><span style="line-height: 1.7; "> VM with </span><span style="line-height: 1.7; ">state </span><span style="line-height: 1.7; ">"Running" </span><span style="line-height: 1.7; ">.</span></div><div style="color: rgb(0, 0, 0); font-family: arial; font-size: 14px; line-height: 1.7; "><span style="line-height: 1.7; "><br></span></div><div><span style="color: rgb(0, 0, 0); font-family: arial; font-size: 14px; line-height: 1.7; "> Does this method </span>feasible,and is there any easier way to count the running VMs of oVirt-engine?</div><div><br></div><div> Best Regards</div><div style="color: rgb(0, 0, 0); font-family: arial; font-size: 14px; line-height: 1.7; "><span style="line-height: 1.7; "><br></span></div><div style="color: rgb(0, 0, 0); font-family: arial; font-size: 14px; line-height: 1.7; "><span style="line-height: 1.7; "> </span></div><div style="color: rgb(0, 0, 0); font-family: arial; font-size: 14px; line-height: 1.7; "><br></div><div style="color: rgb(0, 0, 0); font-family: arial; font-size: 14px; line-height: 1.7; "> </div></div></div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>
------=_Part_304743_92154911.1369661742498--
11 years, 7 months
[Engine-devel] Error looking up infinispan/ovirt-engine
by Alon Bar-Lev
Hello,
I get these (lots of these) using latest master... anyone knows what was changed?
At server.log I see:
---
2013-05-02 19:58:08,046 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 21) JBAS010280: Activating Infinispan subsystem.
<snip>
2013-05-02 19:58:10,155 INFO [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
JBAS014775: New missing/unsatisfied dependencies:
service jboss.mbean.server (missing) dependents: [service jboss.infinispan.ovirt-engine.config]
---
Thanks,
Alon
---
2013-05-02 20:02:10,012 ERROR [org.ovirt.engine.core.utils.ejb.EJBUtilsStrategy] (DefaultQuartzScheduler_Worker-7) [4b3a50f7] Failed to lookup resource type: CACHE_CONTAINER. JNDI name: java:jboss/infinispan/ovirt-engine: javax.naming.NameNotFoundException: Error looking up infinispan/ovirt-engine, service service jboss.naming.context.java.jboss.infinispan.ovirt-engine is not started
at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:126)
at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:74)
at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:178)
at org.jboss.as.naming.InitialContext.lookup(InitialContext.java:123)
at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:214)
at javax.naming.InitialContext.lookup(InitialContext.java:411) [rt.jar:1.7.0_17]
at org.ovirt.engine.core.utils.ejb.EJBUtilsStrategy.findBean(EJBUtilsStrategy.java:104) [utils.jar:]
at org.ovirt.engine.core.utils.ejb.EjbUtils.findBean(EjbUtils.java:23) [utils.jar:]
at org.ovirt.engine.core.utils.cache.CacheManager.getTimeoutBaseCache(CacheManager.java:12) [utils.jar:]
at org.ovirt.engine.core.dal.dbbroker.auditloghandling.TimeoutBase.getLegal(TimeoutBase.java:51) [dal.jar:]
at org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector.log(AuditLogDirector.java:809) [dal.jar:]
at org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector.log(AuditLogDirector.java:803) [dal.jar:]
at org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector.log(AuditLogDirector.java:799) [dal.jar:]
at org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase.log(AuditLogableBase.java:437) [dal.jar:]
at org.ovirt.engine.core.bll.CommandBase.logCommand(CommandBase.java:1208) [bll.jar:]
at org.ovirt.engine.core.bll.CommandBase.execute(CommandBase.java:1175) [bll.jar:]
at org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:318) [bll.jar:]
at org.ovirt.engine.core.bll.Backend.runActionImpl(Backend.java:332) [bll.jar:]
at org.ovirt.engine.core.bll.Backend.runInternalAction(Backend.java:534) [bll.jar:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_17]
2013-05-02 20:02:10,059 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase] (DefaultQuartzScheduler_Worker-7) [4b3a50f7] Error during log command: org.ovirt.engine.core.bll.SetNonOperationalVdsCommand. Exception java.lang.NullPointerException: java.lang.NullPointerException
at org.ovirt.engine.core.utils.cache.CacheManager.getTimeoutBaseCache(CacheManager.java:13) [utils.jar:]
at org.ovirt.engine.core.dal.dbbroker.auditloghandling.TimeoutBase.getLegal(TimeoutBase.java:51) [dal.jar:]
at org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector.log(AuditLogDirector.java:809) [dal.jar:]
at org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector.log(AuditLogDirector.java:803) [dal.jar:]
at org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector.log(AuditLogDirector.java:799) [dal.jar:]
at org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase.log(AuditLogableBase.java:437) [dal.jar:]
at org.ovirt.engine.core.bll.CommandBase.logCommand(CommandBase.java:1208) [bll.jar:]
at org.ovirt.engine.core.bll.CommandBase.execute(CommandBase.java:1175) [bll.jar:]
at org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:318) [bll.jar:]
at org.ovirt.engine.core.bll.Backend.runActionImpl(Backend.java:332) [bll.jar:]
at org.ovirt.engine.core.bll.Backend.runInternalAction(Backend.java:534) [bll.jar:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_17]
2013-05-02 20:02:10,360 ERROR [org.ovirt.engine.core.utils.ejb.EJBUtilsStrategy] (DefaultQuartzScheduler_Worker-7) [4b3a50f7] Failed to lookup resource type: CACHE_CONTAINER. JNDI name: java:jboss/infinispan/ovirt-engine: javax.naming.NameNotFoundException: Error looking up infinispan/ovirt-engine, service service jboss.naming.context.java.jboss.infinispan.ovirt-engine is not started
at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:126)
at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:74)
at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:178)
at org.jboss.as.naming.InitialContext.lookup(InitialContext.java:123)
at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:214)
at javax.naming.InitialContext.lookup(InitialContext.java:411) [rt.jar:1.7.0_17]
at org.ovirt.engine.core.utils.ejb.EJBUtilsStrategy.findBean(EJBUtilsStrategy.java:104) [utils.jar:]
at org.ovirt.engine.core.utils.ejb.EjbUtils.findBean(EjbUtils.java:23) [utils.jar:]
at org.ovirt.engine.core.utils.cache.CacheManager.getTimeoutBaseCache(CacheManager.java:12) [utils.jar:]
at org.ovirt.engine.core.dal.dbbroker.auditloghandling.TimeoutBase.getLegal(TimeoutBase.java:51) [dal.jar:]
at org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector.log(AuditLogDirector.java:809) [dal.jar:]
at org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector.log(AuditLogDirector.java:803) [dal.jar:]
at org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector.log(AuditLogDirector.java:799) [dal.jar:]
at org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase.log(AuditLogableBase.java:437) [dal.jar:]
at org.ovirt.engine.core.bll.CommandBase.logCommand(CommandBase.java:1208) [bll.jar:]
at org.ovirt.engine.core.bll.CommandBase.execute(CommandBase.java:1175) [bll.jar:]
at org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:318) [bll.jar:]
at org.ovirt.engine.core.bll.Backend.runActionImpl(Backend.java:332) [bll.jar:]
at org.ovirt.engine.core.bll.Backend.runInternalAction(Backend.java:534) [bll.jar:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_17]
2013-05-02 20:02:10,407 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase] (DefaultQuartzScheduler_Worker-7) [4b3a50f7] Error during log command: org.ovirt.engine.core.bll.SetNonOperationalVdsCommand. Exception java.lang.NullPointerException: java.lang.NullPointerException
at org.ovirt.engine.core.utils.cache.CacheManager.getTimeoutBaseCache(CacheManager.java:13) [utils.jar:]
at org.ovirt.engine.core.dal.dbbroker.auditloghandling.TimeoutBase.getLegal(TimeoutBase.java:51) [dal.jar:]
at org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector.log(AuditLogDirector.java:809) [dal.jar:]
at org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector.log(AuditLogDirector.java:803) [dal.jar:]
at org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector.log(AuditLogDirector.java:799) [dal.jar:]
at org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase.log(AuditLogableBase.java:437) [dal.jar:]
at org.ovirt.engine.core.bll.CommandBase.logCommand(CommandBase.java:1208) [bll.jar:]
at org.ovirt.engine.core.bll.CommandBase.execute(CommandBase.java:1175) [bll.jar:]
at org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:318) [bll.jar:]
at org.ovirt.engine.core.bll.Backend.runActionImpl(Backend.java:332) [bll.jar:]
at org.ovirt.engine.core.bll.Backend.runInternalAction(Backend.java:534) [bll.jar:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_17]
11 years, 7 months
[Engine-devel] 3.3 scratch or upgraded installation must use Apache proxy (https://bugzilla.redhat.com/905754)
by Sandro Bonazzola
Hi,
I'm working on https://bugzilla.redhat.com/905754, trying to have Apache
proxy in all 3.3 installations.
I'm looking in the code and I've found a point where I'm in doubt about
how to handle the case.
The current engine-setup implementation perform some checks that change
the behavior of the installer documented as:
1. Check whether the relevant httpd configuration files were changed, as
it's an indication for the setup that the httpd application is being
actively used, Therefore we may need to ask (dynamic change) the user
whether to override this configuration.
2. Check if IPA is installed and drop port 80/443 support. What the
script really do is setting OVERRIDE_HTTPD_CONFIG default to False in
both cases and just for case 2 call also setHttpPortsToNonProxyDefault.
About 1, if we can consider Apache "owned" by the engine we can drop any
question to the user, else I think we need to ask what to do or abort
the setup considering the configuration as unsupported.
About 2, it seems that the best solution for that is to abort the setup
if IPA is found on the same system where
we're installing the engine.
As far I've understood having IPA and engine on the same host is not a
supported configuration.
What do you think about this?
--
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
11 years, 7 months
[Engine-devel] Clusters with empty processor name
by Vitor de Lima
--_000_B2CAFC4D5E2D574A883EF61ACD5ADE3301000617SERV070corpeldo_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hi everyone,
While I was figuring out how to implement the support for IBM POWER in the =
oVirt engine, I stumbled into an use case that can cause some confusion.
During the creation of a cluster, you can choose an empty processor name if=
you do not select the option "Enable Virt Service". As a result, it is pos=
sible to create a virtual machine inside a cluster without any attached hos=
ts. So, if you create a VM this way, it is impossible to decide in which ar=
chitecture it will run (if it is either x86-64 or POWER). Without knowing t=
his, the engine cannot show the proper list of device models (for networks,=
disks, displays, ...) in the frontend.
It raises some questions:
- Why oVirt allows the creation of clusters without a processor name?
- What exactly is the "Virt Service"? Why are the processor related checks=
only executed if this service is enabled?
- How can this use case be solved? Should the engine always enforce a prope=
r CPU name in all clusters?
- If the engine enforces every cluster to have a CPU name, what should be d=
one in the default Cluster?
Thanks,
Vitor
--_000_B2CAFC4D5E2D574A883EF61ACD5ADE3301000617SERV070corpeldo_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@SimSun";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"PT-BR" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span lang=3D"EN-US">Hi everyone,<o:p></o:p></span><=
/p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">While I was figuring out how to=
implement the support for IBM POWER in the oVirt engine, I stumbled into a=
n use case that can cause some confusion.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">During the creation of a cluste=
r, you can choose an empty processor name if you do not select the option &=
quot;Enable Virt Service". As a result, it is possible to create a vir=
tual machine inside a cluster without any attached
hosts. So, if you create a VM this way, it is impossible to decide in whic=
h architecture it will run (if it is either x86-64 or POWER). Without knowi=
ng this, the engine cannot show the proper list of device models (for netwo=
rks, disks, displays, ...) in the
frontend.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">It raises some questions:<o:p><=
/o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">- Why oVirt allows the creation=
of clusters without a processor name?<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">- What exactly is the "Vir=
t Service"? Why are the processor related checks only executed i=
f this service is enabled?<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">- How can this use case be solv=
ed? Should the engine always enforce a proper CPU name in all clusters?<o:p=
></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">- If the engine enforces every =
cluster to have a CPU name, what should be done in the default Cluster?<o:p=
></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Thanks,<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Vitor<o:p></o:p></span></p>
</div>
</body>
</html>
--_000_B2CAFC4D5E2D574A883EF61ACD5ADE3301000617SERV070corpeldo_--
11 years, 7 months
[Engine-devel] which RESTful framework ovirt-engine used
by wlbleaboy@126
ÕâÊÇÒ»·â MIME žñÊœµÄ¶à²¿·ÖÓÊŒþ¡£
------=_NextPart_000_0021_01CE5895.54B6CA80
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Hi all:
Recently , I'm studying ovirt-engine' REST API, I want to know
which framework of RESTful
ovirt-engine used.
For example, if I wanted to build a web server with RESTful API
like ovirt-engine, which framework
or technology I need.
When I search "RESTful" as a keyword in some opensource website, I
get results like this:
SemREST -- A Java Framework for the Semantic Extension of RESTful
Web Services
JAX-RS --
Kauri
Jersey
RESTEasy
and so on.
------=_NextPart_000_0021_01CE5895.54B6CA80
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
font-size:10.5pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"\6279\6CE8\6846\6587\672C Char";
margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
font-size:9.0pt;
font-family:"Calibri","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.Char
{mso-style-name:"\6279\6CE8\6846\6587\672C Char";
mso-style-priority:99;
mso-style-link:\6279\6CE8\6846\6587\672C;}
.MsoChpDefault
{mso-style-type:export-only;}
/* Page Definitions */
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3DZH-CN link=3Dblue vlink=3Dpurple =
style=3D'text-justify-trim:punctuation'>
<div class=3DSection1>
<p class=3DMsoNormal><span lang=3DEN-US>Hi all:<o:p></o:p></span></p>
<p class=3DMsoNormal><span =
lang=3DEN-US> Recently
, I’m studying ovirt-engine’ REST API, I want to know which =
framework
of RESTful<o:p></o:p></span></p>
<p class=3DMsoNormal><span lang=3DEN-US>ovirt-engine used. =
<o:p></o:p></span></p>
<p class=3DMsoNormal><span =
lang=3DEN-US> For
example, if I wanted to build a web server with RESTful API like =
ovirt-engine,
which framework<o:p></o:p></span></p>
<p class=3DMsoNormal><span lang=3DEN-US>or technology I =
need.<o:p></o:p></span></p>
<p class=3DMsoNormal><span =
lang=3DEN-US> When
I search “RESTful” as a keyword in some opensource website, =
I get
results like this:<o:p></o:p></span></p>
<p class=3DMsoNormal><b><span =
lang=3DEN-US>SemREST  =
; </span></b><span
lang=3DEN-US>--</span><b><span lang=3DEN-US =
style=3D'font-size:16.0pt;font-family:
"Verdana","sans-serif";color:black'> </span><span lang=3DEN-US> A =
Java
Framework for the Semantic Extension of RESTful Web =
Services<o:p></o:p></span></b></p>
<p class=3DMsoNormal><b><span =
lang=3DEN-US>JAX-RS =
-- =
</span></b><span
lang=3DEN-US><o:p></o:p></span></p>
<p class=3DMsoNormal><b><span =
lang=3DEN-US>Kauri<o:p></o:p></span></b></p>
<p class=3DMsoNormal><b><span =
lang=3DEN-US>Jersey<o:p></o:p></span></b></p>
<p class=3DMsoNormal><b><span =
lang=3DEN-US>RESTEasy<o:p></o:p></span></b></p>
<p class=3DMsoNormal><b><span =
lang=3DEN-US><o:p> </o:p></span></b></p>
<p class=3DMsoNormal><span lang=3DEN-US>and so =
on…<o:p></o:p></span></p>
</div>
</body>
</html>
------=_NextPart_000_0021_01CE5895.54B6CA80--
11 years, 7 months
[Engine-devel] error install on centos
by Paco qw
Hello everyone.
Ovirt install on Centos 6.2
Run engine-setup and get the error.
Installing:
Configuring oVirt Engine... [ DONE ]
Configuring JVM... [ DONE ]
Creating CA... [ DONE ]
Updating ovirt-engine service... [ DONE ]
Setting Database Configuration... [ DONE ]
Setting Database Security... [ DONE ]
Creating Database... [ ERROR ]
Database creation failed
Please check log file
/var/log/ovirt-engine/engine-setup_2011_11_24_05_36_26.log for more
information
In log engine-db-install
#engine db installer log file on rhevm8.lab.topsonline.ru
[engine-db-install] verifying required rpms are installed.
postgresql-server-8.4.9-1.el6_1.1.x86_64
postgresql-8.4.9-1.el6_1.1.x86_64
postgresql-libs-8.4.9-1.el6_1.1.x86_64
[engine-db-install] verifying postgres service exists.
[engine-db-install] init postgres db.
[engine-db-install] psgql db already been initialized.
[engine-db-install] changing authentication scheme from peer to ident.
[engine-db-install] changing authentication scheme from ident to trust.
[engine-db-install] stop postgres service.
Stopping postgresql service: [ OK ]
[engine-db-install] starting postgres service.
Starting postgresql service: [ OK ]
[engine-db-install] validating that postgres service is running...retry 1
?column?
----------
1
(1 row)
[engine-db-install] checking if engine db exists already..
psql: FATAL: database "engine" does not exist
[engine-db-install] engine not installed.
[engine-db-install] updating db admin credentials
DROP ROLE
CREATE ROLE
[engine-db-install] creating engine db on postgres.
/usr/share/ovirt-engine/dbscripts ~
/usr/share/ovirt-engine/dbscripts /usr/share/ovirt-engine/dbscripts
Creating the database: engine
dropdb: database removal failed: ERROR: database "engine" does not exist
user name is: engine
Creating tables...
Creating functions...
Creating common functions...
Inserting data ...
Inserting pre-defined roles ...
Running upgrade scripts...
upgrade script detected a change in Config, View or Stored Procedure...
./dbfunctions.sh: line 199: file: command not found
Running upgrade sql script upgrade/pre_upgrade/0000_config.sql ...
./dbfunctions.sh: line 199: file: command not found
Running upgrade sql script upgrade/pre_upgrade/0010_custom.sql ...
./dbfunctions.sh: line 199: file: command not found
Running upgrade sql script
upgrade/pre_upgrade/0020_add_comment_col_to_schema_version.sql ...
./dbfunctions.sh: line 199: file: command not found
Running upgrade sql script
upgrade/pre_upgrade/0030_add_materialized_views_table.sql ...
Dropping materialized views...
./dbfunctions.sh: line 199: file: command not found
Running upgrade sql script upgrade/03_00_0010_add_group_ids_to_users.sql
...
./dbfunctions.sh: line 199: file: command not found
Running upgrade sql script
upgrade/03_00_0030_change_storage_format_type_to_str.sql ...
./dbfunctions.sh: line 199: file: command not found
Running upgrade sql script
upgrade/03_00_0040_change_vm_dynamic_vm_ip_type.sql ...
./dbfunctions.sh: line 199: file: command not found
Running upgrade sql script
upgrade/03_00_0050_make_blank_template_pulic.sql ...
./dbfunctions.sh: line 199: file: command not found
Running upgrade sql script upgrade/03_00_0060_add_group_everyone.sql ...
./dbfunctions.sh: line 199: file: command not found
Running upgrade sql script upgrade/03_00_0100_add_device_size_to_luns.sql
...
./dbfunctions.sh: line 199: file: command not found
Running upgrade sql script
upgrade/03_00_0120_add_update_date_to_vm_templates.sql ...
./dbfunctions.sh: line 199: file: command not found
Running upgrade sql script
upgrade/03_00_0130_change_dwh_history_timekeeping_date_type.sql ...
./dbfunctions.sh: line 199: file: command not found
Running upgrade sql script upgrade/03_00_0150_update_roles.sql ...
./dbfunctions.sh: line 199: file: command not found
Running upgrade sql script upgrade/03_00_0180_add_guest_disk_size.sql ...
./dbfunctions.sh: line 199: file: command not found
Running upgrade sql script upgrade/03_00_0190_add_latency_vm_disks.sql ...
./dbfunctions.sh: line 199: file: command not found
Running upgrade sql script
upgrade/03_00_0220_add_MaxAuditLogMessageLength_to_config.sql ...
./dbfunctions.sh: line 199: file: command not found
Running upgrade sql script
upgrade/03_00_0260_change_app_list_type_to_text.sql ...
./dbfunctions.sh: line 199: file: command not found
Running upgrade sql script
upgrade/03_00_0270_change_users_group_ids_field_to_text.sql ...
./dbfunctions.sh: line 199: file: command not found
Running upgrade sql script
upgrade/03_00_0280_change_blank_template_default_display_type_to_spice.sql
...
./dbfunctions.sh: line 199: file: command not found
Running upgrade sql script upgrade/03_00_0300_add_local_admin_user.sql ...
./dbfunctions.sh: line 199: file: command not found
Running upgrade sql script
upgrade/03_00_0330_add_configuration_action_group_to_super_user_role.sql ...
./dbfunctions.sh: line 199: file: command not found
Running upgrade sql script
upgrade/03_00_0360_upgrade_default_vds_group_thp.sql ...
./dbfunctions.sh: line 199: file: command not found
Running upgrade sql script
upgrade/03_00_0380_add_otp_validity_to_vds_static.sql ...
./dbfunctions.sh: line 199: file: command not found
Running upgrade sql script upgrade/03_00_0410_add_disks_usage.sql ...
./dbfunctions.sh: line 199: file: command not found
Running upgrade sql script upgrade/03_00_0420_encrypt_pm_passwd.sh ...
psql:upgrade/03_00_0420_encrypt_pm_passwd.sh:25: ERROR: syntax error at or
near "#!/"
LINE 1: #!/bin/bash
^
What am I doing wrong?
11 years, 7 months
[Engine-devel] about user roles
by wlbleaboy@126
ÕâÊÇÒ»·â MIME žñÊœµÄ¶à²¿·ÖÓÊŒþ¡£
------=_NextPart_000_0012_01CE5723.E5FA2190
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Hi all:
I have a question about user role.
Recently, I connect to ovirt-engine by ovirt-engine-sdk, use the
admin@internal
login is ok, because admin have System Permissions.
But , when I have a domain named ovirt.test.com, and have a user
name leaboy
in ovirt.test.com, leaboy(a)ovirt.test.com can't to login ovirt-engine. I
think maybe leaboy
don't have permissions to login ovirt-engine. So , I want to know how can I
do let leaboy
login ovirt-engine, or some exist roles can let leaboy login.
Thanks.
------=_NextPart_000_0012_01CE5723.E5FA2190
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
font-size:10.5pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"\6279\6CE8\6846\6587\672C Char";
margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
font-size:9.0pt;
font-family:"Calibri","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.Char
{mso-style-name:"\6279\6CE8\6846\6587\672C Char";
mso-style-priority:99;
mso-style-link:\6279\6CE8\6846\6587\672C;}
.MsoChpDefault
{mso-style-type:export-only;}
/* Page Definitions */
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3DZH-CN link=3Dblue vlink=3Dpurple =
style=3D'text-justify-trim:punctuation'>
<div class=3DSection1>
<p class=3DMsoNormal><span lang=3DEN-US>Hi all:<o:p></o:p></span></p>
<p class=3DMsoNormal><span =
lang=3DEN-US> I
have a question about user role.<o:p></o:p></span></p>
<p class=3DMsoNormal><span lang=3DEN-US>Recently, I connect to =
ovirt-engine by
ovirt-engine-sdk, use the admin@internal <o:p></o:p></span></p>
<p class=3DMsoNormal><span lang=3DEN-US>login is ok, because admin have =
System
Permissions. <o:p></o:p></span></p>
<p class=3DMsoNormal><span lang=3DEN-US><o:p> </o:p></span></p>
<p class=3DMsoNormal><span =
lang=3DEN-US> But
, when I have a domain named ovirt.test.com, and have a user name =
leaboy<o:p></o:p></span></p>
<p class=3DMsoNormal><span lang=3DEN-US>in ovirt.test.com, <a
href=3D"mailto:leaboy@ovirt.test.com">leaboy(a)ovirt.test.com</a> =
can’t to
login ovirt-engine. I think maybe leaboy<o:p></o:p></span></p>
<p class=3DMsoNormal><span lang=3DEN-US>don’t have permissions to =
login
ovirt-engine. So , I want to know how can I do let =
leaboy<o:p></o:p></span></p>
<p class=3DMsoNormal><span lang=3DEN-US>login ovirt-engine, or some =
exist roles can
let leaboy login.<o:p></o:p></span></p>
<p class=3DMsoNormal><span lang=3DEN-US><o:p> </o:p></span></p>
<p class=3DMsoNormal><span =
lang=3DEN-US> =
&=
nbsp; &n=
bsp; =
Thanks.
<o:p></o:p></span></p>
<p class=3DMsoNormal><span lang=3DEN-US><o:p> </o:p></span></p>
<p class=3DMsoNormal><span lang=3DEN-US><o:p> </o:p></span></p>
</div>
</body>
</html>
------=_NextPart_000_0012_01CE5723.E5FA2190--
11 years, 7 months