leapp icon indicating copy to clipboard operation
leapp copied to clipboard

Snactor is broken after n/n-1 upgrade path introduction

Open fernflower opened this issue 3 years ago • 1 comments

More details in https://github.com/oamg/leapp-repository/pull/864#discussion_r840532107

Long story short, pretty much all snactor functionality is broken with the following exception raised

leapp.models.fields.ModelViolationError: The value of "target" field is None, but this is not allowed

fernflower avatar Apr 01 '22 12:04 fernflower

The solution is to set target_release and and upgrade_flavor env vars manually before running snactor. For example, for 8to9 upgrade it will be

export LEAPP_UPGRADE_PATH_TARGET_RELEASE=9.0
export LEAPP_UPGRADE_PATH_FLAVOUR=default

This should be mentioned in the upstream docs as well, once it's done this bug can be closed.

fernflower avatar May 23 '22 10:05 fernflower