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 ]
*
[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
** 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
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
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 ]
*
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
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
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
** 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:
[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
[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
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
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
@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
--
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
** 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:
** 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:
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
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
** 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
** 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" =
** 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
** 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
** 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
# 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
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
** 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" =
** 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.
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
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
** 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.
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
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
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
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
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
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
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.
# 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
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
# 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
** 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
** 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
43 matches
Mail list logo