<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-cite-prefix">On 02/06/2013 05:36 PM, Shireesh Anjal
      wrote:<br>
    </div>
    <blockquote cite="mid:5112474B.1090909@redhat.com" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">On 02/06/2013 04:55 PM, Sahina Bose
        wrote:<br>
      </div>
      <blockquote cite="mid:51123D91.30205@redhat.com" type="cite">
        <meta content="text/html; charset=ISO-8859-1"
          http-equiv="Content-Type">
        Looking at the code, it looks like you need a Storage helper
        called GLUSTERFSStorageHelper in package
        org.ovirt.engine.core.bll.storage. </blockquote>
      <br>
      Which is introduced by Sharad's this patch: <a
        moz-do-not-send="true" class="moz-txt-link-freetext"
        href="http://gerrit.ovirt.org/8834">http://gerrit.ovirt.org/8834</a><br>
      I guess you don't have this patch in your local repository.<br>
    </blockquote>
    In this patch, you will need to rename the file as it's case
    sensitive on linux- GlusterFsStorageHelper should be
    GLUSTERFSStorageHelper.<br>
    <br>
    Hope this helps,<br>
    cheers<br>
    sahina<br>
    <blockquote cite="mid:5112474B.1090909@redhat.com" type="cite"> <br>
      <blockquote cite="mid:51123D91.30205@redhat.com" type="cite"> The
        NPE seems to be because the Storage helper is null for the
        storage type.<br>
        <br>
        <div class="moz-cite-prefix">On 02/06/2013 04:42 PM, Deepak C
          Shetty wrote:<br>
        </div>
        <blockquote cite="mid:51123AAE.5060101@linux.vnet.ibm.com"
          type="cite">Hi All, <br>
          &nbsp;&nbsp; I am trying to compile ovirt engine after applying sharad's
          glusterfs domain support patches @ <br>
          <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://gerrit.ovirt.org/#/q/project:ovirt-engine+branch:master+topic:glusterfs,n,z">http://gerrit.ovirt.org/#/q/project:ovirt-engine+branch:master+topic:glusterfs,n,z</a>
          <br>
          <br>
          After compiling, deploying the engine ( by following the steps
          in wiki.ovirt.org/Building_Ovirt_Engine ) <br>
          I connect to the weadmin GUI, add a VDSM host ( this is my own
          vdsm host with VDSM glsuter domain support ) and the host is
          "Up" state. <br>
          <br>
          Then I select New SD-&gt;None in DC -&gt; select my vdsm
          host-&gt;provide the args (remote path = volfileserver:volume,
          vfstype=glusterfs, mount =&gt; left blank) and click on OK <br>
          <br>
          I see NPE in the engine side during addStorageServer cmd (
          IIUC ) and then engine tries to send disconnectStorageServer,
          which reaches my VDSM host and it throws a excp, since the
          domain is not mounted at all. <br>
          <br>
          I have captured the logs on the engien and vdsm side and
          attached here. <br>
          <br>
          I am looking for some help on why the NPE is being seen on the
          engien side during adding a new SD ? <br>
          <br>
          thanx, <br>
          deepak <br>
          <br>
          <br>
          <fieldset class="mimeAttachmentHeader"></fieldset>
          <br>
          <pre wrap="">_______________________________________________
Engine-devel mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Engine-devel@ovirt.org">Engine-devel@ovirt.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/engine-devel">http://lists.ovirt.org/mailman/listinfo/engine-devel</a>
</pre>
        </blockquote>
        <br>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
Engine-devel mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Engine-devel@ovirt.org">Engine-devel@ovirt.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/engine-devel">http://lists.ovirt.org/mailman/listinfo/engine-devel</a>
</pre>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Engine-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Engine-devel@ovirt.org">Engine-devel@ovirt.org</a>
<a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/engine-devel">http://lists.ovirt.org/mailman/listinfo/engine-devel</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>