lens icon indicating copy to clipboard operation
lens copied to clipboard

Unable to open logs or shell in some pods after upgrade to versions 2025.5.81206-latest

Open skas-zilo opened this issue 7 months ago • 9 comments

Describe the Bug I can't click on the log or shell in some pods.

To Reproduce Steps to reproduce the behavior: Go to 'Pod' Select one of the pods you have Click on 'Logs or Shell' See the error Expected Behavior Clicking on 'Logs' or 'Shell' should display the log or shell in the terminal.

Environment (please complete the following information): Lens Version: 2025.5.81206-latest OS: Mac OS Sequoia Installation Method: .dmg files

Additional Context When rolling back to the previous version, the issue is resolved.

skas-zilo avatar May 21 '25 08:05 skas-zilo

Dear @skas-zilo

Thanks for reporting a bug. We are working on your issue. Stand by for further updates.

Warm regards, Oleksandr from Lens

koshevka avatar May 22 '25 09:05 koshevka

Do you mean that when you click the icon nothing happens?

panuhorsmalahti avatar May 22 '25 13:05 panuhorsmalahti

What happens if you hover the icon, does a menu open up? If it does and you click one of them items, does the pod logs show up?

Nokel81 avatar May 22 '25 14:05 Nokel81

Do you mean that when you click the icon nothing happens?

Yes correct.

skas-zilo avatar May 25 '25 10:05 skas-zilo

What happens if you hover the icon, does a menu open up? If it does and you click one of them items, does the pod logs show up?

All items can be click except logs and shell. Nothings happen after I click the icon.

skas-zilo avatar May 25 '25 10:05 skas-zilo

@skas-zilo Does the Pod have more than one container? What happens when the icon is hovered (but not clicked)?

Nokel81 avatar May 25 '25 11:05 Nokel81

Guys mine works! There are two options when i click the "logs" button. If you select one of the options, it opens the logs.

meesam007 avatar May 26 '25 16:05 meesam007

Can confirm, clicking on logs button does nothing after the update. However, if I select a specific container in a pod (after hovering over the button), I can see logs for that container.

Discipe avatar May 29 '25 21:05 Discipe

The plan is to make clicking the logs icon open a pod logs dock tab with an containers selected. The attach and shell menu items will continue to not do anything when clicked but their menus which open on hover will stay open if you click then

Nokel81 avatar May 30 '25 00:05 Nokel81