On all distros, Apache should be able to write to its own log directory.
If not, that is a severe distro bug that should be reported/fixed.
Remove the references to running "chown" on /var/log/httpd or
/var/log/apache2.
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
If this connection is blocking on throttler and another worker thread
try to acquire this connection's lock, it will deadlock.
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
In some cases the machine running tests may be slow enough that it takes
more than a minute for an OSD to come up. It only happens rarely and
changing the wait period from 60 seconds to 120 seconds. Is so slow
that it takes more than 2 minutes to bring an OSD up, chances are a lot
more will go wrong anyway.
Signed-off-by: Loic Dachary <ldachary@redhat.com>
When updating submodules, always checkout even if the HEAD is the
desired commit hash (update --force) to avoid the following:
* a directory gmock exists in hammer
* a submodule gmock replaces the directory gmock in master
* checkout master + submodule update : gmock/.git is created
* checkout hammer : the gmock directory still contains the .git from
master because it did not exist at the time and checkout won't
remove untracked directories
* checkout master + submodule update : git rev-parse HEAD is
at the desired commit although the content of the gmock directory
is from hammer
Signed-off-by: Loic Dachary <ldachary@redhat.com>
If an ObjectOperation op is cancelled, its destructor is
called and each Context object in out_handler is deleted.
A C_TwoContexts object can be one of these handlers. The
two contexts wrapped in C_TwoContexts must be deleted
as well.
Signed-off-by: Xiong Yiliang <xiongyiliang@xunlei.com>
The ceph-test package depends on gmock and gtest and needs to statically
link them because packages are not configured to distribute the
corresponding shared library files.
Update the gmock submodule to the version that is configured with
noinst libraries that will be statically linked.
The gmock submodule is modified to reference the branch in which the
ceph specific changes have been done.
http://tracker.ceph.com/issues/11040Fixes: #11040
Signed-off-by: Loic Dachary <loic@dachary.org>
This is inspired by dstat and scripts/perf-watch.py, to
give a convenient live view of an interesting subset
of the performance counters from a Ceph daemon.
Signed-off-by: John Spray <john.spray@redhat.com>
These guys were marked as counters, but they were
updated with set(), not inc() -- so they should just
be normal u64s.
Signed-off-by: John Spray <john.spray@redhat.com>
This has two purposes:
* Identify counters that are useful in short/summary views
of a daemon's performance (only these have a nick set)
* Provide shortened versions of names that are suitable
for display in a text-mode columnar view.
Signed-off-by: John Spray <john.spray@redhat.com>