Skip to content

check_point.gaia.cp_gaia_user_facts error 500 General Exception #62

@chuegel

Description

@chuegel

We are using this collection to query the users on gaia gateways

- name: Gather current Gaia users
  check_point.gaia.cp_gaia_user_facts:
  register: current_users
  tags:
    - always

- name: List of current Gaia users
  ansible.builtin.debug:
    msg: |
      Current users on the system:
      {% for user in current_users.ansible_facts.objects %}
      - Username: {{ user.name }} - (Role(s): {{ user.roles | join(', ') }})
      {% endfor %}
  tags:
    - debug

fails with following error:

[fatal: [fwinternet1]: FAILED! => changed=false 
  msg: 'Checkpoint device returned error 500 with message {''code'': ''generic_error'', ''errors'': ''1'', ''msg'': ''General Exception''}'](msg: 'Checkpoint device returned error 500 with message {''code'': ''generic_error'', ''errors'': ''1'', ''msg'': ''General Exception''}')

Other tasks are working fine.

Is this related to: #60 ?

Versions used:

check_point.gaia              5.0.1

ansible [core 2.15.12]
python version = 3.9.19 (main, May 16 2024, 08:45:40) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)]
jinja version = 3.1.4
libyaml = True

OS: Gaia R81.20
HW: QLS250

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions