Skip to content

Task progress lost and timeout during migration #7319

@DavidePrincipi

Description

@DavidePrincipi

The NS7 migration tool starts the import-module task, which can last multiple days. After 8 hours, the task progress is no longer displayed on the NS8 side. If the Finish phase takes more than 10 minutes, an NS7 exception occurs on the NS7 side.

Steps to reproduce

  • Start Nextcloud migration
  • Sync
  • Wait 8 hours (1)
  • Finish migration

Expected behavior

After 8 hours the Task progress is still visible in cluster-admin. The Finish phase can last more than 10 minutes without timeout error.

Actual behavior

The Task progress is lost in cluster-admin. Furthermore, if the Finish phase takes more than 10 minutes the following exception occurs:

Traceback (most recent call last):
  File "/usr/sbin/ns8-action", line 126, in <module>
    ret = wait_task(api_endpoint, payload['token'], task_id)
  File "/usr/sbin/ns8-action", line 62, in wait_task
    raise Exception("No server response")
Exception: No server response

Components

  • ns8-core 3.4.4
  • ns8-nextcloud 1.1.9

See also

https://mattermost.nethesis.it/nethesis/pl/8gf7ng5yii8yjnw4e3rbfrwrrc


Thanks to @lucagasparini

Metadata

Metadata

Assignees

No one assigned

    Labels

    verifiedAll test cases were verified successfully

    Type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions