[Bug 1840347] Re: Ceph 12.2.12 restarts services during upgrade

2019-10-30 Thread James Page
This bug was fixed in the package ceph - 12.2.12-0ubuntu0.18.04.3~cloud0 --- ceph (12.2.12-0ubuntu0.18.04.3~cloud0) xenial-queens; urgency=medium . * New update for the Ubuntu Cloud Archive. . ceph (12.2.12-0ubuntu0.18.04.3) bionic; urgency=medium . [ James Page ] *

[Bug 1840347] Re: Ceph 12.2.12 restarts services during upgrade

2019-10-21 Thread Eric Desrochers
[VERIFICATION QUEENS] * Before upgrade #pidof ceph-osd 22291 * After upgrade #pidof ceph-osd 26937 This is the expected behaviour, osd didn't restart ON nor AFTER upgrade, which now leave the decision to the sysadmin of the ceph cluster to decide when the daemons restart will happen via

[Bug 1840347] Re: Ceph 12.2.12 restarts services during upgrade

2019-10-14 Thread James Page
** Changed in: cloud-archive/train Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1840347 Title: Ceph 12.2.12 restarts services during upgrade To

[Bug 1840347] Re: Ceph 12.2.12 restarts services during upgrade

2019-10-14 Thread James Page
This bug was fixed in the package ceph - 13.2.6-0ubuntu0.18.10.3~cloud0 --- ceph (13.2.6-0ubuntu0.18.10.3~cloud0) bionic; urgency=medium . [ Eric Desrochers ] * Ensure that daemons are not automatically restarted during package upgrades (LP: #1840347): - d/rules: Use

[Bug 1840347] Re: Ceph 12.2.12 restarts services during upgrade

2019-10-14 Thread James Page
This bug was fixed in the package ceph - 13.2.6-0ubuntu0.19.04.4~cloud0 --- ceph (13.2.6-0ubuntu0.19.04.4~cloud0) bionic-stein; urgency=medium . * New update for the Ubuntu Cloud Archive. . ceph (13.2.6-0ubuntu0.19.04.4) disco; urgency=medium . [ Eric Desrochers ] *

[Bug 1840347] Re: Ceph 12.2.12 restarts services during upgrade

2019-09-30 Thread James Page
This bug is still pending verification for UCA pockets. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1840347 Title: Ceph 12.2.12 restarts services during upgrade To manage notifications about

[Bug 1840347] Re: Ceph 12.2.12 restarts services during upgrade

2019-09-30 Thread Launchpad Bug Tracker
This bug was fixed in the package ceph - 12.2.12-0ubuntu0.18.04.3 --- ceph (12.2.12-0ubuntu0.18.04.3) bionic; urgency=medium [ James Page ] * d/p/ceph-volume-wait-for-lvs.patch: Cherry pick inflight fix to ensure that required wal and db devices are present before

[Bug 1840347] Re: Ceph 12.2.12 restarts services during upgrade

2019-09-23 Thread Launchpad Bug Tracker
This bug was fixed in the package ceph - 13.2.6-0ubuntu0.19.04.4 --- ceph (13.2.6-0ubuntu0.19.04.4) disco; urgency=medium [ Eric Desrochers ] * Ensure that daemons are not automatically restarted during package upgrades (LP: #1840347): - d/rules: Use

[Bug 1840347] Re: Ceph 12.2.12 restarts services during upgrade

2019-09-09 Thread Edward Hope-Morley
** Tags added: sts-sru-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1840347 Title: Ceph 12.2.12 restarts services during upgrade To manage notifications about this bug go to:

[Bug 1840347] Re: Ceph 12.2.12 restarts services during upgrade

2019-09-05 Thread Eric Desrochers
[VERIFICATION DISCO] * Before upgrade [13.2.6-0ubuntu0.19.04.3] #pidof ceph-osd 26937 #ps ceph 26937 1 0 18:10 ?00:00:00 /usr/bin/ceph-osd -f --cluster ceph --id 0 --setuser ceph --setgroup ceph * After upgrade [13.2.6-0ubuntu0.19.04.4 #pidof ceph-osd 26937 #ps ceph

[Bug 1840347] Re: Ceph 12.2.12 restarts services during upgrade

2019-09-05 Thread Eric Desrochers
[VERIFICATION BIONIC] * Before the upgrade: #ps ceph 14495 1 0 14:40 ?00:00:32 /usr/bin/ceph-osd -f --cluster ceph --id 3 --setuser ceph --setgroup ceph # pidof ceph-osd 14495 #dpkg ii ceph12.2.12-0ubuntu0.18.04.2 amd64

[Bug 1840347] Re: Ceph 12.2.12 restarts services during upgrade

2019-09-05 Thread Łukasz Zemczak
Hello Kellen, or anyone else affected, Accepted ceph into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ceph/12.2.12-0ubuntu0.18.04.3 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

[Bug 1840347] Re: Ceph 12.2.12 restarts services during upgrade

2019-09-05 Thread Łukasz Zemczak
Hello Kellen, or anyone else affected, Accepted ceph into disco-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ceph/13.2.6-0ubuntu0.19.04.4 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

[Bug 1840347] Re: Ceph 12.2.12 restarts services during upgrade

2019-09-04 Thread Eric Desrochers
@Mark Schouten (mark-prevented), The fix is waiting for SRU approval in the bionic upload queue, then it will start building in bionic-proposed for the testing phase. At this point Bionic status will be change to "Fix Committed", and this will mark the beginning of the testing phase. - Eric --

[Bug 1840347] Re: Ceph 12.2.12 restarts services during upgrade

2019-09-04 Thread Mark Schouten
root@osdnode01:~# apt-cache policy ceph-common ceph-common: Installed: 12.2.11-1xenial Candidate: 12.2.12-0ubuntu0.18.04.2 Version table: 12.2.12-0ubuntu0.18.04.2 500 500 http://nl.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages 500

[Bug 1840347] Re: Ceph 12.2.12 restarts services during upgrade

2019-08-30 Thread James Page
** Also affects: cloud-archive Importance: Undecided Status: New ** Also affects: cloud-archive/queens Importance: Undecided Status: New ** Also affects: cloud-archive/stein Importance: Undecided Status: New ** Also affects: cloud-archive/train Importance:

[Bug 1840347] Re: Ceph 12.2.12 restarts services during upgrade

2019-08-30 Thread Alvaro Uria
** Tags added: canonical-bootstack -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1840347 Title: Ceph 12.2.12 restarts services during upgrade To manage notifications about this bug go to:

[Bug 1840347] Re: Ceph 12.2.12 restarts services during upgrade

2019-08-29 Thread Launchpad Bug Tracker
This bug was fixed in the package ceph - 14.2.2-0ubuntu2 --- ceph (14.2.2-0ubuntu2) eoan; urgency=medium [ Eric Desrochers ] * Ensure that daemons are not automatically restarted during package upgrades (LP: #1840347): - d/rules: Use "--no-restart-after-upgrade" and

[Bug 1840347] Re: Ceph 12.2.12 restarts services during upgrade

2019-08-29 Thread James Page
Setting as High across the board - if this is important in bionic, then its important for disco and eoan as well as they feed the UCA for bionic. ** Changed in: ceph (Ubuntu Disco) Importance: Medium => High ** Changed in: ceph (Ubuntu Eoan) Importance: Medium => High -- You received

[Bug 1840347] Re: Ceph 12.2.12 restarts services during upgrade

2019-08-27 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~slashd/ubuntu/+source/ceph/+git/ceph/+merge/371886 ** Merge proposal linked: https://code.launchpad.net/~slashd/ubuntu/+source/ceph/+git/ceph/+merge/371887 -- You received this bug notification because you are a member of Ubuntu

[Bug 1840347] Re: Ceph 12.2.12 restarts services during upgrade

2019-08-26 Thread Eric Desrochers
** Description changed: [Impact] Upgrading from ceph on Ubuntu 18.04 causes the ceph-osd services to be restarted without prompting. This appears to be in the configure section on the ceph-common,postinst: # Automatically added by dh_systemd_start/11.1.6ubuntu2 if [ "$1" =

[Bug 1840347] Re: Ceph 12.2.12 restarts services during upgrade

2019-08-20 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~slashd/ubuntu/+source/ceph/+git/ceph/+merge/371551 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1840347 Title: Ceph 12.2.12 restarts

[Bug 1840347] Re: Ceph 12.2.12 restarts services during upgrade

2019-08-20 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~slashd/ubuntu/+source/ceph/+git/ceph/+merge/371550 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1840347 Title: Ceph 12.2.12 restarts

[Bug 1840347] Re: Ceph 12.2.12 restarts services during upgrade

2019-08-20 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~slashd/ubuntu/+source/ceph/+git/ceph/+merge/371549 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1840347 Title: Ceph 12.2.12 restarts

[Bug 1840347] Re: Ceph 12.2.12 restarts services during upgrade

2019-08-20 Thread Eric Desrochers
# Before the upgrade : 12.2.12-0ubuntu0.18.04.1 ceph 15176 1 0 17:57 ? 00:00:59 /usr/bin/ceph-osd -f # After the upgrade: 12.2.12-0ubuntu0.18.04.2 # ==> It's a test pkg (not in the archive yet) ceph 15176 1 0 17:57 ? 00:01:00 /usr/bin/ceph-osd -f . I'll submit the MP to Cloud team for

[Bug 1840347] Re: Ceph 12.2.12 restarts services during upgrade

2019-08-20 Thread Eric Desrochers
Ok the change works as expected: # Before the upgrade : 12.2.12-0ubuntu0.18.04.1 root4019 1 0 17:45 ?00:00:00 bash /lib/systemd/system/jujud-unit-ceph-osd-1/exec-start.sh root40334019 0 17:45 ?00:00:04 /var/lib/juju/tools/unit-ceph-osd-1/jujud unit

[Bug 1840347] Re: Ceph 12.2.12 restarts services during upgrade

2019-08-20 Thread Eric Desrochers
** Description changed: [Impact] Upgrading from ceph on Ubuntu 18.04 causes the ceph-osd services to be restarted without prompting. This appears to be in the configure section on the ceph-common,postinst: # Automatically added by dh_systemd_start/11.1.6ubuntu2 if [ "$1" =

[Bug 1840347] Re: Ceph 12.2.12 restarts services during upgrade

2019-08-20 Thread Eric Desrochers
** Description changed: - Upgrading from 12.2.11-0ubuntu0.18.04.2 to 12.2.12-0ubuntu0.18.04.1 on - Ubuntu 18.04 causes the ceph-osd services to be restarted without - prompting. + [Impact] + + Upgrading from ceph on Ubuntu 18.04 causes the ceph-osd services to be + restarted without prompting.

[Bug 1840347] Re: Ceph 12.2.12 restarts services during upgrade

2019-08-20 Thread Eric Desrochers
By default compat 10 --restart-after-upgrade seems to be the default in compat 10. Which explain why the behaviour observed are different between upstream (dh 9) & Ubuntu (dh 10) (I build the Ubuntu ceph package with dh 9, and there is no trace of restart action) It's definitely a change of

[Bug 1840347] Re: Ceph 12.2.12 restarts services during upgrade

2019-08-20 Thread Eric Desrochers
Hopefully that should do the trick: override_dh_installinit: . - # Ensure Debian/Ubuntu specific systemd units are NOT automatically enabled and started - # Enable systemd targets only - dh_systemd_enable -Xceph-mon.service -Xceph-osd.service -X ceph-mds.service - # Start systemd targets

[Bug 1840347] Re: Ceph 12.2.12 restarts services during upgrade

2019-08-19 Thread Eric Desrochers
** Changed in: ceph (Ubuntu) Status: Confirmed => In Progress ** Changed in: ceph (Ubuntu) Assignee: (unassigned) => Eric Desrochers (slashd) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1840347] Re: Ceph 12.2.12 restarts services during upgrade

2019-08-19 Thread Eric Desrochers
Upstream ceph, does pretty much the same thing as I explained above ^: https://github.com/ceph/ceph/blob/master/debian/rules#L81-L92 They don't do any exclusion for osd, mds and mon like the the ceph source package in Ubuntu. I'll start testing. -- You received this bug notification because

[Bug 1840347] Re: Ceph 12.2.12 restarts services during upgrade

2019-08-19 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/1840347 Title: Ceph

[Bug 1840347] Re: Ceph 12.2.12 restarts services during upgrade

2019-08-16 Thread Eric Desrochers
Another thing you could do as a debug exercise to better understand what is going on is to modify the maintainer scripts in question by adding the following: - set -e + set -exv -v Print shell input lines as they are read. -x Print commands and their arguments as they are executed. and then

[Bug 1840347] Re: Ceph 12.2.12 restarts services during upgrade

2019-08-16 Thread Eric Desrochers
Another thing you could do as a debug exercise to better understand what is going is to modify the maintainer scripts in question and add the following: -set -e + set -exv -vPrint shell input lines as they are read. -xPrint commands and their arguments as they are executed. It

[Bug 1840347] Re: Ceph 12.2.12 restarts services during upgrade

2019-08-16 Thread Eric Desrochers
Another thing I'm not sure about how it should react this way but worth to explore: 77 override_dh_installinit: 131 # Ensure Debian/Ubuntu specific systemd units are NOT automatically enabled and started 132 # Enable systemd targets only 133

[Bug 1840347] Re: Ceph 12.2.12 restarts services during upgrade

2019-08-15 Thread Eric Desrochers
Then removing the units from the exclusion shoud be suffisant at line 135 in debian/rules. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1840347 Title: Ceph 12.2.12 restarts services during

[Bug 1840347] Re: Ceph 12.2.12 restarts services during upgrade

2019-08-15 Thread Dan Hill
The expected behavior during a package upgrade is to leave all the ceph service states unmodified. They should not be enabled/disabled or stopped/started. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1840347] Re: Ceph 12.2.12 restarts services during upgrade

2019-08-15 Thread Eric Desrochers
# ceph src package : debian/rules 135 dh_systemd_start --no-restart-on-upgrade -Xceph-mon.service -Xceph-osd.service -X ceph-mds.service It has the --no-restart-on-upgrade flag which is responsible for not stopping the service on upgrade. But there is an exclusion for : ceph- mon, ceph-osd and

[Bug 1840347] Re: Ceph 12.2.12 restarts services during upgrade

2019-08-15 Thread Eric Desrochers
http://manpages.ubuntu.com/manpages/bionic/man1/dh_systemd_start.1.html -r, --no-stop-on-upgrade, --no-restart-on-upgrade Do not stop service on upgrade. http://manpages.ubuntu.com/manpages/bionic/en/man7/debhelper.7.html -Xitem, --exclude=item Exclude an

[Bug 1840347] Re: Ceph 12.2.12 restarts services during upgrade

2019-08-15 Thread Eric Desrochers
# ceph src package : debian/rules 135 dh_systemd_start --no-restart-on-upgrade -Xceph-mon.service -Xceph-osd.service -X ceph-mds.service --no-restart-on-upgrade is good as it is not stopping the service on upgrade for everything but ceph-mon, ceph-osd and ceph-mds because they are

[Bug 1840347] Re: Ceph 12.2.12 restarts services during upgrade

2019-08-15 Thread Eric Desrochers
** Tags added: sts ** Changed in: ceph (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1840347 Title: Ceph 12.2.12 restarts services during upgrade To

[Bug 1840347] Re: Ceph 12.2.12 restarts services during upgrade

2019-08-15 Thread Dan Hill
** Description changed: Upgrading from 12.2.11-0ubuntu0.18.04.2 to 12.2.12-0ubuntu0.18.04.1 on Ubuntu 18.04 causes the ceph-osd services to be restarted without prompting. - This appears to be in the configure section on the postinst: + This appears to be in the configure section on the