Skip to content

Apply firewall rule for any port with interface en0 with sub-options (present: deny) is failing #107

@meghakmk

Description

@meghakmk

Issue: Apply firewall rule for any port with deny operation is failing

HMC: 10.48.16.41

Playbook-

  • name: Demo apply firewall rule
    hosts: hmcs
    connection: local
    gather_facts: false
    vars:
    curr_hmc_auth:
    username: "{{ ansible_user }}"
    password: <>

    tasks:
    - name: Apply firewall rule for port 2001 with interface en0 with suboptions present- deny
    ibm.power_hmc.vios_secure:
    hmc_host: "{{ inventory_hostname }}"
    hmc_auth: '{{ curr_hmc_auth }}'
    system_name: <>
    vios_name: <>
    ip_version: ipv6
    #active: true
    #reload: true
    firewall_config:
    - port: 2001
    present: deny
    interface: en0
    state: setting_firewall

Result:

"msg": "[{'port': 2001, 'reason': 'HSCL2970 The IOServer command has failed because of the following reason: The deny rule is deleted but failed to activate the filter rulesrc=4'}]"

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions