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

Multiple fixes for partitioning_warnings #4803

Merged
merged 1 commit into from
Apr 11, 2018

Conversation

rwx788
Copy link
Member

@rwx788 rwx788 commented Apr 9, 2018

So, we now can check warning if partition is too small to handle
snapshots.
On power test is currently failing due to too big prep boot partition.

See poo#34498.

Needles.

Verification runs:

@rwx788 rwx788 added the WIP Work in progress label Apr 9, 2018
@rwx788 rwx788 force-pushed the 34498_btrfs_warnings branch 4 times, most recently from 0598e26 to bdde18b Compare April 9, 2018 16:17
@rwx788 rwx788 removed the WIP Work in progress label Apr 9, 2018
@rwx788
Copy link
Member Author

rwx788 commented Apr 9, 2018

Workers fail all the time, so 2 scenarios are not fully covered, but we can see if it breaks on production. So I remove WIP label.

@okurz
Copy link
Member

okurz commented Apr 9, 2018

needles merged

}
}

sub post_fail_hook { }
Copy link
Member

Choose a reason for hiding this comment

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

I have something very cool for you -> https://github.com/os-autoinst/os-autoinst/blame/master/doc/backend_vars.asciidoc#L11 :)

Please remove this post fail hook overwrite from this PR, then LGTM -> merge

Copy link
Member Author

Choose a reason for hiding this comment

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

Good to know. Test fails on SLE12 on power, seems that behavior is different there. Will fix that first.

@rwx788 rwx788 added the WIP Work in progress label Apr 10, 2018
So, we now can check warning if partition is too small to handle
snapshots.
On power test is currently failing due to too big prep boot partition.

See [poo#34498](https://progress.opensuse.org/issues/34498).
@rwx788 rwx788 removed the WIP Work in progress label Apr 10, 2018
@rwx788
Copy link
Member Author

rwx788 commented Apr 10, 2018

Missing needle for aarch64 can be found here:
Needles.

sub process_missing_special_partitions {
# Have missing boot/zipl partition warning only in storage_ng
if (is_storage_ng && check_var('ARCH', 's390x')) { # s390x needs /boot/zipl on ext partition
process_warning(warning => 'no-boot-zipl', key => 'alt-n');
Copy link
Member

Choose a reason for hiding this comment

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

from this PR looks like alt-n should be default option , I see here more calls with alt-n then with alt-y. But feel free to ignore this comment

Copy link
Member Author

Choose a reason for hiding this comment

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

That's true. I will leave it for now, only because by default we proceed with the installation acknowledging that we know what we are doing and with No, it will bring us back to expert partitioner.

@asmorodskyi
Copy link
Member

LGTM , but I can't merge needles currently

@asmorodskyi asmorodskyi merged commit 2de6541 into os-autoinst:master Apr 11, 2018
rwx788 pushed a commit to rwx788/os-autoinst-distri-opensuse that referenced this pull request Apr 11, 2018
Fixing regression introduced in os-autoinst#4803, pressed No in one of the
warnings, so got back to the expert partitioner.

This only affected s390x and x86 as we don't have special warnings
there.

See [poo#34498](https://progress.opensuse.org/issues/34498).
rwx788 pushed a commit to rwx788/os-autoinst-distri-opensuse that referenced this pull request Apr 11, 2018
Fixing regression introduced in os-autoinst#4803, pressed No in one of the
warnings, so got back to the expert partitioner.

This only affected s390x and x86 as we don't have special warnings
there.

See [poo#34498](https://progress.opensuse.org/issues/34498).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants