feat(cmd/rofl): Add support for machine logs#492
Merged
Conversation
✅ Deploy Preview for oasisprotocol-cli canceled.
|
2ea66e9 to
b2c8c3c
Compare
matevz
reviewed
Jun 18, 2025
Member
There was a problem hiding this comment.
I can't seem to test this:
$ oasis rofl machine logs matevz
Error: scheduler does not publish an API endpoint
$ oasis rofl machine show matevz
Name: matevz
Provider: oasis1qrxhk2aqwq7g5fq85a89yv2khdgn2wzccqhg2sal
ID: 0000000000000019
Offer: 0000000000000003
Status: accepted
Creator: oasis1qpupfu7e2n6pkezeaw0yhj8mcem8anj64ytrayne
Admin: oasis1qpupfu7e2n6pkezeaw0yhj8mcem8anj64ytrayne
Node ID: 5MsgQwijUlpH9+0Hbyors5jwmx7tTmKMA4c9leV3prI=
Created at: 2025-06-18 17:28:27 +0200 CEST
Updated at: 2025-06-18 17:30:06 +0200 CEST
Paid until: 2025-07-18 17:28:27 +0200 CEST
Metadata:
net.oasis.scheduler.rak: fcEMOc5SdeYEFEMTyAwL8KyUsFsFWGd+DFaGCzqQWls=
Resources:
TEE: Intel TDX
Memory: 4096 MiB
vCPUs: 2
Storage: 30000 MiB
Deployment:
App ID: rofl1qpjsc3qplf2szw7w3rpzrpq5rqvzv4q5x5j23msu
Metadata:
net.oasis.deployment.orc.ref: rofl.sh/0ba0712d-114c-4e39-ac8e-b28edffcada8:1747909776@sha256:77ff0dc76adf957a4a089cf7cb584aa7788fef027c7180ceb73a662ede87a217
Commands:
<no queued commands>
I built the rofl-scheduler branch oasisprotocol/oasis-sdk#2236 and the latest master Oasis Core. Both were deployed to my node 5MsgQwijUlpH9+0Hbyors5jwmx7tTmKMA4c9leV3prI=. Is there sth else I forgot?
Member
Author
|
Yes, the scheduler needs a configured and routed API domain. |
b2c8c3c to
6267fc1
Compare
Member
Author
|
ROFL Scheduler 0.2.0 and Oasis Core 25.4 have now been released, so we should add CLI support as well. |
7f3f0df to
ea0de4a
Compare
ea0de4a to
a05dbcd
Compare
matevz
approved these changes
Jun 23, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requires at least rofl-scheduler 0.2.0 on the provider side (currently in oasisprotocol/oasis-sdk#2236) with Oasis Core master.