Re: [openstack-dev] [Sahara] Why Sahara request user to give username/password for accessing the job binary in Swift ?

2015-07-06 Thread Li, Chen
Thanks. This is very helpful. A little more questions about how to config: 1. What should be set in [keystone_authtoken] in sahara.conf ? As code at https://github.com/openstack/sahara/blob/master/sahara/utils/proxy.py#L165. Looks like admin_user admin_password admin_tenant_name

Re: [openstack-dev] [Sahara] Why Sahara request user to give username/password for accessing the job binary in Swift ?

2015-07-06 Thread michael mccune
hi chen, responses inline On 07/06/2015 04:38 AM, Li, Chen wrote: Thanks. This is very helpful. A little more questions about how to config: 1. What should be set in [keystone_authtoken] in sahara.conf ? As code at

Re: [openstack-dev] [Sahara] Why Sahara request user to give username/password for accessing the job binary in Swift ?

2015-06-26 Thread michael mccune
On 06/25/2015 09:54 PM, Li, Chen wrote: Thanks for the reply. My puzzle here is : I create containers objects by my own, why other users can access them ? As mentioned in your article[1], the domain sahara_proxy is created by user admin in project openstack. But I'm working under

Re: [openstack-dev] [Sahara] Why Sahara request user to give username/password for accessing the job binary in Swift ?

2015-06-25 Thread Sergey Lukjanov
Hi, Sahara doesn't have user's username and password, only user's token, that could expire in some time. The simplest installation requires you to specify credentials explicitly, but you could configure Sahara to access Swift using proxy user and trusts, more info in docs -

Re: [openstack-dev] [Sahara] Why Sahara request user to give username/password for accessing the job binary in Swift ?

2015-06-25 Thread michael mccune
hi Chen, i agree with Sergey has said, also i have posted a small article[1] about how i configure proxy domains. i hope this may help clear the confusion surrounding this feature. regards, mike [1]: https://elmiko.github.io/2015/06/25/configuring-sahara-with-proxy-domains.html

Re: [openstack-dev] [Sahara] Why Sahara request user to give username/password for accessing the job binary in Swift ?

2015-06-25 Thread Li, Chen
Thanks for the reply. My puzzle here is : I create containers objects by my own, why other users can access them ? As mentioned in your article[1], the domain sahara_proxy is created by user admin in project openstack. But I'm working under user demo in project demo, and other people

[openstack-dev] [Sahara] Why Sahara request user to give username/password for accessing the job binary in Swift ?

2015-06-25 Thread Li, Chen
Hi Sahara, I'm working under UI. I have a tenant demo, with two users: admin(role = admin) demo. I'm working as user demo. When I try to create a datasource, it ask me to add username and password for swift. My question is: Why Sahara didn't use current username(demo) and password to