From 54a8ee2e2116977a9c34c64f4f1b69209389d140 Mon Sep 17 00:00:00 2001 From: carlotaarvela Date: Thu, 30 Apr 2026 11:45:53 +0100 Subject: [PATCH 1/2] Update CNL error message to mention portal and --enable-acns flag --- .../cli/command_modules/acs/managed_cluster_decorator.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/acs/managed_cluster_decorator.py b/src/azure-cli/azure/cli/command_modules/acs/managed_cluster_decorator.py index da8f4c82c3f..f76b1a77704 100644 --- a/src/azure-cli/azure/cli/command_modules/acs/managed_cluster_decorator.py +++ b/src/azure-cli/azure/cli/command_modules/acs/managed_cluster_decorator.py @@ -2768,8 +2768,9 @@ def get_container_network_logs(self, mc: ManagedCluster) -> Union[bool, None]: if enable_cnl and (not acns_enabled or not monitoring_enabled or not cilium_enabled): raise InvalidArgumentValueError( - "Container network logs requires ACNS to be enabled, the monitoring addon to be enabled, " - "and the cilium network dataplane." + "Container network logs require Advanced Container Networking Services to be enabled. " + "Activate this service through the portal or use the CLI with --enable-acns flag. " + "Additionally, the monitoring addon must be enabled and the cilium network dataplane is required." ) enable_cnl = bool(enable_cnl) if enable_cnl is not None else False disable_cnl = bool(disable_cnl) if disable_cnl is not None else False From 56aa508e76173ea9a1bdf425327425dc327b7219 Mon Sep 17 00:00:00 2001 From: carlotaarvela Date: Thu, 30 Apr 2026 12:53:10 +0100 Subject: [PATCH 2/2] Trigger CI