Skip to content

Migration tool app abort error with non-root user #7449

@mrmarkuz

Description

@mrmarkuz

On NS7 in the migration tool the migration of an app can't be aborted when another user instead of root is logged in to Cockpit.

Steps to reproduce

  • On NS7 create a user and add it to domain admins
  • Check that the domain admins group delegations cover all possible cockpit sites
  • Login as the created user
  • Start the NS8 migration and start the migration for an app
  • Sync an app
  • Abort the app migration

Expected behavior

The migration of the app should be aborted and the apps should be uninstalled on NS8 so it's possible to start over.

Actual behavior

The error message "There was an error during the abort procedure." is shown in Cockpit.

Following is logged in /var/log/messages:

May  8 15:52:29 neth cockpit-bridge: /usr/libexec/nethserver/api/nethserver-ns8-migration/migration/update: line 73: /var/log/ns8-migration.log: Permission denied

Components

nethserver-ns8-migration-1.3.0

See also


Thanks to jrieder

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