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

Unable to create Azure Managed Cassandra Cluster with CLI and Azure PIPELINE #30454

Open
manishvishnoi opened this issue Dec 2, 2024 · 2 comments
Labels
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

@manishvishnoi
Copy link

manishvishnoi commented Dec 2, 2024

Describe the bug

I am getting a strange error when trying to create Azure Managed Cassandra Cluster from Azure CLI or Auzre Devops pipeline. Here is the error message :-

Related command

The command i am trying to execute from both CLI and pipeline is as follows:-

az managed-cassandra cluster create --cluster-name TEST1234 --resource-group <> --location westeurope --delegated-management-subnet-id ‘/subscriptions//resourceGroups/<>/providers/Microsoft.Network/virtualNetworks/TEST1234’ --initial-cassandra-admin-password cassandra --cassandra-version ‘4.0’ --debug

Errors

Message: Unable to cast object of type ‘Microsoft.Azure.Cosmos.ServiceFramework.Workflow.Core.EmptyOperation’ to type ‘Microsoft.Azure.Cosmos.ServiceFramework.Workflow.Core.Operation`1[System.String]’.

Issue script & Debug output

CLI :-

cli.azure.cli.core.azclierror: (InternalServerError) Unable to cast object of type ‘Microsoft.Azure.Cosmos.ServiceFramework.Workflow.Core.EmptyOperation’ to type ‘Microsoft.Azure.Cosmos.ServiceFramework.Workflow.Core.Operation`1[System.String]’.

ActivityId: 5856118a-ad6b-11ef-90be-a02919dd7a54, Microsoft.Azure.Documents.Common/2.14.0

Code: InternalServerError

Message: Unable to cast object of type ‘Microsoft.Azure.Cosmos.ServiceFramework.Workflow.Core.EmptyOperation’ to type ‘Microsoft.Azure.Cosmos.ServiceFramework.Workflow.Core.Operation`1[System.String]’.

ActivityId: 5856118a-ad6b-11ef-90be-a02919dd7a54, Microsoft.Azure.Documents.Common/2.14.0

az_command_data_logger: (InternalServerError) Unable to cast object of type ‘Microsoft.Azure.Cosmos.ServiceFramework.Workflow.Core.EmptyOperation’ to type ‘Microsoft.Azure.Cosmos.ServiceFramework.Workflow.Core.Operation`1[System.String]’.

ActivityId: 5856118a-ad6b-11ef-90be-a02919dd7a54, Microsoft.Azure.Documents.Common/2.14.0

Code: InternalServerError

Message: Unable to cast object of type ‘Microsoft.Azure.Cosmos.ServiceFramework.Workflow.Core.EmptyOperation’ to type ‘Microsoft.Azure.Cosmos.ServiceFramework.Workflow.Core.Operation`1[System.String]’.

ActivityId: 5856118a-ad6b-11ef-90be-a02919dd7a54, Microsoft.Azure.Documents.Common/2.14.0

Pipeline:-

Unable to cast object of type ‘Microsoft.Azure.Cosmos.ServiceFramework.Workflow.Core.EmptyOperation’ to type ‘Microsoft.Azure.Cosmos.ServiceFramework.Workflow.Core.Operation`1[System.String]’.\r\nActivityId: 84ef274a-ad6a-11ef-b705-a02919dd7a54, Microsoft.Azure.Documents.Common/2.14.0

Expected behavior

Cassandra cluster created

Environment Summary

Azure Devops and CLI with following details:-

PS C:\Users\mavishnoi\agent> az --version
azure-cli 2.57.0 *

core 2.57.0 *
telemetry 1.1.0

Extensions:
account 0.2.5

Dependencies:
msal 1.26.0
azure-mgmt-resource 23.1.0b2

Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\mavishnoi.azure\cliextensions'

Python (Windows) 3.11.7 (tags/v3.11.7:fa7a6f2, Dec 4 2023, 19:24:49) [MSC v.1937 64 bit (AMD64)]

Legal docs and information: aka.ms/AzureCliLegal

Additional context

No response

@manishvishnoi manishvishnoi added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Dec 2, 2024
Copy link

Hi @manishvishnoi,

2.57.0 is not the latest Azure CLI(2.67.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 Dec 2, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the customer-reported Issues that are reported by GitHub users external to the Azure organization. label Dec 2, 2024
@yonzhan
Copy link
Collaborator

yonzhan commented Dec 2, 2024

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

@yonzhan yonzhan added the Service Attention This issue is responsible by Azure service team. label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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