--_000_62CD604BB12CB045864DDF2DA6C3C9CAD70F20706AEXSFMMB02inte_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
I figured out the problem with the ovirt-shell. I forgot to inject the stor=
age-path parameter...not sure if that is supposed to be required or not.
From: Andrey Falko
Sent: Tuesday, April 03, 2012 7:15 PM
To: users(a)oVirt.org
Subject: Questions about oVirt and possible API bug
Hi everyone,
One of the requirements behind the system that I am attempting to build is =
that there should be no local storage. I've noticed that I cannot add local=
storage hosts to the same datacenter and cluster. It seems awkward to have=
a 1:1:1 ratio of datacenter to cluster to host. Is there anything that I a=
m missing or is there a reason for why this is the design in ovirt?
I plan to use the system to provide a service where end-users will make API=
calls to create and delete VMs. It will be critical that oVirt-engine not =
be a single-point of failure. I can't seem to find much information about w=
hether oVirt-engine is designed with redundancy in mind. Is oVirt capable o=
f a failover or an active-active configuration?
Finally, I am attempting to automate registration of hosts to oVirt and am =
hitting this when I try to add a local storage domain:
[oVirt shell (connected)]# create storagedomain --host test1 --type "Data (=
Master)" --storage-type "Local on host"
unknown error: 'str' object has no attribute 'export'
Is this a bug with ovirt-shell that I should file or am I doing something w=
rong? The host is in maintenance mode, I do not see anything in the engine =
logs after I run the command.
Thanks,
Andrey
--_000_62CD604BB12CB045864DDF2DA6C3C9CAD70F20706AEXSFMMB02inte_
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=3DGenerator
content=3D"Micros=
oft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@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:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
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;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle20
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle21
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle22
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
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=3DEN-US
link=3Dblue vli=
nk=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span
style=3D'c=
olor:#1F497D'>I figured out the problem with the ovirt-shell. I forgot to i=
nject the storage-path parameter…not sure if that is supposed to be r=
equired or not. <o:p></o:p></span></p><p
class=3DMsoNormal><span style=3D'c=
olor:#1F497D'><o:p> </o:p></span></p><div><div
style=3D'border:none;bo=
rder-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=3DMsoNorma=
l><b><span
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Fro=
m:</span></b><span
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-ser=
if"'> Andrey Falko <br><b>Sent:</b> Tuesday, April 03, 2012
7:15 PM<br><b>T=
o:</b> users@oVirt.org<br><b>Subject:</b> Questions about oVirt
and possibl=
e API bug<o:p></o:p></span></p></div></div><p
class=3DMsoNormal><o:p> =
</o:p></p><p class=3DMsoNormal><span
style=3D'color:#1F497D'>Hi everyone,<o=
:p></o:p></span></p><p class=3DMsoNormal><span
style=3D'color:#1F497D'><o:p=
</o:p></span></p><p
class=3DMsoNormal><span style=3D'color:#1F497D'>=
One of the
requirements behind the system that I am attempting to build is =
that there should be no local storage. I’ve noticed that I cannot add=
local storage hosts to the same datacenter and cluster. It seems awkward t=
o have a 1:1:1 ratio of datacenter to cluster to host. Is there anything th=
at I am missing or is there a reason for why this is the design in ovirt? <=
o:p></o:p></span></p><p class=3DMsoNormal><span
style=3D'color:#1F497D'><o:=
p> </o:p></span></p><p class=3DMsoNormal><span
style=3D'color:#1F497D'=
I plan to use the system to provide a service where end-users will
make AP=
I calls to create and delete VMs. It will be critical that oVirt-engine
not=
be a single-point of failure. I can’t seem to find much information =
about whether oVirt-engine is designed with redundancy in mind. Is oVirt ca=
pable of a failover or an active-active
configuration?<o:p></o:p></span></p=
<p class=3DMsoNormal><span
style=3D'color:#1F497D'><o:p> </o:p></span=
</p><p class=3DMsoNormal><span style=3D'color:#1F497D'>Finally,
I am attem=
pting to automate registration of hosts to oVirt and am hitting this
when I=
try to add a local storage domain: <o:p></o:p></span></p><p
class=3DMsoNor=
mal><span
style=3D'color:#1F497D'><o:p> </o:p></span></p><p
class=3DMs=
oNormal><span style=3D'color:#1F497D'>[oVirt shell (connected)]# create
sto=
ragedomain --host test1 --type "Data (Master)" --storage-type &qu=
ot;Local on host"<o:p></o:p></span></p><p
class=3DMsoNormal><span styl=
e=3D'color:#1F497D'>unknown error: 'str' object has no attribute
'export'<o=
:p></o:p></span></p><p class=3DMsoNormal><span
style=3D'color:#1F497D'><o:p=
</o:p></span></p><p
class=3DMsoNormal><span style=3D'color:#1F497D'>=
Is this a bug
with ovirt-shell that I should file or am I doing something w=
rong? The host is in maintenance mode, I do not see anything in the engine =
logs after I run the command.<o:p></o:p></span></p><p
class=3DMsoNormal><sp=
an
style=3D'color:#1F497D'><o:p> </o:p></span></p><p
class=3DMsoNormal=
<span
style=3D'color:#1F497D'>Thanks,<o:p></o:p></span></p><p
class=3DMsoN=
ormal><span
style=3D'color:#1F497D'>Andrey<o:p></o:p></span></p></div></bod=
y></html>=
--_000_62CD604BB12CB045864DDF2DA6C3C9CAD70F20706AEXSFMMB02inte_--