Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

serde_yaml v0.8.11 issues in v0.2.0 of kubernix #720

Open
afreakk opened this issue Feb 5, 2021 · 0 comments
Open

serde_yaml v0.8.11 issues in v0.2.0 of kubernix #720

afreakk opened this issue Feb 5, 2021 · 0 comments

Comments

@afreakk
Copy link

afreakk commented Feb 5, 2021

I was getting this when running sudo kubernix

[DEBUG] Kubeconfig created for kube-scheduler
[DEBUG] Creating kubeconfig for admin
[DEBUG] Kubeconfig created for admin
[DEBUG] No previous run file '/home/afreak/temp/kubernix/kubernix-run/etcd/run.yml' found, writing new one
[⠈  1m] ███████░░░░░░░░░░░░░░░░░░  8/28 Starting etcd
thread '<unnamed>' panicked at 'attempted to leave type `linked_hash_map::Node<yaml_rust::yaml::Yaml, yaml_rust::yaml::Yaml>` uninitialized, which is invalid', /build/rustc-1.48.0-src/library/core/src/mem/mod.rs:658:9
stack backtrace:
   0: rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::panicking::panic
   3: linked_hash_map::LinkedHashMap<K,V,S>::insert
   4: <serde_yaml::ser::SerializeStruct as serde::ser::SerializeStruct>::serialize_field
   5: kubernix::process::_IMPL_SERIALIZE_FOR_Run::<impl serde::ser::Serialize for kubernix::process::Run>::serialize
   6: serde_yaml::ser::to_string
   7: kubernix::process::Process::start
   8: kubernix::container::Container::start
...

but when i ran cargo update -p serde_yaml and updated from 0.8.11 to 0.8.16 the error dissapeared.

Maybe we could have a 0.2.1 with 0.8.16 of serde_yaml, but weird i am the first one to experience that issue.
I am using nixos btw.

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

No branches or pull requests

1 participant