Skip to content

cp_gaia_initial_setup fails due to GRUB password is missing (even though grub password has already been set). #65

@ktbyers

Description

@ktbyers
- name: Run the first time wizard
  hosts: pod5-fw
  gather_facts: false
  tasks:
    - name: Set grub password
      check_point.gaia.cp_gaia_grub_password:
        password: bogus

    - name: Gaia Save Config
      check_point.gaia.cp_gaia_run_script:
        script: "save config"

    - name: Initial setup
      check_point.gaia.cp_gaia_initial_setup:
        security_gateway:
          activation_key: my_activation_key
          cluster_member: false
        security_management:
          activation_key: my_activation_key
          gui_clients:
            range:
              first_IPv4_range: 0.0.0.0
              last_IPv4_range: 255.255.255.255
          type: primary
        wait_for_task: true
$ ansible-playbook first_time_wizard.yml 

PLAY [Run the first time wizard] **************************************************************************************************

TASK [Set grub password] **********************************************************************************************************
changed: [pod5-fw]

TASK [Gaia Save Config] ***********************************************************************************************************
changed: [pod5-fw]

TASK [Initial setup] **************************************************************************************************************
fatal: [pod5-fw]: FAILED! => {"changed": false, "msg": "Task /set-initial-setup with task id 6ed6ca33-dc33-4705-abd0-eac453211281 failed: GRUB password is missing, default initial password for GRUB must be changed"}

PLAY RECAP ************************************************************************************************************************
pod5-fw                    : ok=2    changed=2    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0   

I have also separately tried setting Grub password using set grub2-password from clish and I still run into the same issue.

> show version all
Product version Check Point Gaia R82
OS build 777
OS kernel version 4.18.0-372.9.1cpx86_64
OS edition 64-bit
# Gaia collection version
check_point.gaia                         7.0.0

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