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

storage: Allow Anaconda to override feature detection #21150

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mvollmer
Copy link
Member

@mvollmer mvollmer commented Oct 22, 2024

  • tests, coverage

See #20844.

@mvollmer
Copy link
Member Author

@M4rtinK, would this be what Anaconda needs?

@mvollmer mvollmer force-pushed the storage-anaconda-feature-config branch from 09c0e1a to 94addba Compare October 23, 2024 07:05
@jkonecny12
Copy link

I think this is still valuable to us.
@KKoukiou WDYT?

@mvollmer
Copy link
Member Author

I think this is still valuable to us. @KKoukiou WDYT?

Alright! I get this into shape.

@mvollmer mvollmer force-pushed the storage-anaconda-feature-config branch 2 times, most recently from b6a6f65 to 102d69f Compare January 10, 2025 08:54
@mvollmer mvollmer force-pushed the storage-anaconda-feature-config branch from 102d69f to 5552b5b Compare January 10, 2025 09:19
Comment on lines +897 to +898
} catch (error) {
console.warn("Can't enable storaged btrfs module", error.toString());
Copy link
Contributor

Choose a reason for hiding this comment

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

These 2 added lines are not executed by any test.

Comment on lines +911 to +912
} catch (error) {
console.warn("Can't enable storaged iscsi module", error.toString());
Copy link
Contributor

Choose a reason for hiding this comment

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

These 2 added lines are not executed by any test.

Comment on lines +924 to +925
} catch (error) {
console.warn("Can't enable storaged lvm2 module", error.toString());
Copy link
Contributor

Choose a reason for hiding this comment

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

These 2 added lines are not executed by any test.

Comment on lines +931 to +933
if (!client.anaconda_feature("vdo")) {
client.features.lvm_create_vdo = false;
return Promise.resolve();
Copy link
Contributor

Choose a reason for hiding this comment

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

These 3 added lines are not executed by any test.

Comment on lines +941 to +943
if (!client.anaconda_feature("legacy-vdo")) {
client.features.legacy_vdo = false;
return Promise.resolve();
Copy link
Contributor

Choose a reason for hiding this comment

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

These 3 added lines are not executed by any test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants