unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#58782: 29.0.50; tramp-kubernetes - connection cache not cleared
@ 2022-10-25 20:11 Filipp Gunbin
  2022-10-29 16:03 ` Michael Albinus
       [not found] ` <handler.58782.D58782.166997914629734.notifdone@debbugs.gnu.org>
  0 siblings, 2 replies; 6+ messages in thread
From: Filipp Gunbin @ 2022-10-25 20:11 UTC (permalink / raw)
  To: 58782


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





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#58782: 29.0.50; tramp-kubernetes - connection cache not cleared
  2022-10-25 20:11 bug#58782: 29.0.50; tramp-kubernetes - connection cache not cleared Filipp Gunbin
@ 2022-10-29 16:03 ` Michael Albinus
  2022-11-22 15:55   ` Michael Albinus
       [not found] ` <handler.58782.D58782.166997914629734.notifdone@debbugs.gnu.org>
  1 sibling, 1 reply; 6+ messages in thread
From: Michael Albinus @ 2022-10-29 16:03 UTC (permalink / raw)
  To: 58782

Filipp Gunbin <fgunbin@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.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#58782: 29.0.50; tramp-kubernetes - connection cache not cleared
  2022-10-29 16:03 ` Michael Albinus
@ 2022-11-22 15:55   ` Michael Albinus
  2022-12-02 11:05     ` Michael Albinus
  0 siblings, 1 reply; 6+ messages in thread
From: Michael Albinus @ 2022-11-22 15:55 UTC (permalink / raw)
  To: 58782

Michael Albinus <michael.albinus@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.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#58782: 29.0.50; tramp-kubernetes - connection cache not cleared
  2022-11-22 15:55   ` Michael Albinus
@ 2022-12-02 11:05     ` Michael Albinus
  0 siblings, 0 replies; 6+ messages in thread
From: Michael Albinus @ 2022-12-02 11:05 UTC (permalink / raw)
  To: 58782-done

Michael Albinus <michael.albinus@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.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#58782: closed (Re: bug#58782: 29.0.50; tramp-kubernetes - connection cache not cleared)
       [not found] ` <handler.58782.D58782.166997914629734.notifdone@debbugs.gnu.org>
@ 2022-12-02 14:24   ` Filipp Gunbin
  2022-12-02 15:05     ` Michael Albinus
  0 siblings, 1 reply; 6+ messages in thread
From: Filipp Gunbin @ 2022-12-02 14:24 UTC (permalink / raw)
  To: 58782; +Cc: michael.albinus

Hi Michael,

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

Filipp





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#58782: closed (Re: bug#58782: 29.0.50; tramp-kubernetes - connection cache not cleared)
  2022-12-02 14:24   ` bug#58782: closed (Re: bug#58782: 29.0.50; tramp-kubernetes - connection cache not cleared) Filipp Gunbin
@ 2022-12-02 15:05     ` Michael Albinus
  0 siblings, 0 replies; 6+ messages in thread
From: Michael Albinus @ 2022-12-02 15:05 UTC (permalink / raw)
  To: Filipp Gunbin; +Cc: 58782

Filipp Gunbin <fgunbin@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.





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-12-02 15:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-25 20:11 bug#58782: 29.0.50; tramp-kubernetes - connection cache not cleared Filipp Gunbin
2022-10-29 16:03 ` Michael Albinus
2022-11-22 15:55   ` Michael Albinus
2022-12-02 11:05     ` Michael Albinus
     [not found] ` <handler.58782.D58782.166997914629734.notifdone@debbugs.gnu.org>
2022-12-02 14:24   ` bug#58782: closed (Re: bug#58782: 29.0.50; tramp-kubernetes - connection cache not cleared) Filipp Gunbin
2022-12-02 15:05     ` Michael Albinus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).