Start a Conversation

Unsolved

J

1 Message

506

October 14th, 2020 08:00

Ansible module powermax : Create volume on SG "unprotected"

Hi !

I try to create volume on standalone array, the task dellemc_powermax_volume is KO for that.

In dellemc_powermax_volume.py, I found this :

if (storage_group is not None and not storage_group['unprotected']):


The result of my SG, it's "unprotected".


remote_array_1_id'",
{
"base_slo_name": "Diamond",
"cap_gb": 0.0,
"compression": true,
"device_emulation": "N/A",
"num_of_child_sgs": 0,
"num_of_masking_views": 0,
"num_of_parent_sgs": 0,
"num_of_snapshots": 0,
"num_of_vols": 0,
"service_level": "Diamond",
"slo": "Diamond",
"slo_compliance": "STABLE",
"srp": "SRP_1",
"storageGroupId": "sg_testjsg",
"type": "Standalone",
"unprotected": true
}

The case for create volume on "unprotected" SG seems not present in this module ...

What is the workaround for that ?

Regards,

72 Posts

October 14th, 2020 11:00

Hi JSG,

The "unprotected" attribute on a storage group indicates whether or not its volumes are protected with SRDF.  I agree that the naming of the attribute seems a little backwards.

It would be helpful if you could post your playbook or more of the output.  I'm not getting the full context with the snippet you have posted.

Thanks
Bryan

1 Message

November 2nd, 2020 01:00

Hi, 

Thank's for your answer

This Ansible module seems does not OK with standalone array, it seems work only with SRDF storage, you confirm that ?

Regards, 

72 Posts

November 2nd, 2020 12:00

Our Ansible modules for PowerMax work with both standalone and SRDF protected configurations.

If you could share the playbook you are trying perhaps that would shed some more light on why it isn't working as you expected.

Thanks
Bryan

No Events found!

Top