Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • C ceph-ansible
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • tang liyu
  • ceph-ansible
  • Repository
Switch branch/tag
  • ceph-ansible
  • infrastructure-playbooks
  • switch-from-non-containerized-to-cont...
Find file BlameHistoryPermalink
  • Dimitri Savineau's avatar
    switch_to_containers: fix umount ceph partitions · b08ac9cd
    Dimitri Savineau authored Nov 27, 2019
    When a container is already running on a non containerized node then the
    umount ceph partition task is skipped.
    This is due to the container ps command which always returns 0 even if
    the filter matches nothing.
    
    We should run the umount task when:
    1/ the container command is failing (not installed) : rc != 0
    2/ the container command reports running ceph-osd containers : rc == 0
    
    Also we should not fail on the ceph directory listing.
    
    Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1616159
    
    
    
    Signed-off-by: default avatarDimitri Savineau <dsavinea@redhat.com>
    (cherry picked from commit 39cfe0aa)
    b08ac9cd