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

Check source type directly, not via DBus #3565

Merged

Conversation

M4rtinK
Copy link
Contributor

@M4rtinK M4rtinK commented Aug 17, 2021

Not all payloads are available via DBus in RHEL 9 Anaconda,
so use the payload instance directly when checking payload type
in the Connect to Red Hat spokes. Also in some cases the payload
type could be None instead of a string, so handle that as well.

This should fix the issue with RHV, which uses the liveimg payload,
which is not available via DBus on RHEL 9, leading to a crash.

(cherry picked from commit d6ea3b3)

Related: rhbz#1941578
Resolves: rhbz#1955311

Not all payloads are available via DBus in RHEL 9 Anaconda,
so use the payload instance directly when checking payload type
in the Connect to Red Hat spokes. Also in some cases the payload
type could be None instead of a string, so handle that as well.

This should fix the issue with RHV, which uses the liveimg payload,
which is not available via DBus on RHEL 9, leading to a crash.

(cherry picked from commit d6ea3b3)

Related: rhbz#1941578
Resolves: rhbz#1955311
@M4rtinK M4rtinK force-pushed the rhel-9-check_source_type_directly branch from 96cc57c to f1fc6d4 Compare August 17, 2021 13:51
Copy link
Contributor

@VladimirSlavik VladimirSlavik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Thank you!

@poncovka
Copy link
Contributor

/kickstart-test --testtype smoke

1 similar comment
@jkonecny12
Copy link
Member

/kickstart-test --testtype smoke

Copy link
Member

@jkonecny12 jkonecny12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@M4rtinK M4rtinK added the ready to merge The PR can be merged. It should have all BZ flags required for releasing set (usually release+). label Aug 18, 2021
@rvykydal rvykydal merged commit fe8b191 into rhinstaller:rhel-9 Aug 24, 2021
@M4rtinK M4rtinK added port to Fedora and removed port to Fedora ready to merge The PR can be merged. It should have all BZ flags required for releasing set (usually release+). labels Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

5 participants