Skip to content

feat(cmd/rofl): Add support for machine logs#492

Merged
kostko merged 1 commit into
masterfrom
kostko/feature/rofl-machine-logs
Jun 23, 2025
Merged

feat(cmd/rofl): Add support for machine logs#492
kostko merged 1 commit into
masterfrom
kostko/feature/rofl-machine-logs

Conversation

@kostko
Copy link
Copy Markdown
Member

@kostko kostko commented Jun 11, 2025

Requires at least rofl-scheduler 0.2.0 on the provider side (currently in oasisprotocol/oasis-sdk#2236) with Oasis Core master.

@netlify
Copy link
Copy Markdown

netlify Bot commented Jun 11, 2025

Deploy Preview for oasisprotocol-cli canceled.

Name Link
🔨 Latest commit a05dbcd
🔍 Latest deploy log https://app.netlify.com/projects/oasisprotocol-cli/deploys/68592535ab38f4000882ffd0

@kostko kostko force-pushed the kostko/feature/rofl-machine-logs branch 5 times, most recently from 2ea66e9 to b2c8c3c Compare June 17, 2025 08:43
@kostko kostko marked this pull request as ready for review June 17, 2025 11:26
@kostko kostko requested a review from matevz June 17, 2025 11:26
Copy link
Copy Markdown
Member

@matevz matevz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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?

@kostko
Copy link
Copy Markdown
Member Author

kostko commented Jun 18, 2025

Yes, the scheduler needs a configured and routed API domain.

@kostko kostko force-pushed the kostko/feature/rofl-machine-logs branch from b2c8c3c to 6267fc1 Compare June 20, 2025 11:54
@kostko
Copy link
Copy Markdown
Member Author

kostko commented Jun 20, 2025

ROFL Scheduler 0.2.0 and Oasis Core 25.4 have now been released, so we should add CLI support as well.

@kostko kostko force-pushed the kostko/feature/rofl-machine-logs branch 2 times, most recently from 7f3f0df to ea0de4a Compare June 20, 2025 15:16
@kostko kostko force-pushed the kostko/feature/rofl-machine-logs branch from ea0de4a to a05dbcd Compare June 23, 2025 09:58
@kostko kostko enabled auto-merge June 23, 2025 10:01
@kostko kostko merged commit de62af0 into master Jun 23, 2025
4 checks passed
@kostko kostko deleted the kostko/feature/rofl-machine-logs branch June 23, 2025 10:06
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