Skip to content

Commit

Permalink
chore(release): Merge branch 'hotfix-v1.0.1'
Browse files Browse the repository at this point in the history
Creates patch release v1.0.1
  • Loading branch information
GlennBullingham committed Feb 22, 2022
2 parents d8d35a6 + 7225aac commit 78c3971
Show file tree
Hide file tree
Showing 21 changed files with 293 additions and 147 deletions.
20 changes: 10 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion chart/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
{{- if gt $i 0 }}
{{- printf "," }}
{{- end }}
{{- printf "%d" $i }}
{{- printf "%d" (add $i 1) }}
{{- end }}
{{- end }}
11 changes: 6 additions & 5 deletions chart/templates/mayastor-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ spec:
env:
- name: RUST_LOG
value: info,mayastor={{ .Values.mayastorLogLevel }}
- name: NVMF_TCP_MAX_QUEUE_DEPTH
value: "32"
- name: MY_NODE_NAME
valueFrom:
fieldRef:
Expand All @@ -53,7 +55,6 @@ spec:
- "-g$(MY_POD_IP)"
- "-nnats"
- "-y/var/local/mayastor/config.yaml"
- "-P/var/local/mayastor/pools.yaml"
- "-l{{ include "mayastorCpuSpec" . }}"
- "-pmayastor-etcd"
command:
Expand All @@ -75,12 +76,12 @@ spec:
# pressure unless they exceed those limits. limits and requests must be the same.
limits:
cpu: "{{ .Values.mayastorCpuCount }}"
memory: "512Mi"
hugepages-2Mi: "{{ .Values.mayastorHugePagesGiB }}Gi"
memory: "1Gi"
hugepages-2Mi: "{{ max .Values.mayastorHugePagesGiB 2 }}Gi"
requests:
cpu: "{{ .Values.mayastorCpuCount }}"
memory: "512Mi"
hugepages-2Mi: "{{ .Values.mayastorHugePagesGiB }}Gi"
memory: "1Gi"
hugepages-2Mi: "{{ max .Values.mayastorHugePagesGiB 2 }}Gi"
ports:
- containerPort: 10124
protocol: TCP
Expand Down
2 changes: 1 addition & 1 deletion composer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "composer"
version = "0.1.0"
version = "1.0.0"
authors = ["Tiago Castro <[email protected]>"]
edition = "2018"

Expand Down
6 changes: 3 additions & 3 deletions csi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
authors = ["Jan Kryl <[email protected]>", "Jeffry Molanus <[email protected]"]
name = "csi"
version = "0.2.0"
version = "1.0.0"
edition = "2018"

[[bin]]
Expand All @@ -21,7 +21,7 @@ failure = "0.1.8"
futures = { version = "0.3.16", default-features = false }
glob = "0.3.0"
lazy_static = "1.4.0"
nvmeadm = { path = "../nvmeadm", version = "0.1.0" }
nvmeadm = { path = "../nvmeadm" }
proc-mounts = "0.2.4"
prost = "0.8.0"
prost-derive = "0.8.0"
Expand All @@ -30,7 +30,7 @@ regex = "1.5.4"
serde_json = "1.0.66"
snafu = "0.6.10"
sys-mount = "1.3.0"
sysfs = { path = "../sysfs", version = "0.1.0" }
sysfs = { path = "../sysfs" }
tokio = { version = "1.10.0", features = ["full"] }
tokio-stream = { version = "0.1.7", features = ["net"] }
tonic = "0.5.2"
Expand Down
2 changes: 1 addition & 1 deletion deploy/csi-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
# the same.
containers:
- name: mayastor-csi
image: mayadata/mayastor:v1.0.0
image: mayadata/mayastor:v1.0.1
imagePullPolicy: IfNotPresent
# we need privileged because we mount filesystems and use mknod
securityContext:
Expand Down
9 changes: 5 additions & 4 deletions deploy/mayastor-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,13 @@ spec:
command: ['sh', '-c', 'until nc -vz nats 4222; do echo "Waiting for message bus..."; sleep 1; done;']
containers:
- name: mayastor
image: mayadata/mayastor:v1.0.0
image: mayadata/mayastor:v1.0.1
imagePullPolicy: IfNotPresent
env:
- name: RUST_LOG
value: info,mayastor=info
- name: NVMF_TCP_MAX_QUEUE_DEPTH
value: "32"
- name: MY_NODE_NAME
valueFrom:
fieldRef:
Expand All @@ -50,11 +52,11 @@ spec:
# The -l argument accepts cpu-list. Indexing starts at zero.
# For example -l 1,2,10-20 means use core 1, 2, 10 to 20.
# Note: Ensure that the CPU resources are updated accordingly.
# If you use 2 CPUs, the CPU: field should also read 2.
# If you use 2 CPUs, the CPU: field should also read 2.
- "-N$(MY_NODE_NAME)"
- "-g$(MY_POD_IP)"
- "-nnats"
- "-P/var/local/mayastor/pools.yaml"
- "-y/var/local/mayastor/config.yaml"
- "-l1"
- "-pmayastor-etcd"
command:
Expand All @@ -74,7 +76,6 @@ spec:
# NOTE: Each container must have mem/cpu limits defined in order to
# belong to Guaranteed QoS class, hence can never get evicted in case of
# pressure unless they exceed those limits. limits and requests must be the same.
#
limits:
cpu: "1"
memory: "1Gi"
Expand Down
2 changes: 1 addition & 1 deletion devinfo/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "devinfo"
version = "0.1.0"
version = "1.0.0"
authors = ["Jeffry Molanus <[email protected]>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion jsonrpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = ["Jeffry Molanus <[email protected]>"]
edition = "2018"
name = "jsonrpc"
version = "0.1.0"
version = "1.0.0"

[dependencies]
nix = "0.22.1"
Expand Down
4 changes: 2 additions & 2 deletions mayastor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = ["Jeffry Molanus <[email protected]>"]
edition = "2018"
name = "mayastor"
version = "0.9.0"
version = "1.0.0"
default-run = "mayastor-client"

[[bin]]
Expand Down Expand Up @@ -113,5 +113,5 @@ version = "0.8.2"
[dev-dependencies]
assert_matches = "1.5.0"
composer = { path = "../composer" }
nvmeadm = {path = "../nvmeadm", version = "0.1.0"}
nvmeadm = { path = "../nvmeadm" }
run_script = "0.8.0"
1 change: 1 addition & 0 deletions mayastor/src/bdev/nexus/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ mod nexus_channel;
pub(crate) mod nexus_child;
pub mod nexus_fn_table;
pub mod nexus_io;
pub mod nexus_io_subsystem;
pub mod nexus_label;
pub mod nexus_metadata;
pub mod nexus_module;
Expand Down
Loading

0 comments on commit 78c3971

Please sign in to comment.