Skip to content

feat: Add bootstrap cli command#809

Merged
gtema merged 1 commit into
mainfrom
bootstrap
Jun 19, 2026
Merged

feat: Add bootstrap cli command#809
gtema merged 1 commit into
mainfrom
bootstrap

Conversation

@gtema

@gtema gtema commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

Start implementing analogue to the 'keystone-manage bootstrap' command.

@gtema gtema marked this pull request as draft June 15, 2026 17:37
@github-actions

github-actions Bot commented Jun 15, 2026

Copy link
Copy Markdown

🦢 Load Test Results

Goose Attack Report

Plan Overview

Action Started Stopped Elapsed Users
Increasing 26-06-19 15:27:08 26-06-19 15:27:10 00:00:02 0 → 4
Maintaining 26-06-19 15:27:10 26-06-19 15:27:40 00:00:30 4
Decreasing 26-06-19 15:27:40 26-06-19 15:27:40 00:00:00 0 ← 4

Request Metrics

Method Name # Requests # Fails Average (ms) Min (ms) Max (ms) RPS Failures/s
GET 7039 0 16.57 11 33 234.63 0.00
Aggregated 7039 0 16.57 11 33 234.63 0.00

Response Time Metrics

Method Name 50%ile (ms) 60%ile (ms) 70%ile (ms) 80%ile (ms) 90%ile (ms) 95%ile (ms) 99%ile (ms) 100%ile (ms)
GET 14 16 21 21 22 23 25 33
Aggregated 14 16 21 21 22 23 25 33

Status Code Metrics

Method Name Status Codes
GET 7,039 [200]
Aggregated 7,039 [200]

Transaction Metrics

Transaction # Times Run # Fails Average (ms) Min (ms) Max (ms) RPS Failures/s
ListUsers
0.0 0 0 0.00 0 0 0.00 0.00
0.1 4303 0 13.49 11 22 143.43 0.00
ValidateToken
1.0 0 0 0.00 0 0 0.00 0.00
1.1 2736 0 21.50 15 33 91.20 0.00
Aggregated 7039 0 16.57 11 33 234.63 0.00

Scenario Metrics

Transaction # Users # Times Run Average (ms) Min (ms) Max (ms) Scenarios/s Iterations
ListUsers 2 4301 13.49 11 22 143.37 2150.50
ValidateToken 2 2734 21.51 18 33 91.13 1367.00
Aggregated 4 7035 16.60 11 33 234.50 3517.50

View full report

@github-actions

github-actions Bot commented Jun 15, 2026

Copy link
Copy Markdown

🐰 Bencher Report

Branchbootstrap
Testbedubuntu-latest
Click to view all benchmark results
BenchmarkLatencyBenchmark Result
nanoseconds (ns)
(Result Δ%)
Upper Boundary
nanoseconds (ns)
(Limit %)
Command_Serde/apply/remove📈 view plot
🚷 view threshold
140,390.00 ns
(-2.35%)Baseline: 143,762.39 ns
459,455.96 ns
(30.56%)
Command_Serde/apply/set📈 view plot
🚷 view threshold
142,570.00 ns
(+8.50%)Baseline: 131,396.62 ns
289,020.30 ns
(49.33%)
Command_Serde/pack/delete📈 view plot
🚷 view threshold
119.97 ns
(-1.26%)Baseline: 121.50 ns
144.21 ns
(83.19%)
Command_Serde/pack/delete_index📈 view plot
🚷 view threshold
110.42 ns
(-2.58%)Baseline: 113.35 ns
135.07 ns
(81.75%)
Command_Serde/pack/set📈 view plot
🚷 view threshold
190.83 ns
(-2.69%)Baseline: 196.12 ns
236.60 ns
(80.66%)
Command_Serde/pack/set_index📈 view plot
🚷 view threshold
109.72 ns
(-3.36%)Baseline: 113.53 ns
134.94 ns
(81.31%)
Command_Serde/unpack/delete📈 view plot
🚷 view threshold
183.84 ns
(-3.07%)Baseline: 189.66 ns
233.55 ns
(78.71%)
Command_Serde/unpack/delete_index📈 view plot
🚷 view threshold
165.71 ns
(+0.22%)Baseline: 165.35 ns
204.77 ns
(80.93%)
Command_Serde/unpack/set📈 view plot
🚷 view threshold
245.60 ns
(-0.27%)Baseline: 246.26 ns
290.39 ns
(84.58%)
Command_Serde/unpack/set_index📈 view plot
🚷 view threshold
159.71 ns
(-2.17%)Baseline: 163.25 ns
201.50 ns
(79.26%)
Payload_encryption/pack/inner📈 view plot
🚷 view threshold
63.65 ns
(+1.63%)Baseline: 62.63 ns
76.75 ns
(82.93%)
Payload_encryption/pack/remove_cmd📈 view plot
🚷 view threshold
121.28 ns
(-0.19%)Baseline: 121.51 ns
153.95 ns
(78.78%)
Payload_encryption/pack/set_cmd📈 view plot
🚷 view threshold
237.79 ns
(+4.64%)Baseline: 227.25 ns
285.52 ns
(83.28%)
Payload_encryption/unpack/inner📈 view plot
🚷 view threshold
169.33 ns
(+2.97%)Baseline: 164.45 ns
193.21 ns
(87.64%)
Payload_encryption/unpack/remove_cmd📈 view plot
🚷 view threshold
212.04 ns
(+6.41%)Baseline: 199.26 ns
247.16 ns
(85.79%)
Payload_encryption/unpack/set_cmd📈 view plot
🚷 view threshold
264.57 ns
(+2.45%)Baseline: 258.24 ns
311.44 ns
(84.95%)
Raft_1Node_Latency/prefix/1node📈 view plot
🚷 view threshold
2,538,100.00 ns
(-31.20%)Baseline: 3,688,993.28 ns
6,865,736.65 ns
(36.97%)
Raft_1Node_Latency/read/1node📈 view plot
🚷 view threshold
578.37 ns
(+0.28%)Baseline: 576.76 ns
673.74 ns
(85.85%)
Raft_1Node_Latency/remove/1node📈 view plot
🚷 view threshold
394,860.00 ns
(+3.90%)Baseline: 380,050.78 ns
974,211.12 ns
(40.53%)
Raft_1Node_Latency/write/1node📈 view plot
🚷 view threshold
388,610.00 ns
(+5.50%)Baseline: 368,367.50 ns
777,085.04 ns
(50.01%)
build_snapshot/default📈 view plot
🚷 view threshold
89,754.00 ns
(-3.06%)Baseline: 92,584.64 ns
152,809.32 ns
(58.74%)
fernet token/project📈 view plot
🚷 view threshold
1,430.00 ns
(+0.28%)Baseline: 1,426.04 ns
1,640.11 ns
(87.19%)
get_data_keyspace📈 view plot
🚷 view threshold
0.31 ns
(-2.21%)Baseline: 0.32 ns
0.38 ns
(82.74%)
get_db📈 view plot
🚷 view threshold
0.31 ns
(-2.83%)Baseline: 0.32 ns
0.38 ns
(82.15%)
get_fernet_token_timestamp/project📈 view plot
🚷 view threshold
141.20 ns
(-3.76%)Baseline: 146.72 ns
175.36 ns
(80.52%)
get_keyspace📈 view plot
🚷 view threshold
4.39 ns
(-10.58%)Baseline: 4.91 ns
9.48 ns
(46.33%)
🐰 View full continuous benchmarking report in Bencher

@gtema gtema marked this pull request as ready for review June 19, 2026 13:38
Comment thread crates/cli-manage/src/bootstrap.rs Dismissed
Comment thread crates/cli-manage/src/bootstrap.rs Dismissed
Comment thread crates/cli-manage/src/bootstrap.rs Dismissed
Comment thread crates/cli-manage/src/bootstrap.rs Dismissed
Comment thread crates/cli-manage/src/bootstrap.rs Dismissed
Comment thread crates/cli-manage/src/bootstrap.rs Dismissed
Comment thread crates/cli-manage/src/bootstrap.rs Dismissed
Comment thread crates/cli-manage/src/bootstrap.rs Dismissed
Start implementing analogue to the 'keystone-manage bootstrap' command.
@gtema gtema enabled auto-merge (squash) June 19, 2026 15:12
@gtema gtema merged commit 6ab5ddd into main Jun 19, 2026
30 checks passed
@gtema gtema deleted the bootstrap branch June 23, 2026 12:53
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.

2 participants