avrabe / fmu-rs Goto Github PK
View Code? Open in Web Editor NEWFullMetalUpdate Python client compatible Rust application.
License: MIT License
FullMetalUpdate Python client compatible Rust application.
License: MIT License
To store the information what has been checked out.
Everything not being checked out will be removed.
Aug 29 17:34:34 ubuntu systemd[1]: Started fmu.service.
Aug 29 17:34:34 ubuntu fmu_rs[2837]: Aug 29 17:34:34.305 INFO fmu_rs: Value for config: /config.cfg
Aug 29 17:34:34 ubuntu fmu_rs[2837]: Aug 29 17:34:34.305 INFO fmu_rs: LogLevel: debug
Aug 29 17:34:34 ubuntu fmu_rs[2837]: Aug 29 17:34:34.305 INFO fmu_rs: HawkbitOpts { hostname: "http://:80", tenant_id: "DEFAULT", target_name:
"FullMetalUpdate_Demo", auth_token: "380ff2b5908e776cb69159f3f4477e4f", hawkbit_vendor_name: "FullMetalUpdate" }
Aug 29 17:34:34 ubuntu fmu_rs[2837]: Aug 29 17:34:34.305 INFO fmu_rs: OstreeOpts { hostname: "http://:80/ostree", ostree_name_remote: "fullmet
alupdate", ostree_gpg_verify: false, ostreepush_ssh_port: "30022", ostreepush_ssh_user: "root", ostreepush_ssh_pwd: "root" }
Aug 29 17:34:34 ubuntu fmu_rs[2837]: Aug 29 17:34:34.305 INFO fmu_rs::container_ostree: Getting refs from repo:/apps/ostree_repo
Aug 29 17:34:34 ubuntu fmu_rs[2837]: Aug 29 17:34:34.307 INFO fmu_rs::container_ostree: refs {
Aug 29 17:34:34 ubuntu fmu_rs[2837]: "hello-world:hello-world": "ff50012bff33cf98e29e5a7ed6ec03cf75c2b81585becea5012d73de50b65609",
Aug 29 17:34:34 ubuntu fmu_rs[2837]: }
Aug 29 17:34:34 ubuntu fmu_rs[2837]: Aug 29 17:34:34.307 INFO fmu_rs::container_ostree: There are 1 containers.
Aug 29 17:34:34 ubuntu fmu_rs[2837]: Aug 29 17:34:34.308 ERROR fmu_rs::container_ostree: Problem opening or reading the file /apps/hello-world/CheckoutDone:
Os { code: 2, kind: NotFound, message: "No such file or directory" }
Aug 29 17:34:34 ubuntu fmu_rs[2837]: Aug 29 17:34:34.308 INFO fmu_rs::container_ostree: Create application directory /apps/hello-world
Aug 29 17:34:34 ubuntu fmu_rs[2837]: (process:2837): OSTree-CRITICAL **: 17:34:34.309: _ostree_repo_file_new_for_commit: assertion 'strlen (commit) == OSTREE
_SHA256_STRING_LEN' failed
Aug 29 17:34:34 ubuntu fmu_rs[2837]: Aug 29 17:34:34.309 INFO fmu_rs::container_ostree: Checked out application directory /apps/hello-world with revision (h
ello-world:hello-world)
Aug 29 17:34:34 ubuntu fmu_rs[2837]: thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such
file or directory" }', src/systemd.rs:16:35
Aug 29 17:34:34 ubuntu fmu_rs[2837]: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Aug 29 17:34:34 ubuntu systemd[1]: fmu.service: Main process exited, code=exited, status=101/n/a
Aug 29 17:34:34 ubuntu systemd[1]: fmu.service: Failed with result 'exit-code'.
https://github.com/avrabe/fmu-rs/blob/main/src/container_ostree.rs#L134 just returns and then the checkout is failing.
thread 'main' panicked at 'called
Result::unwrap()on an
Err value: Error { domain: g-io-error-quark, code: 1, message: "opening repo: opendir(objects): No such file or directory" }', src/container_ostree.rs:131:54
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.