diff --git a/CHANGELOG.md b/CHANGELOG.md index 44af4c09..d9a2e0ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ All notable changes to this project will be documented in this file. - The lifetime of auto generated TLS certificates is now configurable with the role and roleGroup config property `requestedSecretLifetime`. This helps reduce frequent Pod restarts ([#892]). +- Run a `containerdebug` process in the background of each Zookeeper container to collect debugging information ([#881]). ### Fixed @@ -15,6 +16,7 @@ All notable changes to this project will be documented in this file. deployed in one namespace. Existing Stacklets will use the newly created ServiceAccounts after restart ([#889]). +[#881]: https://github.com/stackabletech/zookeeper-operator/pull/881 [#889]: https://github.com/stackabletech/zookeeper-operator/pull/889 [#892]: https://github.com/stackabletech/zookeeper-operator/pull/892 diff --git a/Cargo.lock b/Cargo.lock index 3410c8c0..68060c9d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -270,9 +270,9 @@ checksum = "325918d6fe32f23b19878fe4b34794ae41fc19ddbe53b10571a4874d44ffd39b" [[package]] name = "cc" -version = "1.2.2" +version = "1.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f34d93e62b03caf570cccc334cbc6c2fceca82f39211051345108adcba3eebdc" +checksum = "27f657647bcff5394bf56c7317665bbf790a137a50eaaa5c6bfbb9e27a518f2d" dependencies = [ "jobserver", "libc", @@ -287,9 +287,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "chrono" -version = "0.4.38" +version = "0.4.39" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401" +checksum = "7e36cc9d416881d2e24f9a963be5fb1cd90966419ac844274161d10488b3e825" dependencies = [ "android-tzdata", "iana-time-zone", @@ -300,9 +300,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.22" +version = "4.5.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69371e34337c4c984bbe322360c2547210bf632eb2814bbe78a6e87a2935bd2b" +checksum = "3135e7ec2ef7b10c6ed8950f0f792ed96ee093fa088608f1c76e569722700c84" dependencies = [ "clap_builder", "clap_derive", @@ -310,9 +310,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.22" +version = "4.5.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e24c1b4099818523236a8ca881d2b45db98dadfb4625cf6608c12069fcbbde1" +checksum = "30582fc632330df2bd26877bde0c1f4470d57c582bbc070376afcd04d8cb4838" dependencies = [ "anstream", "anstyle", @@ -334,9 +334,9 @@ dependencies = [ [[package]] name = "clap_lex" -version = "0.7.3" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "afb84c814227b90d6895e01398aee0d8033c00e7466aca416fb6a8e0eb19d8a7" +checksum = "f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6" [[package]] name = "colorchoice" @@ -355,18 +355,18 @@ dependencies = [ [[package]] name = "const_format" -version = "0.2.33" +version = "0.2.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50c655d81ff1114fb0dcdea9225ea9f0cc712a6f8d189378e82bdf62a473a64b" +checksum = "126f97965c8ad46d6d9163268ff28432e8f6a1196a55578867832e3049df63dd" dependencies = [ "const_format_proc_macros", ] [[package]] name = "const_format_proc_macros" -version = "0.2.33" +version = "0.2.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eff1a44b93f47b1bac19a27932f5c591e43d1ba357ee4f61526c8a25603f0eb1" +checksum = "1d57c2eccfb16dbac1f4e61e206105db5820c9d26c3c472bc17c774259ef7744" dependencies = [ "proc-macro2", "quote", @@ -568,7 +568,7 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "06c36cb11dbde389f4096111698d8b567c0720e3452fd5ac3e6b4e47e1939932" dependencies = [ - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -1225,9 +1225,9 @@ dependencies = [ [[package]] name = "js-sys" -version = "0.3.74" +version = "0.3.76" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a865e038f7f6ed956f788f0d7d60c541fff74c7bd74272c5d4cf15c63743e705" +checksum = "6717b6b5b077764fb5966237269cb3c64edddde4b14ce42647430a78ced9e7b7" dependencies = [ "once_cell", "wasm-bindgen", @@ -1242,7 +1242,7 @@ dependencies = [ "jsonptr", "serde", "serde_json", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -1257,7 +1257,7 @@ dependencies = [ "pest_derive", "regex", "serde_json", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -1328,7 +1328,7 @@ dependencies = [ "serde", "serde_json", "serde_yaml", - "thiserror", + "thiserror 1.0.69", "tokio", "tokio-util", "tower", @@ -1351,7 +1351,7 @@ dependencies = [ "serde", "serde-value", "serde_json", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -1389,7 +1389,7 @@ dependencies = [ "pin-project", "serde", "serde_json", - "thiserror", + "thiserror 1.0.69", "tokio", "tokio-util", "tracing", @@ -1403,9 +1403,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" [[package]] name = "libc" -version = "0.2.167" +version = "0.2.168" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09d6582e104315a817dff97f75133544b2e094ee22447d2acf4a74e189ba06fc" +checksum = "5aaeb2981e0606ca11d79718f8bb01164f1d6ed75080182d3abf017e6d244b6d" [[package]] name = "libgit2-sys" @@ -1561,7 +1561,7 @@ dependencies = [ "js-sys", "once_cell", "pin-project-lite", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -1603,7 +1603,7 @@ dependencies = [ "ordered-float 4.5.0", "percent-encoding", "rand", - "thiserror", + "thiserror 1.0.69", "tokio", "tokio-stream", ] @@ -1679,20 +1679,20 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" [[package]] name = "pest" -version = "2.7.14" +version = "2.7.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "879952a81a83930934cbf1786752d6dedc3b1f29e8f8fb2ad1d0a36f377cf442" +checksum = "8b7cafe60d6cf8e62e1b9b2ea516a089c008945bb5a275416789e7db0bc199dc" dependencies = [ "memchr", - "thiserror", + "thiserror 2.0.6", "ucd-trie", ] [[package]] name = "pest_derive" -version = "2.7.14" +version = "2.7.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d214365f632b123a47fd913301e14c946c61d1c183ee245fa76eb752e59a02dd" +checksum = "816518421cfc6887a0d62bf441b6ffb4536fcc926395a69e1a85852d4363f57e" dependencies = [ "pest", "pest_generator", @@ -1700,9 +1700,9 @@ dependencies = [ [[package]] name = "pest_generator" -version = "2.7.14" +version = "2.7.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb55586734301717aea2ac313f50b2eb8f60d2fc3dc01d190eefa2e625f60c4e" +checksum = "7d1396fd3a870fc7838768d171b4616d5c91f6cc25e377b673d714567d99377b" dependencies = [ "pest", "pest_meta", @@ -1713,9 +1713,9 @@ dependencies = [ [[package]] name = "pest_meta" -version = "2.7.14" +version = "2.7.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b75da2a70cf4d9cb76833c990ac9cd3923c9a8905a8929789ce347c84564d03d" +checksum = "e1e58089ea25d717bfd31fb534e4f3afcc2cc569c70de3e239778991ea3b7dea" dependencies = [ "once_cell", "pest", @@ -2084,9 +2084,9 @@ checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" [[package]] name = "serde" -version = "1.0.215" +version = "1.0.216" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6513c1ad0b11a9376da888e3e0baa0077f1aed55c17f50e7b2397136129fb88f" +checksum = "0b9781016e935a97e8beecf0c933758c97a5520d32930e460142b4cd80c6338e" dependencies = [ "serde_derive", ] @@ -2103,9 +2103,9 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.215" +version = "1.0.216" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad1e866f866923f252f05c889987993144fb74e722403468a4ebd70c3cd756c0" +checksum = "46f859dbbf73865c6627ed570e78961cd3ac92407a2d117204c49232485da55e" dependencies = [ "proc-macro2", "quote", @@ -2450,7 +2450,16 @@ version = "1.0.69" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" dependencies = [ - "thiserror-impl", + "thiserror-impl 1.0.69", +] + +[[package]] +name = "thiserror" +version = "2.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8fec2a1820ebd077e2b90c4df007bebf344cd394098a13c563957d0afc83ea47" +dependencies = [ + "thiserror-impl 2.0.6", ] [[package]] @@ -2464,6 +2473,17 @@ dependencies = [ "syn 2.0.90", ] +[[package]] +name = "thiserror-impl" +version = "2.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d65750cab40f4ff1929fb1ba509e9914eb756131cef4210da8d5d700d26f6312" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.90", +] + [[package]] name = "thread_local" version = "1.1.8" @@ -2568,20 +2588,19 @@ dependencies = [ [[package]] name = "tokio-rustls" -version = "0.26.0" +version = "0.26.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c7bc40d0e5a97695bb96e27995cd3a08538541b0a846f65bba7a359f36700d4" +checksum = "5f6d0975eaace0cf0fcadee4e4aaa5da15b5c079146f2cffb67c113be122bf37" dependencies = [ "rustls", - "rustls-pki-types", "tokio", ] [[package]] name = "tokio-stream" -version = "0.1.16" +version = "0.1.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f4e6ce100d0eb49a2734f8c0812bcd324cf357d21810932c5df6b96ef2b86f1" +checksum = "eca58d7bba4a75707817a2c44174253f9236b2d5fbd055602e9d5c07c139a047" dependencies = [ "futures-core", "pin-project-lite", @@ -2590,9 +2609,9 @@ dependencies = [ [[package]] name = "tokio-util" -version = "0.7.12" +version = "0.7.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61e7c3654c13bcd040d4a03abee2c75b1d14a37b423cf5a813ceae1cc903ec6a" +checksum = "d7fcaa8d55a2bdd6b83ace262b016eca0d79ee02818c5c1bcdf0305114081078" dependencies = [ "bytes", "futures-core", @@ -2684,7 +2703,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3566e8ce28cc0a3fe42519fc80e6b4c943cc4c8cef275620eb8dac2d3d4e06cf" dependencies = [ "crossbeam-channel", - "thiserror", + "thiserror 1.0.69", "time", "tracing-subscriber", ] @@ -2877,9 +2896,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" -version = "0.2.97" +version = "0.2.99" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d15e63b4482863c109d70a7b8706c1e364eb6ea449b201a76c5b89cedcec2d5c" +checksum = "a474f6281d1d70c17ae7aa6a613c87fce69a127e2624002df63dcb39d6cf6396" dependencies = [ "cfg-if", "once_cell", @@ -2888,13 +2907,12 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.97" +version = "0.2.99" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d36ef12e3aaca16ddd3f67922bc63e48e953f126de60bd33ccc0101ef9998cd" +checksum = "5f89bb38646b4f81674e8f5c3fb81b562be1fd936d84320f3264486418519c79" dependencies = [ "bumpalo", "log", - "once_cell", "proc-macro2", "quote", "syn 2.0.90", @@ -2903,9 +2921,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.97" +version = "0.2.99" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "705440e08b42d3e4b36de7d66c944be628d579796b8090bfa3471478a2260051" +checksum = "2cc6181fd9a7492eef6fef1f33961e3695e4579b9872a6f7c83aee556666d4fe" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -2913,9 +2931,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.97" +version = "0.2.99" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98c9ae5a76e46f4deecd0f0255cc223cfa18dc9b261213b8aa0c7b36f61b3f1d" +checksum = "30d7a95b763d3c45903ed6c81f156801839e5ee968bb07e534c44df0fcd330c2" dependencies = [ "proc-macro2", "quote", @@ -2926,9 +2944,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-shared" -version = "0.2.97" +version = "0.2.99" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ee99da9c5ba11bd675621338ef6fa52296b76b83305e9b6e5c77d4c286d6d49" +checksum = "943aab3fdaaa029a6e0271b35ea10b72b943135afe9bffca82384098ad0e06a6" [[package]] name = "web-time" diff --git a/Cargo.nix b/Cargo.nix index d4a44945..a0647df8 100644 --- a/Cargo.nix +++ b/Cargo.nix @@ -775,9 +775,9 @@ rec { }; "cc" = rec { crateName = "cc"; - version = "1.2.2"; + version = "1.2.3"; edition = "2018"; - sha256 = "1p7b7sxdr2hh8l9ha4cjyf1cmkigdjy4qcycriqgbjh35gk96kgk"; + sha256 = "0bcga5xf5fgvddfamsjhg89hlydzbdk1fwvcym5kkxfggdj5gxi7"; authors = [ "Alex Crichton " ]; @@ -822,9 +822,9 @@ rec { }; "chrono" = rec { crateName = "chrono"; - version = "0.4.38"; + version = "0.4.39"; edition = "2021"; - sha256 = "009l8vc5p8750vn02z30mblg4pv2qhkbfizhfwmzc6vpy5nr67x2"; + sha256 = "09g8nf409lb184kl9j4s85k0kn8wzgjkp5ls9zid50b886fwqdky"; dependencies = [ { name = "android-tzdata"; @@ -883,10 +883,10 @@ rec { }; "clap" = rec { crateName = "clap"; - version = "4.5.22"; + version = "4.5.23"; edition = "2021"; crateBin = []; - sha256 = "0axx6llpms56g2z4p0dj5rivy43jak1608rjpr5rhk3w6cs1wdv9"; + sha256 = "110cf0i9fmkfqzqhi1h8za9y0vnr5rwhy3wmv1p0rcgp5vnffd9i"; dependencies = [ { name = "clap_builder"; @@ -924,9 +924,9 @@ rec { }; "clap_builder" = rec { crateName = "clap_builder"; - version = "4.5.22"; + version = "4.5.23"; edition = "2021"; - sha256 = "1qdxrfghc4lcc3v5qqmlvzd9ins55cfqijm86qr5464q16sc293f"; + sha256 = "0f28rgc09kdgfq1hgg1bb1ydaw243w6dwyw74syz439k6b32yn1h"; dependencies = [ { name = "anstream"; @@ -994,9 +994,9 @@ rec { }; "clap_lex" = rec { crateName = "clap_lex"; - version = "0.7.3"; + version = "0.7.4"; edition = "2021"; - sha256 = "19yq37my1a5ndx0wlsj6ww03q0yqw2p9h4z0jml0vf978a0lrf5g"; + sha256 = "19nwfls5db269js5n822vkc8dw0wjq2h1wf0hgr06ld2g52d2spl"; }; "colorchoice" = rec { @@ -1033,9 +1033,9 @@ rec { }; "const_format" = rec { crateName = "const_format"; - version = "0.2.33"; + version = "0.2.34"; edition = "2021"; - sha256 = "0jx6ffj65prbx1w9664ddwm73k7hm5g25afyvjq4y4gi3zc5bijh"; + sha256 = "1pb3vx4k0bl3cy45fmba36hzds1jhkr8y9k3j5nnvm4abjb9fvqj"; authors = [ "rodrimati1992 " ]; @@ -1047,6 +1047,7 @@ rec { ]; features = { "__debug" = [ "const_format_proc_macros/debug" ]; + "__inline_const_pat_tests" = [ "__test" "fmt" ]; "__only_new_tests" = [ "__test" ]; "all" = [ "fmt" "derive" "rust_1_64" "assert" ]; "assert" = [ "assertc" ]; @@ -1055,19 +1056,20 @@ rec { "const_generics" = [ "rust_1_51" ]; "constant_time_as_str" = [ "fmt" ]; "derive" = [ "fmt" "const_format_proc_macros/derive" ]; - "fmt" = [ "rust_1_64" ]; + "fmt" = [ "rust_1_83" ]; "konst" = [ "dep:konst" ]; "more_str_macros" = [ "rust_1_64" ]; "nightly_const_generics" = [ "const_generics" ]; "rust_1_64" = [ "rust_1_51" "konst" "konst/rust_1_64" ]; + "rust_1_83" = [ "rust_1_64" ]; }; resolvedDefaultFeatures = [ "default" ]; }; "const_format_proc_macros" = rec { crateName = "const_format_proc_macros"; - version = "0.2.33"; + version = "0.2.34"; edition = "2021"; - sha256 = "1c8f7xh2b2kca9hlzvjplcdkvr4iqpsk4yd236n1nyzljd5s9wgg"; + sha256 = "0i3pxxcl4xvwq4mlfg3csb4j0n6v0mhj07p6yk0vlvdirznc4mqx"; procMacro = true; authors = [ "rodrimati1992 " @@ -1616,7 +1618,7 @@ rec { dependencies = [ { name = "thiserror"; - packageId = "thiserror"; + packageId = "thiserror 1.0.69"; } ]; @@ -3644,9 +3646,9 @@ rec { }; "js-sys" = rec { crateName = "js-sys"; - version = "0.3.74"; + version = "0.3.76"; edition = "2021"; - sha256 = "01g78cvwc5fgsk2p4hnpgd6ggzs1qmh7s3cgg1prbvgnywwf0rd8"; + sha256 = "1dz7v777h2j38wkf8k5iwkfxskn6nff2cdv2jsslyxkpn2svc5v7"; libName = "js_sys"; authors = [ "The wasm-bindgen Developers" @@ -3694,7 +3696,7 @@ rec { } { name = "thiserror"; - packageId = "thiserror"; + packageId = "thiserror 1.0.69"; } ]; devDependencies = [ @@ -3746,7 +3748,7 @@ rec { } { name = "thiserror"; - packageId = "thiserror"; + packageId = "thiserror 1.0.69"; } ]; @@ -4052,7 +4054,7 @@ rec { } { name = "thiserror"; - packageId = "thiserror"; + packageId = "thiserror 1.0.69"; } { name = "tokio"; @@ -4211,7 +4213,7 @@ rec { } { name = "thiserror"; - packageId = "thiserror"; + packageId = "thiserror 1.0.69"; } ]; devDependencies = [ @@ -4354,7 +4356,7 @@ rec { } { name = "thiserror"; - packageId = "thiserror"; + packageId = "thiserror 1.0.69"; } { name = "tokio"; @@ -4407,9 +4409,9 @@ rec { }; "libc" = rec { crateName = "libc"; - version = "0.2.167"; + version = "0.2.168"; edition = "2021"; - sha256 = "1z06pa4y2x2arwm7si12xsaf1cj46l9pazzrvwbsh5a320p5imh9"; + sha256 = "0vab4inpw0dz78nii02hsxp1skqn06xzh64psw8wl1h63scb5bjs"; authors = [ "The Rust Project Developers" ]; @@ -4870,7 +4872,7 @@ rec { } { name = "thiserror"; - packageId = "thiserror"; + packageId = "thiserror 1.0.69"; usesDefaultFeatures = false; } ]; @@ -5044,7 +5046,7 @@ rec { } { name = "thiserror"; - packageId = "thiserror"; + packageId = "thiserror 1.0.69"; usesDefaultFeatures = false; } { @@ -5291,9 +5293,9 @@ rec { }; "pest" = rec { crateName = "pest"; - version = "2.7.14"; + version = "2.7.15"; edition = "2021"; - sha256 = "0hplghvnz8yhs4mgpy7854gkpp6ysr96fy7ircs0k4w33al556c7"; + sha256 = "1p4rq45xprw9cx0pb8mmbfa0ih49l0baablv3cpfdy3c1pkayz4b"; authors = [ "Dragoș Tiselice " ]; @@ -5305,7 +5307,7 @@ rec { } { name = "thiserror"; - packageId = "thiserror"; + packageId = "thiserror 2.0.6"; optional = true; } { @@ -5325,9 +5327,9 @@ rec { }; "pest_derive" = rec { crateName = "pest_derive"; - version = "2.7.14"; + version = "2.7.15"; edition = "2021"; - sha256 = "1p82kbjm5dvflxgj9vl3q78n2v4l9khh2cwizm3kl4ibcdgkc56j"; + sha256 = "0zpmcd1jv1c53agad5b3jb66ylxlzyv43x1bssh8fs7w3i11hrc1"; procMacro = true; authors = [ "Dragoș Tiselice " @@ -5354,9 +5356,9 @@ rec { }; "pest_generator" = rec { crateName = "pest_generator"; - version = "2.7.14"; + version = "2.7.15"; edition = "2021"; - sha256 = "0khcyqjyd8pg1qcivh1xzk9613zbn983ycdclap1f5rh6ikmhmgb"; + sha256 = "0yrpk5ymc56pffv7gqr5rkv92p3dc6s73lb8hy1wf3w77byrc4vx"; authors = [ "Dragoș Tiselice " ]; @@ -5393,9 +5395,9 @@ rec { }; "pest_meta" = rec { crateName = "pest_meta"; - version = "2.7.14"; + version = "2.7.15"; edition = "2021"; - sha256 = "0gfhci2whiz3kiw2k2asj2lcj8rrrp4hm69whdvcpngl1jks4pdp"; + sha256 = "1skx7gm932bp77if63f7d72jrk5gygj39d8zsfzigmr5xa4q1rg1"; authors = [ "Dragoș Tiselice " ]; @@ -6511,9 +6513,9 @@ rec { }; "serde" = rec { crateName = "serde"; - version = "1.0.215"; + version = "1.0.216"; edition = "2018"; - sha256 = "13xqkw93cw9rnbkm0zy1apnilzq7l2xf1qw8m1nkga8i1fnw24v5"; + sha256 = "13ikqs0cvd220530x4rj1m9ab5wcflrwkw7cpvl9fnlkdq0q35qb"; authors = [ "Erick Tryzelaar " "David Tolnay " @@ -6566,9 +6568,9 @@ rec { }; "serde_derive" = rec { crateName = "serde_derive"; - version = "1.0.215"; + version = "1.0.216"; edition = "2015"; - sha256 = "1h2nswy0rmzblil38h12wxsgni1ik63rk22wy19g48v9hrpqc7md"; + sha256 = "0pm5bm4354n40ir12bbs829arlqwjrw0wmzd4xk5r1kkpzdmky26"; procMacro = true; authors = [ "Erick Tryzelaar " @@ -7646,7 +7648,7 @@ rec { }; resolvedDefaultFeatures = [ "default" "proc-macro" ]; }; - "thiserror" = rec { + "thiserror 1.0.69" = rec { crateName = "thiserror"; version = "1.0.69"; edition = "2021"; @@ -7657,12 +7659,31 @@ rec { dependencies = [ { name = "thiserror-impl"; - packageId = "thiserror-impl"; + packageId = "thiserror-impl 1.0.69"; } ]; }; - "thiserror-impl" = rec { + "thiserror 2.0.6" = rec { + crateName = "thiserror"; + version = "2.0.6"; + edition = "2021"; + sha256 = "0izahgy0lzcmcg2i72h9jk9lqd5zpq3z0k8cp7i7gl7b40c2mv4g"; + authors = [ + "David Tolnay " + ]; + dependencies = [ + { + name = "thiserror-impl"; + packageId = "thiserror-impl 2.0.6"; + } + ]; + features = { + "default" = [ "std" ]; + }; + resolvedDefaultFeatures = [ "default" "std" ]; + }; + "thiserror-impl 1.0.69" = rec { crateName = "thiserror-impl"; version = "1.0.69"; edition = "2021"; @@ -7687,6 +7708,32 @@ rec { } ]; + }; + "thiserror-impl 2.0.6" = rec { + crateName = "thiserror-impl"; + version = "2.0.6"; + edition = "2021"; + sha256 = "04k3dz901mymm06j3x6f65hpbsqlk6g51fmiky9g2kqgnk550myn"; + procMacro = true; + libName = "thiserror_impl"; + authors = [ + "David Tolnay " + ]; + dependencies = [ + { + name = "proc-macro2"; + packageId = "proc-macro2"; + } + { + name = "quote"; + packageId = "quote"; + } + { + name = "syn"; + packageId = "syn 2.0.90"; + } + ]; + }; "thread_local" = rec { crateName = "thread_local"; @@ -8046,9 +8093,9 @@ rec { }; "tokio-rustls" = rec { crateName = "tokio-rustls"; - version = "0.26.0"; + version = "0.26.1"; edition = "2021"; - sha256 = "1m00czrmk8x7pdjnz10a3da3i1d0sdf9j9vfp5dnk5ss1q6w8yqc"; + sha256 = "0dxz4bhkn4bwnvzjqvqlg70ba5fslnmf9r6yr87wzq5cx9shjvaz"; libName = "tokio_rustls"; dependencies = [ { @@ -8057,11 +8104,6 @@ rec { usesDefaultFeatures = false; features = [ "std" ]; } - { - name = "rustls-pki-types"; - packageId = "rustls-pki-types"; - rename = "pki-types"; - } { name = "tokio"; packageId = "tokio"; @@ -8087,9 +8129,9 @@ rec { }; "tokio-stream" = rec { crateName = "tokio-stream"; - version = "0.1.16"; + version = "0.1.17"; edition = "2021"; - sha256 = "1wc65gprcsyzqlr0k091glswy96kph90i32gffi4ksyh03hnqkjg"; + sha256 = "0ix0770hfp4x5rh5bl7vsnr3d4iz4ms43i522xw70xaap9xqv9gc"; libName = "tokio_stream"; authors = [ "Tokio Contributors " @@ -8131,9 +8173,9 @@ rec { }; "tokio-util" = rec { crateName = "tokio-util"; - version = "0.7.12"; + version = "0.7.13"; edition = "2021"; - sha256 = "0spc0g4irbnf2flgag22gfii87avqzibwfm0si0d1g0k9ijw7rv1"; + sha256 = "0y0h10a52c7hrldmr3410bp7j3fadq0jn9nf7awddgd2an6smz6p"; libName = "tokio_util"; authors = [ "Tokio Contributors " @@ -8545,7 +8587,7 @@ rec { } { name = "thiserror"; - packageId = "thiserror"; + packageId = "thiserror 1.0.69"; } { name = "time"; @@ -9147,9 +9189,9 @@ rec { }; "wasm-bindgen" = rec { crateName = "wasm-bindgen"; - version = "0.2.97"; + version = "0.2.99"; edition = "2021"; - sha256 = "0p1dxkfcx2avdjkh3cj9lipfnr73q438fyqasw4w2qr892s66pni"; + sha256 = "15k3rzb3kjrxyqnh0916gq99mrpwhwy62smawxxc2w0x3llgcx54"; libName = "wasm_bindgen"; authors = [ "The wasm-bindgen Developers" @@ -9169,20 +9211,6 @@ rec { packageId = "wasm-bindgen-macro"; usesDefaultFeatures = false; } - { - name = "wasm-bindgen-macro"; - packageId = "wasm-bindgen-macro"; - usesDefaultFeatures = false; - target = { target, features }: (("wasm32" == target."arch" or null) && (("unknown" == target."os" or null) || ("none" == target."os" or null)) && (builtins.elem "atomics" targetFeatures)); - features = [ "atomics" ]; - } - { - name = "wasm-bindgen-macro"; - packageId = "wasm-bindgen-macro"; - usesDefaultFeatures = false; - target = { target, features }: (("wasm32" == target."arch" or null) && (("unknown" == target."os" or null) || ("none" == target."os" or null)) && (target."wasm_bindgen_unstable_test_coverage" or false)); - features = [ "coverage" ]; - } ]; features = { "default" = [ "spans" "std" ]; @@ -9199,9 +9227,9 @@ rec { }; "wasm-bindgen-backend" = rec { crateName = "wasm-bindgen-backend"; - version = "0.2.97"; + version = "0.2.99"; edition = "2021"; - sha256 = "1kcqk7ph20fc7k9hprkd28zrb3p4cfy24ygnsgfidjmawc9fydld"; + sha256 = "0ycwa4c68j34687k513djgyy2asn3fw3yp4g9rkq2kvbchwbp2az"; libName = "wasm_bindgen_backend"; authors = [ "The wasm-bindgen Developers" @@ -9215,10 +9243,6 @@ rec { name = "log"; packageId = "log"; } - { - name = "once_cell"; - packageId = "once_cell"; - } { name = "proc-macro2"; packageId = "proc-macro2"; @@ -9241,13 +9265,13 @@ rec { "default" = [ "std" ]; "extra-traits" = [ "syn/extra-traits" ]; }; - resolvedDefaultFeatures = [ "atomics" "coverage" "spans" "std" ]; + resolvedDefaultFeatures = [ "spans" "std" ]; }; "wasm-bindgen-macro" = rec { crateName = "wasm-bindgen-macro"; - version = "0.2.97"; + version = "0.2.99"; edition = "2021"; - sha256 = "0l804si7h527lfzr103bg5wxaa769fa6rmp7dnry9ls2igh40m3h"; + sha256 = "1znlcrk5bvisr3vscwlqkdby959n3sb367zgdzpjwjd7v4giiiic"; procMacro = true; libName = "wasm_bindgen_macro"; authors = [ @@ -9265,20 +9289,18 @@ rec { } ]; features = { - "atomics" = [ "wasm-bindgen-macro-support/atomics" ]; - "coverage" = [ "wasm-bindgen-macro-support/coverage" ]; "default" = [ "std" ]; "spans" = [ "wasm-bindgen-macro-support/spans" ]; "std" = [ "wasm-bindgen-macro-support/std" ]; "strict-macro" = [ "wasm-bindgen-macro-support/strict-macro" ]; }; - resolvedDefaultFeatures = [ "atomics" "coverage" "spans" "std" ]; + resolvedDefaultFeatures = [ "spans" "std" ]; }; "wasm-bindgen-macro-support" = rec { crateName = "wasm-bindgen-macro-support"; - version = "0.2.97"; + version = "0.2.99"; edition = "2021"; - sha256 = "079z3gv3cyqcmaw164i6kgf1iyiw4b65a0hgrpp4svz4frdaxjcq"; + sha256 = "1hihsgyg0kf46kjhgfv8x5g9x0q1d0aizj6n7s84ag1xfrdskmrh"; libName = "wasm_bindgen_macro_support"; authors = [ "The wasm-bindgen Developers" @@ -9308,21 +9330,19 @@ rec { } ]; features = { - "atomics" = [ "wasm-bindgen-backend/atomics" ]; - "coverage" = [ "wasm-bindgen-backend/coverage" ]; "default" = [ "std" ]; "extra-traits" = [ "syn/extra-traits" ]; "spans" = [ "wasm-bindgen-backend/spans" ]; "std" = [ "wasm-bindgen-backend/std" ]; }; - resolvedDefaultFeatures = [ "atomics" "coverage" "spans" "std" ]; + resolvedDefaultFeatures = [ "spans" "std" ]; }; "wasm-bindgen-shared" = rec { crateName = "wasm-bindgen-shared"; - version = "0.2.97"; + version = "0.2.99"; edition = "2021"; links = "wasm_bindgen"; - sha256 = "0jbddll4qzf7wnvfj19kp1v6naajzbv8wcr1arkvs4dsqnlrvsbf"; + sha256 = "19h61snrhh1qhb5gz6zyb89l7fbj1fhmxcvi09p9l0mav8zsnfll"; libName = "wasm_bindgen_shared"; authors = [ "The wasm-bindgen Developers" diff --git a/rust/operator-binary/src/zk_controller.rs b/rust/operator-binary/src/zk_controller.rs index d7188a0a..97b18554 100644 --- a/rust/operator-binary/src/zk_controller.rs +++ b/rust/operator-binary/src/zk_controller.rs @@ -882,6 +882,7 @@ fn build_server_rolegroup_statefulset( {COMMON_BASH_TRAP_FUNCTIONS} {remove_vector_shutdown_file_command} prepare_signal_handlers + containerdebug --output={STACKABLE_LOG_DIR}/containerdebug-state.json --loop & bin/zkServer.sh start-foreground {STACKABLE_RW_CONFIG_DIR}/zoo.cfg & wait_for_termination $! {create_vector_shutdown_file_command} @@ -892,6 +893,10 @@ fn build_server_rolegroup_statefulset( create_vector_shutdown_file_command(STACKABLE_LOG_DIR), }]) .add_env_vars(env_vars) + .add_env_var( + "CONTAINERDEBUG_LOG_DIRECTORY", + format!("{STACKABLE_LOG_DIR}/containerdebug"), + ) // Only allow the global load balancing service to send traffic to pods that are members of the quorum // This also acts as a hint to the StatefulSet controller to wait for each pod to enter quorum before taking down the next .readiness_probe(Probe { diff --git a/tests/templates/kuttl/smoke/10-assert.yaml.j2 b/tests/templates/kuttl/smoke/10-assert.yaml.j2 index 22ebd65a..c80e6eb2 100644 --- a/tests/templates/kuttl/smoke/10-assert.yaml.j2 +++ b/tests/templates/kuttl/smoke/10-assert.yaml.j2 @@ -83,3 +83,10 @@ status: expectedPods: 3 currentHealthy: 3 disruptionsAllowed: 1 +--- +# This test checks if the containerdebug-state.json file is present and valid +apiVersion: kuttl.dev/v1beta1 +kind: TestAssert +timeout: 120 +commands: + - script: kubectl exec -n $NAMESPACE --container zookeeper test-zk-server-primary-0 -- cat /stackable/log/containerdebug-state.json | jq --exit-status