Open bugged84 opened 1 month ago
This occurs when using OIDC
Setting Proxy Environment Variables
Name Value
---- -----
PSVersion 7.4.1
PSEdition Core
GitCommitId 7.4.1
OS Ubuntu 22.04.4 LTS
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
PowerShell Environment Information:
OperatingSystem: Unix 5.15.0.10[60](<redacted>)
OsBitVersion: x64
Is64BitProcess: True
CurrentDirectory: /etc/octopus/Work/h0svyZvkRUS5CZu5akQSyg
CurrentLocation: /etc/octopus/Work/h0svyZvkRUS5CZu5akQSyg
TempDirectory: /tmp/
HostProcess: pwsh (15)
Initializing ConditionalAssemblyContext. PSEdition is [Core]. PSVersion is [7.4.1].
Initializing ConditionalAssemblyProvider. AssemblyRootPath is [/usr/local/share/powershell/Modules/Az.Accounts/2.16.0/StartupScripts/../lib].
Registering Az shared AssemblyLoadContext.
AssemblyLoadContext registered.
Enabling AzureRM aliasing
[32;1mMode : [0mProcess
[32;1mContextDirectory : [0mNone
[32;1mContextFile : [0mNone
[32;1mCacheDirectory : [0mNone
[32;1mCacheFile : [0mNone
[32;1mKeyStoreFile : [0mNone
[32;1mSettings : [0m{[InstallationId, [63](<redacted>)e835d5-6a01-4f9c-b424-9af5c38176f8]}
Az Modules: Authenticating with OpenID Connect Federated Token
Attempt 1 of 5 failed: ClientAssertionCredential authentication failed: Persistence check failed. Inspect inner exception for details
Could not find tenant id for provided tenant domain '<redacted>'.
Waiting for 5 seconds before retrying...
Retrying...
[32;1mMode : [0mProcess
[32;1mContextDirectory : [0mNone
[32;1mContextFile : [0mNone
[32;1mCacheDirectory : [0mNone
[32;1mCacheFile : [0mNone
[32;1mKeyStoreFile : [0mNone
[32;1mSettings : [0m{[InstallationId, 63e835d5-6a01-4f9c-b424-9af5c38176f8]}
[33;1mWARNING: You're using Az version 11.3.0. The latest version of Az is 12.1.0. Upgrade your Az modules using the following commands:
Update-PSResource Az -WhatIf -- Simulate updating your Az modules.
Update-PSResource Az -- Update your Az modules.
There will be breaking changes from 11.3.0 to 12.1.0. Open https://go.microsoft.com/fwlink/?(<redacted>) and check the details.[0m
Az Modules: Authenticating with OpenID Connect Federated Token
Using the
Run an Azure Script
step template with a powershell script works withoctopusdeploy/worker-tools:6.1-ubuntu.22.04
container image, but not withoctopusdeploy/worker-tools:6.2.1-ubuntu.22.04
container image.