Re: no device listed after adding host

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This works after upgrading to 15.2.8 from 15.2.5.
I see an improvement that "orch host add" does some checking
and shows explicit messages if anything is missing.
But I am still not sure how 15.2.5 worked initially when building
the cluster. Anyways, I am good now.

Thanks!
Tony
> -----Original Message-----
> From: Eugen Block <eblock@xxxxxx>
> Sent: Tuesday, February 2, 2021 12:32 AM
> To: Tony Liu <tonyliu0592@xxxxxxxxxxx>
> Cc: ceph-users@xxxxxxx
> Subject: Re:  Re: no device listed after adding host
> 
> Just a note: you don't need to install any additional package to run
> ceph-volume:
> 
> host1:~ # cephadm ceph-volume lvm list
> 
> Did you resolve the missing OSDs since you posted a follow-up question?
> If not did you check all the logs on the OSD host, e.g.
> 'journalctl -f' or ceph-volume.log in /var/log/ceph/<UUID>/? I would
> expect to find clues what's going on.
> 
> 
> Zitat von Tony Liu <tonyliu0592@xxxxxxxxxxx>:
> 
> > Hi Eugen,
> >
> > I installed ceph-osd on the osd-host to run ceph-volume, which then
> > lists all devices. But "ceph orch device ls" on the controller (mon
> > and mgr) still doesn't show those devices.
> > This worked when I initially built the cluster. Not sure what is
> > missing here. Trying to find out how to trace it. Any idea?
> >
> >
> > Thanks!
> > Tony
> >> -----Original Message-----
> >> From: Eugen Block <eblock@xxxxxx>
> >> Sent: Monday, February 1, 2021 12:33 PM
> >> To: Tony Liu <tonyliu0592@xxxxxxxxxxx>
> >> Cc: ceph-users@xxxxxxx
> >> Subject: Re:  Re: no device listed after adding host
> >>
> >> Hi,
> >>
> >> you could try
> >>
> >> ceph-volume inventory
> >>
> >> to see if it finds or reports anything.
> >>
> >>
> >> Zitat von Tony Liu <tonyliu0592@xxxxxxxxxxx>:
> >>
> >> > "ceph log last cephadm" shows the host was added without errors.
> >> > "ceph orch host ls" shows the host as well.
> >> > "python3 -c import sys;exec(...)" is running on the host.
> >> > But still no devices on this host is listed.
> >> > Where else can I check?
> >> >
> >> > Thanks!
> >> > Tony
> >> >> -----Original Message-----
> >> >> From: Tony Liu <tonyliu0592@xxxxxxxxxxx>
> >> >> Sent: Sunday, January 31, 2021 9:23 PM
> >> >> To: ceph-users@xxxxxxx
> >> >> Subject:  no device listed after adding host
> >> >>
> >> >> Hi,
> >> >>
> >> >> I added a host by "ceph orch host add ceph-osd-5 10.6.10.84 ceph-
> osd".
> >> >> I can see the host by "ceph orch host ls", but no devices listed
> >> >> by "ceph orch device ls ceph-osd-5". I tried "ceph orch device zap
> >> >> ceph-osd-5 /dev/sdc --force", which works fine. Wondering why no
> >> >> devices listed? What I am missing here?
> >> >>
> >> >>
> >> >> Thanks!
> >> >> Tony
> >> >> _______________________________________________
> >> >> ceph-users mailing list -- ceph-users@xxxxxxx To unsubscribe send
> >> >> an email to ceph-users-leave@xxxxxxx
> >> > _______________________________________________
> >> > ceph-users mailing list -- ceph-users@xxxxxxx To unsubscribe send
> >> > an email to ceph-users-leave@xxxxxxx
> >>
> >>
> 
> 

_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux