System.IO.DirectoryNotFoundException: Could not find a part of the path '/home/sfuser/sfdevcluster/data/_Node_4/Fabric/Fabric.Config.1.0.0/Settings.xml'.
at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.Fabric.FabricDeployer.XmlHelper.GetExclusiveFilestream(String fileName, FileMode fileMode, UInt32 retryCount)
at System.Fabric.FabricDeployer.XmlHelper.WriteXmlExclusiveT
at System.Fabric.FabricDeployer.DeploymentNode.CreateDeployment()
at System.Fabric.FabricDeployer.UpdateNodeStateOperation.OnExecuteOperation(DeploymentParameters parameters, ClusterManifestType clusterManifest, Infrastructure infrastructure)
at System.Fabric.FabricDeployer.CreateorUpdateOperation.OnExecuteOperation(DeploymentParameters parameters, ClusterManifestType clusterManifest, Infrastructure infrastructure)
at System.Fabric.FabricDeployer.DeploymentOperation.ExecuteOperationPrivate(DeploymentParameters parameters)
at System.Fabric.FabricDeployer.DeploymentOperation.ExecuteOperation(DeploymentParameters parameters, Boolean disableFileTrace)
at System.Fabric.FabricDeployer.Program.Main(String[] args)
Error: FabricDeployer.exe failed
Error: Deploying cluster manifest failed. Check output for details
Linux version 4.4.0-130-generic (buildd@lgw01-amd64-039) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.9) )
i want to use service fabric on linux ,but i failed 4 times on install service fabric。
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
on docker
sudo docker run --name sftestcluster -p 19080:19080 -p 19000:19000 -p 25100-25200:25100-25200 mysfcluster
i got this error
Starting OpenBSD Secure Shell server sshd
...done.
Drop folder path is set to '/home/ClusterDeployer/ClusterData'
Current machine IP Address is 172.17.0.2
Deleting old data root content
rm: cannot remove 'ClusterManifest.SingleMachine.Replaced.xml': No such file or directory
Setting environment for FabricHost & FabricDeployer to run
Running CoreCLR FabricDeployer on ClusterManifest.SingleMachine.xml
System.IO.DirectoryNotFoundException: Could not find a part of the path '/home/ClusterDeployer/ClusterData/Data/N0030/Fabric/Fabric.Config.v1.0/Settings.xml'.
at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.Fabric.FabricDeployer.XmlHelper.GetExclusiveFilestream(String fileName, FileMode fileMode, UInt32 retryCount)
at System.Fabric.FabricDeployer.XmlHelper.WriteXmlExclusiveT
at System.Fabric.FabricDeployer.DeploymentNode.CreateDeployment()
at System.Fabric.FabricDeployer.UpdateNodeStateOperation.OnExecuteOperation(DeploymentParameters parameters, ClusterManifestType clusterManifest, Infrastructure infrastructure)
at System.Fabric.FabricDeployer.CreateorUpdateOperation.OnExecuteOperation(DeploymentParameters parameters, ClusterManifestType clusterManifest, Infrastructure infrastructure)
at System.Fabric.FabricDeployer.DeploymentOperation.ExecuteOperationPrivate(DeploymentParameters parameters)
at System.Fabric.FabricDeployer.DeploymentOperation.ExecuteOperation(DeploymentParameters parameters, Boolean disableFileTrace)
at System.Fabric.FabricDeployer.Program.Main(String[] args)
Error: FabricDeployer.exe failed
so service fabric only can run on windows?
Thanks for the question! We are investigating and will update you shortly.
It can run on both Windows and Linux, and on Linux only RHEL (preview) and Ubuntu (GA) are supported. You can use the container image we provide to get started as well.
Which SKU are you trying it on?
service fabric not work on Ubuntu and docker 。At least I am in this problem
Hello,
I tried installing using the instructions provided in the link, but did not face this issue. Can you please describe the steps that you followed ? The only difference is that I am using the Ubuntu-16.04.4 iso.
Can you check if there is free disk space available for new file creation ?
Did the script while running the command: sudo curl -s https://raw.githubusercontent.com/Azure/service-fabric-scripts-and-templates/master/scripts/SetupServiceFabric/SetupServiceFabric.sh | sudo bash
complete successfully ?
Today,I will try it in virtual machine.
but i think it will fail.
because i'm in china .
The network where the server is not in China will be very bad.

you can see Successfully completed Service Fabric SDK installation and setup
but same error show again
Linux version 4.4.0-130-generic (buildd@lgw01-amd64-039) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.9) ) #156-Ubuntu SMP Thu Jun 14 08:53:28 UTC 2018

@anantshankar17
@raunakpandya to investigate.
Hi,
Can you please check if there is sufficient free disk space in the /home/ directory ? Also can you share the traces generated in the /home/sfuser directory ?
no log in /home/sfuser/sfdevcluster/data/log/Traces directory

what can I do?

ok ,it's my fault ,
My virtual machine hard drive capacity is not enough.
But the documentation didn't tell me that I need at least 20G of capacity.
20G is not enough .... 😱
Most helpful comment
ok ,it's my fault ,
My virtual machine hard drive capacity is not enough.
But the documentation didn't tell me that I need at least 20G of capacity.
20G is not enough .... 😱