Skip to content

fix: improve Cinema 4D license error handling - #530

Merged
karthikbekalp merged 1 commit into
aws-deadline:mainlinefrom
karthikbekalp:codex/fail-fast-cinema4d-license
Aug 18, 2026
Merged

fix: improve Cinema 4D license error handling#530
karthikbekalp merged 1 commit into
aws-deadline:mainlinefrom
karthikbekalp:codex/fail-fast-cinema4d-license

Conversation

@karthikbekalp

@karthikbekalp karthikbekalp commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • fail Cinema 4D startup immediately when fatal RLM licensing output is detected
  • emit the licensing failure and guidance as separate, readable log lines
  • direct BYOL users to check their license configuration and availability
  • direct AWS Deadline Cloud usage-based licensing (UBL) users who need a higher License sessions per license endpoint limit to contact the AWS Deadline Cloud team
  • centralize definitive license errors and non-interactive license prompts under an unconditional fail-fast handler

Testing

  • hatch run fmt
  • hatch run lint
  • hatch run test (371 passed, 6 skipped)
  • submitted a Cinema 4D 2026 job to an isolated Deadline Cloud queue and Spot GPU fleet with invalid license endpoints; openjd_fail followed the detected license error by 1 ms
2026/08/18 12:44:55-07:00 STDOUT: Enter RLM Settings (ENTER to keep input):
2026/08/18 12:44:55-07:00 STDOUT: No available licenses to choose.
2026/08/18 12:44:55-07:00 STDOUT: RLM method:
2026/08/18 12:44:55-07:00 STDOUT: 1) Online
2026/08/18 12:44:55-07:00 STDOUT: 2) Offline
2026/08/18 12:44:55-07:00 STDOUT: Q) Quit
2026/08/18 12:44:55-07:00 openjd_fail: Error encountered while starting adaptor: Cinema 4D failed to acquire a license.
2026/08/18 12:44:55-07:00 If you are using bring your own license (BYOL), check your license configuration and availability.
2026/08/18 12:44:55-07:00 If you are using usage-based licensing (UBL) from AWS Deadline Cloud and need a higher 'License sessions per license endpoint' limit, contact the AWS Deadline Cloud team to request an increase.
2026/08/18 12:44:55-07:00 Error: No available licenses to choose.
2026/08/18 12:44:55-07:00 Process pid 14433 exited with code: 1 (unsigned) / 0x1 (hex)

@karthikbekalp
karthikbekalp requested a review from a team as a code owner August 18, 2026 19:20
@github-actions github-actions Bot added the waiting-on-maintainers Waiting on the maintainers to review. label Aug 18, 2026
@karthikbekalp
karthikbekalp force-pushed the codex/fail-fast-cinema4d-license branch from a6889b0 to 4405156 Compare August 18, 2026 19:25
@karthikbekalp
karthikbekalp enabled auto-merge (squash) August 18, 2026 19:33
Comment thread src/deadline/cinema4d_adaptor/Cinema4DAdaptor/adaptor.py
Comment thread src/deadline/cinema4d_adaptor/Cinema4DAdaptor/adaptor.py Outdated
@karthikbekalp
karthikbekalp marked this pull request as draft August 18, 2026 19:37
auto-merge was automatically disabled August 18, 2026 19:37

Pull request was converted to draft

@karthikbekalp
karthikbekalp force-pushed the codex/fail-fast-cinema4d-license branch from 4405156 to 28ee491 Compare August 18, 2026 19:38
Comment thread src/deadline/cinema4d_adaptor/Cinema4DAdaptor/adaptor.py
Comment thread src/deadline/cinema4d_adaptor/Cinema4DAdaptor/adaptor.py Outdated
Comment thread test/unit/deadline_adaptor_for_cinema4d/Cinema4DAdaptor/test_adaptor.py Outdated
@karthikbekalp
karthikbekalp force-pushed the codex/fail-fast-cinema4d-license branch 2 times, most recently from 0717e3d to 703afb1 Compare August 18, 2026 20:04
@karthikbekalp
karthikbekalp marked this pull request as ready for review August 18, 2026 20:09
@karthikbekalp
karthikbekalp enabled auto-merge (squash) August 18, 2026 20:09
Comment thread src/deadline/cinema4d_adaptor/Cinema4DAdaptor/adaptor.py
Signed-off-by: Karthik Bekal Pattathana <133984042+karthikbekalp@users.noreply.github.com>
@karthikbekalp
karthikbekalp force-pushed the codex/fail-fast-cinema4d-license branch from 703afb1 to 1631734 Compare August 18, 2026 20:37
@karthikbekalp karthikbekalp changed the title fix: fail fast on Cinema 4D license failures fix: improve Cinema 4D license error handling Aug 18, 2026
Comment thread src/deadline/cinema4d_adaptor/Cinema4DAdaptor/adaptor.py
@karthikbekalp
karthikbekalp merged commit d2221e8 into aws-deadline:mainline Aug 18, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

waiting-on-maintainers Waiting on the maintainers to review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants