Skip to content

Issues with purefa_default_protection #903

@ryuyamag

Description

@ryuyamag

Summary

  1. Typo in purefa_default_protection.py (line 146)
    if res.staus_code == 200: > if res.status_code == 200:

  2. “Clear default protection for the array” example fails in 1.41.0
    The example in the module documentation for “Clear default protection for the array” (which does not specify a name) worked with collection version 1.36.0, but fails with 1.41.0.

  3. “Add protection group foo as default for array” example fails
    The example “Add protection group foo as default for array” also fails under a specific condition.
    There is an existing default protection group pgroup-auto on the array and ratcheted state.

Environment
Ansible version: core 2.15.8
FlashArray Collection version: 1.41.0
py-pure-client: 1.82.0
Purity versions tested: 6.7.5/6.9.2
Module: purefa_default_protection
Operation: add/clear default protection

Log file
2.log
3.log

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