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

[ISSUE-656] Support SLES 15 SP3 in CSI #657

Merged
merged 15 commits into from
Dec 16, 2021

Conversation

Aber4Nod
Copy link
Contributor

@Aber4Nod Aber4Nod commented Dec 15, 2021

Purpose

Resolves #656

Replace parted with sgdisk
Replace partprobe with blockdev
Turn off lvm synchronization with udev

PR checklist

  • Add link to the issue
  • Choose Project
  • Choose PR label
  • New unit tests added
  • Modified code has meaningful comments
  • All TODOs are linked with the issues
  • All comments are resolved

Testing

Provide test details

@Aber4Nod Aber4Nod added the enhancement New feature or request label Dec 15, 2021
@Aber4Nod Aber4Nod self-assigned this Dec 15, 2021
@Aber4Nod Aber4Nod requested a review from a team as a code owner December 15, 2021 10:49
@Aber4Nod Aber4Nod force-pushed the feature-issue-656-replace-parted branch from 2f6ba01 to c96a2ee Compare December 15, 2021 10:51
@codecov
Copy link

codecov bot commented Dec 15, 2021

Codecov Report

Merging #657 (c61b693) into master (0b28cab) will decrease coverage by 0.04%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #657      +/-   ##
==========================================
- Coverage   63.88%   63.84%   -0.05%     
==========================================
  Files          61       61              
  Lines        6191     6184       -7     
==========================================
- Hits         3955     3948       -7     
  Misses       2025     2025              
  Partials      211      211              
Flag Coverage Δ
unittests 63.84% <100.00%> (-0.05%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...ase/linuxutils/partitionhelper/partition_helper.go 98.42% <100.00%> (-0.06%) ⬇️
.../provisioners/utilwrappers/partition_operations.go 86.90% <100.00%> (-0.31%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0b28cab...c61b693. Read the comment docs.

@Aber4Nod Aber4Nod force-pushed the feature-issue-656-replace-parted branch from ba70393 to f4218eb Compare December 15, 2021 11:32
pkg/node/Dockerfile Outdated Show resolved Hide resolved
@Aber4Nod Aber4Nod force-pushed the feature-issue-656-replace-parted branch from f4218eb to 4dff6d6 Compare December 16, 2021 06:00
@@ -5,4 +5,14 @@ ADD health_probe health_probe
# Remove bash packet to get rid of related CVEs
RUN apt update --no-install-recommends -y -q; apt remove --no-install-recommends -y --allow-remove-essential -q bash; apt install --no-install-recommends -y -q util-linux parted xfsprogs lvm2 gdisk strace udev net-tools


# Don't rely on udevd, it isn't available in some combinations of host/guest kernels.
Copy link
Collaborator

Choose a reason for hiding this comment

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

isn't available not precise term here. not compatible due to poll/epoll APIs sounds better. Please add md doc with your finding and post refence here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added docs, removed changes to Dockerfile due to after repeated tests the issue with lvm was not reproduced

@Aber4Nod Aber4Nod force-pushed the feature-issue-656-replace-parted branch 2 times, most recently from 2f4b30a to 859a789 Compare December 16, 2021 11:53
Nikita Mikhnenko added 13 commits December 16, 2021 15:47
Signed-off-by: Nikita Mikhnenko <nikita_mikhnenko@dell.com>
Signed-off-by: Nikita Mikhnenko <nikita_mikhnenko@dell.com>
Signed-off-by: Nikita Mikhnenko <nikita_mikhnenko@dell.com>
Signed-off-by: Nikita Mikhnenko <nikita_mikhnenko@dell.com>
Signed-off-by: Nikita Mikhnenko <nikita_mikhnenko@dell.com>
Signed-off-by: Nikita Mikhnenko <nikita_mikhnenko@dell.com>
Signed-off-by: Nikita Mikhnenko <nikita_mikhnenko@dell.com>
Signed-off-by: Nikita Mikhnenko <nikita_mikhnenko@dell.com>
Signed-off-by: Nikita Mikhnenko <nikita_mikhnenko@dell.com>
Signed-off-by: Nikita Mikhnenko <nikita_mikhnenko@dell.com>
Signed-off-by: Nikita Mikhnenko <nikita_mikhnenko@dell.com>
Signed-off-by: Nikita Mikhnenko <nikita_mikhnenko@dell.com>
Signed-off-by: Nikita Mikhnenko <nikita_mikhnenko@dell.com>
Nikita Mikhnenko added 2 commits December 16, 2021 15:47
Signed-off-by: Nikita Mikhnenko <nikita_mikhnenko@dell.com>
Signed-off-by: Nikita Mikhnenko <nikita_mikhnenko@dell.com>
@Aber4Nod Aber4Nod force-pushed the feature-issue-656-replace-parted branch from 859a789 to c61b693 Compare December 16, 2021 12:47
@Aber4Nod Aber4Nod merged commit 3c4d226 into master Dec 16, 2021
@Aber4Nod Aber4Nod deleted the feature-issue-656-replace-parted branch December 16, 2021 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support SLES 15 SP3 in CSI
6 participants