horizon doesn't work with keystoneclient?
i install horizon and keystone on the same server.Keystone works fine if i use the python-keystoneclient just as follows:
keystone --os-username admin --os-password=keystone --os-tenant-name admin --os-auth-url=http://172.20.9.1:35357/v2.0 user-list
+----------------------------------+---------+---------+------------------+ | id | name | enabled | email | +----------------------------------+---------+---------+------------------+ | 2c2e86783c82412b9caec35ff8098c09 | admin | True | admin@gsta.com | | 33024148420146e69b3b6a6ccd800827 | nova | True | nova@gsta.com | | 79b66cb8fd9e44cc9e1ea5c5ab9a9baf | quantum | True | quantum@gsta.com | | 919c474d8faa4f25ab5e433be92f4625 | demo | True | demo@gsta.com | | aabde8d2778544bd93784ae713501189 | glance | True | glance@gsta.com | +----------------------------------+---------+---------+------------------+
#keystone --os-username demo --os-password=keystone --os-auth-url=http://172.20.9.1:5000/v2.0 token-get +----------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Property | Value | +----------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | expires | 2012-10-27T06:57:40Z | | id | MIICNgYJKoZIhvcNAQcCoIICJzCCAiMCAQExCTAHBgUrDgMCGjCCAQ8GCSqGSIb3DQEHAaCCAQAEgf17ImFjY2VzcyI6IHsidG9rZW4iOiB7Imlzc3VlZF9hdCI6ICIwNjo1Nzo0MC44NTkwNTEiLCAiZXhwaXJlcyI6ICIyMDEyLTEwLTI3VDA2OjU3OjQwWiIsICJpZCI6ICJwbGFjZWhvbGRlciJ9LCAic2VydmljZUNhdGFsb2ciOiB7fSwgInVzZXIiOiB7InVzZXJuYW1lIjogImRlbW8iLCAicm9sZXNfbGlua3MiOiBbXSwgImlkIjogIjkxOWM0NzRkOGZhYTRmMjVhYjVlNDMzYmU5MmY0NjI1IiwgInJvbGVzIjogW10sICJuYW1lIjogImRlbW8ifX19MYH-MIH8AgEBMFwwVzELMAkGA1UEBhMCVVMxDjAMBgNVBAgTBVVuc2V0MQ4wDAYDVQQHEwVVbnNldDEOMAwGA1UEChMFVW5zZXQxGDAWBgNVBAMTD3d3dy5leGFtcGxlLmNvbQIBATAHBgUrDgMCGjANBgkqhkiG9w0BAQEFAASBgHE4j8tMsCJqZ38ztCmGUlZQ5XBDoIR-9zrgq7ThkkoHehCykeuLOMdtcIYYmip2NQgWPhW4h6GIrZKMjzXRc8T3u2Y84GSfPOaxmOE0kxBYqPwkC-CLXInpkTPZEYZpqZag32MxpCjaopjl9mTAonlVVRgzige9vRFu8vh3GERl | | user_id | 919c474d8faa4f25ab5e433be92f4625 | +----------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
yet after i install horizon and the web shows "An error occurred authenticating. Please try again later" when i set the local_setting.py "OPENSTACK_KEYSTONE_URL=http://172.20.9.1:5000/v2.0/",very weird.
the horizon branch is stable\folsom and python-keystoneclient is of master version. I believe that the trouble must be the communication between horizon and python-keystoneclient,but i don't know how to solve it ,any one has the same situations?