Add "silent mode enabled" error to cloud license activation error dictionary

What does this MR do and why?

Currently, when silent mode is enabled on a self-managed instance, outbound communications are disabled. This means that an admin cannot activate a cloud license. However, the source of the error is communicated vaguely if an admin attempts that (see screenshots below). There's a docs section outlining how to detect if that's the issue.

This MR improves the error messaging to explicitly say that silent mode is enabled, hence the cloud license cannot be activated.

References

Issue: Cloud license activation error: Surface silent ... (#518653 - closed).

Screenshots or screen recordings

Before After
Screenshot_2025-04-24_at_15.40.35 Screenshot_2025-04-24_at_15.41.16

How to set up and validate locally

  1. Start GDK.
  2. Login as the admin user (usually root).
  3. Navigate to /admin/subscription (or via the UI: Admin Area > View details under the License Overview).
  4. Enable silent mode.
  5. Enter a random 24-character string as the activation code (e.g. asdfasdfasdfasdfasdfasdf) and click Activate.
  6. Confirm the Silent mode enabled error appears.
  7. Disable silent mode
  8. Enter a random 24-character string as the activation code (e.g. asdfasdfasdfasdfasdfasdf) and click Activate.
  9. Confirm a different error other than Silent mode enabled message appears.

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading