Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create tls certificate #30969

Open
MamdohAlhabeeb opened this issue Mar 6, 2025 · 4 comments
Open

create tls certificate #30969

MamdohAlhabeeb opened this issue Mar 6, 2025 · 4 comments
Labels
AKS az aks/acs/openshift Auto-Assign Auto assign by bot Auto-Resolve Auto resolve by bot bug This issue requires a change to an existing behavior in the product in order to be resolved. customer-reported Issues that are reported by GitHub users external to the Azure organization. Service Attention This issue is responsible by Azure service team.

Comments

@MamdohAlhabeeb
Copy link

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

@MamdohAlhabeeb MamdohAlhabeeb added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Mar 6, 2025
Copy link

Hi @MamdohAlhabeeb,

2.69.0 is not the latest Azure CLI(2.70.0).

If you haven't already attempted to do so, please upgrade to the latest Azure CLI version by following https://learn.microsoft.com/en-us/cli/azure/update-azure-cli.

@azure-client-tools-bot-prd azure-client-tools-bot-prd bot added the Auto-Resolve Auto resolve by bot label Mar 6, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. AKS az aks/acs/openshift Service Attention This issue is responsible by Azure service team. labels Mar 6, 2025
@yonzhan
Copy link
Collaborator

yonzhan commented Mar 6, 2025

Thank you for opening this issue, we will look into it.

@microsoft-github-policy-service microsoft-github-policy-service bot added the Auto-Assign Auto assign by bot label Mar 6, 2025
Copy link
Contributor

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @dyu1208, @FumingZhang, @andyliuliming.

@MamdohAlhabeeb
Copy link
Author

MamdohAlhabeeb commented Mar 6, 2025

I can't upgrade az to 2.70.0 because this run in cloud shell and we can't upgrade the az manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AKS az aks/acs/openshift Auto-Assign Auto assign by bot Auto-Resolve Auto resolve by bot bug This issue requires a change to an existing behavior in the product in order to be resolved. customer-reported Issues that are reported by GitHub users external to the Azure organization. Service Attention This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

2 participants