Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-31445

Parameter 'setup_remote_execution=true' while registering host, doesn't help to automate Remote Execution in Red Hat Satellite 6.17.

XMLWordPrintable

    • False
    • Moderate
    • sat-endeavour
    • None
    • None
    • None
    • None

      Description of problem:

      Registering host with 'setup_remote_execution=true' doesn't help in automatic Remote Execution.

      How reproducible:

      • Easily

      Is this issue a regression from an earlier version:

      • NA

      Steps to Reproduce:

      1. Register host using 'setup_remote_execution=true'

      2. Try to perform remote execution after successful registration

       

      Actual behavior:

      REX job fails with:

            false, "msg": "Failed to connect to the host via ssh: root@10.xx.xx.xx: Permission

      Updated setting: Connect by IP false:
      ~~~
       1: Error initializing command: RuntimeError - Could not establish connection to remote host using any available authentication method, tried publickey
         2: 
         3: Authentication method 'publickey' failed with:
         4: root@client.example.com: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
         5: Exit status: EXCEPTION
         6: StandardError: Job execution failed
      ~~~

      Expected behavior:
      REX job should not fail with above error.

      Business Impact / Additional info:

       

              Unassigned Unassigned
              rhn-support-akapse Akshay Kapse
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: