Start a Conversation

Solved!

Go to Solution

Closed

1 Rookie

 • 

41 Posts

933

April 23rd, 2023 11:00

Powerscale Ansible - ansible_debug.log creation issue

Hi @jennifer_john,

I think I found the issue with ansible_debug.log file not being created.

It looks like the log file requires in the playbook a connection type of connection: local.
We never use this  connection type in our playbooks and I'm hoping you would agree that this should not be a requirement for the debug log file to be created.

Let me know if there is a workaround we can use in the meantime. 

thanks.
glenn.

1 Rookie

 • 

79 Posts

April 24th, 2023 13:00

Hi @gdny 

I just tried with connection: ssh with hosts: (host where the playbook execution happens) and the log file is generated at the root folder of the specified host in hosts variable

ansible@ansible-vm:~$ ls
ansible_powerscale.log

Could you also verify if the log is generated at the specified remote host?

Thanks,

Jennifer

1 Rookie

 • 

41 Posts

April 24th, 2023 07:00

Hi @jennifer_john ,

I don't set connection so I'm guessing the default is used "ssh".

 ESTABLISH SSH CONNECTION FOR USER: svcansible

the "hosts" value never changes, so I'm sure that's not the issue.

hope this is what you were looking for.
thanks.
glenn.

1 Rookie

 • 

79 Posts

April 24th, 2023 07:00

Hi  @gdny 
- name : Testing NFS Export operations
  hosts : localhost
  connection : local
 
Is it the hosts or connection? 
Hosts specify where the execution happens and the log is generated at the root folder of the specified host.
Could you please share the value specified for connection. I can see the allowed list of allowed connection plugins using ansible-doc -t connection -l
 
Thanks,
Jennifer
 
Could you please share what value is specified for the connection?
 
 
Thanks,
Jennifer

1 Rookie

 • 

41 Posts

April 25th, 2023 06:00

@jennifer_john ,

Thanks, I did finally find the file.  It wasn't in the root folder of the remote host, but it was in the $HOME directory for that user.  I didn't find it before, even though I looked because I was using a service account and apparently my user did not have access to that users home directory.
thanks for helping me find it.
glenn.

No Events found!

Top