Re: Having problem to start Radosgw

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 






From: "B L" <super.iterator@xxxxxxxxx>
To: "Yehuda Sadeh-Weinraub" <yehuda@xxxxxxxxxx>
Cc: ceph-users@xxxxxxxxxxxxxx
Sent: Saturday, February 14, 2015 11:03:42 AM
Subject: Re: Having problem to start Radosgw

Hello Yehyda,

The strace command you referred to me, shows this: https://gist.github.com/anonymous/8e9f1ced485996a263bb

Additionally, I traced this log file: /var/log/radosgw/ceph-client.radosgw.gateway

it has the following:

2015-02-12 18:23:32.247679 7fecca5257c0 -1 did not load config file, using default settings.
2015-02-12 18:23:32.247745 7fecca5257c0  0 ceph version 0.80.7 (6c0127fcb58008793d3c8b62d925bc91963672a3), process radosgw, pid 20477
2015-02-12 18:23:32.251192 7fecca5257c0 -1 Couldn't init storage provider (RADOS)
2015-02-12 18:23:58.494026 7faab31377c0 -1 did not load config file, using default settings.
2015-02-12 18:23:58.494092 7faab31377c0  0 ceph version 0.80.7 (6c0127fcb58008793d3c8b62d925bc91963672a3), process radosgw, pid 20509
2015-02-12 18:23:58.497420 7faab31377c0 -1 Couldn't init storage provider (RADOS)
2015-02-14 17:13:03.478688 7f86f09567c0 -1 did not load config file, using default settings.
2015-02-14 17:13:03.478778 7f86f09567c0  0 ceph version 0.80.7 (6c0127fcb58008793d3c8b62d925bc91963672a3), process radosgw, pid 2989
2015-02-14 17:13:03.482850 7f86f09567c0 -1 Couldn't init storage provider (RADOS)
2015-02-14 17:13:29.477530 7ff18226a7c0 -1 did not load config file, using default settings.
2015-02-14 17:13:29.477595 7ff18226a7c0  0 ceph version 0.80.7 (6c0127fcb58008793d3c8b62d925bc91963672a3), process radosgw, pid 3033
2015-02-14 17:13:29.481173 7ff18226a7c0 -1 Couldn't init storage provider (RADOS)
2015-02-14 17:21:00.950847 7ffee3a3b7c0 -1 did not load config file, using default settings.
2015-02-14 17:21:00.950916 7ffee3a3b7c0  0 ceph version 0.80.7 (6c0127fcb58008793d3c8b62d925bc91963672a3), process radosgw, pid 3086
2015-02-14 17:21:00.954085 7ffee3a3b7c0 -1 Couldn't init storage provider (RADOS)



Turns out to be that the last line of the logs is thrown out by this piece of code in rgw_main.cc:


  FCGX_Init();

  RGWStoreManager store_manager;

  if (!store_manager.init("rados", g_ceph_context)) {
    derr << "Couldn't init storage provider (RADOS)" << dendl;  
    return EIO;
  }

  RGWProcess process(g_ceph_context, 20);

  process.run();

  return 0;

N.B.  you can find it in:(http://workbench.dachary.org/ceph/ceph/raw/8d63e140777bbdd061baa6845d57e6c3cc771f76/src/rgw/rgw_main.cc) , 10th line from below.

Is that by any means related to the problem?

Not related. This actually means that it couldn't connect to the rados backend, so there's a different issue now. The strace log doesn't provide much with regard to the original issue as it didn't get to that part now. You can try bumping up the debug level (debug rgw = 20, debug ms = 1). I assume that the issue that you're seeing is that the wrong rados user and/or wrong cephx keys are being used. Try to run it again as you do usually, and see what the regular params that are being passed when starting radosgw; use these when running the strace command.

Yehuda



On Feb 14, 2015, at 7:24 PM, Yehuda Sadeh-Weinraub <yehuda@xxxxxxxxxx> wrote:

sudo strace -F -T -tt -o/tmp/strace.out radosgw -c ceph.conf -f


_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux