forked from ceph/ceph-csi
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #208 from red-hat-storage/sync_us--devel
Syncing latest changes from devel for ceph-csi
- Loading branch information
Showing
30 changed files
with
936 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# v3.10 Pending Release Notes | ||
|
||
## Breaking Changes | ||
|
||
## Features |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,10 +14,10 @@ GITHUB_EMAIL=${GITHUB_EMAIL:-"[email protected]"} | |
|
||
# Build and push images. Steps as below: | ||
# 1. get base image from ./build.env (BASE_IMAGE=ceph/ceph:v14.2) | ||
# 2. parse manifest to get image digest per arch (sha256:XXX, sha256:YYY) | ||
# 3. patch Dockerfile with amd64 base image (FROM ceph/ceph:v14.2@sha256:XXX) | ||
# 2. parse manifest to get image digest per arch (sha256:XYZ, sha256:ZYX) | ||
# 3. patch Dockerfile with amd64 base image (FROM ceph/ceph:v14.2@sha256:XYZ) | ||
# 4. build and push amd64 image | ||
# 5. patch Dockerfile with arm64 base image (FROM ceph/ceph:v14.2@sha256:YYY) | ||
# 5. patch Dockerfile with arm64 base image (FROM ceph/ceph:v14.2@sha256:ZYX) | ||
# 6. build and push arm64 image | ||
build_push_images() { | ||
# "docker manifest" requires experimental feature enabled | ||
|
@@ -29,11 +29,11 @@ build_push_images() { | |
# get image digest per architecture | ||
# { | ||
# "arch": "amd64", | ||
# "digest": "sha256:XXX" | ||
# "digest": "sha256:XYZ" | ||
# } | ||
# { | ||
# "arch": "arm64", | ||
# "digest": "sha256:YYY" | ||
# "digest": "sha256:ZYX" | ||
# } | ||
manifests=$(docker manifest inspect "${baseimg}" | jq '.manifests[] | {arch: .platform.architecture, digest: .digest}') | ||
# qemu-user-static is to enable an execution of different multi-architecture containers by QEMU | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Support for CSI `VolumeCondition` aka Volume Health Checker | ||
|
||
## health-checker API | ||
|
||
Under `internal/health-checker` the Manager for health-checking is | ||
implemented. The Manager can start a checking process for a given path, return | ||
the (un)healthy state and stop the checking process when the volume is not | ||
needed anymore. | ||
|
||
The Manager is responsible for creating a suitable checker for the requested | ||
path. If the path is a block-device, the BlockChecker should be created. For a | ||
filesystem path (directory), the FileChecker is appropriate. | ||
|
||
## CephFS | ||
|
||
The health-checker writes to the file `csi-volume-condition.ts` in the root of | ||
the volume. This file contains a JSON formatted timestamp. | ||
|
||
A new `data` directory is introduced for newly created volumes. During the | ||
`NodeStageVolume` call the root of the volume is mounted, and the `data` | ||
directory is bind-mounted inside the container when `NodePublishVolume` is | ||
called. | ||
|
||
The `data` directory makes it possible to place Ceph-CSI internal files in the | ||
root of the volume, without that the user/application has access to it. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.