[Bug 1960065] Re: cloud archive: apt upgrade from rocky to stein keeps back some ceph packages

2022-02-15 Thread Chris Johnston
Going from focal distro to uca-wallaby does not require a dist-upgrade to complete: ubuntu@distro-wallaby:~$ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=20.04 DISTRIB_CODENAME=focal DISTRIB_DESCRIPTION="Ubuntu 20.04.3 LTS" ubuntu@distro-wallaby:~$ dpkg -l | grep ceph ii ceph-common

[Bug 1960065] Re: cloud archive: apt upgrade from rocky to stein keeps back some ceph packages

2022-02-14 Thread James Page
Stepping between UCA pockets is really akin to a distribution upgrade so I think its appropriate that only a dist-upgrade action would complete the transition correctly (or an install as detailed in #8). We could provide transitional packages but this would need to be done as patches ontop of the

[Bug 1960065] Re: cloud archive: apt upgrade from rocky to stein keeps back some ceph packages

2022-02-14 Thread Mauricio Faria de Oliveira
Thanks for mentioning this, Ed. I just checked and `apt install ceph` works correctly (removes python2 packages and upgrades ceph packages). $ sudo apt install ceph # step 8 below. ... The following packages will be REMOVED: python-cephfs python-rados python-rbd ... The following packages will

[Bug 1960065] Re: cloud archive: apt upgrade from rocky to stein keeps back some ceph packages

2022-02-14 Thread Edward Hope-Morley
While I am aware that not everybody uses the charms to install ceph, I checked to see how they do this and they are in fact using apt install to perform an upgrade e.g. the ceph-mon charm does [1] using [2] which I believe will not behave the same as the "standard" way mentioned in comment #6 and i

[Bug 1960065] Re: cloud archive: apt upgrade from rocky to stein keeps back some ceph packages

2022-02-04 Thread Ubuntu Foundations Team Bug Bot
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1960065 Title: cloud archive: apt upgrade from rocky to stein keeps back some ceph packages To manage notifications about this b

[Bug 1960065] Re: cloud archive: apt upgrade from rocky to stein keeps back some ceph packages

2022-02-04 Thread Mauricio Faria de Oliveira
Thanks Corey. Yes, this issue doesn't seem to be high priority. (I should have mentioned that :) It just turned out to be noticed for some other reason and I got curious enough. cheers, Mauricio -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed

[Bug 1960065] Re: cloud archive: apt upgrade from rocky to stein keeps back some ceph packages

2022-02-04 Thread Corey Bryant
Thanks for the patch Mauricio. I think it is standard to use full- upgrade or dist-upgrade on upgrades to new releases, so with that in mind I think this is low priority. Input from others is certainlly welcome though. For now I'm going to triage this. ** Changed in: ceph (Ubuntu) Status: C

[Bug 1960065] Re: cloud archive: apt upgrade from rocky to stein keeps back some ceph packages

2022-02-04 Thread Mauricio Faria de Oliveira
** Description changed: - UCA Rocky has older versions than UCA Stein for some Ceph python2 - packages, e.g., python-cephfs. + Some ceph python2 packages have been dropped between rocky and stein. + (in Disco, from 13.2.1+dfsg1-0ubuntu3 to 13.2.2+dfsg1-0ubuntu1 [1]). - This is an issue for vers

[Bug 1960065] Re: cloud archive: apt upgrade from rocky to stein keeps back some ceph packages

2022-02-04 Thread Mauricio Faria de Oliveira
Test Steps: --- From rocky to stein, Some packages are kept back (see '10 not upgraded'): $ sudo apt --dry-run --yes upgrade ... The following packages have been kept back: ceph ceph-base ceph-common ceph-mgr ceph-mon ceph-osd libcephfs2 librados2 libradosstriper1 librbd1 ... ... and 10 not u

[Bug 1960065] Re: cloud archive: apt upgrade from rocky to stein keeps back some ceph packages

2022-02-04 Thread Mauricio Faria de Oliveira
Hi Corey, Yes, this is limited to `apt upgrade` per the restriction it has on package removal. I just tested the following debdiff successfully, if that helps. cheers, Mauricio -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https:/

[Bug 1960065] Re: cloud archive: apt upgrade from rocky to stein keeps back some ceph packages

2022-02-04 Thread Corey Bryant
Hi Mauricio, I just stepped through the following successfully. Is this limited to using 'apt upgrade'? root@bionic-uca:~# history 1 sudo apt --yes purge unattended-upgrades 2 apt update 3 sudo apt --yes install ceph 4 dpkg -s ceph | grep Version 5 sudo add-apt-repository

[Bug 1960065] Re: cloud archive: apt upgrade from rocky to stein keeps back some ceph packages

2022-02-04 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: ceph (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1960065 Title: cloud

[Bug 1960065] Re: cloud archive: apt upgrade from rocky to stein keeps back some ceph packages

2022-02-04 Thread Mauricio Faria de Oliveira
Thanks to ~pponnuvel for reporting the issue with `apt upgrade` internally. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1960065 Title: cloud archive: apt upgrade from rocky to stein keeps back som