--_000_B5488210B44F434FA68B7430CC196BCFA701F041ALAMBBcorpadwrs_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hi,
I started to learn the oVirt by following the oVirt Quick Start Guide.
I used one server as the ovirt.engine, and another server as the ovirt.host=
. Both servers run Fedora 18.
After executing the command "engine-setup" in the ovirt.engine, I can get i=
nto the admin portal to start the configuration of host, storage, etc. Here=
was what I am doing:
1. In the Default data center, I clicked the Guide Me icon. The firs=
t thing is to configure the host. After waiting for 4-5 minutes, I saw the =
host ovirt.host is displayed under the Host tab with the Up status.
2. On the ovirt.engine server, I did the following before creating th=
e storage:
mkdir -p /mnt/data
chown -R 36:36 /mnt/data
Add the following line to /etc/sysconfig/nfs:
NFS4_SUPPORT=3D"no"
Add the following line to /etc/exports:
/nmt/data *(rw,sync,no_subtree_check,all_squash,anonuid=3D36,anongid=3D=
36)
systemctl restart nfs-server.service
3. Back to the Default data center, clicked the Guide Me icon to star=
t the configuration of new storage.
4. On the New Storage dialog, set Name field to be NFS-Share, and set=
the Export Path field to be ovirt.engine:/mnt/data. Then click OK
After couple of minutes, I saw the error window popped up: Error: Cannot ad=
d Storage. Internal error, Storage Connection doesn't exist.
From the /var/log/ ovirt-engine/engine.log, I can see:
2013-07-10 11:37:51,300 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.Co=
nnectStorageServerVDSCommand] (ajp--127.0.0.1-8702-1) [41c282da] FINISH, Co=
nnectStorageServerVDSCommand, return: {00000000-0000-0000-0000-000000000000=
=3D100}, log id: 1bca7819
2013-07-10 11:37:51,303 ERROR [org.ovirt.engine.core.bll.storage.NFSStorage=
Helper] (ajp--127.0.0.1-8702-1) [41c282da] The connection with details 128.=
224.147.229:/mnt/data failed because of error code 100 and error message is=
: generalexception
2013-07-10 11:37:51,382 WARN [org.ovirt.engine.core.bll.storage.AddNFSStor=
ageDomainCommand] (ajp--127.0.0.1-8702-6) [2612bf14] CanDoAction of action =
AddNFSStorageDomain failed. Reasons:VAR__TYPE__STORAGE__DOMAIN,VAR__ACTION_=
_ADD,ACTION_TYPE_FAILED_STORAGE_CONNECTION_NOT_EXIST
2013-07-10 11:37:51,483 INFO [org.ovirt.engine.core.bll.storage.RemoveStor=
ageServerConnectionCommand] (ajp--127.0.0.1-8702-1) [2bd59836] Running comm=
and: RemoveStorageServerConnectionCommand internal: false. Entities affecte=
d : ID: aaa00000-0000-0000-0000-123456789aaa Type: System
2013-07-10 11:37:51,489 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.Di=
sconnectStorageServerVDSCommand] (ajp--127.0.0.1-8702-1) [2bd59836] START, =
DisconnectStorageServerVDSCommand(HostName =3D ovirt.node, HostId =3D 8e47a=
267-98a9-4184-a92e-26587adae6c4, storagePoolId =3D 00000000-0000-0000-0000-=
000000000000, storageType =3D NFS, connectionList =3D [{ id: null, connecti=
on: 128.224.147.229:/mnt/data, iqn: null, vfsType: null, mountOptions: null=
, nfsVersion: null, nfsRetrans: null, nfsTimeo: null };]), log id: 2f9800d
Please let me know what I was doing wrong.
Thanks,
Hongyi
P.S. If I create the NFS domain in the ovirt.host side (i.e., Export Path i=
s ovirt.host:/mnt/data), then everything is okay. Not sure why failed on th=
e ovirt.engine side.
--_000_B5488210B44F434FA68B7430CC196BCFA701F041ALAMBBcorpadwrs_
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:Calibri;
panose-1:2 15 5 2 2 2 4 3 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.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
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:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:284242792;
mso-list-type:hybrid;
mso-list-template-ids:1052426804 67698703 67698713 67698715 67698703 67698=
713 67698715 67698703 67698713 67698715;}
@list l0:level1
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level2
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level3
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level4
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level5
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level6
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level7
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level8
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level9
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></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"EN-US"
link=3D"blue" vlink=3D"purple"
<div
class=3D"WordSection1"
<p
class=3D"MsoNormal">Hi,<o:p></o:p></p
<p
class=3D"MsoNormal"><o:p> </o:p></p
<p class=3D"MsoNormal">I started to learn the
oVirt by following the oVirt =
Quick Start Guide.<o:p></o:p></p
<p
class=3D"MsoNormal"><o:p> </o:p></p
<p class=3D"MsoNormal">I used one server as the
ovirt.engine, and another s=
erver as the ovirt.host. Both servers run Fedora 18.<o:p></o:p></p
<p
class=3D"MsoNormal"><o:p> </o:p></p
<p class=3D"MsoNormal">After executing the
command “engine-setup̶=
1; in the ovirt.engine, I can get into the admin portal to start the config=
uration of host, storage, etc. Here was what I am doing:<o:p></o:p></p
<p
class=3D"MsoNormal"><o:p> </o:p></p
<p class=3D"MsoListParagraph"
style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo1"><![if !supportLists]><span
style=3D"mso-list:Ignore">1.<span style=
=3D"font:7.0pt "Times New
Roman""> &=
nbsp;
</span></span><![endif]>In the Default data center, I clicked
the Gui=
de Me icon. The first thing is to configure the host. After waiting for 4-5=
minutes, I saw the host ovirt.host is displayed under the Host tab with th=
e Up status.<o:p></o:p></p
<p
class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo1"><![if !supportLists]><span
style=3D"mso-list:Ignore">2.<span style=
=3D"font:7.0pt "Times New
Roman""> &=
nbsp;
</span></span><![endif]>On the ovirt.engine server, I did the following
bef=
ore creating the storage:<o:p></o:p></p
<p
class=3D"MsoListParagraph">mkdir –p
/mnt/data<o:p></o:p></p
<p
class=3D"MsoListParagraph">chown –R 36:36
/mnt/data<o:p></o:p></p
<p
class=3D"MsoListParagraph">Add the following line to /etc/sysconfig/nfs:=
<o:p></o:p></p
<p
class=3D"MsoListParagraph">
NFS4_SUPPORT=3D”no&#=
8221;<o:p></o:p></p
<p
class=3D"MsoListParagraph">Add the following line to
/etc/exports:<o:p><=
/o:p></p
<p
class=3D"MsoListParagraph"> /nmt/data
*(rw,sync,no_sub=
tree_check,all_squash,anonuid=3D36,anongid=3D36)<o:p></o:p></p
<p class=3D"MsoListParagraph">systemctl restart
nfs-server.service<o:p></o:=
p></p
<p
class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo1"><![if !supportLists]><span
style=3D"mso-list:Ignore">3.<span style=
=3D"font:7.0pt "Times New
Roman""> &=
nbsp;
</span></span><![endif]>Back to the Default data center, clicked the
Guide =
Me icon to start the configuration of new storage.<o:p></o:p></p
<p class=3D"MsoListParagraph"
style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo1"><![if !supportLists]><span
style=3D"mso-list:Ignore">4.<span style=
=3D"font:7.0pt "Times New
Roman""> &=
nbsp;
</span></span><![endif]>On the New Storage dialog, set Name field to be
NFS=
-Share, and set the Export Path field to be ovirt.engine:/mnt/data. Then cl=
ick OK<o:p></o:p></p
<p
class=3D"MsoListParagraph">After couple of minutes, I saw the error wind=
ow popped up:
<span style=3D"color:red">Error: Cannot add Storage. Internal error,
Storag=
e Connection doesn't exist.</span><o:p></o:p></p
<p
class=3D"MsoListParagraph"><o:p> </o:p></p
<p class=3D"MsoListParagraph">From the
/var/log/ ovirt-engine/engine.log, I=
can see:<o:p></o:p></p
<p
class=3D"MsoListParagraph">2013-07-10 11:37:51,300 INFO
[org.ovirt=
.engine.core.vdsbroker.vdsbroker.ConnectStorageServerVDSCommand] (ajp--127.=
0.0.1-8702-1) [41c282da] FINISH, ConnectStorageServerVDSCommand, return: {0=
0000000-0000-0000-0000-000000000000=3D100},
log id: 1bca7819<o:p></o:p></p
<p
class=3D"MsoListParagraph">2013-07-10 11:37:51,303 <span
style=3D"color:=
red">ERROR</span> [org.ovirt.engine.core.bll.storage.NFSStorageHelper]
(ajp=
--127.0.0.1-8702-1) [41c282da]
<span style=3D"color:red">The connection with details
128.224.147.229:/mnt/=
data failed because of error code 100 and error message is: generalexceptio=
n<o:p></o:p></span></p
<p
class=3D"MsoListParagraph">2013-07-10 11:37:51,382 WARN
[org.ovirt=
.engine.core.bll.storage.AddNFSStorageDomainCommand] (ajp--127.0.0.1-8702-6=
) [2612bf14] CanDoAction of action AddNFSStorageDomain failed. Reasons:VAR_=
_TYPE__STORAGE__DOMAIN,VAR__ACTION__ADD,ACTION_TYPE_FAILED_STORAGE_CONNECTI=
ON_NOT_EXIST<o:p></o:p></p
<p
class=3D"MsoListParagraph">2013-07-10 11:37:51,483 INFO
[org.ovirt=
.engine.core.bll.storage.RemoveStorageServerConnectionCommand] (ajp--127.0.=
0.1-8702-1) [2bd59836] Running command: RemoveStorageServerConnectionComman=
d internal: false. Entities affected :
ID: aaa00000-0000-0000-0000-123456789aaa Type: System<o:p></o:p></p
<p class=3D"MsoListParagraph">2013-07-10
11:37:51,489 INFO [org.ovirt=
.engine.core.vdsbroker.vdsbroker.DisconnectStorageServerVDSCommand] (ajp--1=
27.0.0.1-8702-1) [2bd59836] START, DisconnectStorageServerVDSCommand(HostNa=
me =3D ovirt.node, HostId =3D 8e47a267-98a9-4184-a92e-26587adae6c4,
storagePoolId =3D 00000000-0000-0000-0000-000000000000, storageType =3D NF=
S, connectionList =3D [{ id: null, connection: 128.224.147.229:/mnt/data, i=
qn: null, vfsType: null, mountOptions: null, nfsVersion: null, nfsRetrans: =
null, nfsTimeo: null };]), log id: 2f9800d
<o:p></o:p></p
<p
class=3D"MsoNormal"><o:p> </o:p></p
<p class=3D"MsoNormal">Please let me know what
I was doing wrong.<o:p></o:p=
></p
<p
class=3D"MsoNormal"><o:p> </o:p></p
<p
class=3D"MsoNormal">Thanks,<o:p></o:p></p
<p
class=3D"MsoNormal">Hongyi<o:p></o:p></p
<p
class=3D"MsoNormal"><o:p> </o:p></p
<p class=3D"MsoNormal">P.S. If I create the NFS
domain in the ovirt.host si=
de (i.e., Export Path is ovirt.host:/mnt/data), then everything is okay. No=
t sure why failed on the ovirt.engine side.<o:p></o:p></p
</div
</body
</html
--_000_B5488210B44F434FA68B7430CC196BCFA701F041ALAMBBcorpadwrs_--