You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to use this role (latest 1.6.2 version) from ansible galaxy.
Centos7.
But seems, there are old unsupported python2 used (package python2-pip), which cause issue on deps installation:
raise ImportError('You are trying to use a Python 3-specific version of Beautiful Soup under Python 2. This will not work. The final version of Beautiful Soup to support Python 2 was 4.9.3.')\n ImportError: You are trying to use a Python 3-specific version of Beautiful Soup under Python 2. This will not work. The final version of Beautiful Soup to support Python 2 was 4.9.3.
Full log:
amazon-ebs:
amazon-ebs: TASK [../roles/lean_delivery.hybris_bootstrap_node : Install requirements] *****
amazon-ebs: changed: [default] => {"attempts": 1, "changed": true, "changes": {"installed": ["zip", "wget", "lsof", "telnet", "python2-pip"]}, "msg": "warning: /var/cache/yum/x86_64/7/epel/packages/python2-pip-8.1.2-14.el7.noarch.rpm: Header V4 RSA/SHA256 Signature, key ID 352c64e5: NOKEY\nImporting GPG key 0x352C64E5:\n Userid : \"Fedora EPEL (7) <[email protected]>\"\n Fingerprint: 91e9 7d7c 4a5e 96f1 7f3e 888f 6a2f aea2 352c 64e5\n Package : epel-release-7-14.noarch (@/epel-release-latest-7.noarch22tJeM)\n From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7\n", "rc": 0, "results": ["unzip-6.0-22.el7_9.x86_64 providing unzip is already installed", "1:openssl-1.0.2k-21.el7_9.x86_64 providing openssl is already installed", "curl-7.29.0-59.el7_9.1.x86_64 providing curl is already installed", "net-tools-2.0-0.25.20131004git.el7.x86_64 providing net-tools is already installed", "python-2.7.5-90.el7.x86_64 providing python is already installed", "systemd-219-78.el7_9.2.x86_64 providing systemd is already installed", "redhat-lsb-core-4.1-27.el7.centos.1.x86_64 providing redhat-lsb-core is already installed", "policycoreutils-python-2.5-34.el7.x86_64 providing policycoreutils-python is already installed", "libsemanage-python-2.5-14.el7.x86_64 providing libsemanage-python is already installed", "libselinux-python-2.5-15.el7.x86_64 providing libselinux-python is already installed", "python-2.7.5-90.el7.x86_64 providing python-argparse is already installed", "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: download.cf.centos.org\n * epel: mirror.speedpartner.de\n * extras: download.cf.centos.org\n * updates: download.cf.centos.org\nResolving Dependencies\n--> Running transaction check\n---> Package lsof.x86_64 0:4.87-6.el7 will be installed\n---> Package python2-pip.noarch 0:8.1.2-14.el7 will be installed\n---> Package telnet.x86_64 1:0.17-66.el7 will be installed\n---> Package wget.x86_64 0:1.14-18.el7_6.1 will be installed\n---> Package zip.x86_64 0:3.0-11.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n lsof x86_64 4.87-6.el7 base 331 k\n python2-pip noarch 8.1.2-14.el7 epel 1.7 M\n telnet x86_64 1:0.17-66.el7 updates 64 k\n wget x86_64 1.14-18.el7_6.1 base 547 k\n zip x86_64 3.0-11.el7 base 260 k\n\nTransaction Summary\n================================================================================\nInstall 5 Packages\n\nTotal download size: 2.8 M\nInstalled size: 11 M\nDownloading packages:\nPublic key for python2-pip-8.1.2-14.el7.noarch.rpm is not installed\n--------------------------------------------------------------------------------\nTotal 2.5 MB/s | 2.8 MB 00:01 \nRetrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : wget-1.14-18.el7_6.1.x86_64 1/5 \n Installing : python2-pip-8.1.2-14.el7.noarch 2/5 \n Installing : zip-3.0-11.el7.x86_64 3/5 \n Installing : lsof-4.87-6.el7.x86_64 4/5 \n Installing : 1:telnet-0.17-66.el7.x86_64 5/5 \n Verifying : 1:telnet-0.17-66.el7.x86_64 1/5 \n Verifying : lsof-4.87-6.el7.x86_64 2/5 \n Verifying : zip-3.0-11.el7.x86_64 3/5 \n Verifying : python2-pip-8.1.2-14.el7.noarch 4/5 \n Verifying : wget-1.14-18.el7_6.1.x86_64 5/5 \n\nInstalled:\n lsof.x86_64 0:4.87-6.el7 python2-pip.noarch 0:8.1.2-14.el7 \n telnet.x86_64 1:0.17-66.el7 wget.x86_64 0:1.14-18.el7_6.1 \n zip.x86_64 0:3.0-11.el7 \n\nComplete!\n"]}
amazon-ebs:
amazon-ebs: TASK [../roles/lean_delivery.hybris_bootstrap_node : Install pip packages] *****
amazon-ebs: FAILED - RETRYING: Install pip packages (3 retries left).
amazon-ebs: FAILED - RETRYING: Install pip packages (2 retries left).
amazon-ebs: FAILED - RETRYING: Install pip packages (1 retries left).
amazon-ebs: fatal: [default]: FAILED! => {"attempts": 3, "changed": false, "cmd": ["/bin/pip", "install", "--upgrade", "lxml", "beautifulsoup4", "boto3"], "msg": "stdout: Collecting lxml\n Using cached https://files.pythonhosted.org/packages/ec/62/829a719f945f5b99516e25ffdc9053dddf4a5b0825bf28c97ac9a15ad2cb/lxml-4.6.3-cp27-cp27mu-manylinux1_x86_64.whl\nCollecting beautifulsoup4\n Using cached https://files.pythonhosted.org/packages/a1/69/daeee6d8f22c997e522cdbeb59641c4d31ab120aba0f2c799500f7456b7e/beautifulsoup4-4.10.0.tar.gz\n Complete output from command python setup.py egg_info:\n Traceback (most recent call last):\n File \"<string>\", line 1, in <module>\n File \"/tmp/pip-build-XJrUR4/beautifulsoup4/setup.py\", line 7, in <module>\n from bs4 import __version__\n File \"bs4/__init__.py\", line 36, in <module>\n raise ImportError('You are trying to use a Python 3-specific version of Beautiful Soup under Python 2. This will not work. The final version of Beautiful Soup to support Python 2 was 4.9.3.')\n ImportError: You are trying to use a Python 3-specific version of Beautiful Soup under Python 2. This will not work. The final version of Beautiful Soup to support Python 2 was 4.9.3.\n \n ----------------------------------------\n\n:stderr: Command \"python setup.py egg_info\" failed with error code 1 in /tmp/pip-build-XJrUR4/beautifulsoup4/\nYou are using pip version 8.1.2, however version 21.2.4 is available.\nYou should consider upgrading via the 'pip install --upgrade pip' command.\n"}
amazon-ebs:
amazon-ebs: PLAY RECAP *********************************************************************
amazon-ebs: default : ok=24 changed=10 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0
amazon-ebs:
The text was updated successfully, but these errors were encountered:
Trying to use this role (latest 1.6.2 version) from ansible galaxy.
Centos7.
But seems, there are old unsupported python2 used (package python2-pip), which cause issue on deps installation:
raise ImportError('You are trying to use a Python 3-specific version of Beautiful Soup under Python 2. This will not work. The final version of Beautiful Soup to support Python 2 was 4.9.3.')\n ImportError: You are trying to use a Python 3-specific version of Beautiful Soup under Python 2. This will not work. The final version of Beautiful Soup to support Python 2 was 4.9.3.
Full log:
The text was updated successfully, but these errors were encountered: