Open jason-ha opened 5 years ago
Powershell is indeed required for the runtime install to work.
Powershell is listed as a pre-req: https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-standalone-deployment-preparation#prepare-the-machines-that-will-serve-as-nodes
@peterpogorski / @anantshankar17 / @raunakpandya though it seems like the local SDK install should be flagging this and either failing gracefully or pulling in the dependency?
How did you know this was a powershell missing issue? Was it from attempted run of "C:\WINDOWS\sysnative\cmd.exe". I get the same messages. I have dropped powershell.exe in windows/system32 but I still see the same issue and logs. What am I missing?
How did you know this was a powershell missing issue? Was it from attempted run of "C:\WINDOWS\sysnative\cmd.exe". I get the same messages. I have dropped powershell.exe in windows/system32 but I still see the same issue and logs. What am I missing?
Exact memory is not there, but I think the message when trying to run MicrosoftServiceFabric.6.4.658.9590.exe /AcceptEula
must have been clear. I would not put powershell.exe in a particular location. Instead add that location to your general PATH environment variable.
Thanks for responding. Powershell's location is in PATH variable. My Service Runtime 7.x install fails and subsequently Service Fabric SDK install also fails. The Service Fabric Runtime .exe run fails with:
Repeated installs to 6.4.658 failed on one system. On another system, install went fine.
Based on other issues I cd'ed to directory with MicrosoftServiceFabric.6.4.658.9590.exe as admin and ran MicrosoftServiceFabric.6.4.658.9590.exe /AcceptEula. Result was that powershell.exe was not found. Not sure what gets powershell in path or not, but that was the difference on two systems and why install worked or didn't.
Snippet of log with failure: DownloadManager Information: 0 : Starting EXE command for product 'Microsoft Azure Service Fabric Runtime - 6.4.658'. Commandline is: 'C:\WINDOWS\sysnative\cmd.exe /c wmic product where name="Microsoft Azure Service Fabric" call uninstall'. Process Id: 22676 DownloadManager Information: 0 : Install exit code for product 'Microsoft Azure Service Fabric Runtime - 6.4.658' is '1' DownloadManager Information: 0 : Ignoring exit code '1' for product 'Microsoft Azure Service Fabric Runtime - 6.4.658' DownloadManager Information: 0 : Starting EXE command for product 'Microsoft Azure Service Fabric Runtime - 6.4.658'. Commandline is: 'C:\WINDOWS\sysnative\cmd.exe /c sc.exe stop KtlLogger'. Process Id: 23688 DownloadManager Information: 0 : Number of bytes downloaded over the internet: '62164992' DownloadManager Information: 0 : Number of bytes after possible decompression: '62164992' DownloadManager Information: 0 : Install exit code for product 'Microsoft Azure Service Fabric Runtime - 6.4.658' is '1060' DownloadManager Information: 0 : Ignoring exit code '1060' for product 'Microsoft Azure Service Fabric Runtime - 6.4.658' DownloadManager Information: 0 : Starting EXE command for product 'Microsoft Azure Service Fabric Runtime - 6.4.658'. Commandline is: 'C:\WINDOWS\sysnative\cmd.exe /c sc.exe stop LeasLayr'. Process Id: 28920 DownloadManager Information: 0 : Install exit code for product 'Microsoft Azure Service Fabric Runtime - 6.4.658' is '1060' DownloadManager Information: 0 : Ignoring exit code '1060' for product 'Microsoft Azure Service Fabric Runtime - 6.4.658' DownloadManager Information: 0 : Moving downloaded file 'C:\Users\jasonha\AppData\Local\Temp\tmpE198.tmp' to: C:\Users\jasonha\AppData\Local\Microsoft\Web Platform Installer\installers\ServiceFabricSDK_3_3_CU6\080E2254D393C7DF2750AE4A5D9481B64C638947\MicrosoftServiceFabricSDK.3.3.658.msi DownloadManager Information: 0 : Starting EXE command for product 'Microsoft Azure Service Fabric Runtime - 6.4.658'. Commandline is: 'C:\Users\jasonha\AppData\Local\Microsoft\Web Platform Installer\installers\ServiceFabricRuntime_6_4_CU6\80B01C5F5D53480A598642C66E49CB2E0A3252F1\MicrosoftServiceFabric.6.4.658.9590.exe /AcceptEULA'. Process Id: 27828 DownloadManager Information: 0 : Install exit code for product 'Microsoft Azure Service Fabric Runtime - 6.4.658' is '1' DownloadManager Error: 0 : Install return code for product 'Microsoft Azure Service Fabric Runtime - 6.4.658' is Failure DownloadManager Information: 0 : Product Microsoft Azure Service Fabric Runtime - 6.4.658 done install completed DownloadManager Information: 0 : Increasing current install to 3