Pure-Storage-Ansible / FlashArray-Collection

Ansible Collection for Pure Storage FlashArray
GNU General Public License v3.0
18 stars 23 forks source link

volume is not added with purefa_pg #494

Closed ryuyamag closed 11 months ago

ryuyamag commented 11 months ago

When creating a PG with purefa_pg, the result seems fine. But when I look at the actual array's PG, the target is set correctly, but the volume is not added to the members of.

changed: [localhost] => {
    "changed": true,
    "invocation": {
        "module_args": {
            "api_token": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
            "enabled": true,
            "eradicate": false,
            "fa_url": "10.229.192.60",
            "host": null,
            "hostgroup": null,
            "name": "testpg1",
            "rename": null,
            "safe_mode": false,
            "state": "present",
            "target": [
                "japan-pslab"
            ],
            "volume": [
                "testvol1"
            ]
        }
    }
}

• Ansible version : core 2.15.5 • FlashArray Collection version: 1.22.0 • Purity version: 6.3.13 • FlashArray module causing the failure: purefa_pg • An example task that fails: create new pg • Response from ansible-playbook -vvvv when running a failing task: please see attached purefa_pg_create.yml.zip

sdodsley commented 11 months ago

@ryuyamag i can't reproduce this error. It works fine for me in my lab.

ryuyamag commented 11 months ago

I tried with different version of the array and the results were the same. I've heard of this happening in customer environments as well. Is there something wrong with our settings? I attached the additional logs. 20231102.zip

sdodsley commented 11 months ago

This is strange - can I get access to the array to see it happening?

ryuyamag commented 11 months ago

Yes. I'll send the information separately.