Closed Jgadelphix closed 3 years ago
Steps To Reproduce the Problem Attempting to change the DB Password for an already existing user
Version It worked in version of Delphix 5.3.8.1 version but not working with latest delphix 6.0.6.1 version. Probably a breaking change in the API.
Hypothesis (not proven): this is part of new change with option to create dSource using db user or os user, which was previously only db user.
Good Evening Ranzo, How are you? I was just about to post something on the TS channel as I did not want to annoy you with an email, because Michael took told ne that you answered to the post from Himanshu @OTPP, so I know you were interested in the solution:
Marcin and I worked on the issue together today and me with the customer ( did not want to create a lab for this lol!) We found out that the issue was the 6.0.0.0 + API and what we did, is exactly what you suggested in the previous email. So Marcin asked me file the issue and we corrected it the following way:
Hypothesis (not proven): this is part of new change with option to create dSource using db user or os user, which was previously only db user.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/delphix/dxtoolkit/issues/176#issuecomment-805237785, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AREE3SA43B7ENK7BNSOB2ADTFD4J5ANCNFSM4ZVGH2QA.
Here is the command that we ran today with the -dever option : D:\dxtoolkit2-v2.4.8-win64-installer\dxtoolkit2>dx_set_dbpass -d delphixengcollector1 -group Testing_Group -dbname FX -username svc_delphixdb_prod -password Password2 -debug -dever 5.3 Dxtoolkit version 2.4.8 Loading engines from D:/dxtoolkit2-v2.4.8-win64-installer/dxtoolkit2/dxtools.conf Can’t secure cookie. Windows machine connecting to: delphixengcollector1 ( IP/name : 172.21.96.51 ) GET: http://172.21.96.51:80/resources/json/delphix/sessionhttp://172.21.96.51/resources/json/delphix/session GET http://172.21.96.51:80/resources/json/delphix/sessionhttp://172.21.96.51/resources/json/delphix/session ==> 200 OK API Version: 1.10 POST http://172.21.96.51:80/resources/json/delphix/sessionhttp://172.21.96.51/resources/json/delphix/session ==> 200 OK POST http://172.21.96.51:80/resources/json/delphix/loginhttp://172.21.96.51/resources/json/delphix/login ==> 200 OK (1s) login to 172.21.96.51 succeeded. GET: http://172.21.96.51:80/resources/json/delphix/sourcehttp://172.21.96.51/resources/json/delphix/source GET http://172.21.96.51:80/resources/json/delphix/sourcehttp://172.21.96.51/resources/json/delphix/source ==> 200 OK (3s) GET: http://172.21.96.51:80/resources/json/delphix/sourceconfighttp://172.21.96.51/resources/json/delphix/sourceconfig GET http://172.21.96.51:80/resources/json/delphix/sourceconfighttp://172.21.96.51/resources/json/delphix/sourceconfig ==> 200 OK (4s) GET: http://172.21.96.51:80/resources/json/delphix/repositoryhttp://172.21.96.51/resources/json/delphix/repository GET http://172.21.96.51:80/resources/json/delphix/repositoryhttp://172.21.96.51/resources/json/delphix/repository ==> 200 OK GET: http://172.21.96.51:80/resources/json/delphix/environmenthttp://172.21.96.51/resources/json/delphix/environment GET http://172.21.96.51:80/resources/json/delphix/environmenthttp://172.21.96.51/resources/json/delphix/environment ==> 200 OK (1s) GET: http://172.21.96.51:80/resources/json/delphix/environment/oracle/clusternodehttp://172.21.96.51/resources/json/delphix/environment/oracle/clusternode GET http://172.21.96.51:80/resources/json/delphix/environment/oracle/clusternodehttp://172.21.96.51/resources/json/delphix/environment/oracle/clusternode ==> 200 OK GET: http://172.21.96.51:80/resources/json/delphix/environment/windows/clusternodehttp://172.21.96.51/resources/json/delphix/environment/windows/clusternode GET http://172.21.96.51:80/resources/json/delphix/environment/windows/clusternodehttp://172.21.96.51/resources/json/delphix/environment/windows/clusternode ==> 200 OK (1s) GET: http://172.21.96.51:80/resources/json/delphix/environment/userhttp://172.21.96.51/resources/json/delphix/environment/user GET http://172.21.96.51:80/resources/json/delphix/environment/userhttp://172.21.96.51/resources/json/delphix/environment/user ==> 200 OK GET: http://172.21.96.51:80/resources/json/delphix/environment/oracle/listenerhttp://172.21.96.51/resources/json/delphix/environment/oracle/listener GET http://172.21.96.51:80/resources/json/delphix/environment/oracle/listenerhttp://172.21.96.51/resources/json/delphix/environment/oracle/listener ==> 200 OK (1s) GET: http://172.21.96.51:80/resources/json/delphix/hosthttp://172.21.96.51/resources/json/delphix/host GET http://172.21.96.51:80/resources/json/delphix/hosthttp://172.21.96.51/resources/json/delphix/host ==> 200 OK (1s) GET: http://172.21.96.51:80/resources/json/delphix/namespacehttp://172.21.96.51/resources/json/delphix/namespace GET http://172.21.96.51:80/resources/json/delphix/namespacehttp://172.21.96.51/resources/json/delphix/namespace ==> 200 OK GET: http://172.21.96.51:80/resources/json/delphix/toolkithttp://172.21.96.51/resources/json/delphix/toolkit GET http://172.21.96.51:80/resources/json/delphix/toolkithttp://172.21.96.51/resources/json/delphix/toolkit ==> 200 OK GET: http://172.21.96.51:80/resources/json/delphix/databasehttp://172.21.96.51/resources/json/delphix/database GET http://172.21.96.51:80/resources/json/delphix/databasehttp://172.21.96.51/resources/json/delphix/database ==> 200 OK (2s) GET: http://172.21.96.51:80/resources/json/delphix/namespacehttp://172.21.96.51/resources/json/delphix/namespace GET http://172.21.96.51:80/resources/json/delphix/namespacehttp://172.21.96.51/resources/json/delphix/namespace ==> 200 OK GET: http://172.21.96.51:80/resources/json/delphix/grouphttp://172.21.96.51/resources/json/delphix/group GET http://172.21.96.51:80/resources/json/delphix/grouphttp://172.21.96.51/resources/json/delphix/group ==> 200 OK POST http://172.21.96.51:80/resources/json/delphix/sourceconfig/MSSQL_SINGLE_CONFIG-249/validateCredentialshttp://172.21.96.51/resources/json/delphix/sourceconfig/MSSQL_SINGLE_CONFIG-249/validateCredentials ==> 200 OK (1s) POST http://172.21.96.51:80/resources/json/delphix/sourceconfig/MSSQL_SINGLE_CONFIG-249http://172.21.96.51/resources/json/delphix/sourceconfig/MSSQL_SINGLE_CONFIG-249 ==> 200 OK Password has been set.D:\dxtoolkit2-v2.4.8-win64-installer\dxtoolkit2>dx_set_dbpass -d delphixenginecollector -group MSSQL_TEST -dbname FX -username svc_delphixdb_prod -password Password2 -debug -dever 5.3 Dxtoolkit version 2.4.8 Loading engines from D:/dxtoolkit2-v2.4.8-win64-installer/dxtoolkit2/dxtools.conf Can’t secure cookie. Windows machine connecting to: delphixenginecollector ( IP/name : 10.254.222.11 ) calling $VAR1 = bless( do{(my $o = ’https://delphix.okta.com/oauth2/default/v1/token')https://delphix.okta.com/oauth2/default/v1/token')}, ‘URI::https’ ); $VAR2 = 2; POST http://10.254.222.11:80/sso/virtualization/api/loginhttp://10.254.222.11/sso/virtualization/api/login ==> 200 OK token login to 10.254.222.11 succeeded. GET: http://10.254.222.11:80/resources/json/delphix/sourcehttp://10.254.222.11/resources/json/delphix/source GET http://10.254.222.11:80/resources/json/delphix/sourcehttp://10.254.222.11/resources/json/delphix/source ==> 200 OK (1s) GET: http://10.254.222.11:80/resources/json/delphix/sourceconfighttp://10.254.222.11/resources/json/delphix/sourceconfig GET http://10.254.222.11:80/resources/json/delphix/sourceconfighttp://10.254.222.11/resources/json/delphix/sourceconfig ==> 200 OK (1s) GET: http://10.254.222.11:80/resources/json/delphix/repositoryhttp://10.254.222.11/resources/json/delphix/repository GET http://10.254.222.11:80/resources/json/delphix/repositoryhttp://10.254.222.11/resources/json/delphix/repository ==> 200 OK GET: http://10.254.222.11:80/resources/json/delphix/environmenthttp://10.254.222.11/resources/json/delphix/environment GET http://10.254.222.11:80/resources/json/delphix/environmenthttp://10.254.222.11/resources/json/delphix/environment ==> 200 OK GET: http://10.254.222.11:80/resources/json/delphix/environment/oracle/clusternodehttp://10.254.222.11/resources/json/delphix/environment/oracle/clusternode GET http://10.254.222.11:80/resources/json/delphix/environment/oracle/clusternodehttp://10.254.222.11/resources/json/delphix/environment/oracle/clusternode ==> 200 OK GET: http://10.254.222.11:80/resources/json/delphix/environment/windows/clusternodehttp://10.254.222.11/resources/json/delphix/environment/windows/clusternode GET http://10.254.222.11:80/resources/json/delphix/environment/windows/clusternodehttp://10.254.222.11/resources/json/delphix/environment/windows/clusternode ==> 200 OK GET: http://10.254.222.11:80/resources/json/delphix/environment/userhttp://10.254.222.11/resources/json/delphix/environment/user GET http://10.254.222.11:80/resources/json/delphix/environment/userhttp://10.254.222.11/resources/json/delphix/environment/user ==> 200 OK GET: http://10.254.222.11:80/resources/json/delphix/environment/oracle/listenerhttp://10.254.222.11/resources/json/delphix/environment/oracle/listener GET http://10.254.222.11:80/resources/json/delphix/environment/oracle/listenerhttp://10.254.222.11/resources/json/delphix/environment/oracle/listener ==> 200 OK GET: http://10.254.222.11:80/resources/json/delphix/hosthttp://10.254.222.11/resources/json/delphix/host GET http://10.254.222.11:80/resources/json/delphix/hosthttp://10.254.222.11/resources/json/delphix/host ==> 200 OK GET: http://10.254.222.11:80/resources/json/delphix/namespacehttp://10.254.222.11/resources/json/delphix/namespace GET http://10.254.222.11:80/resources/json/delphix/namespacehttp://10.254.222.11/resources/json/delphix/namespace ==> 200 OK GET: http://10.254.222.11:80/resources/json/delphix/toolkithttp://10.254.222.11/resources/json/delphix/toolkit GET http://10.254.222.11:80/resources/json/delphix/toolkithttp://10.254.222.11/resources/json/delphix/toolkit ==> 200 OK GET: http://10.254.222.11:80/resources/json/delphix/databasehttp://10.254.222.11/resources/json/delphix/database GET http://10.254.222.11:80/resources/json/delphix/databasehttp://10.254.222.11/resources/json/delphix/database ==> 200 OK GET: http://10.254.222.11:80/resources/json/delphix/namespacehttp://10.254.222.11/resources/json/delphix/namespace GET http://10.254.222.11:80/resources/json/delphix/namespacehttp://10.254.222.11/resources/json/delphix/namespace ==> 200 OK GET: http://10.254.222.11:80/resources/json/delphix/grouphttp://10.254.222.11/resources/json/delphix/group GET http://10.254.222.11:80/resources/json/delphix/grouphttp://10.254.222.11/resources/json/delphix/group ==> 200 OK POST http://10.254.222.11:80/resources/json/delphix/sourceconfig/MSSQL_SINGLE_CONFIG-202/validateCredentialshttp://10.254.222.11/resources/json/delphix/sourceconfig/MSSQL_SINGLE_CONFIG-202/validateCredentials ==> 200 OK POST http://10.254.222.11:80/resources/json/delphix/sourceconfig/MSSQL_SINGLE_CONFIG-202http://10.254.222.11/resources/json/delphix/sourceconfig/MSSQL_SINGLE_CONFIG-202 ==> 200 OK Password has been set.
Thanks
JG
From: Ranzo J Taylor, III @.>
Date: Tuesday, March 23, 2021 at 15:26
To: delphix/dxtoolkit @.>
Cc: Jgadelphix @.>, Author @.>
Subject: Re: [delphix/dxtoolkit] "[23-MAR-2021] [dx_set_dbpass [ -engine|d
Steps To Reproduce the Problem Attempting to change the DB Password for an already existing user
Version It worked in version of Delphix 5.3.8.1 version but not working with latest delphix 6.0.6.1 version. Probably a breaking change in the API.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/delphix/dxtoolkit/issues/176#issuecomment-805171648, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AREE3SB6SMGWPM6SNZWH2HDTFDTPDANCNFSM4ZVGH2QA.
There was a problem with validating password call inside dxtoolkit. Fixed in version 2.4.11
Expected Behavior the db password should have been changed
Actual Behavior the db password is not changed and the following error is being displayed. It is complaining about a parameter that does not exist in the syntax of the command ex: D:\dxtoolkit2-v2.4.8-win64-installer\dxtoolkit2>dx_set_dbpass -d delphixenginecollector -group MSSQL_TEST -dbname "FX" -username svc_delphixdb_prod -password Password2 MS SQL database user type is now required Password check failed. Username or password is invalid. Problem with setting password Steps To Reproduce the Problem just type the command replacing the parameters by their values Steps to reproduce the behavior:
Version dxtoolkit version 2.4.8 Additional Context Add any other context about the problem here, including additional logs or debugging information if appropriate.