Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate random failures in src/flexvolume/attach.py:158 #15

Open
dzolnierz opened this issue Aug 12, 2019 · 0 comments
Open

Investigate random failures in src/flexvolume/attach.py:158 #15

dzolnierz opened this issue Aug 12, 2019 · 0 comments
Assignees
Labels

Comments

@dzolnierz
Copy link
Contributor

                # Make sure task is completed
                task = Client.ctx.client.get_task_monitor().wait_for_status(
                    task=is_disk_attached,
                    timeout=60,
                    poll_frequency=2,
                    fail_on_statuses=None,
                    expected_target_statuses=[
                        TaskStatus.SUCCESS, TaskStatus.ABORTED, TaskStatus.ERROR,
                        TaskStatus.CANCELED
                    ],
                    callback=None)
                # Sometimes task "fails" with error:
                # majorErrorCode=500 and message=Unable to perform this action.
                assert task.get('status') == TaskStatus.SUCCESS.value
@dzolnierz dzolnierz self-assigned this Aug 12, 2019
@dzolnierz dzolnierz added the bug label Aug 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant