question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ZOWE Explorer 2.0.0 stops working when opening a workspace in Windows mounted using z/OS NFS

See original GitHub issue

Hi,

i upgraded ZOWE Explorer, ZOWE CLI and IBM Z Open Editor to the new Versions (ZOWE Explorer 2.0.0, ZOWE CLI 7.0.2, IBM Z Open Editor 2.0.2). When i open a VS Code Workspace on my local hard drive, everything works fine. As you can see from the following screen shot, ZOWE Explorer is open in the sidebar and an assembler source file (coming from a workspace from my local harddrive) is in VS Code and IBM Z Open Editor is doing it’s job (as you can see from the entries in the menu).

image

But my usual workflow is different. The git repositories are located inside z/Unix, i mount the required directories using the Windows NFS Client to my desktop PC. I use make together with some simple VS Code tasks definitions (zowe cli zos-ssh) for CI/CD. When i open a VS Code Workspave or Folder from the NFS share the following happens:

  1. A windows pops up with the following error message: “Error encountered while activating and initializing logger! Error: EBUSY: resource busy or locked, realpath ‘y:\hlasm\RUVZS-ApplicationManagementInfrastructure’” The path is the NFS Share
  2. ZOWE Explorer looses all profiles
  3. IBM Z Open Editor stops working

Have a look at the screenshot below. The ZOWE Explorer view on the left side is empty (i.e no profiles). The popup in the editor does not have the Goto Definitions, Goto References anymore. In addition (not on the screen shot). The outline is empty which is another indication that IBM Z Open Editor did stop working as well. I assume this is because ZOWE hast lost its profiles.

image

This all worked without any problems for at least 2 years with the previous version of zowe cli, zowe explorer and IBM Z Open Editor. In order to fix this and get ZOWE Explorer to work again i have to do the following:

  1. Close the folder
  2. Open a folder from the local hard drive
  3. Restart VS Code

Steps to reproduce the behavior:

  1. Mount a z/Unix directory using the Windows NFS Client, here is the mount command i am using: mount -o mtype=hard \\mvst.ruv.de\hfw\u\xv880aj\Documents\source,text y:
  2. Open a Folder located on the share
  3. Open a source code file from the folder or workspace just opened
  4. Go back to the ZOWE Explorer Icon
  5. The Profiles should be gone.

Sometimes the error message does not pop up. In this case you need to exit out of VS Code without closing the editor and restart it to see the error message.

  • OS: MS Windows 10 Build 19044.1645
  • Zowe Explorer Version: 2.0.0
  • (Optional) Zowe CLI Version: 7.0.2
  • IBM Z Open Editor 2.0.2
  • VS Code Version: 1.66.2

I checked the zowe.log. The last message in the log is:

[2022/04/29 06:59:12.698] [ERROR] [extension.js:32] Error encountered while activating and initializing logger! {“errno”:-4082,“syscall”:“realpath”,“code”:“EBUSY”,“path”:“y:\hlasm\RUVZS-ApplicationManagementInfrastructure”} <

Nothing after this line anymore until i fix the problem. This could be a timing related problem with NFS Shares. The device is not busy as indicated in the error message i can edit the file and save it to the share without any issues.

ZOWE Explorer 2.0.0 has to work with NFS mounted shares without any problems as it did before.

regards

Ronny

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:2
  • Comments:14 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
cybersorcerercommented, Nov 20, 2022

Hi,

Any news?

Regards Ronny

1reaction
cybersorcerercommented, Jul 22, 2022

Hi,

Are there any news?

Regards Ronny

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting Zowe Application Framework
When you open apps in the Zowe desktop, a page is displayed with the message "The plugin failed to load." Solution: This problem...
Read more >
Known issues and limitations - IBM
The IBM Z® Open Editor extension has some known issues and limitations. This page provides the status of the current release. Also review...
Read more >
Setting up integrations to interact with z/OS | IBM Z® Open Editor
The Zowe project provides great tools that work perfectly with the IBM Z Open Editor. Note, that with Zowe Explorer 2.0 and Z...
Read more >
Email Patches
+# And the CLI then renames it + +# Using Android gitignore template: ... +++ b/android/app/capacitor.build.gradle @@ -0,0 +1,19 @@ +// DO NOT...
Read more >
IBM Z Open Editor - Open VSX Registry
To interact with z/OS, this extension also automatically co-installs the ... since Z Open Editor version 2.0.2 version 2.0.0 or newer of Zowe...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found