Created
February 18, 2014 04:25
-
-
Save abdullin/9064635 to your computer and use it in GitHub Desktop.
FoundationDB dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:12.04 | |
# For FDB 2.0.1 | |
RUN apt-get update -qq | |
RUN apt-get install -y wget -qq | |
RUN cd /tmp ; wget https://foundationdb.com/downloads/I_accept_the_FoundationDB_Community_License_Agreement/2.0.1/foundationdb-clients_2.0.1-1_amd64.deb --no-check-certificate; \ | |
wget https://foundationdb.com/downloads/I_accept_the_FoundationDB_Community_License_Agreement/2.0.1/foundationdb-server_2.0.1-1_amd64.deb --no-check-certificate | |
#Hack to avoid install problem - we break FDB server on purpose (to prevent if from starting) | |
RUN mkdir /etc/foundationdb && touch /etc/foundationdb/fdb.cluster | |
RUN cd /tmp; dpkg -i foundationdb-clients_2.0.1-1_amd64.deb | |
RUN cd /tmp; dpkg -i foundationdb-server_2.0.1-1_amd64.deb | |
# actually create FDB cluster file | |
RUN mktemp -u local:[email protected]:4500 > /etc/foundationdb/fdb.cluster && \ | |
chown foundationdb:foundationdb /etc/foundationdb && \ | |
chown -f foundationdb:foundationdb /etc/foundationdb/fdb.cluster && \ | |
chmod -f 0644 /etc/foundationdb/fdb.cluster | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Error log while trying to log into the container and start FDB server | |
<Event Severity="10" Time="1392697279.637074" Type="Binding" Machine="0.0.0.0:0" ID="0000000000000000" PublicAddress="127.0.0.1:4500" ListenAddress="127.0.0.1:4500"/> | |
<Event Severity="10" Time="1392697279.637074" Type="ProgramStart" Machine="127.0.0.1:4500" ID="0000000000000000" RandomSeed="210929385" SourceVersion="6960b58a690c (release-2.0) release-2.0.1" Version="2.0.1" PackageName="2.0" DataFolder="/var/lib/foundationdb/data/4500" ConnectionString="local:[email protected]:4500" ActualTime="1392697279" CommandLine="/usr/sbin/fdbserver --cluster_file /etc/foundationdb/fdb.cluster --datadir /var/lib/foundationdb/data/4500 --listen_address public --logdir /var/log/foundationdb --public_address auto:4500" BuggifyEnabled="0"/> | |
<Event Severity="10" Time="1392697279.637074" Type="StartingFDBD" Machine="127.0.0.1:4500" ID="0000000000000000" Locality="DC: (unset) MachineID: 766762171d9b1f2d MachineClass: unset" DiskPath="/var/lib/foundationdb/data/4500" CoordPath="/var/lib/foundationdb/data/4500"/> | |
<Event Severity="10" Time="1392697279.637074" Type="CoordinationServer" Machine="127.0.0.1:4500" ID="6e088d6473d68b28" myInterfaceAddr="127.0.0.1:4500" Folder="/var/lib/foundationdb/data/4500"/> | |
<Event Severity="10" Time="1392697279.637074" Type="CodeCoverage" Machine="127.0.0.1:4500" ID="0000000000000000" File="flow/FlowTransport.actor.cpp" Line="491" Condition="true"/> | |
<Event Severity="10" Time="1392697279.637074" Type="StartingTesterServerCore" Machine="127.0.0.1:4500" ID="9f5df22f3b87a425"/> | |
<Event Severity="10" Time="1392697279.637074" Type="AFCUnderlyingOpenBegin" Machine="127.0.0.1:4500" ID="0000000000000000" filename="/var/lib/foundationdb/data/4500/.fdb-lock"/> | |
<Event Severity="10" Time="1392697279.637074" Type="AsyncFileKAIOOpenFailed" Machine="127.0.0.1:4500" ID="0000000000000000" Filename="/var/lib/foundationdb/data/4500/.fdb-lock" Flags="458758" Error="io_error" ErrorCode="1510" UnixErrorCode="16" UnixError="Invalid argument"/> | |
<Event Severity="40" Time="1392697279.637074" Type="OpenLockError" Machine="127.0.0.1:4500" ID="b922adb479800821" Error="io_error" ErrorCode="1510"/> | |
<Event Severity="40" Time="1392697279.637074" Type="workerServer" Machine="127.0.0.1:4500" ID="0000000000000000" Error="io_error" ErrorCode="1510"/> | |
<Event Severity="10" Time="1392697279.637074" Type="CoordinationServerError" Machine="127.0.0.1:4500" ID="6e088d6473d68b28" Error="operation_cancelled" ErrorCode="1101"/> | |
<Event Severity="40" Time="1392697279.637074" Type="StopAfterError" Machine="127.0.0.1:4500" ID="0000000000000000" Error="io_error" ErrorCode="1510"/> | |
<Event Severity="10" Time="1392697279.637074" Type="Net2Running" Machine="127.0.0.1:4500" ID="0000000000000000"/> | |
<Event Severity="10" Time="1392697279.720825" Type="ElapsedTime" Machine="127.0.0.1:4500" ID="0000000000000000" SimTime="0.0837507" RealTime="0.0748882" RandomUnseed="85517"/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment