Vscode-extension-for-zowe: VS Code on RedHat fails to load profile

Created on 23 Jan 2019  路  6Comments  路  Source: zowe/vscode-extension-for-zowe

Hi , I have added my zowe/bright profile and can do all sorts of things (listing DS, issuing commands etc) from the command line but when I try to add the profile to VSCODE it says :
Must have user & password OR base64 encoded credentials.

Any Ideas on how I can go about to test this ?

If I go see the zowe plugin logs I see:
imperative.log=====================================================================
[2019/01/23 16:18:24.749] [INFO] [AbstractProfileManager.js:325] Loading profile "LBI9" of type "zosmf"...
[2019/01/23 16:18:24.750] [DEBUG] [AbstractProfileManager.js:354] Load count for "type_name" key "zosmf_LBI9" is 1
[2019/01/23 16:18:24.752] [DEBUG] [AbstractProfileManager.js:365] Invoking the implementation to load profile "LBI9" of type "zosmf".
[2019/01/23 16:18:24.753] [DEBUG] [BasicProfileManager.js:246] Loading profile "LBI9" (load default: "false") of type "zosmf".
[2019/01/23 16:18:24.755] [INFO] [AbstractProfileManager.js:399] Validating profile "LBI9" of type "zosmf"...
[2019/01/23 16:18:24.758] [DEBUG] [CliProfileManager.js:326] Setting profile field host from command line option host
[2019/01/23 16:18:24.759] [DEBUG] [CliProfileManager.js:326] Setting profile field port from command line option port
[2019/01/23 16:18:24.760] [DEBUG] [CliProfileManager.js:326] Setting profile field user from command line option user
[2019/01/23 16:18:24.762] [DEBUG] [CliProfileManager.js:326] Setting profile field password from command line option password
[2019/01/23 16:18:24.768] [DEBUG] [CliProfileManager.js:326] Setting profile field rejectUnauthorized from command line option reject-unauthorized
[2019/01/23 16:18:24.770] [DEBUG] [CliProfileManager.js:326] Setting profile field basePath from command line option base-path
[2019/01/23 16:18:24.772] [INFO] [AbstractProfileManager.js:375] Load API completed for profile "LBI9" of type "zosmf".

and :
zowe.log=======================================================================
[2019/01/23 16:18:24.772] [DEBUG] [ZosmfSession.js:26] Creating a z/OSMF session from the profile named LBI9

VSCODE About:
Version: 1.30.2
Commit: 61122f88f0bf01e2ac16bdb9e1bc4571755f5bd8
Date: 2019-01-07T22:49:48.319Z
Electron: 2.0.12
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
OS: Linux x64 3.10.0-862.14.4.el7.x86_64

community-issue

Most helpful comment

@ChrisBoehmCA ,

That worked, thanks!

All 6 comments

@ChrisBoehmCA, are you aware of any recent changes that may have impacted this? I'm suspecting it might be related to https://github.com/zowe/zowe-cli/pull/172

Mike you're probably right. I'll look into fixing this if I can. Sorry for the issue

@ehrocha Could you please try installing 0.8.3 of the extension and see if that solves your issue? Just published.

I'm having this issue with version 0.8.3, but version 0.8.1 seems to be okay.

My OS is RHEL 7.5
My Zowe CLI version is 2.0

@gcartier94 Hi, sorry you're having the issue. Could you update your Zowe CLI to the latest version (npm i -g @brightside/core@next if you're using the online registry installation method), and then for each profile you want to use with the CLI or VS Code extension, issue a command like this:

zowe profiles update zosmf profilenamehere --password yourpassword

This should hopefully resolve the issues you're having

@ChrisBoehmCA ,

That worked, thanks!

Was this page helpful?
0 / 5 - 0 ratings