GNU bug report logs - #58782
29.0.50; tramp-kubernetes - connection cache not cleared

Previous Next

Package: emacs;

Reported by: Filipp Gunbin <fgunbin <at> fastmail.fm>

Date: Tue, 25 Oct 2022 20:12:02 UTC

Severity: normal

Tags: moreinfo, notabug

Found in version 29.0.50

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 58782 in the body.
You can then email your comments to 58782 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#58782; Package emacs. (Tue, 25 Oct 2022 20:12:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Filipp Gunbin <fgunbin <at> fastmail.fm>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 25 Oct 2022 20:12:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Filipp Gunbin <fgunbin <at> fastmail.fm>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.50; tramp-kubernetes - connection cache not cleared
Date: Tue, 25 Oct 2022 23:11:01 +0300
Kubernetes from Docker Desktop
(https://www.docker.com/products/docker-desktop/), one pod
"myapp-67cd597654-wxdjn" in namespace "main".

emacs -Q

1) shell command: kubectl config set-context --current --namespace=main
2) C-x C-f /kubernetes:myapp-67cd597654-wxdjn:/
3) M-x tramp-cleanup-this-connection
4) shell command: kubectl config set-context --current --namespace=
5) Again C-x C-f /kubernetes:myapp-67cd597654-wxdjn:/

I get an error, and completion cache (C-x C-f /kubernetes: TAB) is
cleared properly.

But if at the step 5 I instead go to existing dired buffer opened at
step 2, and type, say, "i" on a subdirectory, I get the same error,
but the cache is NOT cleared - this is the bug.

The workaround is to set tramp-completion-use-cache to nil.  But
perhaps there exists a better fix.

Thanks.



In GNU Emacs 29.0.50 (build 1, x86_64-apple-darwin20.6.0, NS
 appkit-2202.70 Version 11.7 (Build 20G817)) of 2022-10-25 built on
 fgunbin.local
Repository revision: 7e60246ab3cb7a3c40ca48d8ea9c107f00a6aea6
Repository branch: master
System Description:  macOS 11.7

Configured using:
 'configure --enable-check-lisp-object-type --with-file-notification=no'

Configured features:
ACL GLIB GNUTLS LCMS2 LIBXML2 MODULES NS PDUMPER PNG RSVG SQLITE3
THREADS TOOLKIT_SCROLL_BARS WEBP XIM ZLIB

Important settings:
  value of $LC_ALL: ru_RU.UTF-8
  value of $LC_CTYPE: UTF-8
  locale-coding-system: utf-8-unix




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#58782; Package emacs. (Sat, 29 Oct 2022 16:04:01 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#58782: 29.0.50; tramp-kubernetes - connection cache not
 cleared
Date: Sat, 29 Oct 2022 18:03:25 +0200
Filipp Gunbin <fgunbin <at> fastmail.fm> writes:

Hi Filipp,

> Kubernetes from Docker Desktop
> (https://www.docker.com/products/docker-desktop/), one pod
> "myapp-67cd597654-wxdjn" in namespace "main".
>
> emacs -Q
>
> 1) shell command: kubectl config set-context --current --namespace=main
> 2) C-x C-f /kubernetes:myapp-67cd597654-wxdjn:/
> 3) M-x tramp-cleanup-this-connection
> 4) shell command: kubectl config set-context --current --namespace=
> 5) Again C-x C-f /kubernetes:myapp-67cd597654-wxdjn:/
>
> I get an error, and completion cache (C-x C-f /kubernetes: TAB) is
> cleared properly.

I'm nbot sure what you mean with "I get an error".

> But if at the step 5 I instead go to existing dired buffer opened at
> step 2, and type, say, "i" on a subdirectory, I get the same error,
> but the cache is NOT cleared - this is the bug.

Again: which error?

> The workaround is to set tramp-completion-use-cache to nil.  But
> perhaps there exists a better fix.

This is only for hot nam,e completion. I don't see how it fits to your
use case.

(As usual, please show all messages you get, and pls show the Tramp
debug buffer with sufficient tramp-verbose)

> Thanks.

Best regards, Michael.




Added tag(s) moreinfo. Request was from Stefan Kangas <stefankangas <at> gmail.com> to control <at> debbugs.gnu.org. (Sat, 12 Nov 2022 20:47:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#58782; Package emacs. (Tue, 22 Nov 2022 15:57:02 GMT) Full text and rfc822 format available.

Message #13 received at 58782 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: 58782 <at> debbugs.gnu.org
Subject: Re: bug#58782: 29.0.50; tramp-kubernetes - connection cache not
 cleared
Date: Tue, 22 Nov 2022 16:55:54 +0100
Michael Albinus <michael.albinus <at> gmx.de> writes:

Hi Filipp,

>> Kubernetes from Docker Desktop
>> (https://www.docker.com/products/docker-desktop/), one pod
>> "myapp-67cd597654-wxdjn" in namespace "main".
>>
>> emacs -Q
>>
>> 1) shell command: kubectl config set-context --current --namespace=main
>> 2) C-x C-f /kubernetes:myapp-67cd597654-wxdjn:/
>> 3) M-x tramp-cleanup-this-connection
>> 4) shell command: kubectl config set-context --current --namespace=
>> 5) Again C-x C-f /kubernetes:myapp-67cd597654-wxdjn:/
>>
>> I get an error, and completion cache (C-x C-f /kubernetes: TAB) is
>> cleared properly.
>
> I'm not sure what you mean with "I get an error".
>
>> But if at the step 5 I instead go to existing dired buffer opened at
>> step 2, and type, say, "i" on a subdirectory, I get the same error,
>> but the cache is NOT cleared - this is the bug.
>
> Again: which error?
>
>> The workaround is to set tramp-completion-use-cache to nil.  But
>> perhaps there exists a better fix.
>
> This is only for hot name completion. I don't see how it fits to your
> use case.
>
> (As usual, please show all messages you get, and pls show the Tramp
> debug buffer with sufficient tramp-verbose)

Hmm, no response. Do you still feel we shall follow this report? If yes,
pls provide more information.

>> Thanks.

Best regards, Michael.




Reply sent to Michael Albinus <michael.albinus <at> gmx.de>:
You have taken responsibility. (Fri, 02 Dec 2022 11:06:01 GMT) Full text and rfc822 format available.

Notification sent to Filipp Gunbin <fgunbin <at> fastmail.fm>:
bug acknowledged by developer. (Fri, 02 Dec 2022 11:06:01 GMT) Full text and rfc822 format available.

Message #18 received at 58782-done <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: 58782-done <at> debbugs.gnu.org
Subject: Re: bug#58782: 29.0.50; tramp-kubernetes - connection cache not
 cleared
Date: Fri, 02 Dec 2022 12:05:38 +0100
Michael Albinus <michael.albinus <at> gmx.de> writes:

Hi Filipp,

>> (As usual, please show all messages you get, and pls show the Tramp
>> debug buffer with sufficient tramp-verbose)
>
> Hmm, no response. Do you still feel we shall follow this report? If yes,
> pls provide more information.

No further information, so I'm closing this bug. Feel free to reopen if
you believe we shall discuss further.

>>> Thanks.

Best regards, Michael.




Added tag(s) notabug. Request was from Michael Albinus <michael.albinus <at> gmx.de> to control <at> debbugs.gnu.org. (Fri, 02 Dec 2022 11:53:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#58782; Package emacs. (Fri, 02 Dec 2022 14:26:02 GMT) Full text and rfc822 format available.

Message #23 received at 58782 <at> debbugs.gnu.org (full text, mbox):

From: Filipp Gunbin <fgunbin <at> fastmail.fm>
To: 58782 <at> debbugs.gnu.org
Cc: michael.albinus <at> gmx.de
Subject: Re: bug#58782: closed (Re: bug#58782: 29.0.50; tramp-kubernetes -
 connection cache not cleared)
Date: Fri, 02 Dec 2022 17:24:48 +0300
Hi Michael,

Sorry I've completely missed your messages here.  Will check and reopen
with logs.

Filipp




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#58782; Package emacs. (Fri, 02 Dec 2022 15:06:02 GMT) Full text and rfc822 format available.

Message #26 received at 58782 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Filipp Gunbin <fgunbin <at> fastmail.fm>
Cc: 58782 <at> debbugs.gnu.org
Subject: Re: bug#58782: closed (Re: bug#58782: 29.0.50; tramp-kubernetes -
 connection cache not cleared)
Date: Fri, 02 Dec 2022 16:05:01 +0100
Filipp Gunbin <fgunbin <at> fastmail.fm> writes:

> Hi Michael,

Hi Filipp,

> Sorry I've completely missed your messages here.  Will check and reopen
> with logs.

Sure, take your time.

> Filipp

Best regards, Michael.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 31 Dec 2022 12:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 186 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.