On Thu, 26 Mar, 2020, 11:01 PM Casey Bodley, <cbodley@xxxxxxxxxx> wrote:
Any GSOC mentors available to help Abhinav here?
Yes, helping him out try to figure out, over another mail thread.
On Thu, Mar 26, 2020 at 1:28 PM Abhinav Singh
<singhabhinav0796@xxxxxxxxx> wrote:
>
> hey kind of help will be one step closure to solve this
>
> On Thu, 26 Mar 2020, 01:45 Abhinav Singh, <singhabhinav0796@xxxxxxxxx> wrote:
>>
>> I m gsoc student who is trying to figure it out..a little help would be great :)
>>
>> On Wed, 25 Mar 2020, 15:28 Abhinav Singh, <singhabhinav0796@xxxxxxxxx> wrote:
>>>
>>> please could you provide me some help a little bit of help will be of great use
>>>
>>> Thank you
>>>
>>>
>>> On Tue, 24 Mar 2020, 23:13 Abhinav Singh, <singhabhinav0796@xxxxxxxxx> wrote:
>>>>
>>>> Yes I have checked the logs but the unable to understand what the error message, but unable to understand it.
>>>> I m attaching it below please have a look.
>>>>
>>>>
>>>>
>>>> On Tue, Mar 24, 2020 at 5:02 PM Casey Bodley <cbodley@xxxxxxxxxx> wrote:
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Mar 24, 2020 at 6:14 AM Abhinav Singh <singhabhinav0796@xxxxxxxxx> wrote:
>>>>>>
>>>>>> anyone?
>>>>>>
>>>>>> On Mon, 23 Mar 2020, 23:39 Abhinav Singh, <singhabhinav0796@xxxxxxxxx>
>>>>>> wrote:
>>>>>>
>>>>>> > please someone help me
>>>>>> >
>>>>>> > On Mon, 23 Mar 2020, 19:44 Abhinav Singh, <singhabhinav0796@xxxxxxxxx>
>>>>>> > wrote:
>>>>>> >
>>>>>> >>
>>>>>> >>
>>>>>> >> ---------- Forwarded message ---------
>>>>>> >> From: Abhinav Singh <singhabhinav0796@xxxxxxxxx>
>>>>>> >> Date: Mon, Mar 23, 2020 at 7:43 PM
>>>>>> >> Subject: RGW failing to create bucket
>>>>>> >> To: <dev@xxxxxxx>
>>>>>> >>
>>>>>> >>
>>>>>> >> ceph : octopus
>>>>>> >> JaegerTracing : master
>>>>>> >> ubuntu : 18.04
>>>>>> >>
>>>>>> >> When I implementing jaeger tracing it is unable to create a bucket.
>>>>>> >> (I m using swif to perform testing.)
>>>>>> >> /src/librados/IoCtxImpl.cc
>>>>>> >>
>>>>>> >> ```
>>>>>> >> void librados::IoCtxImpl::queue_aio_write(AioCompletionImpl *c)
>>>>>> >> {
>>>>>> >> std::cout<<"yes"<<std::endl;
>>>>>> >> JTracer tracer;
>>>>>> >> tracer.initTracer("Writing Started",
>>>>>> >> "/home/abhinav/Desktop/GSOC/deepika/ceph/src/librados/tracerConfig.yaml"
>>>>>> >> );
>>>>>> >> Span span=tracer.newSpan("writing started");
>>>>>> >> span->Finish();
>>>>>> >> try{
>>>>>> >> auto yaml = YAML::LoadFile("tracerConfig.yaml");
>>>>>> >> }catch(const YAML::ParserException& pe){
>>>>>> >> // ldout<<pe.what()<<dendl;
>>>>>> >> std::cout<<pe.what()<<std::endl;
>>>>>> >> ofstream f;
>>>>>> >> f.open("/home/abhinav/Desktop/err.txt");
>>>>>> >> f<<pe.what();
>>>>>> >> f.close();
>>>>>> >> }
>>>>>> >> // auto config = jaegertracing::Config::parse(yaml);
>>>>>> >> // auto tracer=jaegertracing::Tracer::make(
>>>>>> >> // "Writing",
>>>>>> >> // config,
>>>>>> >> // jaegertracing::logging::consoleLogger()
>>>>>> >> // );
>>>>>> >> // opentracing::Tracer::InitGlobal(
>>>>>> >> // static_pointer_cast<opentracing::Tracer>(tracer)
>>>>>> >> // );
>>>>>> >> // auto span = opentracing::Tracer::Global()->StartSpan("Span1");
>>>>>> >> get();
>>>>>> >> ofstream file;
>>>>>> >> file.open("/home/abhinav/Desktop/write.txt",std::ios::out | std::ios
>>>>>> >> ::app);
>>>>>> >> file<<"Writing /src/librados/IoCtxImpl.cc 310.\n";
>>>>>> >> file.close();
>>>>>> >> std::scoped_lock l{aio_write_list_lock};
>>>>>> >> ceph_assert(c->io == this);
>>>>>> >> c->aio_write_seq = ++aio_write_seq;
>>>>>> >> ldout(client->cct, 20) << "queue_aio_write " << this << " completion "
>>>>>> >> << c
>>>>>> >> << " write_seq " << aio_write_seq << dendl;
>>>>>> >> aio_write_list.push_back(&c->aio_write_list_item);
>>>>>> >> // opentracing::Tracer::Global()->Close();
>>>>>> >> }
>>>>>> >> ```
>>>>>> >> /include/tracer.h
>>>>>> >> ```
>>>>>> >> typedef std::unique_ptr<opentracing::Span> Span;
>>>>>> >>
>>>>>> >> class JTracer{
>>>>>> >> public:
>>>>>> >> JTracer(){}
>>>>>> >> ~JTracer(){
>>>>>> >> opentracing::Tracer::Global()->Close();
>>>>>> >> }
>>>>>> >> void static inline loadYamlConfigFile(const char* path){
>>>>>> >> return;
>>>>>> >> }
>>>>>> >> void initTracer(const char* tracerName,const char* filePath){
>>>>>> >> auto yaml = YAML::LoadFile(filePath);
>>>>>> >> auto configuration = jaegertracing::Config::parse(yaml);
>>>>>> >> auto tracer = jaegertracing::Tracer::make(
>>>>>> >> tracerName,
>>>>>> >> configuration,
>>>>>> >> jaegertracing::logging::consoleLogger());
>>>>>> >> opentracing::Tracer::InitGlobal(
>>>>>> >> std::static_pointer_cast<opentracing::Tracer>(tracer));
>>>>>> >> Span s=opentracing::Tracer::Global()->StartSpan("Testing");
>>>>>> >> s->Finish();
>>>>>> >> }
>>>>>> >> Span newSpan(const char* spanName){
>>>>>> >> Span span=opentracing::Tracer::Global()->StartSpan(spanName);
>>>>>> >> return std::move(span);
>>>>>> >> }
>>>>>> >> Span childSpan(const char* spanName,const Span& parentSpan){
>>>>>> >> Span span = opentracing::Tracer::Global()->StartSpan(spanName, {
>>>>>> >> opentracing::ChildOf(&parentSpan->context())});
>>>>>> >> return std::move(span);
>>>>>> >> }
>>>>>> >> Span followUpSpan(const char *spanName, const Span& parentSpan){
>>>>>> >> Span span = opentracing::Tracer::Global()->StartSpan(spanName, {
>>>>>> >> opentracing::FollowsFrom(&parentSpan->context())});
>>>>>> >> return std::move(span);
>>>>>> >> }
>>>>>> >> };
>>>>>> >> ```
>>>>>> >>
>>>>>> >> Output when trying to create new container
>>>>>> >>
>>>>>> >> ```
>>>>>> >> errno 111 connection refused
>>>>>> >> ```
>>>>>
>>>>>
>>>>> connection refused probably means that radosgw crashed or isn't running. if it crashed, you might find out why by looking at its log file
>>>>>
>>>>>> >> But when I remove the tracer part in IoCtxImpl.cc it is workng fine.
>>>>>> >>
>>>>>> >> I m new to ceph, and dont know what information to share to correctly
>>>>>> >> track down the problem, if any extra informtion is needed I will share it
>>>>>> >> instantly.
>>>>>> >>
>>>>>> >> Been stuck into this issue for one week.
>>>>>> >> Please someone help me!
>>>>>> >>
>>>>>> >> Thank you.
>>>>>> >>
>>>>>> >
>>>>>> _______________________________________________
>>>>>> ceph-users mailing list -- ceph-users@xxxxxxx
>>>>>> To unsubscribe send an email to ceph-users-leave@xxxxxxx
>>>>>>
_______________________________________________
Dev mailing list -- dev@xxxxxxx
To unsubscribe send an email to dev-leave@xxxxxxx
_______________________________________________ Dev mailing list -- dev@xxxxxxx To unsubscribe send an email to dev-leave@xxxxxxx