CleanFabric 之后的 Azure Service Fabric 先前安装

Azure Service Fabric Previous Installation after CleanFabric

我试图在(可能不正确地)运行在集群中的一个节点上清理后重新安装 Azure Service Fabric。

我已经 运行 CleanFabric.ps1 并得到以下结果:

FabricInstallerSvc is already removed.
FabricSetup.exe is no longer in FabricCodePath. Uninstall may have already run.

当我 运行 TestConfiguration.ps1 对于单机节点时,我得到以下结果:

    Microsoft.Azure.ServiceFabric.WindowsServer.5.3.301.9590> .\TestConfiguration.ps1 -Clust
    erConfigFilePath .\ClusterConfig.Unsecure.DevCluster.json
    Trace folder already exists. Traces will be written to existing trace folder: Microsoft.Azu
    re.ServiceFabric.WindowsServer.5.3.301.9590\DeploymentTraces

    Previous Fabric installation detected on machine localhost. Please clean the machine.
    Run Test-ServiceFabricConfiguration or TestConfiguration.ps1 to validate configuration & environment state. Best Practic
    es Analyzer hit validation error(s).


    LocalAdminPrivilege        : True
    IsJsonValid                : True
    IsCabValid                 : True
    RequiredPortsOpen          : True
    RemoteRegistryAvailable    : True
    FirewallAvailable          : True
    RpcCheckPassed             : True
    NoConflictingInstallations : True
    FabricInstallable          : False
    Passed                     : False

我四处搜索,试图找到解决此问题或有关 CleanFabric 的某些文档的方法,但没有成功。有人知道如何彻底清理机器以在其上重新安装 Service Fabric 吗?

以防其他人 运行 在本地机器上遇到此问题 运行ning windows 这是我修复它的方法:确保干净的织物确实 运行 第一的。然后去关键:[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Service Fabric]
并确保它引用的路径被手动删除(如果你 运行 进入你试图删除的进程 运行ning 文件,只需进入安全模式然后将其全部杀死)清除所有目录,删除密钥本身。这允许我在节点上重新安装一个新集群。