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

Remove the alteration of fstab during volume mount/unmount #1192

Merged

Conversation

sushanthakumar
Copy link
Contributor

@sushanthakumar sushanthakumar commented Jan 21, 2020

What this PR does / why we need it:
This fix removes the /etc/fstab alteration during volume mount and unmount at connector side

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
This PR addresses the hotpot side fix for the issue: sodafoundation/nbp#328

Special notes for your reviewer:

Any other PR(s) this PR is dependant on: None

Test Steps:
Create pod which uses pvc (volume mount will happen)
Verify that /etc/fstab is not altered during the operation
Delete pod
Verify that /etc/fstab is not altered during the pod delete operation as well
Also the scenarios of mount/unmount without csi need to be tested

Release note:

* enhance the volume detachment process

* Update oceanstor.go

* Remove fstab writing code
@codecov
Copy link

codecov bot commented Jan 21, 2020

Codecov Report

Merging #1192 into development will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           development    #1192   +/-   ##
============================================
  Coverage        34.82%   34.82%           
============================================
  Files               97       97           
  Lines            17622    17622           
============================================
  Hits              6137     6137           
  Misses           10614    10614           
  Partials           871      871

Copy link
Collaborator

@kumarashit kumarashit left a comment

Choose a reason for hiding this comment

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

LGTM

@joseph-v
Copy link
Collaborator

LGTM

Copy link
Member

@NajmudheenCT NajmudheenCT left a comment

Choose a reason for hiding this comment

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

LGTM

@kumarashit kumarashit merged commit 9a91be8 into sodafoundation:development Jan 31, 2020
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.

5 participants