Following issues were found and fixed during implementation:
fusion_ra.py: Role name was passed in under name, which is really confusing because role assignments also have a name field which seems to be equal to their ID. name was deprecated and aliased to role instead.
fusion_pp.py: local_rpo accepted only numbers even though it actually contains similar time duration as local_retention, which accepts ISO 8601-like strings. local_rpo was changed to accept the same input as local_retention.
fusion_pg.py: Placement Group, when created, got array selected by placement engine and array field was ignored. If the playbook was run second time, the Placement Group was migrated to the array user wanted. Placement Group is now migrated immediately during creation.
'utils.py': Refactored helper test exceptions because their working mechanism was awkward.
SUMMARY
Implement functional tests for
fusion_pg.py
,fusion_pp.py
andfusion_ra.py
.ISSUE TYPE
COMPONENT NAME
fusion_ra.py fusion_pp.py fusion_pg.py test_fusion_ra.py test_fusion_pp.py test_fusion_pg.py
ADDITIONAL INFORMATION
Following issues were found and fixed during implementation:
name
, which is really confusing because role assignments also have a name field which seems to be equal to their ID.name
was deprecated and aliased torole
instead.local_rpo
accepted only numbers even though it actually contains similar time duration aslocal_retention
, which accepts ISO 8601-like strings.local_rpo
was changed to accept the same input aslocal_retention
.array
field was ignored. If the playbook was run second time, the Placement Group was migrated to the array user wanted. Placement Group is now migrated immediately during creation.