On Wed, Jan 8, 2014 at 2:00 PM, Gilles Mocellin <gilles.mocellin@xxxxxxxxxxxxxx> wrote: > Le 08/01/2014 02:46, Christian Balzer a écrit : > >> It is what it is. >> As in, sid (unstable) and testing are named jessie/sid >> in /etc/debian_version, including a notebook of mine that has been >> "sid" (as in /etc/apt/sources.list) for 10 years. >> This naming convention (next_release/sid) has been in place for at least 2 >> generations, probably longer. >> >>> ceph-deploy needs to know what version, release, and codename is >>> dealing with *exactly* because >>> it will take decisions based on that information. If your host is just >>> "sid" I think it should work since the >>> repo does list it: http://ceph.com/debian/dists/ >>> >> This may well be, but is doomed to failure, because even if I were to >> manually edit the version to sid, a future update will eventually revert >> that change again. I think you are right about the unstable releases. >> The real solution is for ceph-deploy to parse the version correctly, if it >> indeed is supposed to support unstable and testing. This would only be helpful if we supported unstable versions of Debian which afaik we don't. Maybe a plausible solution would be to allow "codename/sid" users to be able to install whatever "codename" is? One of the reasons we are not doing this is because it could lead into potential user issues >> >> Regards, >> >> Christian > > Hello. > > I don't know if ceph-deploy really parse /etc/debian_version, but if it is, > perhaps it should use instead : > # lsb_release --codename ceph-deploy uses a Python stdlib module to detect platform information: import platform print platform.linux_distribution() > > Which shows sid on my desktop, and wheezy on my servers. > > On my desktop : > $ cat /etc/debian_version > jessie/sid > > On my servers : > # cat /etc/debian_version > 7.3 > > I can't test on a testing, I don't know if it will show jessie or sid. > > > _______________________________________________ > ceph-users mailing list > ceph-users@xxxxxxxxxxxxxx > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com