Software Defined Networking
1748195 Members
4511 Online
108759 Solutions
New Discussion юеВ

Re: Invalid user & password combination specified!

 
hjescalong
Occasional Contributor

Invalid user & password combination specified!

Good Day

 

I have the instalation SDN hp-sdn-ctl_2.5.15.1175_amd64 and I have this error Invalid user & password combination specified! and In have to into the aplication.

I run this scripts.

sudo apt-get install python-software-properties ubuntu-cloud-keyring

sudo apt-get update

sudo apt-get install openjdk-7-jre-headless postgresql keystone keystone-doc python-keystone iptables unzip

sudo apt-get update

sudo apt-get install openjdk-7-jre-headless postgresql postgresql-client iptables unzip curl

sudo apt-get update

sudo dpkg тАУi hp-sdn-ctl_2.5.15.1175_amd64.deb

 

If you can help me

 

Thanks you

Hugo Escalon

6 REPLIES 6
Carlos
Frequent Advisor

Re: Invalid user & password combination specified!

Hugo,

Thank you for contacting the HP SDN Team. If this a new installation of the SDN Controller? Does the username "SDN", password "skyline" doesn't work?
Have you tried changing the password? If you have not then try to change the password and see if that works. Here are the commands:

 

1. to get the user-id: 192.x.x.x is your SDN controller IP ADD
   curl --noproxy -i http://192.168.81.132:35357/v2.0/users -H "X-Auth-Token: ADMIN"

 

A response similar to the following will appear. The c180xxxxxx is your user-id

 

{"users": [{"username": "sdn", "enabled": true, "name": "sdn", "id": "c18053c22656406cb2f5cf48915afe70"}]}

 

2. to change the password: use the user-id to change the password. In this case the password was changed to "carlos"
   curl -i http://192.168.81.132:35357/v2.0/users/c18053c22656406cb2f5cf48915afe70/OS-KSADM/password --request PUT -H "Content-Type: application/json" -H "X-Auth-Token: ADMIN" -d '{"user":{"password": "carlos", "id":"c18053c22656406cb2f5cf48915afe70"}}'

 

This information can be found on the HP VAN SDN Controller 2.5 Installation Guide page 23. I have also attached a screenshot of the process.

 

Let us know if this helped or not.

 

Best Regards,

 

Carlos

 

CoE SDN Team

hjescalong
Occasional Contributor

Re: Invalid user & password combination specified!

Thanks Carlos for you answer but I continue whit the same error.

 

 

 

piricchio72
Valued Contributor

Re: Invalid user & password combination specified!

Hi,

 

Assuming that you are using Keystone on the local server did you run the script:

 

sudo /opt/sdn/admin/config_local_keystone

 

?

 

This script will create the user you need to log into the system.

Results you are mentioning make me think that this step was not performed as suggested from the installation guide.

hjescalong
Occasional Contributor

Re: Invalid user & password combination specified!

curl --noproxy -i http://xxx.xx.xx.xx:35357/v2.0/users -H "X-Auth-Token: ADMIN"
{"users": [{"username": "sdn", "name": "sdn", "id": "f969a574b6f9424db0193f3b45e27615", "enabled": true, "email": null}, {"username": "sdn1", "name": "sdn1", "id":
"311a011115814fcd85aa52b2b55940d8", "enabled": true, "email": null}, {"username": "sdn", "name": "sdn", "enabled": true, "email": null, "id":
"121de1feb9ea463a9f66170053cea968"}, {"username": "sdn", "name": "sdn", "enabled": true, "email": null, "id": "2081b7c39263468e97a317e342d904dc"},
{"username": "sdn", "name": "sdn", "enabled": true, "email": null, "id": "b60532f57f884d6c97140f6085719f31"}, {"username": "sdn2", "name": "sdn2", "enabled": true,
"email": null, "id": "66b88f3f28284f699ebb44dfdfb2e889"}, {"username": "sdn", "name": "sdn", "enabled": true, "email": null, "id": "9fbbb811a6da414694451f288dad1609"},
{"username": "sdn", "name": "sdn", "enabled": true, "email": null, "id": "da7da9d0be5a4a5d8e5e520c458ac2d9"}, {"username": "sdn", "name": "sdn", "enabled": true, "email":
 null, "id": "5d4ca912aed94efaafe307984f1a39b5"}]}

piricchio72
Valued Contributor

Re: Invalid user & password combination specified!

Hello,
how did you add these 7 users?
Are you behind a proxy?

Regards,
Antonio
hjescalong
Occasional Contributor

Re: Invalid user & password combination specified!

Thanks you for you information I install all new and run this comand sudo /opt/sdn/admin/config_local_keystone  and into ok

 

Thanks