Age | Commit message (Collapse) | Author |
|
|
|
up the bundled node version to 16, so as to fix node-gyp errors
originating from a too-old npm version in 14.
Basically, python 3.11 removed a deprecated file open option from
python, which consequently blows up `npm ci`, preventing the build.
Issue: https://github.com/bazaah/aur-ceph/issues/12
References: https://github.com/npm/cli/issues/5113
References: https://github.com/npm/cli/issues/4664
References: https://github.com/npm/cli/issues/4660
|
|
|
|
These are caused by the changes in gcc13, that move previously
included-by-default imports like uint64_t and system_error into separate
headers.
Parts of the rocksdb patch where taken from the upstream --
facebook/rocksdb@88edfbf, but more were needed for however ceph
configures the build.
We also add a couple that were missing in ceph itself.
- ceph-17.2.6-ceph-gcc13-includes.patch
- ceph-17.2.6-rocksdb-gcc13-includes.patch
References: https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes
References: https://github.com/facebook/rocksdb/commit/88edfbfb5e1cac228f7cc31fbec24bb637fe54b1
|
|
* HEAD
| \
| * 75c66e6 <github@luxolus.com> pkgbuild: pkgver=17.2.6, pkgrel=1
| * 55f267d <github@luxolus.com> pkgbuild: rm disable-test-cls-fifo.patch
| * 3a4ece4 <github@luxolus.com> pkgbuild: revert ceph-18.0.0-mgr-sqlite-pragmas.patch
| * 1bd9308 <github@luxolus.com> pkgbuild: revert rdkafka.mpatch, use therein
| * 7f61f1b <github@luxolus.com> pkgbuild: rere tox-mypy-false-postive.patch
| /
| master
Signed-off-by: Bazaah <github@luxolus.com>
|
|
|
|
Upstream appears to have removed the test
Upstream-Ref: https://github.com/ceph/ceph/commit/62121704f019f225b1df4b0c63ba2d89fe9be9ca
|
|
As this is now backported in the upstream
Upstream-Ref: https://github.com/ceph/ceph/commit/b49753e374e0ba30e61eab0b7d88abb5104e5975
Reverts: 82a7efacca33c5640103622e251755a5523e78cd
|
|
No longer needed, as the Archlinux package has fixed this issue by
reverting to an older (?) method for building rdkafka, which doesn't
contain the bug this patch worked around.
Reverts: dd2565ded777ce438f5063d6e9cc8b2fe22244e7
Reverts: d0451743748d9c381a598fb45b658c3669ee357f
References: https://github.com/archlinux/svntogit-community/commit/924fddef74a86f020ec6813291979946f6da55da
|
|
Same patch, just updated to follow upstream changes to
src/pybind/mgr/tox.ini
|
|
* HEAD
| \
| * 948bd85 <github@luxolus.com> pkgbuild: pkgrel=6
| * d470b03 <github@luxolus.com> pkgbuild: use ceph-17.2.5-rgw-client-boost-string-view.patch
| * 5bc29e5 <github@luxolus.com> pkgbuild: add ceph-17.2.5-rgw-client-boost-string-view.patch
| * dd2565d <github@luxolus.com> pkgbuild: use rdkafka.mpatch + set env
| * d045174 <github@luxolus.com> pkgbuild: add rdkafka.mpatch
| /
| master
Fixes: #11
Signed-off-by: Bazaah <github@luxolus.com>
|
|
|
|
|
|
So long story short, boost 1.81 has fairly large breaking API changes,
as they migrated to use an internal string_view shim rather than
std::string_view, across the entire beast codebase. Therefore, we
remove any attempts to convert to std::string_view from
boost::core::string_view, as it implicitly handles conversions to
std::string where needed (like std::string_view).
Long story. boostorg/beast#2451 introduced a change in their string_view
type defs for beast, which ultimately removed the to_string() method
inherited from boost::string_view (which is different to boost::core),
effectively changing the type of most of the returned values in
rgw_asio_client.cc's header manipulation logic.
However, this new shim string_view implicitly converts to std::string,
which is needed by RGWEnv::set, hence our removal of the various
to_string()s scattered across the file.
Notably, RGWEnv::set is remarkably strict in its accepted values, so I
trust that if this compiles we have introduced a subtle use after free
vis-a-vis all these string_views flying around.
References: https://github.com/boostorg/beast/pull/2451
References: https://github.com/ceph/ceph/blob/v17.2.5/src/rgw/rgw_asio_client.cc
References: https://github.com/boostorg/beast/issues/2594#issuecomment-1360956011
References: https://github.com/ceph/ceph/blob/v17.2.5/src/rgw/rgw_env.cc#L22
|
|
|
|
This is a fix to confluentinc/librdkafka#4155, which blocks our ability
to build this package.
The plan is to apply the patch to the system file, output into a local
directory and instruct pkgconfig to search that directory.
References: https://github.com/bazaah/aur-ceph/issues/11
References: https://github.com/confluentinc/librdkafka/issues/4155
|
|
* HEAD
| \
| * 51829c2 <github@luxolus.com> pkgbuild: pkgrel=5
| * 50b8266 <github@luxolus.com> pkgbuild: package_ceph backup /etc/ conf
| * fe1e3d3 <github@luxolus.com> pkgbuild: add logrotate-ignore-dups.patch
| * 82a7efa <github@luxolus.com> pkgbuild: add mgr-sqlite-pragmas.patch
| /
| master
Signed-off-by: Bazaah <github@luxolus.com>
|
|
|
|
Backport-to: ceph-bin
Issue: https://github.com/bazaah/aur-ceph/issues/9
Closes: #9
|
|
This fixes an unfortunate issue in the upstream's provided logrotate,
and the one which `cephadm` creates during runs.
Unfortunately, logrotate throws an error if more than one rule matches a
given file, which is the case between our '.../ceph/*.log' and the
cephadm generated one: '.../ceph/cephadm.log'.
Because the file is generated we can't really complain to the maintainer
for cephadm, and we also can't change our rule because ceph may
generate any pattern matching '<cluster>-<svc>-<id>', all of which are
user / cluster specific.
Fortunately, the most recent (as of this commit) logrotate as introduced
a workaround: 'ignoreduplicates' which does what you expect. We patch
the upstream logrotate.conf to include this keyword, fixing this
issue.
See the issue for more.
References: https://github.com/logrotate/logrotate/pull/473
References: https://github.com/ceph/ceph/blob/v17.2.5/src/cephadm/cephadm#L9408
Closes: #8
Issue: https://github.com/bazaah/aur-ceph/issues/8
Reported-by: snack@aur.archlinux.org
|
|
This patch is taken directly from an (at the time of writing) open PR of
the upstream which fixes a crash in the mgr's device_metrics module when
using a later version of the python sqlite driver.
The upstream docs for libcephsqlite specifically call out that file
based temp tables are not supported. See:
https://docs.ceph.com/en/quincy/rados/api/libcephsqlite/#temporary-tables
Closes: #5
Issue: https://github.com/bazaah/aur-ceph/issues/5
Upstream-Ref: https://github.com/ceph/ceph/pull/48449
|
|
* HEAD
| \
| * c7f9572 <github@luxolus.com> pkgbuild: pkgrel=4
| * 141da5d <github@luxolus.com> pkgbuild: reword package_ceph() comment
| * f8abbf3 <github@luxolus.com> pkgbuild: add ceph.sudoers to package_ceph()
| * ee56937 <github@luxolus.com> pkgbuild: add osd sysctls to package_ceph()
| * dd34fc2 <github@luxolus.com> pkgbuild: add udev rbd rules to package_ceph()
| * aea914d <github@luxolus.com> pkgbuild: add logrotate rules to package_ceph()
| * 09027d9 <github@luxolus.com> pkgbuild: rm unneeded boost defines in prepare()
| * bae39af <github@luxolus.com> pkgbuild: rm unneeded mypy hint in prepare()
| * ad2c9df <github@luxolus.com> pkgbuild: rm pylint override for python 3.9
| * 1c23b12 <github@luxolus.com> pkgbuild: rm zstd overwrite in prepare()
| * ea3c054 <github@luxolus.com> justfile: hardcode github repo
| * ba9456d <github@luxolus.com> gitattributes: github syntax highlighting for justfile
| /
| master
Signed-off-by: Bazaah <github@luxolus.com>
|
|
3 is skipped to accommodate a screwup in the sister ceph-bin package
|
|
to be more in line with the new additions
|
|
This file is inspired by the upstream's 'sudoers.d/ceph-smartctl' file,
however, unlike their one; isn't a security threat if anyone nasty ever
elevates to the 'ceph' user.
We use the latest and greatest in sudo technology: regexes. Sudo is only
4 decades late to the party, and we welcome them in with open arms,
though unfortunately all the pizza has been eaten, along with most of
the soda drinks, and most of the party's participants are tired, like
this metaphor.
|
|
|
|
|
|
|
|
Upstream no longer uses deprecated headers (... here).
|
|
This was fixed a while back, and is not needed anymore.
Upstream-Ref: https://github.com/ceph/ceph/commit/42b41f897d2a0a7673ad7fb4b6d2a3426f9609c1
|
|
archlinux no longer uses python 3.9
|
|
Since 35b4e84 we no longer need to play funny games with the upstream
around zstd.
|
|
As I now use git.st8l.com as my origin, but still use github for free
hosting. Thanks github!
|
|
|
|
* HEAD
| \
| * 238ad0a <github@luxolus.com> pkgbuild: pkgrel=2
| * 4053e14 <github@luxolus.com> pkgbuild: generate legacy_options headers prebuild
| * 89ef08b <github@luxolus.com> pkgbuild: rm broken cmake depends patches
| /
| master
Signed-off-by: Bazaah <github@luxolus.com>
|
|
|
|
See the previous commit for a longer explanation.
|
|
- ceph-17.2.4-common-legacy-gen-depends.patch
- ceph-17.2.4-compressor-common-depends.patch
These do not *actually* solve the problem they were originally added as
fixes for.
Here's the real problem:
Sometime between v16 and v17 the upstream changed how they handle
internal configuration. Previously, they had headers that were included
"globally" -- in a common ${CMAKE_PROJECT_PATH}/include -- dir, and
everything just imported these headers, without an explicit dependency
on src/common/options ('s targets).
This was okay because:
1. The headers always exist
2. You can include headers that haven't yet had their source file
compiled. You only need to ensure that by link time the relevant .o
files exist.
However. These "global" header files *now require an arbitrarily slow
python script to generate them*. And CMake is not aware of this
dependency, leading to compile fails because other sources are importing
headers that don't exist yet.
I tried for a long time to catch all the targets that depend on these
headers' CMake target, and gave up after about 30ish; as even if it was
possible, that patch is simply unmaintainable long term.
Instead, we'll take a much dumber, simpler solution: just run the
generate step before building. See this commit's parent for more.
|
|
* HEAD
| \
| * 1758409 <github@luxolus.com> pkgbuild: pkgver=17.2.5
| * d558efb <github@luxolus.com> pkgbuild: enable rgw features aqmp,kafka
| * 0bb239f <github@luxolus.com> pkgbuild: update package runtime depends()
| * 747276b <github@luxolus.com> pkgbuild: rm denc/*.so files from ceph{,-mgr} packages
| * d7c94bf <github@luxolus.com> pkgbuild: rm test mgr-dashboard-smoke
| * a940dbb <github@luxolus.com> pkgbuild: fix-iterator-depreciations.patch
| * a9042ca <github@luxolus.com> pkgbuild: pybind-unmock-cythonize.patch
| * 8f4bda5 <github@luxolus.com> pkgbuild: test-bluefs-split.patch
| * f5af709 <github@luxolus.com> pkgbuild: tox-cephadm-rm.patch
| * b09eab7 <github@luxolus.com> pkgbuild: tox-mypy-false-postive.patch
| * daa8eb8 <github@luxolus.com> pkgbuild: tox-flake8-git-ls-files.patch
| * d7e08a7 <github@luxolus.com> pkgbuild: common-legacy-gen-depends.patch
| * 97e0684 <github@luxolus.com> pkgbuild: compressor-common-depends.patch
| * d5a6299 <github@luxolus.com> pkgbuild: specify RGW build options
| * 35b4e84 <github@luxolus.com> pkgbuild: WITH_SYSTEM_ZSTD=ON, rm zstd cflags patch
| * 7a97910 <github@luxolus.com> pkgbuild: CPPFLAGS-=BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT
| * f773d39 <github@luxolus.com> pkgbuild: remove python cmake defines
| * 3396582 <github@luxolus.com> pkgbuild: remove unsupported macro defines
| * ceea2c0 <github@luxolus.com> pkgbuild: rm fix-test-import-tasks-deps.patch
| * bbd2ac7 <github@luxolus.com> pkgbuild: rm fix-test-encoding-exception-wording.patch
| * 4cfd1f3 <github@luxolus.com> pkgbuild: rm rgw-string-missing-includes.patch
| * f5aafdf <github@luxolus.com> pkgbuild: rm ceph-15.2.14-include-memory.patch
| * 9d3a126 <github@luxolus.com> pkgbuild: rm ceph-14.2.0-cython-0.29.patch
| * 114716e <github@luxolus.com> pkgbuild: rm fix-python310-update-mgr-more-itertools.patch
| * 0610fa4 <github@luxolus.com> pkgbuild: rm fix-python310-ssize-macro.patch
| * 9f6d971 <github@luxolus.com> pkgbuild: rm 14.2.0-cflags,boost-build-none-options,rocksdb-cmake
| * 0a40eab <github@luxolus.com> pkgbuild: try reenable LTO (failed)
| * 0c81466 <github@luxolus.com> justfile: mount host /tmp into chroot
| * e3299b7 <github@luxolus.com> repo: rm old .patch files
| * 95e1b59 <github@luxolus.com> pkgbuild: pkgver=17.2.4
| /
| master
Signed-off-by: Bazaah <github@luxolus.com>
|
|
Normally I don't do point upgrades in the same patch set as major
upgrades, however the upstream made an 'oops' in their release train for
v17 that lead to a couple important regressions. See the changelog below
for an overview, and the link for the full story.
Changlog:
* c6e18266dfb mgr/telemetry: handle daemons with complex ids
* 6a1a427fc5f ceph-volume: fix regression in activate
* feeadd7e2a8 mgr/rook: fix error when trying to get the list of nfs services
* 1d8a2b46bd3 Revert "osd/PeeringState: fix missed `recheck_readable` from laggy"
* c67f74c3c76 Revert "osd/PeeringState: proc_lease_ack break once found from OSD"
Link:
https://ceph.io/en/news/blog/2022/v17-2-5-quincy-released
Upstream-Ref: https://github.com/ceph/ceph/pull/48519
|
|
also enforce WITH_FIO=OFF (the current default)
|
|
According to namcap.
Remember to port these to `aur/ceph-bin`, me!
|
|
.so files live in ceph-libs
|
|
wants sudo, isn't going to get it
|
|
This commit patches the few instances of std::iterator usage in the
upstream.
There's no real benefit here, besides reducing the line noise during
builds... and yet this is one of the change sets I've liked making the
most.
Followed the fluentcpp guide for understanding the fix:
https://www.fluentcpp.com/2018/05/08/std-iterator-deprecated/
and used this ripgrep to find the definition sites:
`rg ':\s*(public)?\s*(std::)?iterator\s*<' .`
|
|
This is a strange one. Each of pybind/{rados,rbd,cephfs,rgw}/setup.py
has a clause which potentially mocks cythonize():
```
if (len(sys.argv) >= 2 and
any(i in sys.argv[1:] for i in ('--help', 'clean', 'egg_info', '--version')
)):
def cythonize(x, **kwargs):
return x
```
The important thing here is 'egg_info', which is _always_ invoked by the
cmake functions the upstream uses in cmake/modules/Distutils... leading
to failures that look like this:
```
IF BUILD_DOC:
^
------------------------------------------------------------
rados.pxd:7:3: Compile-time name 'BUILD_DOC' not defined
Error compiling Cython file:
------------------------------------------------------------
```
This commit patches the setup.py(s), removing this clause which then
allows the cython builds to work just fine.
I have no idea how or even if the upstream gets clean builds as the
parts that make up this bug haven't been touched in six years.
|
|
this is a large commit that finally resolves one of the more annoying
thorns I've dealt with while testing ceph.
in essence, I've split a *very* long running test suite (more than 3
hours) into multiple tests which run concurrently.
the accompanying .patch file does the following:
- split src/test/objectstore/test_bluefs.cc (unittest_bluefs) into 11
tests
- nerf a couple values in _replay* tests which were still out of line
- fixup the relevant CMakeLists.txt, adding the extra tests
unfortunately, this patch will conflict with virtually any change in the
source dir; but at least I finally have a method for passing this test
in less than 3 hours
|
|
cephadm tests appear to heavily depend on pyfakefs, which appears to
strongly disagree with running in a chroot.
It throws EPERM errors when attempting to create files in /root (??),
and I'm not giving it root.
|
|
Ceph uses a version of mypy that has a false positive on python >3.8.
Disable the problem module for now
|
|
This test expects to have access to a git repo, which isn't part of the
build environment for AUR.
As a side note, wtf is this test actually testing for? "docker.io"?
|