--------------060802080604080900090207
Content-Type: text/plain; charset="ISO-8859-1"; format=flowed
Content-Transfer-Encoding: 7bit
On 07/11/2013 12:19 AM, Zhang, Hongyi wrote:
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 into 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 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 the Up status.
2.On the ovirt.engine server, I did the following before creating the
storage:
mkdir --p /mnt/data
chown --R 36:36 /mnt/data
Add the following line to /etc/sysconfig/nfs:
NFS4_SUPPORT="no"
Add the following line to /etc/exports:
/nmt/data *(rw,sync,no_subtree_check,all_squash,anonuid=36,anongid=36)
systemctl restart nfs-server.service
3.Back to the Default data center, clicked the Guide Me icon to start
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
Can you select ovirt.host behind 'User Host' label ?
As I mentioned in pre-email, you should add your ovirt-engine host as
ovirt-node and up it, maybe you can select ovirt.engine
Here, ovirt-engine browser showing dialog box, 'Use Host' and 'Export
Path' they are should be matched.
Thanks.
After couple of minutes, I saw the error window popped up: Error:
Cannot add 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.ConnectStorageServerVDSCommand]
(ajp--127.0.0.1-8702-1) [41c282da] FINISH,
ConnectStorageServerVDSCommand, return:
{00000000-0000-0000-0000-000000000000=100}, log id: 1bca7819
2013-07-10 11:37:51,303 ERROR
[org.ovirt.engine.core.bll.storage.NFSStorageHelper]
(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.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_CONNECTION_NOT_EXIST
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:
RemoveStorageServerConnectionCommand internal: false. Entities
affected : ID: aaa00000-0000-0000-0000-123456789aaa Type: System
2013-07-10 11:37:51,489 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.DisconnectStorageServerVDSCommand]
(ajp--127.0.0.1-8702-1) [2bd59836] START,
DisconnectStorageServerVDSCommand(HostName = ovirt.node, HostId =
8e47a267-98a9-4184-a92e-26587adae6c4, storagePoolId =
00000000-0000-0000-0000-000000000000, storageType = NFS,
connectionList = [{ id: null, connection: 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 is ovirt.host:/mnt/data), then everything is okay. Not sure why
failed on the ovirt.engine side.
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
--
Best regards.
---------
Wgao, Linux BSP Tester, Wind River Beijing
Phone: +86-10-6483-5064, Cell: +86-158-1020-4994, Fax: +86-10-6479-0367
--------------060802080604080900090207
Content-Type: text/html; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 07/11/2013 12:19 AM, Zhang, Hongyi
wrote:<br>
</div>
<blockquote
cite="mid:B5488210B44F434FA68B7430CC196BCFA701F041@ALA-MBB.corp.ad.wrs.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="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 67698713 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="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I started to learn the oVirt by following
the oVirt Quick Start Guide.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I used one server as the ovirt.engine, and
another server as the ovirt.host. Both servers run Fedora
18.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">After executing the command
“engine-setup”
in the ovirt.engine, I can get into the admin portal to start
the configuration of host, storage, etc. Here was what I am
doing:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoListParagraph"
style="text-indent:-.25in;mso-list:l0 level1 lfo1"><!--[if
!supportLists]--><span
style="mso-list:Ignore">1.<span style="font:7.0pt
"Times New
Roman"">
</span></span><!--[endif]-->In the Default data center, I
clicked the Guide 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 the Up
status.<o:p></o:p></p>
<p class="MsoListParagraph"
style="text-indent:-.25in;mso-list:l0 level1 lfo1"><!--[if
!supportLists]--><span
style="mso-list:Ignore">2.<span style="font:7.0pt
"Times New
Roman"">
</span></span><!--[endif]-->On the ovirt.engine server, I
did the following before creating the storage:<o:p></o:p></p>
<p class="MsoListParagraph">mkdir –p
/mnt/data<o:p></o:p></p>
<p class="MsoListParagraph">chown –R 36:36
/mnt/data<o:p></o:p></p>
<p class="MsoListParagraph">Add the following line to
/etc/sysconfig/nfs:<o:p></o:p></p>
<p class="MsoListParagraph">
NFS4_SUPPORT=”no”<o:p></o:p></p>
<p class="MsoListParagraph">Add the following line to
/etc/exports:<o:p></o:p></p>
<p class="MsoListParagraph">
/nmt/data
*(rw,sync,no_subtree_check,all_squash,anonuid=36,anongid=36)<o:p></o:p></p>
<p class="MsoListParagraph">systemctl restart
nfs-server.service<o:p></o:p></p>
<p class="MsoListParagraph"
style="text-indent:-.25in;mso-list:l0 level1 lfo1"><!--[if
!supportLists]--><span
style="mso-list:Ignore">3.<span style="font:7.0pt
"Times New
Roman"">
</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="MsoListParagraph"
style="text-indent:-.25in;mso-list:l0 level1 lfo1"><!--[if
!supportLists]--><span
style="mso-list:Ignore">4.<span style="font:7.0pt
"Times New
Roman"">
</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 click OK</p>
</div>
</blockquote>
Can you select ovirt.host behind 'User Host' label ? <br>
As I mentioned in pre-email, you should add your ovirt-engine host
as ovirt-node and up it, maybe you can select ovirt.engine<br>
<br>
Here, ovirt-engine browser showing dialog box, 'Use Host' and
'Export Path' they are should be matched.<br>
<br>
Thanks.<br>
<blockquote
cite="mid:B5488210B44F434FA68B7430CC196BCFA701F041@ALA-MBB.corp.ad.wrs.com"
type="cite">
<div class="WordSection1">
<p class="MsoListParagraph">After couple of minutes, I saw the
error window popped up:
<span style="color:red">Error: Cannot add Storage. Internal
error, Storage Connection doesn't
exist.</span><o:p></o:p></p>
<p
class="MsoListParagraph"><o:p> </o:p></p>
<p class="MsoListParagraph">From the /var/log/
ovirt-engine/engine.log, I can see:<o:p></o:p></p>
<p class="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:
{00000000-0000-0000-0000-000000000000=100}, log id:
1bca7819<o:p></o:p></p>
<p class="MsoListParagraph">2013-07-10 11:37:51,303 <span
style="color:red">ERROR</span>
[org.ovirt.engine.core.bll.storage.NFSStorageHelper]
(ajp--127.0.0.1-8702-1) [41c282da]
<span style="color:red">The connection with details
128.224.147.229:/mnt/data failed because of error code 100
and error message is:
generalexception<o:p></o:p></span></p>
<p class="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_CONNECTION_NOT_EXIST<o:p></o:p></p>
<p class="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:
RemoveStorageServerConnectionCommand internal: false. Entities
affected : ID: aaa00000-0000-0000-0000-123456789aaa Type:
System<o:p></o:p></p>
<p class="MsoListParagraph">2013-07-10 11:37:51,489
INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.DisconnectStorageServerVDSCommand]
(ajp--127.0.0.1-8702-1) [2bd59836] START,
DisconnectStorageServerVDSCommand(HostName = ovirt.node,
HostId = 8e47a267-98a9-4184-a92e-26587adae6c4, storagePoolId =
00000000-0000-0000-0000-000000000000, storageType = NFS,
connectionList = [{ id: null, connection:
128.224.147.229:/mnt/data, iqn: null, vfsType: null,
mountOptions: null, nfsVersion: null, nfsRetrans: null,
nfsTimeo: null };]), log id: 2f9800d
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Please let me know what I was doing
wrong.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Hongyi<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">P.S. If I create the NFS domain in the
ovirt.host side (i.e., Export Path is ovirt.host:/mnt/data),
then everything is okay. Not sure why failed on the
ovirt.engine side.<o:p></o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated"
href="mailto:Users@ovirt.org">Users@ovirt.org</a>
<a class="moz-txt-link-freetext"
href="http://lists.ovirt.org/mailman/listinfo/users">http://...
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Best regards.
---------
Wgao, Linux BSP Tester, Wind River Beijing
Phone: +86-10-6483-5064, Cell: +86-158-1020-4994, Fax: +86-10-6479-0367</pre>
</body>
</html>
--------------060802080604080900090207--