Something to keep in mind when writing error messages for users as opposed to developers: Try to include the response to, "So what?"

What are the results of that error message? "No source for sink," though obvious to an afr programmer, means that home depot is closed to the rest of the world. If I read that error message and ask, "So what," what would your one sentence response be?

On 4/12/2014 7:47 AM, Justin Clift wrote:
On 12/04/2014, at 3:39 PM, Joe Julian wrote:
Perhaps rewording:
cannot open shared object file: No such file or directory. Features provided by 
that library will be unavailable.
That sounds like it would help. :)

I should be able to manage that without too much fuss (will find out).


On April 12, 2014 7:15:18 AM PDT, Vijay Bellur <vbel...@redhat.com> wrote:
On 04/11/2014 07:51 PM, Justin Clift wrote:
  Kind of thinking this would be better as WARNING level instead of ERROR.

  Any objections?  If not, I'll whip up a change for it for master on Monday.

This would be an error in the rpc layer if rdma is a legitimate
transport type for  volume/data or glusterd/management. This error is
being seen since glusterd is instructed to listen on both tcp & rdma in
glusterd.vol.

Maybe it is time to get our FAQ page current and add this in there?
Yep.


Another change that seems necessary is the brick detail in this message:

"0-glusterd: resolve brick failed in restore"

Providing server name and path of the brick would make this log message
a lot more meaningful.
Good thinking. :)

For this one, I'll create a BZ on Mon.

+ Justin


-Vijay


  + Justin

  Begin forwarded message:
  *From: *吴保川 <wildpointe...@gmail.com <mailto:wildpointe...@gmail.com>>
  *Subject: **Re: [Gluster-users] Command "/etc/init.d/glusterd start"
  failed*
  *Date: *12 April 2014 3:02:55 AM GMT+01:00
  *To: *Joe Julian <j...@julianfamily.org <mailto:j...@julianfamily.org>>
  *Cc: *gluster-us...@gluster.org <mailto:gluster-us...@gluster.org>

  Thanks, Joe. I found one of my machine has been assigned wrong IP
  address. This leads to the error.
  Originally, I thought the following error is critical:
  [2014-04-11 18:12:03.433371] E
  [rpc-transport.c:269:rpc_transport_load] 0-rpc-transport:

/usr/local/lib/glusterfs/3.4.3/rpc-transport/
rdma.so: cannot open
  shared object file: No such file or directory


  2014-04-12 5:34 GMT+08:00 Joe Julian <j...@julianfamily.org
  <mailto:j...@julianfamily.org>>:

      On 04/11/2014 11:18 AM, 吴保川 wrote:

          [2014-04-11 18:12:05.165989] E
          [glusterd-store.c:2663:__glusterd_resolve_all_bricks]
          0-glusterd: resolve brick failed in restore

      I'm pretty sure that means that one of the bricks isn't resolved
      in your list of peers.



  Gluster-users mailing list
  gluster-us...@gluster.org <mailto:gluster-us...@gluster.org>
  http://supercolony.gluster.org/mailman/listinfo/gluster-users

  --
  Open Source and Standards @ Red Hat

  twitter.com/realjustinclift <http://twitter.com/realjustinclift>




  Gluster-devel mailing list
  Gluster-devel@nongnu.org
  https://lists.nongnu.org/mailman/listinfo/gluster-devel




Gluster-devel mailing list
Gluster-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/gluster-devel

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
--
Open Source and Standards @ Red Hat

twitter.com/realjustinclift



_______________________________________________
Gluster-devel mailing list
Gluster-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/gluster-devel

Reply via email to