Skip to content

create tls certificate #30969

@MamdohAlhabeeb

Description

@MamdohAlhabeeb

Describe the bug

I am attempting to update the SSL certificate assigned to an AKS pod, but I am encountering a Python error during the process. I followed the exact same steps in the lower environment, where everything worked as expected without any issues. However, when replicating these steps in the pre-production environment, the error persists, and the certificate update fails.

Related command

az aks command invoke --resource-group [rg-name] --name [aks-name] --command "kubectl create secret tls preprod-cert -n pcp --cert=certificate.crt --key=private.key" --file=.

Errors

/usr/bin/az: line 5: 2081 Killed AZ_INSTALLER=RPM PYTHONPATH="$bin_dir/../lib64/az/lib/python3.9/site-packages" $python_cmd -sm azure.cli "$@

Issue script & Debug output

getting the following error when I append --debug

/usr/bin/az: line 5: 2081 Killed AZ_INSTALLER=RPM PYTHONPATH="$bin_dir/../lib64/az/lib/python3.9/site-packages" $python_cmd -sm azure.cli "$@

Expected behavior

to create the secret and add to the list.

Environment Summary

azure-cli 2.69.0 *

core 2.69.0 *
telemetry 1.1.0

Extensions:
ai-examples 0.2.5
databricks 1.0.1
interactive 0.5.3
ml 2.34.0
ssh 2.0.6
vm-repair 1.0.5

Dependencies:
msal 1.31.2b1
azure-mgmt-resource 23.1.1

Python location '/usr/bin/python3.9'
Config directory '/home/gw/.azure'
Extensions directory '/home/gw/.azure/cliextensions'
Extensions system directory '/usr/lib/python3.9/site-packages/azure-cli-extensions'

Python (Linux) 3.9.19 (main, Dec 18 2024, 20:53:49)
[GCC 11.2.0]

Legal docs and information: aka.ms/AzureCliLegal

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    AKSaz aks/acs/openshiftAuto-AssignAuto assign by botAuto-ResolveAuto resolve by botService AttentionThis issue is responsible by Azure service team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions