登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
AI 队友
登录
注册
11月29日 Gitee Talk | 模力方舟 AI 沙龙深圳站:看懂算力到应用的下一个主战场!点击立即报名~
代码拉取完成,页面将自动刷新
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
12
Star
1
Fork
19
src-openEuler
/
ansible
代码
Issues
9
Pull Requests
0
Wiki
统计
流水线
服务
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
ansible安装ldap,报错'Tuple_to_LDAPMod(): expected a byte string in the list', 'dc=devel,dc=cluster'
待办的
#I4QUDI
缺陷
ddm233
创建于
2022-01-14 15:19
【环境信息】 软件信息: 发现问题的组件版本信息 python3-3.7.9-6.ctl2.x86_64 openldap-clients-2.4.50-6.oe1.x86_64 openldap-2.4.50-6.oe1.x86_64 python3-ldap-3.1.0-3.oe1.x86_64 openldap-servers-2.4.50-6.oe1.x86_64 【安装报错信息】 The full traceback is: Traceback (most recent call last): File "/tmp/ansible_zdne74yj/ansible_module_ldap_attr.py", line 352, in main ldap.connection.modify_s(ldap.dn, modlist) File "/usr/lib64/python3.7/site-packages/ldap/ldapobject.py", line 629, in modify_s return self.modify_ext_s(dn,modlist,None,None) File "/usr/lib64/python3.7/site-packages/ldap/ldapobject.py", line 601, in modify_ext_s msgid = self.modify_ext(dn,modlist,serverctrls,clientctrls) File "/usr/lib64/python3.7/site-packages/ldap/ldapobject.py", line 598, in modify_ext return self._ldap_call(self._l.modify_ext,dn,modlist,RequestControlTuples(serverctrls),RequestControlTuples(clientctrls)) File "/usr/lib64/python3.7/site-packages/ldap/ldapobject.py", line 313, in _ldap_call result = func(*args,**kwargs) TypeError: ('Tuple_to_LDAPMod(): expected a byte string in the list', 'dc=devel,dc=cluster') fatal: [192.168.116.50]: FAILED! => { "changed": false, "details": "('Tuple_to_LDAPMod(): expected a byte string in the list', 'dc=devel,dc=cluster')", "invocation": { "module_args": { "bind_dn": null, "bind_pw": "", "dn": "olcDatabase={2}mdb,cn=config", "name": "olcSuffix", "params": null, "server_uri": "ldapi:///", "start_tls": false, "state": "exact", "validate_certs": true, "values": "dc=devel,dc=cluster" } }, "msg": "Attribute action failed." }
【环境信息】 软件信息: 发现问题的组件版本信息 python3-3.7.9-6.ctl2.x86_64 openldap-clients-2.4.50-6.oe1.x86_64 openldap-2.4.50-6.oe1.x86_64 python3-ldap-3.1.0-3.oe1.x86_64 openldap-servers-2.4.50-6.oe1.x86_64 【安装报错信息】 The full traceback is: Traceback (most recent call last): File "/tmp/ansible_zdne74yj/ansible_module_ldap_attr.py", line 352, in main ldap.connection.modify_s(ldap.dn, modlist) File "/usr/lib64/python3.7/site-packages/ldap/ldapobject.py", line 629, in modify_s return self.modify_ext_s(dn,modlist,None,None) File "/usr/lib64/python3.7/site-packages/ldap/ldapobject.py", line 601, in modify_ext_s msgid = self.modify_ext(dn,modlist,serverctrls,clientctrls) File "/usr/lib64/python3.7/site-packages/ldap/ldapobject.py", line 598, in modify_ext return self._ldap_call(self._l.modify_ext,dn,modlist,RequestControlTuples(serverctrls),RequestControlTuples(clientctrls)) File "/usr/lib64/python3.7/site-packages/ldap/ldapobject.py", line 313, in _ldap_call result = func(*args,**kwargs) TypeError: ('Tuple_to_LDAPMod(): expected a byte string in the list', 'dc=devel,dc=cluster') fatal: [192.168.116.50]: FAILED! => { "changed": false, "details": "('Tuple_to_LDAPMod(): expected a byte string in the list', 'dc=devel,dc=cluster')", "invocation": { "module_args": { "bind_dn": null, "bind_pw": "", "dn": "olcDatabase={2}mdb,cn=config", "name": "olcSuffix", "params": null, "server_uri": "ldapi:///", "start_tls": false, "state": "exact", "validate_certs": true, "values": "dc=devel,dc=cluster" } }, "msg": "Attribute action failed." }
评论 (
1
)
登录
后才可以发表评论
状态
待办的
待办的
已挂起
修复中
已确认
已完成
已验收
已取消
负责人
未设置
标签
sig/dev-utils
未设置
项目
未立项任务
未立项任务
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (31)
标签 (37)
master
openEuler-20.03-LTS-SP4
openEuler-24.03-LTS
openEuler-24.03-LTS-SP1
openEuler-24.03-LTS-Next
openEuler-24.03-LTS-SP2
openEuler-24.03-LTS-SP3
openEuler-22.03-LTS-SP3
openEuler-25.09
openEuler-22.03-LTS-SP4
openEuler-25.03
openEuler-22.03-LTS-SP1
openEuler-22.03-LTS
openEuler-22.03-LTS-Next
openEuler-22.03-LTS-SP2
openEuler-20.03-LTS-SP1
openEuler-24.09
openEuler-23.09
openEuler-22.09
openEuler-23.03
openEuler-21.09
openEuler-20.03-LTS-SP2
openEuler-20.03-LTS-SP3
openEuler-20.03-LTS-Next
Multi-Version_OpenStack-Train_openEuler-22.03-LTS-Next
Multi-Version_OpenStack-Wallaby_openEuler-22.03-LTS-Next
openEuler-21.03
Multi-Version_ansible-2.9.24_openEuler-20.03-LTS-Next
Multi-Version_ansible-2.9.24_openEuler-20.03-LTS-SP1
Multi-Version_ansible-2.9.24_openEuler-20.03-LTS-SP2
openEuler-20.09
openEuler-25.09-release
openEuler-20.03-LTS-SP4-update-20250815
openEuler-20.03-LTS-SP4-update-20250620
openEuler-24.03-LTS-SP2-release
openEuler-24.03-LTS-update-20250411
openEuler-22.03-LTS-SP3-update-20250411
openEuler-24.03-LTS-SP1-update-20250411
openEuler-22.03-LTS-SP4-update-20250411
openEuler-25.03-release
openEuler-24.03-LTS-update-20250214
openEuler-24.03-LTS-SP1-update-20250214
openEuler-22.03-LTS-SP4-update-20250214
openEuler-22.03-LTS-SP3-update-20250214
openEuler-20.03-LTS-SP4-update-20250214
openEuler-24.03-LTS-SP1-release
openEuler-24.03-LTS-update-20241206
openEuler-22.03-LTS-SP4-update-20241206
openEuler-22.03-LTS-SP3-update-20241206
openEuler-22.03-LTS-SP1-update-20241206
openEuler-22.03-LTS-SP4-release
openEuler-24.09-release
openEuler-24.03-LTS-release
openEuler-22.03-LTS-SP3-release
openEuler-23.09-rc5
openEuler-22.03-LTS-SP1-release
openEuler-22.09-release
openEuler-22.09-rc5
openEuler-22.09-20220829
openEuler-22.03-LTS-20220331
openEuler-22.03-LTS-round5
openEuler-22.03-LTS-round3
openEuler-22.03-LTS-round2
openEuler-22.03-LTS-round1
openEuler-20.03-LTS-SP3-release
openEuler-20.03-LTS-SP2-20210624
openEuler-21.03-20210330
openEuler-20.09-20200929
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
预计工期
(小时)
参与者(1)
1
https://gitee.com/src-openeuler/ansible.git
git@gitee.com:src-openeuler/ansible.git
src-openeuler
ansible
ansible
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册