69 Commits

Author SHA1 Message Date
Patryk
60b93937a7 build: Fix for incorrectly built lizardfs-uraft .deb package
Added missing lizardfs-ha-master.service to lizardfs-uraft .deb package.

Fixes #719

Change-Id: I1f2c987ccc93b15eef41407530120c842d1f7db9
2019-03-11 12:07:41 +01:00
Hazeman
a00615107d Release version 3.13.0-rc1
Change-Id: I729888e0a0a778a9b74070e033fb9009efcd512d
2018-06-28 13:11:11 +02:00
Piotr Sarna
50785fa8f9 uraft: Expand documentation
This commit adds more documentation entries to lizardfs-uraft.

Change-Id: I8a0a028b264298fe6047b3f73aeaaebb22ce97d9
2018-06-22 16:39:28 +02:00
Piotr Sarna
5049aa7037 uraft: Add packaging to uraft
This commit adds a lizardfs-uraft package to packaging systems
for both debian and rpm.

Change-Id: I84d76261254b52f912b195132d6f4a9c95d41baf
2018-06-21 14:34:49 +02:00
Hazeman
462350980e uraft: Add uraft
This commit adds uraft implementation.

Change-Id: If766e654301dc52b7bdc22cdcfd1771e3b0c2b1c
2018-06-21 14:34:25 +02:00
Hazeman
7085958ee6 mount, fuse: Add mfsmount3
This commit adds mfsmount3 executable linked to FUSE3 library.

Change-Id: I327e8afbf1370c4f53c09b7538e5cc35558cac5b
2018-06-13 16:07:26 +02:00
Piotr Sarna
a151ab0abc Switch to unstable version 3.13.0-devel
Change-Id: I53e1562f7bd0b49e2471e314f0681b80197578a0
2017-11-28 15:04:04 +01:00
Piotr Sarna
942e61f154 Release version 3.12.0-rc1
Change-Id: If2b5c57070eec19bb4d98d61e78d827406bbb980
2017-11-28 14:06:01 +01:00
Piotr Sarna
45845d400a build: Add new README to packaging configuration
This commit updates all references to README file in packaging files
to new README.md file.

Change-Id: Ia2e1e8c18618650427f1d674477a8314144de8e4
2017-11-22 16:08:31 +01:00
Hazeman
3bddb0fa94 debian, rpm: Add lizardfs-nfs-ganesha package
This commit adds package with nfs-ganesha fsal plugin.

Change-Id: I95c842dc05d9c0662e5cbe756b27919dcc291f5c
2017-09-18 14:04:51 +02:00
Hazeman
9a1b8ef307 mount, client: Fix bugs in client code
This commit fixes following bugs in client:

- More consistent cmake file with missing pic targets.
- Missing registration of link function.
- Handling of empty result from readdir.

Change-Id: I66da2e14d4c1cac9a1b4ec88713d907bf94b3025
2017-08-02 15:37:58 +02:00
Piotr Sarna
b10854bc09 debian, rpm: Add lizardfs-lib-client package
This commit moves client library to a separate package.

Change-Id: I84555fb34926e2a2d7f293bba325c15a091bc669
2017-07-19 14:55:52 +02:00
Piotr Sarna
adbd0f27ee debian, rpm: Remove deprecated mfssnapshot
This commit removes deprecated mfssnapshot utility,
since `lizardfs makesnapshot` exists. mfsmakesnapshot is still kept
for backward compatibility, but is deprecated as well.

Change-Id: I622de33ffef9ae89272fcdbdb3788103d778b666
2017-06-29 11:59:27 +02:00
Hazeman
9c80cad887 Switch to unstable version 3.12.0-devel
Change-Id: Ife14e85d5cee13e6237f4c6e27109269231c8bde
2017-05-11 13:53:57 +02:00
Piotr Sarna
81c1e7f3bc Release version 3.11.0
Change-Id: Ia33e380148a82e493cf4507ed94e3d71effe72f2
2017-05-09 15:42:14 +02:00
Maksymilian Paszkiewicz
d39f4ee70b master, tools: Add recursive remove operation
This commit adds new tool which is used for removing
files and directories recursively.
It is advised to use this command once tools for stopping tasks
are available.

Closes #254

Change-Id: I2f1043a1b707c2db66ed4d37de08eb9a51935eee
2017-03-17 11:32:04 +01:00
Piotr Sarna
cb9ef5e2f4 Switch to unstable version 3.11.0-devel
This commit comes with a switch to semantic versioning.

Closes #462

Change-Id: I435c44e7cdc062167e0ddf5c36c965d9caf71e90
2017-01-04 13:49:23 +02:00
Piotr Sarna
a5255cb81b Switch to unstable version 3.10.5
Somewhat too late.

Change-Id: I587731eebc4b991c0bb3ca6034788516e9a920eb
2016-12-16 17:15:10 +02:00
Piotr Sarna
220ec4bbcc rpm: Add missing entry to lizardfs.spec
This commit adds missing mfsmount.cfg entry to lizardfs.spec file.

Change-Id: Ib4c3407d86a781cc7440f82f502d52d2ae254396
2016-10-28 09:57:17 +02:00
Michal Bielicki
008fe3d2ee Changed distro recognition on rpm based systems
This commit makes rpm based system use /etc/redhat-release
for distro recognition, because lsb_release binary does not exist
on newer releases of Fedora anymore.
It also adds fedora24 to the buildable targets in .spec file.

Change-Id: I5518fc30d9eb6b7b4dbeeb22109b7999306140a2
2016-10-21 16:19:40 +02:00
Piotr Sarna
5b4a377036 Release version 3.10.4
Change-Id: I138f46e57fae59309efe769693dca90124b24557
2016-10-18 09:57:43 +02:00
Piotr Sarna
c181a01940 Switch to unstable version 3.10.3
Change-Id: I4a9d813fd1afc844260e36095d109ce9d3e2e885
2016-09-12 15:56:36 +02:00
Piotr Sarna
26dd5273ce Release version 3.10.2
Change-Id: Id053b677a0381c24e3cfca6ef9a7635b7f4768cf
2016-09-12 15:42:09 +02:00
Piotr Sarna
91a2eed08b tools: Add bash completion to lizardfs utility
This commit adds basic bash completion to lizardfs utility,
which allows using [TAB] to auto-complete supported commands.

Change-Id: I369b360a7460db7eee2444663a7aaad54383a6d3
2016-08-11 15:26:49 +02:00
Maksymilian Paszkiewicz
23e3af5ac7 tools: Add lizardfs command to perform tools operations
This commit introduces new means of using lizardfs tools.
From now on, tools can be used with command:
lizardfs [tool_name] [params]
(eg. old 'mfsgetgoal' is 'lizardfs getgoal')
Additionally, running 'lizardfs' command without
parameters opens a prompt that allows clients to
perform tools operations by their name
(eg. dirinfo [params])
and supports basic operations like 'cd' or 'ls'.

Change-Id: I35d72e46febc36677f38a22fc09f0cc187804225
2016-08-09 09:13:23 +02:00
Piotr Sarna
e05d04dec5 rpm: Add pam initialisation to chunkserver
This commit adds initialisation of pam with pam.d/lizardfs file
to chunkserver.

Closes #429

Change-Id: I265c89c9f70162bb01be9217c7e633d8d82d18e2
2016-07-21 15:34:31 +02:00
Fretek
1d79e7f07e Switch to unstable version 3.10.1
Change-Id: Iddbd603b3bb3a785b7df05d154bc93717bd01af1
2016-04-14 14:05:31 +02:00
Fretek
d898f336b3 Release version 3.10.0-rc
Change-Id: I3613aaae9e4980d368a12a7ecc377a8f14d5bf77
2016-03-14 17:07:34 +01:00
Fretek
3c892d850b Switch to unstable version 3.9.5
Change-Id: I567eea77d130438aec42423a7fabff853ef53c48
2015-12-14 15:57:15 +01:00
Piotr Sarna
836ec6ee54 Release version 3.9.4
Change-Id: Ib7866a92995ceed5c21a11660b6bff8f46041f72
2015-12-09 11:32:07 +02:00
Dmitry Smirnov
6fda749418 cgi, systemd: Improve lizardfs-cgiserv.service
This commit updates reference to man pages, sets appropriate defaults
and allows overriding of host, port and data path from config file.

Change-Id: I1627ab92fa1b76e1a32009372ecc1a466b427880
2015-12-02 10:45:03 +02:00
Dmitry Smirnov
ffc52fa4b0 systemd: Update unit sections
This commit adds references to man pages to .service files
and removes references to obsolete targets (like syslog) from dependencies.

Change-Id: I5a61df28a7ab0df33e3167dc052bc91666682392
2015-12-02 09:03:23 +01:00
lpietrzak
707866df46 Switch to unstable version 3.9.3
Change-Id: I95c2ab451861ea7ea3db000603734e648adc1645
2015-10-28 15:45:44 +02:00
lpietrzak
f52edb4b92 rpm: Fix release version in lizardfs.spec
Change-Id: Id05e5027debc29e38cd0653381342f262426c271
2015-10-26 10:17:59 +01:00
Piotr Sarna
5645fb0b7b Release version 3.9.2
Change-Id: Ib124732adb5b95fa65332023485385d89519440a
2015-10-23 16:13:52 +02:00
Hazeman
e9976ceb3a master, debian, rpm: Use system configuration to set open file limit
This commit makes changes in main.cc so it uses system configuration
files to set open files limit. Also installation scripts create
proper config files in post install section.

Change-Id: Ia6f48b6e9e0884240c604adbeddb261012befd31
2015-10-23 15:24:52 +02:00
Hazeman
01f706e51c rpm: Fix typo in changelog
Fix typo in rpm changelog.

Change-Id: Ic1fdcaae92a5a50837aea0c097887e80454d8644
2015-07-08 13:25:38 +02:00
Fretek
a95480b579 cmake, debian, rpm: Change version to 3.9.1-rc
This commit changes version to 3.9.1 unstable,
which is a release candidate for version 4.0.0.

Change-Id: Ie5dcb8fc71f47901ed53b32b476b5f5368826060
2015-07-07 15:19:01 +02:00
wajcha
9147fa737b Merge lizardfs into efs
Change-Id: If8a62b747d20da38334730a2cf8a6e9f84d33a65
2015-06-19 09:57:15 +02:00
Frank Denis
ca6be5a247 all: Change headers in shell scripts
This commit changes headers in scripts by using /usr/bin/env bash
instead of hardcoded /bin/bash path, making them more portable

Change-Id: I9a057af9adf662092a7a43cb4a62b1850e8a047a
2015-06-15 13:59:12 +02:00
lpietrzak
ecc383475b cmake, debian, rpm: Change version to 2.6.1
Change version to 2.6.1 so that newly created packages won't be
confused with the stable release.

Change-Id: I231e9543e07bd13516d6cf9d87b483323ca47fce
2015-06-09 14:58:24 +02:00
wajcha
c620707c44 all: Merge branch '2.6.0-wip' into master
Merge release branch 2.6.0-wip to master

Change-Id: I573145a74c8eba19350059aa4813a50faca76beb
2015-06-09 14:56:16 +02:00
Piotr Sarna
02747c012d ha-cluster: Drop pacemaker/corosync stack
This commit removes pacemaker/corosync based stack from LizardFS.
The mentioned utilities were used as a high availability cluster management,
but they did not meet the requirements of compatibility, user-friendliness
and stability.
This commit is associated with introducing uraft as a high availability
cluster management system.

Change-Id: I493570ca1e923e5b82cac11bbb51fbafb3959537
2015-06-02 16:05:58 +02:00
wajcha
d0dca04f88 Merge branch 'lizardfs' into efs
Change-Id: I35e701686f0caf1ab7ad14c1bac62cb4e0cdd9eb
2015-06-01 15:25:13 +02:00
Marcin Sulikowski
17981a5b30 Release version 2.6.0
This commit removes unstable HA-related packages -- these packages will
be released in one of the next stable releases.

Change-Id: I52b1190410b905559291fd3685be8605fe8c2633
2015-04-30 13:22:24 +02:00
Piotr Sarna
3c363c3615 rpm: Deprecate mfscgiserv in favour of lizardfs-cgiserv
This commit replaces old mfscgiserv calls with lizardfs-cgiserver ones
in CentOS 6's lizardfs-cgiserv init script. The script passes pidfile
and custom user name to lizardfs-cgiserv executable, which daemonizes
itself and starts its work as a service.
From now on mfscgiserv is not used anywhere in code, so deprecation
warnings were added to its source.

Change-Id: I6b77624e3e9941bbb04603ce843ef3c9ef6a94e5
2015-01-15 14:42:39 +01:00
Marcin Sulikowski
ed465da4bb cgi: Replace mfscgiserv with lizardfs-cgiserver
This commit replaces the old mfscgiserv script and adds a new script
called lizardfs-cgiserver. The new script is almost a copy of the old
one, but some parts of code are removed. This is because the old script
includes a buggy code for service management, which can't be simply
removed without breaking backward compatibility. One of important bugs
is that such a server doesn't really require write access to any
directory, but the mfscgiserv needs it for creating its PID file. This
makes it impossible to run it as user 'nobody'.

The new script is a copy of the previous one, but:
* all the PID file management code is removed
* it doesn't have a daemon-like interface (start, stop, restart, ...);
  instead it just runs in foreground
* two small issues with the code are fixed to make it pass a test which
  uses pylint

This commit changes the implementation of init script for this service
on Debian and Ubuntu to the one prepared by Dmitry Smirnov
<onlyjob@member.fsf.org>.

The lizardfs-cgiserv.service file is also modified to use the new script
instead of the old one.

SysV scripts for CentOS/RHEL are temporarily left unchanged.

Tests are modified so that if a test uses CGI_SERVER=yes parameter for
setup_local_empty_lizardfs, the new implementation will be used.

The old mfscgiserv script should be marked as deprecated as soon as it
is no longer used by CentOS/RHEL SysV scripts.

Closes #214
Closes #215
Closes #219

Change-Id: I5df243867208526a187713c8b3ba272adead6b79
2015-01-12 18:11:11 +01:00
Marcin Sulikowski
dbaba583b6 deb, rpm, cmake: Fix building packages
This commit fixes the following issues with packages:
* RPM packages failed to build because of unpackaged manapages -- this
  commit adds them to appropriate packages
* RPM packages failed to build because of unpackaged ha-cluster files --
  this commit adds a possibility to disable processing the ha-cluster
  directory and disables it when generating RPMs, because the ha-cluster
  feature is not yet available on .rpm platforms
* .deb packages failed to build because of wrong filenames in the
  lizardfs-cluster-agents.install file -- this commit fixes it
* Generating manapages produced a very verbose output which isn't
  necessary when building packages, this commit makes the verbose output
  disabled by default (it useful only when writing manpages)
* Generating manpages failed on CentOS 6 because of unsupported option
  a2x --keep-artifacts -- this commit fixes this by disabling this
  option if verbose output is disabled (and it is disabled when building
  packages), because these artifacts may only be useful when writing
  manpages.
* Compilation of slogger.cc generated a warning:
    std::string syslogLevelToString(int)' defined but not used
  when compiling without DEBUG_LOG (e.g., when building packages), so
  the function which uses syslogLevelToString was reorganized to avoid
  the warning.

After introducing a possibility do disable ha-cluster in the 'configure'
script, also generating documentation can be disabled. This is useful
for people who want to build LizardFS using the configure script, but
don't want to download hundreds of megabytes of LaTeX packages required
by asciidoc.

This commit modified the 'configure' wrapper script not to ignore its
parameters, so they are verified now and the 'configure' script fails if
any unrecognized option is present. This is to warn people who think
that things like --prefix= may work. Because of this fact default calls
to this script were overridden in both 'rules' and 'lizardfs.spec'
files.

Change-Id: I6d29e6d27015b0089926e2a44831931fd110e510
2014-12-17 19:30:46 +01:00
Alek Lewandowski
058d4a50a8 admin: Rename lizardfs-probe to lizardfs-admin
Rename lizardfs-probe to lizardfs-admin, preserving backward
compatibility. The tool will soon be used for manipulating file system
configuration and that's the reason of the name change.

Change-Id: Iadb1772dac21d84e908e8cf55b198d7a9f1f6368
2014-12-17 16:19:05 +01:00
Michał Kaźmierowski
d4e0c066ec Merge branch lizardfs.org
Merged features:
- Packages with debugging symbols
- Improvement of startup messages
- Other minor bugfixes and improvements

Change-Id: I788992578263e921f27afe3fee0d386c5b5f3ed2
2014-12-05 14:52:23 +01:00