From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4DCB9C433F5 for ; Mon, 30 May 2022 06:52:53 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-214-rDx4ViDWPna6057MzG8rCQ-1; Mon, 30 May 2022 02:52:50 -0400 X-MC-Unique: rDx4ViDWPna6057MzG8rCQ-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 74E9D1C05151; Mon, 30 May 2022 06:52:48 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0978482886; Mon, 30 May 2022 06:52:42 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id B818D1969F50; Mon, 30 May 2022 06:52:41 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id A6FD61932108 for ; Fri, 27 May 2022 07:02:40 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 829192166B29; Fri, 27 May 2022 07:02:40 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast08.extmail.prod.ext.rdu2.redhat.com [10.11.55.24]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7E7702166B26 for ; Fri, 27 May 2022 07:02:40 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 5EFD93802B90 for ; Fri, 27 May 2022 07:02:40 +0000 (UTC) Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com [209.85.208.179]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-539-98-GyMu5NaOAf1HjyFg6sw-1; Fri, 27 May 2022 03:02:37 -0400 X-MC-Unique: 98-GyMu5NaOAf1HjyFg6sw-1 Received: by mail-lj1-f179.google.com with SMTP id 1so4005229ljp.8 for ; Fri, 27 May 2022 00:02:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=3nhfWC2mspHOHZRYAM6DKCzacf2v0VMz/Y9yeTIK3hw=; b=gBADcBKzr2NpnbUxTWFK/Cymrjb/QdEBUgF62t9CnO//C4is0yWYRUIfL2D8+N+H4O X8k8CLzDrNesZ8eS0MAawWNPecUyi127zePbc5wCZOO7VG3u26nzkx1uKzvBeO1TYN1f PzWzNBaP01MHbTSRr8PWQMLpaYR6cWMTVECje8ksc1zPEbBo9npTejP5UidEfijiJOg+ IoKeyGPDsfodHbzkbnuwBaFTrz3Swy226zNGEprFul4Fz/xU26rTb4Y1eoQLUog5gDuK 5mk2QOddkbarOlGs9L+wLVlPQE0GtALIsAECTbaVXHyg4d45TO5YduHDxUVxKJJStX+k 7vrQ== X-Gm-Message-State: AOAM530ClW3YP8Q1AVrDvRQkc1YxZhic1mjy4VU5T8gaB3rbTq/d14sf eXlKpw2NrdctfAafzQsnaLvcRVTXc3ZnEr0PUOR+xshwVuI= X-Google-Smtp-Source: ABdhPJwgScB15BV49ax2TAFH58Vl8vshmq3wQqycwt7LyySeWgkbY1uOcroBW9Nq2AK+lgRQYyHeiX/tixLiYiMZXRI= X-Received: by 2002:a2e:6806:0:b0:254:af8:665b with SMTP id c6-20020a2e6806000000b002540af8665bmr7386187lja.2.1653634955771; Fri, 27 May 2022 00:02:35 -0700 (PDT) MIME-Version: 1.0 From: Abhishek Agarwal Date: Fri, 27 May 2022 12:32:24 +0530 Message-ID: To: linux-lvm@redhat.com X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-Mailman-Approved-At: Mon, 30 May 2022 06:52:41 +0000 Subject: [linux-lvm] lvm commands hanging when run from inside a kubernetes pod X-BeenThere: linux-lvm@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: LVM general discussion and development Errors-To: linux-lvm-bounces@redhat.com Sender: "linux-lvm" X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=linux-lvm-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: multipart/mixed; boundary="===============7312739226061530615==" --===============7312739226061530615== Content-Type: multipart/alternative; boundary="00000000000020821105dff8e446" --00000000000020821105dff8e446 Content-Type: text/plain; charset="UTF-8" When a kubernetes pod is scheduled on the node having lvm2 libraries already installed and trying to run lvm commands using those node binaries from inside the pod container, the commands hang and are waiting on something to complete. Although when ctrl+c is pressed the terminal session resumes and checking the final code for the execution returns a "0" error code and the commands operation is also carried out successfully. Below is the command output and strace for the command:- strace of lvcreate on the pod container scheduled on the node where lvm2 binaries are present: # strace /sbin/lvm-eg/lvcreate -n test-lv -L 1G shared-vg execve("/sbin/lvm-eg/lvcreate", ["/sbin/lvm-eg/lvcreate", "-n", "test-lv", "-L", "1G", "shared-vg"], 0x7ffe7d7a6c98 /* 37 vars */) = 0 brk(NULL) = 0x55d196f41000 arch_prctl(0x3001 /* ARCH_??? */, 0x7ffdd8247a80) = -1 EINVAL (Invalid argument) access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=8679, ...}) = 0 mmap(NULL, 8679, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f0d37895000 close(3) = 0 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360A\2\0\0\0\0\0"..., 832) = 832 pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784 pread64(3, "\4\0\0\0\20\0\0\0\5\0\0\0GNU\0\2\0\0\300\4\0\0\0\3\0\0\0\0\0\0\0", 32, 848) = 32 pread64(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0\237\333t\347\262\27\320l\223\27*\202C\370T\177"..., 68, 880) = 68 fstat(3, {st_mode=S_IFREG|0755, st_size=2029560, ...}) = 0 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0d37893000 pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784 pread64(3, "\4\0\0\0\20\0\0\0\5\0\0\0GNU\0\2\0\0\300\4\0\0\0\3\0\0\0\0\0\0\0", 32, 848) = 32 pread64(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0\237\333t\347\262\27\320l\223\27*\202C\370T\177"..., 68, 880) = 68 mmap(NULL, 2037344, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0d376a1000 mmap(0x7f0d376c3000, 1540096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f0d376c3000 mmap(0x7f0d3783b000, 319488, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19a000) = 0x7f0d3783b000 mmap(0x7f0d37889000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1e7000) = 0x7f0d37889000 mmap(0x7f0d3788f000, 13920, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f0d3788f000 close(3) = 0 arch_prctl(ARCH_SET_FS, 0x7f0d37894580) = 0 mprotect(0x7f0d37889000, 16384, PROT_READ) = 0 mprotect(0x55d196662000, 8192, PROT_READ) = 0 mprotect(0x7f0d378c5000, 4096, PROT_READ) = 0 munmap(0x7f0d37895000, 8679) = 0 getuid() = 0 getgid() = 0 getpid() = 19163 rt_sigaction(SIGCHLD, {sa_handler=0x55d196657c30, sa_mask=~[RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7f0d376e40c0}, NULL, 8) = 0 geteuid() = 0 brk(NULL) = 0x55d196f41000 brk(0x55d196f62000) = 0x55d196f62000 getppid() = 19160 stat("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 openat(AT_FDCWD, "/sbin/lvm-eg/lvcreate", O_RDONLY) = 3 fcntl(3, F_DUPFD, 10) = 10 close(3) = 0 fcntl(10, F_SETFD, FD_CLOEXEC) = 0 geteuid() = 0 getegid() = 0 rt_sigaction(SIGINT, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0 rt_sigaction(SIGINT, {sa_handler=0x55d196657c30, sa_mask=~[RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7f0d376e40c0}, NULL, 8) = 0 rt_sigaction(SIGQUIT, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0 rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=~[RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7f0d376e40c0}, NULL, 8) = 0 rt_sigaction(SIGTERM, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0 rt_sigaction(SIGTERM, {sa_handler=SIG_DFL, sa_mask=~[RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7f0d376e40c0}, NULL, 8) = 0 read(10, "#!/bin/sh\npath=$(/sbin/lvm-eg/ge"..., 8192) = 79 pipe([3, 4]) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f0d37894850) = 19164 close(4) = 0 read(3, "/usr/sbin/lvcreate\n", 128) = 19 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=19164, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- rt_sigreturn({mask=[]}) = 19 read(3, "", 128) = 0 close(3) = 0 wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 19164 stat("/usr/local/sbin/chroot", 0x7ffdd8247710) = -1 ENOENT (No such file or directory) stat("/usr/local/bin/chroot", 0x7ffdd8247710) = -1 ENOENT (No such file or directory) stat("/usr/sbin/chroot", {st_mode=S_IFREG|0755, st_size=43352, ...}) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f0d37894850) = 19168 wait4(-1, ^Cstrace: Process 19163 detached # ^C `lvs` output on the node after pressing ctrl+c on the pod container's terminal: ubuntu@ip-172-31-85-197:~$ sudo lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert test-lv shared-vg -wi-a----- 1.00g If ctrl+c is not pressed and trying to see the above output on the node also hangs until the pod operation is interrupted. --00000000000020821105dff8e446 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
When a kubernetes pod is scheduled on the node having lvm2= libraries already installed and trying to run lvm commands using those nod= e binaries from inside the pod container, the commands hang and are waiting= on something to complete. Although when ctrl+c is pressed the terminal ses= sion resumes and checking the final code for the execution returns a "= 0" error code and the commands operation is also carried out successfu= lly.


Below is the command output and strace for the = command:-

strace of lvcreate on the pod container scheduled o= n the node where lvm2 binaries are present:
# strace /sbin/lvm-eg/lvcrea= te -n test-lv -L 1G shared-vg
execve("/sbin/lvm-eg/lvcreate", = ["/sbin/lvm-eg/lvcreate", "-n", "test-lv", &q= uot;-L", "1G", "shared-vg"], 0x7ffe7d7a6c98 /* 37 = vars */) =3D 0
brk(NULL) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0=3D 0x55d196f41000
arch_prctl(0x3001 /* ARCH_??? */, 0x7ffdd82= 47a80) =3D -1 EINVAL (Invalid argument)
access("/etc/ld.so.preload&= quot;, R_OK) =C2=A0 =3D -1 ENOENT (No such file or directory)
openat(AT_= FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) =3D 3
fstat(3, = {st_mode=3DS_IFREG|0644, st_size=3D8679, ...}) =3D 0
mmap(NULL, 8679, PR= OT_READ, MAP_PRIVATE, 3, 0) =3D 0x7f0d37895000
close(3) =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D 0
openat(AT_FDCWD, "/l= ib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) =3D 3
read(3, &= quot;\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360A\2\0\0\0\0\0&quo= t;..., 832) =3D 832
pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\= 0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) =3D 784
pread64(3, "\= 4\0\0\0\20\0\0\0\5\0\0\0GNU\0\2\0\0\300\4\0\0\0\3\0\0\0\0\0\0\0", 32, = 848) =3D 32
pread64(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0\237\333t\347= \262\27\320l\223\27*\202C\370T\177"..., 68, 880) =3D 68
fstat(3, {s= t_mode=3DS_IFREG|0755, st_size=3D2029560, ...}) =3D 0
mmap(NULL, 8192, P= ROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =3D 0x7f0d37893000pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\= 0\0\0"..., 784, 64) =3D 784
pread64(3, "\4\0\0\0\20\0\0\0\5\0\= 0\0GNU\0\2\0\0\300\4\0\0\0\3\0\0\0\0\0\0\0", 32, 848) =3D 32
pread6= 4(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0\237\333t\347\262\27\320l\223\27*\= 202C\370T\177"..., 68, 880) =3D 68
mmap(NULL, 2037344, PROT_READ, M= AP_PRIVATE|MAP_DENYWRITE, 3, 0) =3D 0x7f0d376a1000
mmap(0x7f0d376c3000, = 1540096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x220= 00) =3D 0x7f0d376c3000
mmap(0x7f0d3783b000, 319488, PROT_READ, MAP_PRIVA= TE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19a000) =3D 0x7f0d3783b000
mmap(0x7f0d3= 7889000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, = 3, 0x1e7000) =3D 0x7f0d37889000
mmap(0x7f0d3788f000, 13920, PROT_READ|PR= OT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) =3D 0x7f0d3788f000close(3) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D 0
a= rch_prctl(ARCH_SET_FS, 0x7f0d37894580) =3D 0
mprotect(0x7f0d37889000, 16= 384, PROT_READ) =3D 0
mprotect(0x55d196662000, 8192, PROT_READ) =3D 0mprotect(0x7f0d378c5000, 4096, PROT_READ) =3D 0
munmap(0x7f0d37895000, = 8679) =C2=A0 =C2=A0 =C2=A0=3D 0
getuid() =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0=3D 0
getgid() =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0=3D 0
getpid() =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0=3D 19163
rt_sigaction(SIGCHLD, {sa_handler=3D0x= 55d196657c30, sa_mask=3D~[RTMIN RT_1], sa_flags=3DSA_RESTORER, sa_restorer= =3D0x7f0d376e40c0}, NULL, 8) =3D 0
geteuid() =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D 0
brk(NULL) =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D 0x55d196f41000
brk(0x55d196f62000) =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =3D 0x55d196f62000
getppid() =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D 19160
stat("/", {= st_mode=3DS_IFDIR|0755, st_size=3D4096, ...}) =3D 0
stat(".", = {st_mode=3DS_IFDIR|0755, st_size=3D4096, ...}) =3D 0
openat(AT_FDCWD, &q= uot;/sbin/lvm-eg/lvcreate", O_RDONLY) =3D 3
fcntl(3, F_DUPFD, 10) = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D 10
close(3) =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D 0
fcntl(10, F_SETFD, FD_CLOEXEC) = =C2=A0 =C2=A0 =3D 0
geteuid() =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0=3D 0
getegid() =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0=3D 0
rt_sigaction(SIGINT, NULL, {sa_handler=3DSIG_DFL, sa_= mask=3D[], sa_flags=3D0}, 8) =3D 0
rt_sigaction(SIGINT, {sa_handler=3D0x= 55d196657c30, sa_mask=3D~[RTMIN RT_1], sa_flags=3DSA_RESTORER, sa_restorer= =3D0x7f0d376e40c0}, NULL, 8) =3D 0
rt_sigaction(SIGQUIT, NULL, {sa_handl= er=3DSIG_DFL, sa_mask=3D[], sa_flags=3D0}, 8) =3D 0
rt_sigaction(SIGQUIT= , {sa_handler=3DSIG_DFL, sa_mask=3D~[RTMIN RT_1], sa_flags=3DSA_RESTORER, s= a_restorer=3D0x7f0d376e40c0}, NULL, 8) =3D 0
rt_sigaction(SIGTERM, NULL,= {sa_handler=3DSIG_DFL, sa_mask=3D[], sa_flags=3D0}, 8) =3D 0
rt_sigacti= on(SIGTERM, {sa_handler=3DSIG_DFL, sa_mask=3D~[RTMIN RT_1], sa_flags=3DSA_R= ESTORER, sa_restorer=3D0x7f0d376e40c0}, NULL, 8) =3D 0
read(10, "#!= /bin/sh\npath=3D$(/sbin/lvm-eg/ge"..., 8192) =3D 79
pipe([3, 4]) = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D 0
clone(child_stack= =3DNULL, flags=3DCLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tid= ptr=3D0x7f0d37894850) =3D 19164
close(4) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0=3D 0
read(3, "/usr/sbin/lvcreate\n", = 128) =C2=A0=3D 19
--- SIGCHLD {si_signo=3DSIGCHLD, si_code=3DCLD_EXITED,= si_pid=3D19164, si_uid=3D0, si_status=3D0, si_utime=3D0, si_stime=3D0} ---=
rt_sigreturn({mask=3D[]}) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =3D 19
read(3,= "", 128) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D 0
close= (3) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D 0
wait4(-= 1, [{WIFEXITED(s) && WEXITSTATUS(s) =3D=3D 0}], 0, NULL) =3D 19164<= br>stat("/usr/local/sbin/chroot", 0x7ffdd8247710) =3D -1 ENOENT (= No such file or directory)
stat("/usr/local/bin/chroot", 0x7ff= dd8247710) =3D -1 ENOENT (No such file or directory)
stat("/usr/sbi= n/chroot", {st_mode=3DS_IFREG|0755, st_size=3D43352, ...}) =3D 0
cl= one(child_stack=3DNULL, flags=3DCLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIG= CHLD, child_tidptr=3D0x7f0d37894850) =3D 19168
wait4(-1, ^Cstrace: Proce= ss 19163 detached
=C2=A0<detached ...>

# ^C

`lvs` output on the node after pressing ctrl+c on the pod container= 's=C2=A0terminal:
ubuntu@ip-172-31-85-197:~$ sudo lvs=C2=A0LV =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0VG =C2=A0 =C2=A0 =C2=A0 Attr =C2=A0 =C2=A0LSize =C2=A0Pool =C2=A0 =C2= =A0 =C2=A0Origin Data% Meta% Move Log Cpy%Sync Convert =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
= =C2=A0test-lv =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 share= d-vg =C2=A0 =C2=A0-wi-a----- =C2=A01.00g

If ct= rl+c is not pressed and trying to see the above output on the node also han= gs until the pod operation is interrupted.
--00000000000020821105dff8e446-- --===============7312739226061530615== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-lvm mailing list linux-lvm@redhat.com https://listman.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/ --===============7312739226061530615==--