2024-10-29T02:44:51.159Z | <badone> Anyone got a good way to get a container ready for building pacific. So far it has been an uphill battle. |
2024-10-29T02:48:27.865Z | <badone> I've had to point the container repos to <https://vault.centos.org/8.5.2111/> and add "--nobest" in one location in install-deps.sh and still some of the python deps failed to install. I'm hoping I don't need them for what I want to build. |
2024-10-29T02:52:07.944Z | <badone> Cool, didn't need the python bits. Maybe a rhel8 image would be simpler? Might try that later. |
2024-10-29T03:13:09.354Z | <gregsfortytwo> This is a microcosm of why it seems like centos stream is just a bad idea and we’re discussing ditching it :( |
2024-10-29T07:54:56.168Z | <bmwiedemann> Hi. What do I have to do to get my 'bmwiedemann' account on tracker.ceph.com activated? I signed up yesterday and it is still "waiting for an admin" |
2024-10-29T10:19:06.443Z | <Rost Khudov> Hello, any progress on this? |
2024-10-29T11:43:02.033Z | <bmwiedemann> Oh, account is working now. Thanks. |
2024-10-29T14:02:15.790Z | <Yuval Lifshitz> will send update later today |
2024-10-29T15:42:01.287Z | <Zac Dover> I'd like to remove this text from the pgcalc page, but I want to make sure that it is in fact now false: "It's also important to know that the PG count can be increased, but **NEVER** decreased without destroying / recreating the pool. However, increasing the PG Count of a pool is one of the most impactful events in a Ceph Cluster, and should be avoided for production clusters if possible." (<https://docs.ceph.com/en/latest/rados/operations/pgcalc/>) |
2024-10-29T15:55:21.359Z | <nehaojha> I would remove the "but **NEVER** decreased without destroying / recreating the pool" part. Increasing/decreasing PGs is in fact impactful. |
2024-10-29T17:20:44.837Z | <Yuval Lifshitz> please have a look at: <https://github.com/ceph/ceph/pull/60545>
trying to address the above `is not defined` issue
will investigate the TTL failure seperatly, as it does not seem related to the backports |
2024-10-29T17:23:08.278Z | <Ken Dreyer> What's the error you're getting Brad? |
2024-10-29T21:44:41.665Z | <badone> Thing is for now we need to know how to make it work for building older releases. |
2024-10-29T21:46:46.521Z | <badone> Hey @Ken Dreyer it's more the fact that the repos are gone so you can't just spin up a stream8 container and run the install script. I had to modify each yum repo file by hand with the equivalent repo on centos' vault site and one doesn't exist there so had to disable it. I then got an error from rpm while installing some of the python packages which I got around with the following. |
2024-10-29T21:47:35.688Z | <badone> ```diff --git a/install-deps.sh b/install-deps.sh
index 7e137d687f1..1c84bd227dd 100755
--- a/install-deps.sh
+++ b/install-deps.sh
@@ -411,7 +411,7 @@ else
if [ "$control" != "debian/control" ] ; then rm $control; fi
;;
centos|fedora|rhel|ol|virtuozzo)
- builddepcmd="dnf -y builddep --allowerasing"
+ builddepcmd="dnf -y builddep --allowerasing --nobest"
echo "Using dnf to install dependencies"
case "$ID" in ``` |
2024-10-29T21:48:38.486Z | <badone> That allowed me to complete the rpm installs but then I got a pip install error;
```Collecting cryptography!=40.0.0,!=40.0.1,<42,>=38.0.0 (from pyOpenSSL->-r requirements.txt (line 7))
Using cached <https://files.pythonhosted.org/packages/f7/80/04cc7637238b78f8e7354900817135c5a23cf66dfb3f3a216c6d630d6833/cryptography-40.0.2.tar.gz>
Complete output from command python setup.py egg_info:
=============================DEBUG ASSISTANCE==========================
If you are seeing an error here please try the following to
successfully install cryptography:
Upgrade to the latest pip and try again. This will fix errors for most
users. See: <https://pip.pypa.io/en/stable/installing/#upgrading-pip>
=============================DEBUG ASSISTANCE==========================
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-2gdem8ow/cryptography/setup.py", line 18, in <module>
from setuptools_rust import RustExtension
ModuleNotFoundError: No module named 'setuptools_rust'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-2gdem8ow/cryptography/
You are using pip version 9.0.3, however version 24.3.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.``` |
2024-10-29T21:49:12.176Z | <badone> So there's a bit in it to get this working. |
2024-10-29T21:49:14.208Z | <gregsfortytwo> @Mark Nelson (nhm) suggested yesterday that pointing at the CERN mirrors is pretty helpful |
2024-10-29T21:49:47.409Z | <badone> Hmmm... ok, I could try that. |
2024-10-29T21:50:07.961Z | <gregsfortytwo> we discussed this a fair bit in CLT in terms of releases, but I definitely don’t have the hands-on experience or time to work through it so I’m just remembering what I hear from others and trying to point people at each other when they’re working on the problem |
2024-10-29T21:51:09.637Z | <badone> OK mate, understood. Since we still need to support nautilus, etc. we are still going to need a solution for a while. |
2024-10-29T21:52:29.606Z | <gregsfortytwo> @Ken Dreyer has been asking for scenarios where this deprecation is a problem and why people need to go back to EOL releases, so fyi |
2024-10-29T21:57:15.404Z | <badone> Yeah, I'm talking to Ken in another thread |
2024-10-29T22:37:36.180Z | <Paulo Castro> Guys, whilst trying to build ceph 19.2 tag on a Fedora 40 box after `./install-deps.sh`
Multiple failures of the same dependency on different targets ...
Any clues ?
```FAILED: src/test/librbd/CMakeFiles/unittest_librbd.dir/test_mock_ConfigWatcher.cc.o
/usr/bin/g++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DBOOST_ASIO_HAS_IO_URING -DBOOST_ASIO_NO_TS_EXECUTORS -DHAVE_CONFIG_H -DTEST_LIBRBD_INTERNALS -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THR
EAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/ceph/build/src/include -I/ceph/src -isystem /ceph/build/boost/include -isystem /ceph/build/include -isystem /ceph/src/jaegertracing/opentelemetry-cpp/ap
i/include -isystem /ceph/src/jaegertracing/opentelemetry-cpp/exporters/jaeger/include -isystem /ceph/src/jaegertracing/opentelemetry-cpp/ext/include -isystem /ceph/src/jaegertracing/opentelemetry-cpp/sdk/includ
e -isystem /ceph/src/xxHash -isystem /ceph/src/fmt/include -isystem /ceph/src/googletest/googlemock/include -isystem /ceph/src/googletest/googlemock -isystem /ceph/src/googletest/googletest/include -isystem /ce
ph/src/googletest/googletest -Og -g -std=c++20 -fPIE -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -DBOOST_PHOENIX_STL_TUPLE_H_ -Wall -fno-strict-aliasing -fsigned-char -Wtype-l
imits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-
null-sentinel -Woverloaded-virtual -DCEPH_DEBUG_MUTEX -fstack-protector-strong -D_GLIBCXX_ASSERTIONS -fdiagnostics-color=auto -MD -MT src/test/librbd/CMakeFiles/unittest_librbd.dir/test_mock_ConfigWatcher.cc.o -MF src/test/librbd/CMakeFiles/unittest_librbd.dir/test_mock_ConfigWatcher.cc.o.d -o src/test/librbd/CMakeFiles/unittest_librbd.dir/test_mock_ConfigWatcher.cc.o -c /ceph/src/test/librbd/test_mock_ConfigWatcher.cc
In file included from /ceph/src/common/dout.h:29,
from /ceph/src/include/Context.h:19,
from /ceph/src/common/Readahead.h:10,
from /ceph/src/librbd/ImageCtx.h:20,
from /ceph/src/test/librbd/test_fixture.h:6,
from /ceph/src/test/librbd/test_mock_fixture.h:7,
from /ceph/src/test/librbd/test_mock_ConfigWatcher.cc:4:
/ceph/src/common/ceph_context.h: In member function 'void ceph::common::CephContext::set_mon_addrs(const std::vector<entity_addrvec_t>&)':
/ceph/src/common/ceph_context.h:285:26: warning: 'void std::atomic_store_explicit(shared_ptr<_Tp>*, shared_ptr<_Tp>, memory_order) [with _Tp = vector<entity_addrvec_t>]' is deprecated: use 'std::atomic<std::shared_ptr<T>>' instead [-Wdeprecated-declarations]
285 | atomic_store_explicit(&_mon_addrs, std::move(ptr), std::memory_order_relaxed);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/14/memory:81,
from /ceph/src/include/rbd/../rados/buffer.h:44,
from /ceph/src/include/rbd/librbd.hpp:22,
from /ceph/src/test/librbd/test_fixture.h:5:
/usr/include/c++/14/bits/shared_ptr_atomic.h:173:5: note: declared here
173 | atomic_store_explicit(shared_ptr<_Tp>* __p, shared_ptr<_Tp> __r,
| ^~~~~~~~~~~~~~~~~~~~~
/ceph/src/common/ceph_context.h: In member function 'std::shared_ptr<std::vector<entity_addrvec_t> > ceph::common::CephContext::get_mon_addrs() const':
/ceph/src/common/ceph_context.h:288:36: warning: 'std::shared_ptr<_Tp> std::atomic_load_explicit(const shared_ptr<_Tp>*, memory_order) [with _Tp = vector<entity_addrvec_t>]' is deprecated: use 'std::atomic<std::shared_ptr<T>>' instead [-Wdeprecated-declarations]
288 | auto ptr = atomic_load_explicit(&_mon_addrs, std::memory_order_relaxed);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/14/bits/shared_ptr_atomic.h:133:5: note: declared here
133 | atomic_load_explicit(const shared_ptr<_Tp>* __p, memory_order)
| ^~~~~~~~~~~~~~~~~~~~
/ceph/src/osd/osd_types.h: In lambda function:
/ceph/src/common/dout.h:196:73: error: call to non-'constexpr' function 'virtual unsigned int DoutPrefixProvider::get_subsys() const'
196 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \
| ~~~~~~~~~~~~~~~~^~
/ceph/src/common/dout.h:167:58: note: in definition of macro 'dout_impl'
167 | return (cctX->_conf->subsys.template should_gather<sub, v>()); \
| ^~~
/ceph/src/osd/osd_types.h:3704:3: note: in expansion of macro 'ldpp_dout'
3704 | ldpp_dout(dpp, 10) << "build_prior all_probe " << all_probe << dendl;
| ^~~~~~~~~
/ceph/src/common/dout.h:63:20: note: 'virtual unsigned int DoutPrefixProvider::get_subsys() const' declared here
63 | virtual unsigned get_subsys() const = 0;
| ^~~~~~~~~~
/ceph/src/osd/osd_types.h: In lambda function:
/ceph/src/common/dout.h:196:73: error: call to non-'constexpr' function 'virtual unsigned int DoutPrefixProvider::get_subsys() const'
196 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \
| ~~~~~~~~~~~~~~~~^~ ``` |