[openstack-dev] [Openstack][keystone][ldap] Bug unsupported operand type(s) for &: 'str' and 'int'

ZhiQiang Fan aji.zqfan at gmail.com
Thu Aug 22 09:37:37 UTC 2013


actually, i only read the master branch, and there is no such file, you can
report a bug on keystone grizzly and submit your code, if you're granted


On Thu, Aug 22, 2013 at 5:21 PM, Qinglong.Meng <mengql112233 at gmail.com>wrote:

> I have fix it in my env.
> and you will find some hardcore in /identity/backend/ldap/core.py,,
>
>
> 2013/8/22 ZhiQiang Fan <aji.zqfan at gmail.com>
>
>> yes, i think it is a bug, because the api doesn't convert string to
>> correct type:
>> >>> True & 1
>> 1
>> >>> 'True' & 1
>> Traceback (most recent call last):
>>   File "<stdin>", line 1, in <module>
>> TypeError: unsupported operand type(s) for &: 'str' and 'int'
>>
>> Feel free to report a bug and may be you can try to fix it.
>>
>>
>> On Thu, Aug 22, 2013 at 3:51 PM, Qinglong.Meng <mengql112233 at gmail.com>wrote:
>>
>>> oh, yeah,
>>> here is the keystone log:
>>> http://paste.openstack.org/show/44857/
>>>
>>> Best Regards,
>>>
>>>
>>>
>>>
>>>
>>> 2013/8/22 ZhiQiang Fan <aji.zqfan at gmail.com>
>>>
>>>> your first reference (the log) is incorrect.
>>>>
>>>>
>>>> On Thu, Aug 22, 2013 at 2:55 PM, Qinglong.Meng <mengql112233 at gmail.com>wrote:
>>>>
>>>>> Hi All,
>>>>>     Os: Ubuntu 12.04 LTS
>>>>>     keystone version: stable/grizzly
>>>>>
>>>>>     After I deploy keystone with ldap backend (openldap), I got the
>>>>> issue about type in keystone.log, when I create user by  keystoneclient.
>>>>>     Here are some docs:
>>>>>     1. keystone.log
>>>>>     http://paste.openstack.org/
>>>>>     2. keystone.conf
>>>>>     http://paste.openstack.org/show/44839/
>>>>>     3. slapd.conf
>>>>>     http://paste.openstack.org/show/44843/
>>>>>     4. openstack.ldif
>>>>>     http://paste.openstack.org/show/44844/
>>>>>
>>>>> And I think this is one bug, it's right?
>>>>>
>>>>> Best Regards,
>>>>>
>>>>> --
>>>>>
>>>>> Lawrency Meng
>>>>> mail: mengql112233 at gmail.com
>>>>> _______________________________________________
>>>>> Mailing list: https://launchpad.net/~openstack
>>>>> Post to     : openstack at lists.launchpad.net
>>>>> Unsubscribe : https://launchpad.net/~openstack
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>
>>>>> _______________________________________________
>>>>> OpenStack-dev mailing list
>>>>> OpenStack-dev at lists.openstack.org
>>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> blog: zqfan.github.com
>>>> git: github.com/zqfan
>>>>
>>>> _______________________________________________
>>>> OpenStack-dev mailing list
>>>> OpenStack-dev at lists.openstack.org
>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> Lawrency Meng
>>> mail: mengql112233 at gmail.com
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~openstack
>>> Post to     : openstack at lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~openstack
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>> _______________________________________________
>>> OpenStack-dev mailing list
>>> OpenStack-dev at lists.openstack.org
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>
>>>
>>
>>
>> --
>> blog: zqfan.github.com
>> git: github.com/zqfan
>>
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>
>
> --
>
> Lawrency Meng
> mail: mengql112233 at gmail.com
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>


-- 
blog: zqfan.github.com
git: github.com/zqfan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130822/5abd08ce/attachment.html>


More information about the OpenStack-dev mailing list