Skip to content

coercing to Unicode: need string or buffer, NoneType found #190

@blc325

Description

@blc325

Getting this fatal response when trying to execute playbook below on an EX4300 virtual-chassis:
TASK [perform a system snapshot] ***********************************************
fatal: [10.199.244.247]: FAILED! => {"changed": false, "failed": true, "msg": "Uncaught exception - please report: coercing to Unicode: need string or buffer, NoneType found"}

  - name: perform a system snapshot
    junos_cli:
      host: "{{ inventory_hostname }}"
      user: "{{username}}"
      passwd: "{{userpasswd}}"
      cli: "request system snapshot slice alternate all-members"
      timeout: 600
    register: system_snapshot

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions