Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-3338

Environment cannot find Python

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • 4.13.0, 4.12.0
    • None
    • Moderate
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      TASK [openshift_node : Disable swap] *******************************************
      task path: /usr/share/ansible/openshift-ansible/roles/openshift_node/tasks/config.yml:6
      Using module file /usr/share/ansible/openshift-ansible/roles/openshift_node/library/swapoff.py
      Pipelining is enabled.
      Using module file /usr/share/ansible/openshift-ansible/roles/openshift_node/library/swapoff.py
      Using module file /usr/share/ansible/openshift-ansible/roles/openshift_node/library/swapoff.py
      <ip-10-0-130-144.ec2.internal> ESTABLISH SSH CONNECTION FOR USER: ec2-user
      Pipelining is enabled.
      Pipelining is enabled.
      <ip-10-0-132-169.ec2.internal> ESTABLISH SSH CONNECTION FOR USER: ec2-user
      <ip-10-0-205-109.ec2.internal> ESTABLISH SSH CONNECTION FOR USER: ec2-user
      <ip-10-0-130-144.ec2.internal> SSH: EXEC ssh -o ControlMaster=auto -o ControlPersist=600s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="ec2-user"' -o ConnectTimeout=30 -o IdentityFile=/var/run/secrets/ci.openshift.io/cluster-profile/ssh-privatekey -o StrictHostKeyChecking=no -o 'ProxyCommand=ssh -o IdentityFile=/var/run/secrets/ci.openshift.io/cluster-profile/ssh-privatekey -o ConnectTimeout=30 -o ConnectionAttempts=100 -o StrictHostKeyChecking=no -W %h:%p -q core@ac4a034272adc4849960bf63ab898ac2-778408861.us-east-1.elb.amazonaws.com' -o 'ControlPath="/opt/app-root/src/.ansible/cp/%h-%r"' ip-10-0-130-144.ec2.internal '/bin/sh -c '"'"'sudo -H -S -n  -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-fbiojtqkopfdlpgsygqwhvjenocushrr ; /usr/bin/env python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
      <ip-10-0-132-169.ec2.internal> SSH: EXEC ssh -o ControlMaster=auto -o ControlPersist=600s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="ec2-user"' -o ConnectTimeout=30 -o IdentityFile=/var/run/secrets/ci.openshift.io/cluster-profile/ssh-privatekey -o StrictHostKeyChecking=no -o 'ProxyCommand=ssh -o IdentityFile=/var/run/secrets/ci.openshift.io/cluster-profile/ssh-privatekey -o ConnectTimeout=30 -o ConnectionAttempts=100 -o StrictHostKeyChecking=no -W %h:%p -q core@ac4a034272adc4849960bf63ab898ac2-778408861.us-east-1.elb.amazonaws.com' -o 'ControlPath="/opt/app-root/src/.ansible/cp/%h-%r"' ip-10-0-132-169.ec2.internal '/bin/sh -c '"'"'sudo -H -S -n  -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-bajmqwpglipseigxqdknxgxmiugszude ; /usr/bin/env python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
      <ip-10-0-205-109.ec2.internal> SSH: EXEC ssh -o ControlMaster=auto -o ControlPersist=600s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="ec2-user"' -o ConnectTimeout=30 -o IdentityFile=/var/run/secrets/ci.openshift.io/cluster-profile/ssh-privatekey -o StrictHostKeyChecking=no -o 'ProxyCommand=ssh -o IdentityFile=/var/run/secrets/ci.openshift.io/cluster-profile/ssh-privatekey -o ConnectTimeout=30 -o ConnectionAttempts=100 -o StrictHostKeyChecking=no -W %h:%p -q core@ac4a034272adc4849960bf63ab898ac2-778408861.us-east-1.elb.amazonaws.com' -o 'ControlPath="/opt/app-root/src/.ansible/cp/%h-%r"' ip-10-0-205-109.ec2.internal '/bin/sh -c '"'"'sudo -H -S -n  -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-vrbxzkgjtptjgkogwjwukiieejiqendn ; /usr/bin/env python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
      Escalation succeeded
      <ip-10-0-205-109.ec2.internal> (127, b'', b'/usr/bin/env: \xe2\x80\x98python\xe2\x80\x99: No such file or directory\n')
      <ip-10-0-205-109.ec2.internal> Failed to connect to the host via ssh: /usr/bin/env: ‘python’: No such file or directory
      Escalation succeeded
      Escalation succeeded
      fatal: [ip-10-0-205-109.ec2.internal]: FAILED! => {
          "changed": false,
          "module_stderr": "/usr/bin/env: ‘python’: No such file or directory\n",
          "module_stdout": "",
          "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
          "rc": 127
      }
      <ip-10-0-132-169.ec2.internal> (127, b'', b'/usr/bin/env: \xe2\x80\x98python\xe2\x80\x99: No such file or directory\n')
      <ip-10-0-132-169.ec2.internal> Failed to connect to the host via ssh: /usr/bin/env: ‘python’: No such file or directory
      <ip-10-0-130-144.ec2.internal> (127, b'', b'/usr/bin/env: \xe2\x80\x98python\xe2\x80\x99: No such file or directory\n')
      <ip-10-0-130-144.ec2.internal> Failed to connect to the host via ssh: /usr/bin/env: ‘python’: No such file or directory
      fatal: [ip-10-0-132-169.ec2.internal]: FAILED! => {
          "changed": false,
          "module_stderr": "/usr/bin/env: ‘python’: No such file or directory\n",
          "module_stdout": "",
          "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
          "rc": 127
      }
      fatal: [ip-10-0-130-144.ec2.internal]: FAILED! => {
          "changed": false,
          "module_stderr": "/usr/bin/env: ‘python’: No such file or directory\n",
          "module_stdout": "",
          "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
          "rc": 127
      }

      Version-Release number of selected component (if applicable):

       

      How reproducible:

      Always (In CI)

      Steps to Reproduce:

      1.
      2.
      3.
      

      Actual results:

      /usr/bin/env: ‘python’: No such file or directory

      Expected results:

      Installation/Test Succeed

      Additional info:

       

       

       

              Unassigned Unassigned
              rh-ee-bbarbach Brent Barbachem
              Gaoyun Pei Gaoyun Pei
              Yaakov Selkowitz
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: