You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Task to create snapshot schedule fails if the schedule exists and an individual snapshot exists in the schedule with shadow_bytes > 4294967295
The error is ultimately due to a platform API Bug that specifies shadow_bytes with 4294967295 (see: Isilon/isilon_sdk_python#62)
For the case of creating snapshot schedules, it is unclear why `self.api_instance.list_snapshot_snapshots(schedule=name) is called
To Reproduce
Create snapshot schedule with the snapshotschedule module
Modify file system content so that a snapshot is created from the schedule with shadow_bytes > 4294967295 (create, snapshot, delete, repeat)
Re-run the task to create the snapshot schedule
Expected behavior
Expected behavior would be ok, since the schedule is already defined; instead we get:
failed: [cha-store1 -> localhost] (item={'name': 'entenhausen_f_weekly', 'path': '/ifs/entenhausen/entenhausen_f', 'desired_ retention': 30, 'retention_unit': 'days', 'pattern': 'entenhausen_f_weekly-%Y-%m-%d_%H:%M', 'schedule': 'Every Friday at 16: 00 PM'}) => {"ansible_loop_var": "schedule", "changed": false, "msg": "Get details of snapshot schedule entenhausen_f_weekly failed with error: Invalid value for `shadow_bytes`, must be a value less than or equal to `4294967295`", "schedule": {"des ired_retention": 30, "name": "entenhausen_f_weekly", "path": "/ifs/entenhausen/entenhausen_f", "pattern": "entenhausen_f_wee kly-%Y-%m-%d_%H:%M", "retention_unit": "days", "schedule": "Every Friday at 16:00 PM"}}
apparently due the fact that the module tries to get the snapshot list for the schedule and falls victim to the platform API Bug
Screenshots
If applicable, add screenshots to help explain your problem.
Logs
If applicable, submit logs or stack traces from the affected services
System Information (please complete the following information):
OS/Version: OneFS 9.7.2.1
Ansible Version 2.16.5
Python Version 3.10
isilon-sdk 0.3.0.1
dellemc.powerscale 3.4.0
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
Task to create snapshot schedule fails if the schedule exists and an individual snapshot exists in the schedule with
shadow_bytes
> 4294967295The error is ultimately due to a platform API Bug that specifies
shadow_bytes
with 4294967295 (see: Isilon/isilon_sdk_python#62)For the case of creating snapshot schedules, it is unclear why `self.api_instance.list_snapshot_snapshots(schedule=name) is called
To Reproduce
snapshotschedule
moduleshadow_bytes
> 4294967295 (create, snapshot, delete, repeat)Expected behavior
Expected behavior would be
ok
, since the schedule is already defined; instead we get:apparently due the fact that the module tries to get the snapshot list for the schedule and falls victim to the platform API Bug
Screenshots
If applicable, add screenshots to help explain your problem.
Logs
If applicable, submit logs or stack traces from the affected services
System Information (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: