Skip to content
This repository has been archived by the owner on Oct 10, 2020. It is now read-only.

Atomic/scan.py: Add rootfs to self.mount_paths BZ:1461788 #1037

Closed
wants to merge 1 commit into from

Conversation

baude
Copy link
Member

@baude baude commented Jun 27, 2017

Description

When a rootfs is scanned, it needs its dir added to self.mount_paths
so that it can be unmounted properly. Failure to do so was resulting
in a read-only filesystem error during scan clean ups because atomic
deletes the temporary directory with shutil.rmtree.

Related Bugzillas

  • #1461788

Pull Request Checklist:

If your Pull request contains new features or functions, tests are required. If the PR is a bug fix and no tests exist, please consider adding some to prevent regressions.

  • Unittests
  • Integration Tests

When a rootfs is scanned, it needs its dir added to self.mount_paths
so that it can be unmounted properly.  Failure to do so was resulting
in a read-only filesystem error during scan clean ups because atomic
deletes the temporary directory with shutil.rmtree.
@rhatdan
Copy link
Member

rhatdan commented Jun 27, 2017

LGTM

@baude
Copy link
Member Author

baude commented Jun 27, 2017

@rh-atomic-bot r+ 7494258

@rh-atomic-bot
Copy link

⌛ Testing commit 7494258 with merge 52d0d3e...

@rh-atomic-bot
Copy link

☀️ Test successful - status-redhatci
Approved by: baude
Pushing 52d0d3e to master...

dharmit added a commit to dharmit/container-pipeline-service that referenced this pull request Jul 20, 2017
This hot-fix is based on
projectatomic/atomic#1037 and needs to be
removed after atomic package in CentOS gets updated.
dharmit added a commit to dharmit/container-pipeline-service that referenced this pull request Jul 20, 2017
This hot-fix is based on
projectatomic/atomic#1037 and needs to be
removed after atomic package in CentOS gets updated.
dharmit added a commit to dharmit/cccp-provisions that referenced this pull request Oct 15, 2017
This hot-fix is based on
projectatomic/atomic#1037 and needs to be
removed after atomic package in CentOS gets updated.
navidshaikh added a commit to navidshaikh/container-pipeline-service that referenced this pull request Mar 2, 2018
  Needed hotfixes earlier when patches to atomic did not land in current release.
  Removed patches for:
  - projectatomic/atomic#804
  - projectatomic/atomic@a261270
  - projectatomic/atomic#1037
navidshaikh added a commit to navidshaikh/container-pipeline-service that referenced this pull request Mar 2, 2018
navidshaikh added a commit to navidshaikh/container-pipeline-service that referenced this pull request Mar 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants