Skip to content

Instantly share code, notes, and snippets.

View ideepika's full-sized avatar
🎯
Focusing

Deepika Upadhyay ideepika

🎯
Focusing
View GitHub Profile
#!/bin/bash
set -ex
echo "===setup clusters ==="
mon=1 osd=1 mds=0 ../src/mstart.sh site-a --short -n --without-dashboard
mon=1 osd=1 mds=0 ../src/mstart.sh site-b --short -n --without-dashboard
echo "===rbd mirror setup for clusters ==="
key=$(../src/mrun site-a ceph auth get client.admin --format=json | jq -r .[0].key)
mon_host_a=$(grep "mon host" run/site-a/ceph.conf | awk '{print $4}')
from ubuntu:focal
RUN apt-get -y update
RUN apt-get install git
if [[ -z $TMUX ]]; then
builtin exit
return
fi
panes=$(tmux list-panes | wc -l)
wins=$(tmux list-windows | wc -l)
count=$(($panes + $wins - 1))
if [ $count -eq 1 ]; then
tmux detach
(gdb)  thread apply all bt full

Thread 17 (Thread 0x7fffdaffd700 (LWP 1427008)):
#0  0x00007ffff719a2fc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
No symbol table info available.
#1  0x00007ffff1a0d8f0 in std::condition_variable::wait(std::unique_lock<std::mutex>&) () from /lib64/libstdc++.so.6
No symbol table info available.
#2  0x00007ffff43103b7 in SafeTimer::timer_thread (this=0x5555559cf520) at ../src/common/Timer.cc:108
        now = {__d = {__r = 21223118594831413}}
This file has been truncated, but you can view the full file.
2021-05-12T20:45:03.597+0530 7fcf901af540 10 public_network
2021-05-12T20:45:03.597+0530 7fcf901af540 10 public_addr -
2021-05-12T20:45:03.597+0530 7fcf901af540 10 public_addrv
2021-05-12T20:45:03.598+0530 7fcf901af540 1 imported monmap:
epoch 0
fsid 13669b0c-7ab0-4042-92f2-b602b262ff53
last_changed 2021-05-12T20:45:03.411417+0530
created 2021-05-12T20:45:03.411417+0530
min_mon_release 15 (octopus)
election_strategy: 1
@ideepika
ideepika / gist:843c38c088b4ca58de104005af9ba213
Created April 19, 2021 06:38
46875#change-191972-save.log
This file has been truncated, but you can view the full file.
GitHub pull request #40891 of commit 7bef7e9b3b19cbbc3f4f185fe0e0caa2faae544a, no merge conflicts.
Running as SYSTEM
Setting status of 7bef7e9b3b19cbbc3f4f185fe0e0caa2faae544a to PENDING with url https://jenkins.ceph.com/job/ceph-pull-requests/73665/ and message: 'running make check'
Using context: make check
[EnvInject] - Loading node environment variables.
[EnvInject] - Preparing an environment for the build.
[EnvInject] - Keeping Jenkins system variables.
[EnvInject] - Keeping Jenkins build variables.
[EnvInject] - Injecting as environment variables the properties content
TERM=xterm
88 ../sysdeps/unix/sysv/linux/futex-internal.h: No such file or directory.
(gdb) thread apply bt all
Invalid thread ID: bt all
(gdb) thread apply all bt
Thread 17 (Thread 0x7fee5f7fe700 (LWP 14249)):
#0 0x00007fee8f275ad3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7fee64007cc8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1 __pthread_cond_wait_common (abstime=0x0, mutex=0x7fee64007c78, cond=0x7fee64007ca0) at pthread_cond_wait.c:502
#2 __pthread_cond_wait (cond=0x7fee64007ca0, mutex=0x7fee64007c78) at pthread_cond_wait.c:655
#3 0x00007fee8530ae3c in std::condition_variable::wait(std::unique_lock<std::mutex>&) () from /usr/lib/ceph/libceph-common.so.2
prs:
2021-03-12T01:56:27.042 INFO:tasks.ceph.osd.0.smithi160.stderr:/home/jenkins-build/build/workspace/ceph-dev-new-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos8/DIST/centos8/MACHINE_SIZE/gigantic/release/15.2.9-136-gdbb79e05/rpm/el8/BUILD/ceph-15.2.9-136-gdbb79e05/src/osd/PG.cc: In function 'virtual void PG::on_active_advmap(const OSDMapRef&)' thread 7f759466d700 time 2021-03-12T01:56:27.030656+0000
2021-03-12T01:56:27.042 INFO:tasks.ceph.osd.0.smithi160.stderr:/home/jenkins-build/build/workspace/ceph-dev-new-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos8/DIST/centos8/MACHINE_SIZE/gigantic/release/15.2.9-136-gdbb79e05/rpm/el8/BUILD/ceph-15.2.9-136-gdbb79e05/src/osd/PG.cc: 1689: FAILED ceph_assert(!bad || !cct->_conf->osd_debug_verify_cached_snaps)
2021-03-12T01:56:27.042 INFO:tasks.ceph.osd.0.smithi160.stderr:2021-03-12T01:56:27.029+0000 7f759466d700 -1 osd.0 pg_epoch: 119 pg[57.d( v 118'71 (0'0,118'71] local-lis/les=75/76 n=31 ec=49/49 lis/c=75/75 les/c/f=76/76/0 sis=75)
2021-03-12T01:56:27.042 INFO:tasks.ceph.osd.0.smithi160.stderr:/home/jenkins-build/build/workspace/ceph-dev-new-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos8/DIST/centos8/MACHINE_SIZE/gigantic/release/15.2.9-136-gdbb79e05/rpm/el8/BUILD/ceph-15.2.9-136-gdbb79e05/src/osd/PG.cc: In function 'virtual void PG::on_active_advmap(const OSDMapRef&)' thread 7f759466d700 time 2021-03-12T01:56:27.030656+0000
2021-03-12T01:56:27.042 INFO:tasks.ceph.osd.0.smithi160.stderr:/home/jenkins-build/build/workspace/ceph-dev-new-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos8/DIST/centos8/MACHINE_SIZE/gigantic/release/15.2.9-136-gdbb79e05/rpm/el8/BUILD/ceph-15.2.9-136-gdbb79e05/src/osd/PG.cc: 1689: FAILED ceph_assert(!bad || !cct->_conf->osd_debug_verify_cached_snaps)
2021-03-12T01:56:27.042 INFO:tasks.ceph.osd.0.smithi160.stderr:2021-03-12T01:56:27.029+0000 7f759466d700 -1 osd.0 pg_epoch: 119 pg[57.d( v 118'71 (0'0,118'71] local-lis/les=75/76 n=31 ec=49/49 lis/c=75/75 les/c/f=76/76/0 sis=75) [0,6]