Ansible: ImportError: لا توجد وحدة نمطية باسم _text بعد التحديث من 2.1 إلى 2.2

تم إنشاؤها على ٢٢ نوفمبر ٢٠١٦  ·  2تعليقات  ·  مصدر: ansible/ansible

نوع القضية

  • تقرير الشوائب
اسم المكون

  • أنسبل
نسخة غير مرغوب فيها
Name        : ansible
Arch        : noarch
Version     : 2.2.0.0
Release     : 3.el6
Size        : 22 M
Repo        : installed
From repo   : epel-testing
Summary     : SSH-based configuration management, deployment, and task execution system
URL         : http://ansible.com
License     : GPLv3+
ترتيب
inventory      = /etc/ansible/hosts
remote_tmp     = $HOME/.ansible/tmp
pattern        = *
forks          = 5
poll_interval  = 15
sudo_user      = drone
transport      = smart
module_lang    = C
gathering = implicit
host_key_checking = False
sudo_exe = sudo
timeout = 10
log_path = /var/log/ansible.log
jinja2_extensions = jinja2.ext.do,jinja2.ext.i18n
ansible_managed = Ansible managed: {file} modified on %Y-%m-%d %H:%M:%S by {uid} on {host}
display_skipped_hosts = True
action_plugins     = /usr/share/ansible_plugins/action_plugins
callback_plugins   = /usr/share/ansible_plugins/callback_plugins
connection_plugins = /usr/share/ansible_plugins/connection_plugins
lookup_plugins     = /usr/share/ansible_plugins/lookup_plugins
vars_plugins       = /usr/share/ansible_plugins/vars_plugins
filter_plugins     = /usr/share/ansible_plugins/filter_plugins
fact_caching = memory
[privilege_escalation]
[paramiko_connection]
[ssh_connection]
pipelining = True
scp_if_ssh = True

نظام التشغيل / البيئة
  • الإصدار 6.8 من Red Hat Enterprise Linux Server (سانتياغو)
ملخص
خطوات التكاثر

Update from ansible 2.1.0.0 to 2.2 by YUM from the epel-testing repo.
نتائج متوقعة

Ansible ansible-2.2.0.0-3.el6.noarch يعمل بشكل جيد.

النتائج الفعلية

ansible --version
Traceback (most recent call last):
  File "/usr/bin/ansible", line 46, in <module>
    from ansible.module_utils._text import to_text
ImportError: No module named _text

affects_2.2 bug

التعليق الأكثر فائدة

فقط كتلميح لمزيد من التصحيح - يبدو هذا / usr / bin / ansible هو العثور على نسخة قديمة من وحدة بايثون أنسبل سيتعين عليك إلقاء نظرة على نظامك للعثور على ذلك.

ال 2 كومينتر

Kokonoe Bugs في عبوات epel يجب توجيهها إلى bugzilla

https://fedoraproject.org/wiki/EPEL

إذا وجدت خطأ في حزمة يتم صيانتها لدى EPEL ، فيرجى الإبلاغ عنه إلى https://bugzilla.redhat.com/ ضمن منتج "Fedora EPEL".

فقط كتلميح لمزيد من التصحيح - يبدو هذا / usr / bin / ansible هو العثور على نسخة قديمة من وحدة بايثون أنسبل سيتعين عليك إلقاء نظرة على نظامك للعثور على ذلك.

هل كانت هذه الصفحة مفيدة؟
0 / 5 - 0 التقييمات