Hi,
see https://tracker.ceph.com/issues/41660
ceph-volume lvm activate --all fails on the second OSD when stderr is
not a terminal.
Reproducible on different servers, so there's nothing weird about a
particular disk.
Any idea where/how this is happening?
This makes 14.2.3 unusable for us as we need to re-activate all OSDs
after reboots because we don't have a persistent system disk.
Paul
--
Paul Emmerich
Looking for help with your Ceph cluster? Contact us at https://croit.io
croit GmbH
Freseniusstr. 31h
81247 München
www.croit.io
Tel: +49 89 1896585 90
Hi,
I try to build Ceph v13.2.6 locally and I was clone and checkout with
v13.2.6 tag.
I run ./run-make-check.sh but it's failed. It's shows below error
[100%] Building CXX object CMakeFiles/rocksdb.dir/env/env_posix.cc.o
[100%] Building CXX object CMakeFiles/rocksdb.dir/env/io_posix.cc.o
Linking CXX static library librocksdb.a
[100%] Built target rocksdb
[ 8%] Performing install step for 'rocksdb_ext'
[ 8%] Completed 'rocksdb_ext'
[ 8%] Built target rocksdb_ext
make[1]: *** [CMakeFiles/tests.dir/rule] Error 2
make: *** [tests] Error 2
While I try,
$ sudo ./install-deps.sh
$ ./do_cmake.sh
$ cd build
$ make
It raised below exception,
In file included from /home/user/my/ceph/ceph/src/common/config.h:24:0,
from /home/user/my/ceph/ceph/src/common/dout.h:22,
from /home/user/my/ceph/ceph/src/kv/LevelDBStore.h:25,
from /home/user/my/ceph/ceph/src/kv/KeyValueDB.cc:6:
/home/user/my/ceph/ceph/src/log/SubsystemMap.h:65:25: error: enclosing
class of constexpr non-static member function 'const char*
ceph::logging::SubsystemMap::get_name(unsigned int) const' is not a literal
type
constexpr const char* get_name(unsigned subsys) const {
^~~~~~~~
/home/user/my/ceph/ceph/src/log/SubsystemMap.h:19:7: note:
'ceph::logging::SubsystemMap' is not literal because:
class SubsystemMap {
^~~~~~~~~~~~
/home/user/my/ceph/ceph/src/log/SubsystemMap.h:19:7: note:
'ceph::logging::SubsystemMap' has a non-trivial destructor
make[3]: *** [src/kv/CMakeFiles/kv_objs.dir/KeyValueDB.cc.o] Error 1
make[2]: *** [src/kv/CMakeFiles/kv_objs.dir/all] Error 2
Please help me here to suggest any better way to build ceph.
Thanks,
Amit G
Dear Purchasing Manager,
Hope this mail find you well.
With over 10 years experience specializing in EVA packaging boxes and cases in China, we enjoy high reputation among some famous brands like TOMTOM (for GPS) and Philips (for Shaver).
From your website, we know that you make electronic products, would you like the popular eva packaging case?
***Compare to normal packing, advantage of our EVA case:
1. Reusable and environment-friendly material agrees with European & USA norms, SGS reports available.
2. Waterproof, shockproof, drop resistance and light weight.
3. Customerized design is welcomed.
4. Low mould cost and low MOQ.
Best Regards,
Cicy Chan
*******************************************
Guangzhou Hong Yang Sci-Tech Venture Co. Ltd.
Tel: +86 1856534244
Address: 1st Floor, No.38, Fuyuan North Road, Huangcun,Tianhe District, Guangzhou, China 510660.
+dev(a)ceph.io -ceph-devel(a)vger.kernel.org
On Thu, Sep 5, 2019 at 8:56 PM Ugis <ugis22(a)gmail.com> wrote:
>
> Hi,
>
> ceph version 14.2.1 (d555a9489eb35f84f2e1ef49b77e19da9d113972) nautilus (stable)
>
> Yesterday noticed unexpected behavior, probably bug. It seems ceph
> wrongly calculates osd size if it is replaced with smaller disk.
>
> In detail:
> Starting point: 1 osd disk had failed, ceph had reballanced and osd
> was marked down.
>
> I did remove failed disk(10TB) and replaced with smaller 6TB.
> Followed disk replacement instructions here:
> https://docs.ceph.com/docs/mimic/rados/operations/add-or-rm-osds/
>
> Destroy the OSD first:
> ceph osd destroy {id} --yes-i-really-mean-it
> Zap a disk for the new OSD, if the disk was used before for other
> purposes. It’s not necessary for a new disk:
> ceph-volume lvm zap /dev/sdX
> Prepare the disk for replacement by using the previously destroyed OSD id:
> ceph-volume lvm prepare --osd-id {id} --data /dev/sdX
> And activate the OSD:
> ceph-volume lvm activate {id} {fsid}
> I skipped this as was not clear what fsid was needed(probably ceph
> cluster fsid} and just started osd
> systemctl start ceph-osd@29
>
> OSD came up and reballance started.
>
> After some time ceph started to complain following:
> # ceph health detail
> HEALTH_WARN 1 nearfull osd(s); 19 pool(s) nearfull; 10 pgs not
> deep-scrubbed in time
> OSD_NEARFULL 1 nearfull osd(s)
> osd.29 is near full
>
> #ceph osd df tree
> --------------------
> ID CLASS WEIGHT REWEIGHT SIZE RAW USE DATA OMAP META
> AVAIL %USE VAR PGS STATUS TYPE NAME
> ...
> 29 hdd 9.09569 1.00000 5.5 TiB 3.3 TiB 3.3 TiB 981 KiB 4.9 GiB
> 2.2 TiB 59.75 0.99 590 up osd.29
>
> Later I noticed that weight of osd.29 was still 9.09569 as for
> replaced 10TB disk.
> I did: ceph osd crush reweight osd.29 5.45789
> Things got back to normal after reballance.
>
> Got impression that ceph did not realize that osd had been replaced
> with smaller disk. Could that be because I skipped activation step? Or
> this is a bug.
>
> Best regards,
> Ugis
--
Cheers,
Brad
Dear friend,
Good day!
We are the manufacturer of RF passive components located in China.
Our main products:
power splitter,directional coupler, dummy load,attenuator,RF Connector,Antenna and so oncovering 698-2700MHz,340-2700MHz,698-3800MHz,137-960MHz.136-174MHz.
// Each line of our passive components share the low pim:-150dBc/-160dBc
// With 6 RF engineers with expertise and best customer service,
I think our produncts will reduce your procurement costs and help for your business, welcome to contact me.
Best Rgds
Robin
Hefei Bolite Electronic And Technology Co.,Ltd
385 HuangShan Road,Hefei City ,Anhui Province , 230088. CHINA
Ph: +86-0551-63668566 /Fax:86-0551-3668566-802
Dear friend,
Our factory specialized in produce tripod and led light:
QZSD-Q999H multi-function tripod transverse tripod folded height only 43cm and monopod with Q02 ballhead
20W 14" Ring Beauty Makeup Light With bag Dimmable SMD LED 5500K Light Kit led ring light selfie warm&cold&whit light
Looking forward to your reply soon.
Best regard
Candy
GuangZhou Qingzhuang Photographic Equipment Co. Ltd
Product : tripod ,monopod ,shoulder pad , slider, background stand , light stand , LED light
Hi manager,
Glad to hear that you’re on the market for Fiber Distribution Cabinet.
We specialize in communications for more than 20 years and we start to produce this Outdoor Cabinet more than 5 years.
Our factory supplies this products with good quality and very competitive price.
We will be happy to give you a best quotation upon receipt of your detailed requirements.
We look forward to hearing from you soon.
Best Regards
Shirley