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

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

Open
fernflower opened this issue Apr 1, 2022 · 1 comment
Open

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

fernflower opened this issue Apr 1, 2022 · 1 comment
Labels

Comments

@fernflower
Copy link
Member

More details in oamg/leapp-repository#864 (comment)

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
Copy link
Member Author

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.

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