-
Notifications
You must be signed in to change notification settings - Fork 7
Description
C:\Data\Agent365\agents>a365 setup
[22:19:54 INF] Agent 365 Setup - Blueprint + Messaging Endpoint Registration
[22:19:54 INF] Creating blueprint and registering messaging endpoint...
[22:19:54 INF]
[22:19:54 INF] Loaded static configuration from: C:\Data\Agent365\agents\a365.config.json
[22:19:54 INF] Synced configuration to global directory: C:\Users\hemantk\AppData\Local\Microsoft.Agents.A365.DevTools.Cli\a365.config.json
[22:19:54 INF] No dynamic state file found at: C:\Data\Agent365\agents\a365.generated.config.json
[22:19:54 INF] Validating Azure CLI authentication and subscription...
[22:19:57 INF] Azure CLI authenticated as: hemantk@project******.onmicrosoft.com
[22:19:57 INF] Active subscription: Subscription Kairo (e855939f---9699-3069240f0f31)
[22:19:57 INF] Using correct subscription: e855939f-2053---3069240f0f31
[22:20:00 WRN] Azure CLI Performance Notice
[22:20:00 INF]
[22:20:00 INF] Azure CLI is using 32-bit Python on your 64-bit Windows system.
[22:20:00 INF] This may cause performance warnings during Azure operations.
[22:20:00 INF]
[22:20:00 INF] To improve performance and eliminate warnings:
[22:20:00 INF]
[22:20:00 INF] 1. Uninstall current Azure CLI:
[22:20:00 INF] winget uninstall Microsoft.AzureCLI
[22:20:00 INF]
[22:20:00 INF] 2. Install 64-bit version:
[22:20:00 INF] winget install --exact --id Microsoft.AzureCLI
[22:20:00 INF]
[22:20:00 INF] This will not affect functionality, only performance.
[22:20:00 INF]
[22:20:00 INF]
[22:20:00 INF] Step 1: Creating agent blueprint...
[22:20:00 INF]
[22:20:00 INF] Detecting platform in: C:\Data\Agent365\agents
[22:20:00 WRN] Could not detect project platform in: C:\Data\Agent365\agents
info: Microsoft.Agents.A365.DevTools.Cli.Services.A365SetupRunner[0]
Detected project platform: Unknown
info: Microsoft.Agents.A365.DevTools.Cli.Services.A365SetupRunner[0]
Agent 365 Setup - Starting...
info: Microsoft.Agents.A365.DevTools.Cli.Services.A365SetupRunner[0]
Subscription: e855939f-2053-47ba-9699-3069240f0f31
info: Microsoft.Agents.A365.DevTools.Cli.Services.A365SetupRunner[0]
Resource Group: hemantk-agentsdk
info: Microsoft.Agents.A365.DevTools.Cli.Services.A365SetupRunner[0]
App Service Plan: hemantk-agent365-plan
info: Microsoft.Agents.A365.DevTools.Cli.Services.A365SetupRunner[0]
Web App: hkagentsdkagent-webapp
info: Microsoft.Agents.A365.DevTools.Cli.Services.A365SetupRunner[0]
Location: westus
info: Microsoft.Agents.A365.DevTools.Cli.Services.A365SetupRunner[0]
info: Microsoft.Agents.A365.DevTools.Cli.Services.A365SetupRunner[0]
==> [0/5] Verifying Azure CLI authentication
info: Microsoft.Agents.A365.DevTools.Cli.Services.A365SetupRunner[0]
Azure CLI already authenticated
info: Microsoft.Agents.A365.DevTools.Cli.Services.A365SetupRunner[0]
Verifying access to Azure management resources...
info: Microsoft.Agents.A365.DevTools.Cli.Services.A365SetupRunner[0]
Management scope verified successfully
info: Microsoft.Agents.A365.DevTools.Cli.Services.A365SetupRunner[0]
info: Microsoft.Agents.A365.DevTools.Cli.Services.A365SetupRunner[0]
==> [1/5] Deploying App Service + enabling Managed Identity
info: Microsoft.Agents.A365.DevTools.Cli.Services.A365SetupRunner[0]
Resource group already exists: hemantk-agentsdk (skipping creation)
info: Microsoft.Agents.A365.DevTools.Cli.Services.A365SetupRunner[0]
Creating App Service plan hemantk-agent365-plan
[22:20:29 ERR] Command failed with exit code 1: D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\OpenSSL/_util.py:6: UserWarning: You are using cryptography on a 32-bit Python on a 64-bit Windows Operating System. Cryptography will be significantly faster if you switch to using a 64-bit Python.
ERROR: Operation cannot be completed without additional quota.
Additional details - Location:
Current Limit (Basic VMs): 0
Current Usage: 0
Amount required for this deployment (Basic VMs): 1
(Minimum) New Limit that you should request to enable this deployment: 1.
Note that if you experience multiple scaling operations failing (in addition to this one) and need to accommodate the aggregate quota requirements of these operations, you will need to request a higher quota limit than the one currently displayed.
warn: Microsoft.Agents.A365.DevTools.Cli.Services.A365SetupRunner[0]
az Create App Service plan returned non-success (exit code 1). Error: D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\OpenSSL/_util.py:6: UserWarning: You are using cryptography on a 32-bit Python on a 64-bit Windows Operating...
info: Microsoft.Agents.A365.DevTools.Cli.Services.A365SetupRunner[0]
Creating web app hkagentsdkagent-webapp with runtime DOTNETCORE:8.0
[22:20:39 ERR] Command failed with exit code 3: D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\OpenSSL/_util.py:6: UserWarning: You are using cryptography on a 32-bit Python on a 64-bit Windows Operating System. Cryptography will be significantly faster if you switch to using a 64-bit Python.
ERROR: The plan 'hemantk-agent365-plan' doesn't exist.
fail: Microsoft.Agents.A365.DevTools.Cli.Services.A365SetupRunner[0]
ERROR: Web app creation failed: D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\OpenSSL/_util.py:6: UserWarning: You are using cryptography on a 32-bit Python on a 64-bit Windows Operating System. Cryptography will be significantly faster if you switch to using a 64-bit Python.
ERROR: The plan 'hemantk-agent365-plan' doesn't exist.
[22:20:39 ERR] Setup failed: Failed to create web app 'hkagentsdkagent-webapp'. Setup cannot continue.
System.InvalidOperationException: Failed to create web app 'hkagentsdkagent-webapp'. Setup cannot continue.
at Microsoft.Agents.A365.DevTools.Cli.Services.A365SetupRunner.RunAsync(String configPath, String generatedConfigPath, Boolean blueprintOnly, CancellationToken cancellationToken) in C:__w\1\s\Agent365-devTools\src\Microsoft.Agents.A365.DevTools.Cli\Services\A365SetupRunner.cs:line 287
at Microsoft.Agents.A365.DevTools.Cli.Commands.SetupCommand.<>c__DisplayClass4_0.<b__1>d.MoveNext() in C:__w\1\s\Agent365-devTools\src\Microsoft.Agents.A365.DevTools.Cli\Commands\SetupCommand.cs:line 139
[22:20:39 FTL] Application terminated unexpectedly
System.InvalidOperationException: Failed to create web app 'hkagentsdkagent-webapp'. Setup cannot continue.
at Microsoft.Agents.A365.DevTools.Cli.Services.A365SetupRunner.RunAsync(String configPath, String generatedConfigPath, Boolean blueprintOnly, CancellationToken cancellationToken) in C:__w\1\s\Agent365-devTools\src\Microsoft.Agents.A365.DevTools.Cli\Services\A365SetupRunner.cs:line 287
at Microsoft.Agents.A365.DevTools.Cli.Commands.SetupCommand.<>c__DisplayClass4_0.<b__1>d.MoveNext() in C:__w\1\s\Agent365-devTools\src\Microsoft.Agents.A365.DevTools.Cli\Commands\SetupCommand.cs:line 139
--- End of stack trace from previous location ---
at System.CommandLine.Invocation.AnonymousCommandHandler.InvokeAsync(InvocationContext context)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass17_0.<b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass19_0.<b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<b__18_0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<b__5_0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass8_0.<b__0>d.MoveNext()
Unexpected error occurred. This may be a bug in the CLI.
Please report this issue at: https://github.com/microsoft/Agent365-devTools/issues