[Engine-devel] NPE during addStorageServer command

Hi All, I am trying to compile ovirt engine after applying sharad's glusterfs domain support patches @ http://gerrit.ovirt.org/#/q/project:ovirt-engine+branch:master+topic:gluster... After compiling, deploying the engine ( by following the steps in wiki.ovirt.org/Building_Ovirt_Engine ) 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. Then I select New SD->None in DC -> select my vdsm host->provide the args (remote path = volfileserver:volume, vfstype=glusterfs, mount => left blank) and click on OK 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. I have captured the logs on the engien and vdsm side and attached here. I am looking for some help on why the NPE is being seen on the engien side during adding a new SD ? thanx, deepak

This is a multi-part message in MIME format. --------------010306020409030207000102 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Looking at the code, it looks like you need a Storage helper called GLUSTERFSStorageHelper in package org.ovirt.engine.core.bll.storage. The NPE seems to be because the Storage helper is null for the storage type. On 02/06/2013 04:42 PM, Deepak C Shetty wrote:
Hi All, I am trying to compile ovirt engine after applying sharad's glusterfs domain support patches @ http://gerrit.ovirt.org/#/q/project:ovirt-engine+branch:master+topic:gluster...
After compiling, deploying the engine ( by following the steps in wiki.ovirt.org/Building_Ovirt_Engine ) 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.
Then I select New SD->None in DC -> select my vdsm host->provide the args (remote path = volfileserver:volume, vfstype=glusterfs, mount => left blank) and click on OK
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.
I have captured the logs on the engien and vdsm side and attached here.
I am looking for some help on why the NPE is being seen on the engien side during adding a new SD ?
thanx, deepak
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
--------------010306020409030207000102 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"> Looking at the code, it looks like you need a Storage helper called GLUSTERFSStorageHelper in package org.ovirt.engine.core.bll.storage. 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> I am trying to compile ovirt engine after applying sharad's glusterfs domain support patches @ <br> <a 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->None in DC -> select my vdsm host->provide the args (remote path = volfileserver:volume, vfstype=glusterfs, mount => 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 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> --------------010306020409030207000102--

------=_Part_21870891_2076700423.1360151575417 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit ----- Original Message -----
From: "Sahina Bose" <sabose@redhat.com> To: engine-devel@ovirt.org Sent: Wednesday, February 6, 2013 1:25:05 PM Subject: Re: [Engine-devel] NPE during addStorageServer command
Looking at the code, it looks like you need a Storage helper called GLUSTERFSStorageHelper in package org.ovirt.engine.core.bll.storage. The NPE seems to be because the Storage helper is null for the storage type. Corret, this is based on reflection - if you have an enum literal of X then you must have an XStorageHelper, even if it has no meaningful functionality of its own (as in the case of POSIXFSStorageHelper). I assume such class can extend BaseFsStorageHelper I
9 On 02/06/2013 04:42 PM, Deepak C Shetty wrote:
Hi All,
I am trying to compile ovirt engine after applying sharad's glusterfs domain support patches @
http://gerrit.ovirt.org/#/q/project:ovirt-engine+branch:master+topic:gluster...
After compiling, deploying the engine ( by following the steps in wiki.ovirt.org/Building_Ovirt_Engine )
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.
Then I select New SD->None in DC -> select my vdsm host->provide the args (remote path = volfileserver:volume, vfstype=glusterfs, mount => left blank) and click on OK
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.
I have captured the logs on the engien and vdsm side and attached here.
I am looking for some help on why the NPE is being seen on the engien side during adding a new SD ?
thanx,
deepak
_______________________________________________
Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
------=_Part_21870891_2076700423.1360151575417 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit <html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000'><br><br><hr id="zwchr"><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" id="DWT2345"><b>From: </b>"Sahina Bose" <sabose@redhat.com><br><b>To: </b>engine-devel@ovirt.org<br><b>Sent: </b>Wednesday, February 6, 2013 1:25:05 PM<br><b>Subject: </b>Re: [Engine-devel] NPE during addStorageServer command<br><br> Looking at the code, it looks like you need a Storage helper called GLUSTERFSStorageHelper in package org.ovirt.engine.core.bll.storage. The NPE seems to be because the Storage helper is null for the storage type.<br>Corret, this is based on reflection - if you have an enum literal of X then you must have an XStorageHelper, even if it has no meaningful functionality of its own (as in the case of POSIXFSStorageHelper). I assume such class can extend BaseFsStorageHelper<br>I<br><br> <div class="moz-cite-prefix" id="DWT2353"> 9</div><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">Hi All, <br> I am trying to compile ovirt engine after applying sharad's glusterfs domain support patches @ <br> <a class="moz-txt-link-freetext" href="http://gerrit.ovirt.org/#/q/project:ovirt-engine+branch:master+topic:gluster..." target="_blank">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->None in DC -> select my vdsm host->provide the args (remote path = volfileserver:volume, vfstype=glusterfs, mount => 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>_______________________________________________ Engine-devel mailing list <a class="moz-txt-link-abbreviated" href="mailto:Engine-devel@ovirt.org" target="_blank">Engine-devel@ovirt.org</a> <a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/engine-devel" target="_blank">http://lists.ovirt.org/mailman/listinfo/engine-devel</a> </pre> </blockquote> <br> <br>_______________________________________________<br>Engine-devel mailing list<br>Engine-devel@ovirt.org<br>http://lists.ovirt.org/mailman/listinfo/engine-devel<br></blockquote><br></div></body></html> ------=_Part_21870891_2076700423.1360151575417--

This is a multi-part message in MIME format. --------------070606010408070408020700 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 02/06/2013 04:55 PM, Sahina Bose wrote:
Looking at the code, it looks like you need a Storage helper called GLUSTERFSStorageHelper in package org.ovirt.engine.core.bll.storage.
Which is introduced by Sharad's this patch: http://gerrit.ovirt.org/8834 I guess you don't have this patch in your local repository.
The NPE seems to be because the Storage helper is null for the storage type.
On 02/06/2013 04:42 PM, Deepak C Shetty wrote:
Hi All, I am trying to compile ovirt engine after applying sharad's glusterfs domain support patches @ http://gerrit.ovirt.org/#/q/project:ovirt-engine+branch:master+topic:gluster...
After compiling, deploying the engine ( by following the steps in wiki.ovirt.org/Building_Ovirt_Engine ) 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.
Then I select New SD->None in DC -> select my vdsm host->provide the args (remote path = volfileserver:volume, vfstype=glusterfs, mount => left blank) and click on OK
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.
I have captured the logs on the engien and vdsm side and attached here.
I am looking for some help on why the NPE is being seen on the engien side during adding a new SD ?
thanx, deepak
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
--------------070606010408070408020700 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 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 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> <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> 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->None in DC -> select my vdsm host->provide the args (remote path = volfileserver:volume, vfstype=glusterfs, mount => 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 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> --------------070606010408070408020700--

This is a multi-part message in MIME format. --------------030603050508060606000206 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 02/06/2013 05:36 PM, Shireesh Anjal wrote:
On 02/06/2013 04:55 PM, Sahina Bose wrote:
Looking at the code, it looks like you need a Storage helper called GLUSTERFSStorageHelper in package org.ovirt.engine.core.bll.storage.
Which is introduced by Sharad's this patch: http://gerrit.ovirt.org/8834 I guess you don't have this patch in your local repository. In this patch, you will need to rename the file as it's case sensitive on linux- GlusterFsStorageHelper should be GLUSTERFSStorageHelper.
Hope this helps, cheers sahina
The NPE seems to be because the Storage helper is null for the storage type.
On 02/06/2013 04:42 PM, Deepak C Shetty wrote:
Hi All, I am trying to compile ovirt engine after applying sharad's glusterfs domain support patches @ http://gerrit.ovirt.org/#/q/project:ovirt-engine+branch:master+topic:gluster...
After compiling, deploying the engine ( by following the steps in wiki.ovirt.org/Building_Ovirt_Engine ) 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.
Then I select New SD->None in DC -> select my vdsm host->provide the args (remote path = volfileserver:volume, vfstype=glusterfs, mount => left blank) and click on OK
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.
I have captured the logs on the engien and vdsm side and attached here.
I am looking for some help on why the NPE is being seen on the engien side during adding a new SD ?
thanx, deepak
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
--------------030603050508060606000206 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"> <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> 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->None in DC -> select my vdsm host->provide the args (remote path = volfileserver:volume, vfstype=glusterfs, mount => 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> --------------030603050508060606000206--

------=_Part_22446380_1566491682.1360211938642 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit ----- Original Message -----
From: "Sahina Bose" <sabose@redhat.com> To: engine-devel@ovirt.org Sent: Thursday, February 7, 2013 6:32:39 AM Subject: Re: [Engine-devel] NPE during addStorageServer command
On 02/06/2013 05:36 PM, Shireesh Anjal wrote:
On 02/06/2013 04:55 PM, Sahina Bose wrote:
Looking at the code, it looks like you need a Storage helper called GLUSTERFSStorageHelper in package org.ovirt.engine.core.bll.storage.
Which is introduced by Sharad's this patch: http://gerrit.ovirt.org/8834
I guess you don't have this patch in your local repository.
In this patch, you will need to rename the file as it's case sensitive on linux- GlusterFsStorageHelper should be GLUSTERFSStorageHelper.ks Sa Thanks Sahina
Good Comment, I added it to the patch review
Hope this helps, cheers sahina
The NPE seems to be because the Storage helper is null for the storage type.
On 02/06/2013 04:42 PM, Deepak C Shetty wrote:
Hi All,
I am trying to compile ovirt engine after applying sharad's glusterfs domain support patches @
http://gerrit.ovirt.org/#/q/project:ovirt-engine+branch:master+topic:gluster...
After compiling, deploying the engine ( by following the steps in wiki.ovirt.org/Building_Ovirt_Engine )
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.
Then I select New SD->None in DC -> select my vdsm host->provide the args (remote path = volfileserver:volume, vfstype=glusterfs, mount => left blank) and click on OK
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.
I have captured the logs on the engien and vdsm side and attached here.
I am looking for some help on why the NPE is being seen on the engien side during adding a new SD ?
thanx,
deepak
_______________________________________________
Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
_______________________________________________
Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
_______________________________________________
Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
------=_Part_22446380_1566491682.1360211938642 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit <html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000'><br><br><hr id="zwchr"><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" id="DWT3254"><b>From: </b>"Sahina Bose" <sabose@redhat.com><br><b>To: </b>engine-devel@ovirt.org<br><b>Sent: </b>Thursday, February 7, 2013 6:32:39 AM<br><b>Subject: </b>Re: [Engine-devel] NPE during addStorageServer command<br><br> <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"> <div class="moz-cite-prefix">On 02/06/2013 04:55 PM, Sahina Bose wrote:<br> </div> <blockquote cite="mid:51123D91.30205@redhat.com"> 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 class="moz-txt-link-freetext" href="http://gerrit.ovirt.org/8834" target="_blank">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.ks Sa<br>Thanks Sahina<br></blockquote><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">Good Comment, I added it to the patch review <br> <br> Hope this helps,<br> cheers<br> sahina<br> <blockquote cite="mid:5112474B.1090909@redhat.com"> <br> <blockquote cite="mid:51123D91.30205@redhat.com"> 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">Hi All, <br> I am trying to compile ovirt engine after applying sharad's glusterfs domain support patches @ <br> <a class="moz-txt-link-freetext" href="http://gerrit.ovirt.org/#/q/project:ovirt-engine+branch:master+topic:gluster..." target="_blank">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->None in DC -> select my vdsm host->provide the args (remote path = volfileserver:volume, vfstype=glusterfs, mount => 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>_______________________________________________ Engine-devel mailing list <a class="moz-txt-link-abbreviated" href="mailto:Engine-devel@ovirt.org" target="_blank">Engine-devel@ovirt.org</a> <a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/engine-devel" target="_blank">http://lists.ovirt.org/mailman/listinfo/engine-devel</a> </pre> </blockquote> <br> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre>_______________________________________________ Engine-devel mailing list <a class="moz-txt-link-abbreviated" href="mailto:Engine-devel@ovirt.org" target="_blank">Engine-devel@ovirt.org</a> <a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/engine-devel" target="_blank">http://lists.ovirt.org/mailman/listinfo/engine-devel</a> </pre> </blockquote> <br> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre>_______________________________________________ Engine-devel mailing list <a class="moz-txt-link-abbreviated" href="mailto:Engine-devel@ovirt.org" target="_blank">Engine-devel@ovirt.org</a> <a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/engine-devel" target="_blank">http://lists.ovirt.org/mailman/listinfo/engine-devel</a> </pre> </blockquote> <br> <br>_______________________________________________<br>Engine-devel mailing list<br>Engine-devel@ovirt.org<br>http://lists.ovirt.org/mailman/listinfo/engine-devel<br></blockquote><br></div></body></html> ------=_Part_22446380_1566491682.1360211938642--

This is a multi-part message in MIME format. --------------040502050501060904020109 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 02/07/2013 10:02 AM, Sahina Bose wrote:
On 02/06/2013 05:36 PM, Shireesh Anjal wrote:
On 02/06/2013 04:55 PM, Sahina Bose wrote:
Looking at the code, it looks like you need a Storage helper called GLUSTERFSStorageHelper in package org.ovirt.engine.core.bll.storage.
Which is introduced by Sharad's this patch: http://gerrit.ovirt.org/8834 I guess you don't have this patch in your local repository. In this patch, you will need to rename the file as it's case sensitive on linux- GlusterFsStorageHelper should be GLUSTERFSStorageHelper.
Thanks Sahina, i will give that a try. Shireesh, i have this patch in my local repo, but 'guess it won't matter, due to the issue pointed by Sahina. I will try the fix proposed and get back. --------------040502050501060904020109 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 02/07/2013 10:02 AM, Sahina Bose wrote:<br> </div> <blockquote cite="mid:51132E67.4030707@redhat.com" type="cite"> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> <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> </blockquote> <br> <br> Thanks Sahina, i will give that a try.<br> <br> Shireesh, i have this patch in my local repo, but 'guess it won't matter, due to the issue pointed by Sahina.<br> <br> I will try the fix proposed and get back.<br> </body> </html> --------------040502050501060904020109--

This is a multi-part message in MIME format. --------------030806070107090805070000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 02/07/2013 02:41 PM, Deepak C Shetty wrote:
On 02/07/2013 10:02 AM, Sahina Bose wrote:
On 02/06/2013 05:36 PM, Shireesh Anjal wrote:
On 02/06/2013 04:55 PM, Sahina Bose wrote:
Looking at the code, it looks like you need a Storage helper called GLUSTERFSStorageHelper in package org.ovirt.engine.core.bll.storage.
Which is introduced by Sharad's this patch: http://gerrit.ovirt.org/8834 I guess you don't have this patch in your local repository. In this patch, you will need to rename the file as it's case sensitive on linux- GlusterFsStorageHelper should be GLUSTERFSStorageHelper.
Thanks Sahina, i will give that a try.
Shireesh, i have this patch in my local repo, but 'guess it won't matter, due to the issue pointed by Sahina.
I will try the fix proposed and get back.
That works.. NPE is gone with the above change. thanks all ! --------------030806070107090805070000 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 02/07/2013 02:41 PM, Deepak C Shetty wrote:<br> </div> <blockquote cite="mid:51136FAE.3050609@linux.vnet.ibm.com" type="cite"> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> <div class="moz-cite-prefix">On 02/07/2013 10:02 AM, Sahina Bose wrote:<br> </div> <blockquote cite="mid:51132E67.4030707@redhat.com" type="cite"> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> <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> </blockquote> <br> <br> Thanks Sahina, i will give that a try.<br> <br> Shireesh, i have this patch in my local repo, but 'guess it won't matter, due to the issue pointed by Sahina.<br> <br> I will try the fix proposed and get back.<br> </blockquote> <br> That works.. NPE is gone with the above change. thanks all !<br> </body> </html> --------------030806070107090805070000--
participants (4)
-
Deepak C Shetty
-
Sahina Bose
-
Shireesh Anjal
-
Yair Zaslavsky