[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 ]
   * d/p/ceph-volume-wait-for-lvs.patch: Cherry pick inflight fix to
 ensure that required wal and db devices are present before
 activating OSD's (LP: #1828617).
 .
   [ Jesse Williamson ]
   * d/p/civetweb-755-1.8-somaxconn-configurable*.patch: Backport changes
 to civetweb to allow tuning of SOMAXCONN in Ceph RADOS Gateway
 deployments (LP: #1838109).
 .
   [ James Page ]
   * d/p/rgw-gc-use-aio.patch: Cherry pick fix to switch to using AIO for
 garbage collection of objects in the Ceph RADOS Gateway
 (LP: #1838858).
 .
   [ Eric Desrochers ]
   * Ensure that daemons are not automatically restarted during package
 upgrades (LP: #1840347):
 - d/rules: Use "--no-restart-after-upgrade" and "--no-stop-on-upgrade"
   instead of "--no-restart-on-upgrade".
 - d/rules: Drop exclusion for ceph-[osd,mon,mds] for restarts.


** Changed in: cloud-archive/queens
   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 manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1840347/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 their maintenance window policy.

** Tags removed: verification-queens-needed
** Tags added: verification-queens-done

-- 
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:
https://bugs.launchpad.net/cloud-archive/+bug/1840347/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1840347/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 "--no-restart-after-upgrade" and "--no-stop-on-upgrade"
   instead of "--no-restart-on-upgrade".
 - d/rules: Drop exclusion for ceph-[osd,mon,mds] for restarts.
 .
   [ 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
 activating OSD's (LP: #1828617).
 .
   [ Jesse Williamson ]
   * d/p/civetweb-755-1.8-somaxconn-configurable*.patch: Backport changes
 to civetweb to allow tuning of SOMAXCONN in Ceph RADOS Gateway
 deployments (LP: #1838109).


** Changed in: cloud-archive/rocky
   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 manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1840347/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 ]
   * Ensure that daemons are not automatically restarted during package
 upgrades (LP: #1840347):
 - d/rules: Use "--no-restart-after-upgrade" and "--no-stop-on-upgrade"
   instead of "--no-restart-on-upgrade".
 - d/rules: Drop exclusion for ceph-[osd,mon,mds] for restarts.
 .
   [ 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
 activating OSD's (LP: #1828617).
 .
   [ Jesse Williamson ]
   * d/p/civetweb-755-1.8-somaxconn-configurable*.patch: Backport changes
 to civetweb to allow tuning of SOMAXCONN in Ceph RADOS Gateway
 deployments (LP: #1838109).


** Changed in: cloud-archive/stein
   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 manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1840347/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1840347/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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
activating OSD's (LP: #1828617).

  [ Jesse Williamson ]
  * d/p/civetweb-755-1.8-somaxconn-configurable*.patch: Backport changes
to civetweb to allow tuning of SOMAXCONN in Ceph RADOS Gateway
deployments (LP: #1838109).

  [ James Page ]
  * d/p/rgw-gc-use-aio.patch: Cherry pick fix to switch to using AIO for
garbage collection of objects in the Ceph RADOS Gateway
(LP: #1838858).

  [ Eric Desrochers ]
  * Ensure that daemons are not automatically restarted during package
upgrades (LP: #1840347):
- d/rules: Use "--no-restart-after-upgrade" and "--no-stop-on-upgrade"
  instead of "--no-restart-on-upgrade".
- d/rules: Drop exclusion for ceph-[osd,mon,mds] for restarts.

 -- James Page   Fri, 30 Aug 2019 10:11:09 +0100

** Changed in: ceph (Ubuntu Bionic)
   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 manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1840347/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 "--no-restart-after-upgrade" and "--no-stop-on-upgrade"
  instead of "--no-restart-on-upgrade".
- d/rules: Drop exclusion for ceph-[osd,mon,mds] for restarts.

  [ 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
activating OSD's (LP: #1828617).

  [ Jesse Williamson ]
  * d/p/civetweb-755-1.8-somaxconn-configurable*.patch: Backport changes
to civetweb to allow tuning of SOMAXCONN in Ceph RADOS Gateway
deployments (LP: #1838109).

 -- James Page   Fri, 30 Aug 2019 10:10:04 +0100

** Changed in: ceph (Ubuntu Disco)
   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 manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1840347/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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:
https://bugs.launchpad.net/cloud-archive/+bug/1840347/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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   26937   1  0 18:10 ?00:00:00 /usr/bin/ceph-osd -f 
--cluster ceph --id 0 --setuser ceph --setgroup ceph


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 their maintenance window policy.

** Tags removed: verification-needed-disco
** Tags added: verification-done-disco

-- 
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:
https://bugs.launchpad.net/cloud-archive/+bug/1840347/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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
amd64distributed storage and file system
ii  ceph-base   12.2.12-0ubuntu0.18.04.2
amd64common ceph daemon libraries and management tools
ii  ceph-common 12.2.12-0ubuntu0.18.04.2
amd64common utilities to mount and interact with a ceph storage cluster
ii  ceph-mgr12.2.12-0ubuntu0.18.04.2
amd64manager for the ceph distributed file system
ii  ceph-mon12.2.12-0ubuntu0.18.04.2
amd64monitor server for the ceph storage system
ii  ceph-osd12.2.12-0ubuntu0.18.04.2
amd64OSD server for the ceph storage system
ii  libcephfs2  12.2.12-0ubuntu0.18.04.2
amd64Ceph distributed file system client library
ii  python-cephfs   12.2.12-0ubuntu0.18.04.2
amd64Python libraries for the Ceph libcephfs library
ii  python-rados12.2.12-0ubuntu0.18.04.2
amd64Python libraries for the Ceph librados library
ii  python-rbd  12.2.12-0ubuntu0.18.04.2
amd64Python libraries for the Ceph librbd library


* After the upgrade to the proposed package:

#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 -l | grep -i ceph
ii  ceph12.2.12-0ubuntu0.18.04.3
amd64distributed storage and file system
ii  ceph-base   12.2.12-0ubuntu0.18.04.3
amd64common ceph daemon libraries and management tools
ii  ceph-common 12.2.12-0ubuntu0.18.04.3
amd64common utilities to mount and interact with a ceph storage cluster
ii  ceph-mgr12.2.12-0ubuntu0.18.04.3
amd64manager for the ceph distributed file system
ii  ceph-mon12.2.12-0ubuntu0.18.04.3
amd64monitor server for the ceph storage system
ii  ceph-osd12.2.12-0ubuntu0.18.04.3
amd64OSD server for the ceph storage system
ii  libcephfs2  12.2.12-0ubuntu0.18.04.3
amd64Ceph distributed file system client library
ii  python-cephfs   12.2.12-0ubuntu0.18.04.3
amd64Python libraries for the Ceph libcephfs library
ii  python-rados12.2.12-0ubuntu0.18.04.3
amd64Python libraries for the Ceph librados library
ii  python-rbd  12.2.12-0ubuntu0.18.04.3
amd64Python libraries for the Ceph librbd library

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 to restart via their maintenance window policy.


** Tags removed: verification-needed-bionic
** Tags added: verification-done-bionic

-- 
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:
https://bugs.launchpad.net/cloud-archive/+bug/1840347/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-bionic to verification-done-bionic. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-bionic. In either case, without details of
your testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: ceph (Ubuntu Bionic)
   Status: In Progress => Fix Committed

** Tags added: verification-needed-bionic

-- 
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:
https://bugs.launchpad.net/cloud-archive/+bug/1840347/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-disco to verification-done-disco. If it does not fix
the bug for you, please add a comment stating that, and change the tag
to verification-failed-disco. In either case, without details of your
testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: ceph (Ubuntu Disco)
   Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-disco

-- 
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:
https://bugs.launchpad.net/cloud-archive/+bug/1840347/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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

-- 
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:
https://bugs.launchpad.net/cloud-archive/+bug/1840347/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 http://security.ubuntu.com/ubuntu bionic-security/main amd64 
Packages

Isn't this fixed now in bionic as well?

-- 
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:
https://bugs.launchpad.net/cloud-archive/+bug/1840347/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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: Undecided
   Status: New

** Also affects: cloud-archive/rocky
   Importance: Undecided
   Status: New

** Changed in: cloud-archive/train
   Status: New => In Progress

** Changed in: cloud-archive/stein
   Status: New => In Progress

** Changed in: cloud-archive/rocky
   Status: New => In Progress

** Changed in: cloud-archive/queens
   Status: New => In Progress

** Changed in: cloud-archive/train
   Importance: Undecided => High

** Changed in: cloud-archive/stein
   Importance: Undecided => High

** Changed in: cloud-archive/rocky
   Importance: Undecided => High

** Changed in: cloud-archive/queens
   Importance: Undecided => High

** CVE removed: https://cve.mitre.org/cgi-
bin/cvename.cgi?name=2019-10222

** Changed in: cloud-archive/train
 Assignee: (unassigned) => James Page (james-page)

** Changed in: cloud-archive/stein
 Assignee: (unassigned) => James Page (james-page)

** Changed in: cloud-archive/rocky
 Assignee: (unassigned) => James Page (james-page)

** Changed in: cloud-archive/queens
 Assignee: (unassigned) => James Page (james-page)

-- 
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:
https://bugs.launchpad.net/cloud-archive/+bug/1840347/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1840347/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 "--no-stop-on-upgrade"
  instead of "--no-restart-on-upgrade".
- d/rules: Drop exclusion for ceph-[osd,mon,mds] for restarts.

  [ Jesse Williamson ]
  * d/p/civetweb-755-1.8-somaxconn-configurable*.patch: Backport changes
to civetweb to allow tuning of SOMAXCONN in Ceph RADOS Gateway
deployments (LP: #1838109).

  [ 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
activating OSD's (LP: #1828617).

  [ Steve Beattie ]
  * SECURITY UPDATE: RADOS gateway remote denial of service
- d/p/CVE-2019-10222.patch: rgw: asio: check the remote endpoint
  before processing requests.
- CVE-2019-10222

 -- James Page   Thu, 29 Aug 2019 13:54:25 +0100

** Changed in: ceph (Ubuntu Eoan)
   Status: In Progress => Fix Released

** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2019-10222

-- 
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:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1840347/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 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:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1840347/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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
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:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1840347/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = 
"abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
  if [ -d /run/systemd/system ]; then
  systemctl --system daemon-reload >/dev/null || true
  if [ -n "$2" ]; then
  _dh_action=restart
  else
  _dh_action=start
  fi
  deb-systemd-invoke $_dh_action 'ceph.target' >/dev/null || 
true
  fi
  fi
  # End automatically added section
  
  This is a change of behaviour compare to debhelper 9.
  --restart-after-upgrade is the default in compat 10.
  
  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.
  
  [Test Case]
  * Check pid of ceph-osd (before upgrade)
  * sudo apt-get update
  * sudo apt-get upgrade
  * Check pid of ceph-osd (after upgrade)
  
  If the pid changes, it means ceph-osd has been restarted, and the
  restart or stop/start has been exercised.
  
  [Potential Regression]
  
  Low, the desire is to control the precise timing of the restart.
  
  The larger context is that there may multiple updates (in this case
- kernel) and one want a single stop/start when the reboot occurred.
+ kernel) and one want a single stop/start when the reboot occurred, not 2
+ (1 due to ceph postinst and 1 for the reboot (to load new kernel) for
+ instance).
  
  The goal is for the admin to choose when (and which) ceph services move
  to the new code level.
  
  [Other Information]

** 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" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = 
"abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
  if [ -d /run/systemd/system ]; then
  systemctl --system daemon-reload >/dev/null || true
  if [ -n "$2" ]; then
  _dh_action=restart
  else
  _dh_action=start
  fi
  deb-systemd-invoke $_dh_action 'ceph.target' >/dev/null || 
true
  fi
  fi
  # End automatically added section
  
  This is a change of behaviour compare to debhelper 9.
  --restart-after-upgrade is the default in compat 10.
  
  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.
  
  [Test Case]
  * Check pid of ceph-osd (before upgrade)
  * sudo apt-get update
  * sudo apt-get upgrade
  * Check pid of ceph-osd (after upgrade)
  
  If the pid changes, it means ceph-osd has been restarted, and the
  restart or stop/start has been exercised.
  
  [Potential Regression]
  
  Low, the desire is to control the precise timing of the restart.
  
  The larger context is that there may multiple updates (in this case
  kernel) and one want a single stop/start when the reboot occurred, not 2
  (1 due to ceph postinst and 1 for the reboot (to load new kernel) for
  instance).
  
  The goal is for the admin to choose when (and which) ceph services move
- to the new code level.
+ to the new code level, after upgrading the package.
  
  [Other Information]

** 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" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = 
"abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
  if [ -d /run/systemd/system ]; then
  systemctl --system daemon-reload >/dev/null || true
  if [ -n "$2" ]; then
  _dh_action=restart
  else
  _dh_action=start
  fi
  deb-systemd-invoke $_dh_action 'ceph.target' >/dev/null || 
true
  fi
  fi
  # End automatically added section
  
  This is a change of behaviour compare to debhelper 9.
  --restart-after-upgrade is the default in compat 10.
  
  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.
  
  [Test Case]
  * Check pid of ceph-osd (before upgrade)
  * sudo apt-get update
  * sudo 

[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 services during upgrade

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1840347/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 services during upgrade

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1840347/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 services during upgrade

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1840347/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 approval by end of week.

- Eric

-- 
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:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1840347/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 --data-dir /var/lib/juju 
--unit-name ceph-osd/1 --debug
ceph   15176   1  0 17:57 ?00:00:59 /usr/bin/ceph-osd -f 
--cluster ceph --id 1 --setuser ceph --setgroup ceph
root   258134033 50 22:58 ?00:00:02 python3 
/var/lib/juju/agents/unit-ceph-osd-1/charm/hooks/update-status
ubuntu 25910   25782  0 22:58 pts/000:00:00 grep --color=auto -i 
ceph-osd

# After the upgrade: 12.2.12-0ubuntu0.18.04.2 # ==> It's a test pkg (not in the 
archive yet)
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 --data-dir /var/lib/juju 
--unit-name ceph-osd/1 --debug
ceph   15176   1  0 17:57 ?00:01:00 /usr/bin/ceph-osd -f 
--cluster ceph --id 1 --setuser ceph --setgroup ceph
root   28926   26301  0 23:01 pts/000:00:00 grep --color=auto -i ceph

I'll submit the MP to Cloud team for approval by end of week.

- Eric

-- 
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:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1840347/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = 
"abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
  if [ -d /run/systemd/system ]; then
  systemctl --system daemon-reload >/dev/null || true
  if [ -n "$2" ]; then
  _dh_action=restart
  else
  _dh_action=start
  fi
  deb-systemd-invoke $_dh_action 'ceph.target' >/dev/null || 
true
  fi
  fi
  # End automatically added section
  
- This is a change of behaviour compare to debhelper 9. 
+ This is a change of behaviour compare to debhelper 9.
  --restart-after-upgrade is the default in compat 10.
  
  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.
  
  [Test Case]
  * Check pid of ceph-osd (before upgrade)
  * sudo apt-get update
  * sudo apt-get upgrade
  * Check pid of ceph-osd (after upgrade)
  
  If the pid changes, it means ceph-osd has been restarted, and the
  restart or stop/start has been exercised.
  
  [Potential Regression]
  
- [Other Informations]
+ Low, the desire is to control the precise timing of the restart.
+ 
+ The larger context is that there may multiple updates (in this case
+ kernel) and one want a single stop/start when the reboot occurred.
+ 
+ The goal is for the admin to choose when (and which) ceph services move
+ to the new code level.
+ 
+ [Other Information]

-- 
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:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1840347/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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.
  
  This appears to be in the configure section on the ceph-common,postinst:
  # Automatically added by dh_systemd_start/11.1.6ubuntu2
  if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = 
"abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
  if [ -d /run/systemd/system ]; then
  systemctl --system daemon-reload >/dev/null || true
  if [ -n "$2" ]; then
  _dh_action=restart
  else
  _dh_action=start
  fi
  deb-systemd-invoke $_dh_action 'ceph.target' >/dev/null || 
true
  fi
  fi
  # End automatically added section
  
- dpkg.log after the upgrade shows that "configure" was exercised:
- 2019-08-15 10:49:18 upgrade ceph-common:amd64 12.2.11-0ubuntu0.18.04.2 
12.2.12-
- ...
- 2019-08-15 10:49:29 configure ceph-common:amd64 12.2.12-0ubuntu0.18.04.1 

- ..
- 2019-08-15 10:49:56 status installed ceph-common:amd64 
12.2.12-0ubuntu0.18.04.1
+ This is a change of behaviour compare to debhelper 9. 
+ --restart-after-upgrade is the default in compat 10.
+ 
+ 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.
+ 
+ [Test Case]
+ * Check pid of ceph-osd (before upgrade)
+ * sudo apt-get update
+ * sudo apt-get upgrade
+ * Check pid of ceph-osd (after upgrade)
+ 
+ If the pid changes, it means ceph-osd has been restarted, and the
+ restart or stop/start has been exercised.
+ 
+ [Potential Regression]
+ 
+ [Other Informations]

-- 
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:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1840347/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 behaviour cause with the introduction of dh
10 in the Ceph package.


* dh_systemd_start should be run after dh_installinit, as it is right now it is 
running inside dh_installinit.

* --no-restart-on-upgrade still works, but deprecated, to avoid
confusion a new alias has been created: --no-stop-on-upgrade

* I think the source package may need both : --no-stop-on-upgrade --no-
restart-after-upgrade in order to hopefully stop restarting.

This is where I am at the moment.

- Eric

-- 
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:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1840347/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 only
- dh_systemd_start --no-restart-on-upgrade

override_dh_systemd_enable:
- # systemd start done as part of dh_installinit
+   dh_systemd_enable -Xceph-mon.service -Xceph-osd.service -X 
ceph-mds.service

override_dh_systemd_start:
- # systemd start done as part of dh_installinit
+   dh_systemd_start --no-stop-on-upgrade --no-restart-after-upgrade

** Also affects: ceph (Ubuntu Eoan)
   Importance: High
 Assignee: Eric Desrochers (slashd)
   Status: In Progress

** Also affects: ceph (Ubuntu Disco)
   Importance: Undecided
   Status: New

** Also affects: ceph (Ubuntu Bionic)
   Importance: Undecided
   Status: New

** Changed in: ceph (Ubuntu Bionic)
   Importance: Undecided => High

** Changed in: ceph (Ubuntu Eoan)
   Importance: High => Medium

** Changed in: ceph (Ubuntu Disco)
 Assignee: (unassigned) => Eric Desrochers (slashd)

** Changed in: ceph (Ubuntu Bionic)
 Assignee: (unassigned) => Eric Desrochers (slashd)

** Changed in: ceph (Ubuntu Disco)
   Importance: Undecided => Medium

** Changed in: ceph (Ubuntu Disco)
   Status: New => In Progress

** Changed in: ceph (Ubuntu Bionic)
   Status: New => In Progress

-- 
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:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1840347/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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.
https://bugs.launchpad.net/bugs/1840347

Title:
  Ceph 12.2.12  restarts services during upgrade

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1840347/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 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:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1840347/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 12.2.12  restarts services during upgrade

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1840347/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 build a test package(instrumented) from it. It might be useful
to see exactly what is happening behind the curtains.

Hope these few tips help !

- Eric

-- 
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:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1840347/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 might be useful to see exactly it does behind the curtains.

Hope these few tips help !

- Eric

-- 
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:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1840347/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 dh_systemd_enable -Xceph-mon.service -Xceph-osd.service -X 
ceph-mds.service
134 # Start systemd targets only
135 dh_systemd_start --no-restart-on-upgrade -Xceph-mon.service 
-Xceph-osd.service -X ceph-mds.service
136 
137 override_dh_systemd_enable:
138 # systemd enable done as part of dh_installinit
139 
140 override_dh_systemd_start:
141 # systemd start done as part of dh_installinit


Documentation:
Note that dh_systemd_start should be run after dh_installinit so that it can 
detect
corresponding SysV init scripts. The default sequence in dh does the right 
thing, this
note is only relevant when you are calling dh_systemd_start manually.

I would first try with the following to place the
dh_systemd_[enable|start] execution where it should belong.

 77 override_dh_installinit:

-   131 # Ensure Debian/Ubuntu specific systemd units are NOT 
automatically enabled and started
-   132 # Enable systemd targets only
-   133 dh_systemd_enable -Xceph-mon.service -Xceph-osd.service -X 
ceph-mds.service
-   134 # Start systemd targets only
-   135 dh_systemd_start --no-restart-on-upgrade
136 
137 override_dh_systemd_enable:
+   # Ensure Debian/Ubuntu specific systemd units are NOT 
automatically enabled and started
-   138 # systemd enable done as part of dh_installinit
+   138 dh_systemd_enable -Xceph-mon.service -Xceph-osd.service -X 
ceph-mds.service
139 
140 override_dh_systemd_start:
+   # Enable systemd targets only
-   141 # systemd start done as part of dh_installinit
+   141 dh_systemd_start --no-restart-on-upgrade

That's what I would do first and give that a try.

- Eric

-- 
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:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1840347/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 upgrade

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1840347/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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.
https://bugs.launchpad.net/bugs/1840347

Title:
  Ceph 12.2.12  restarts services during upgrade

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1840347/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 ceph-mds, meaning they are subject to restart with
that exclusion (-X).

What is the expected behaviour here for mon, osd and mds ?

- Eric

-- 
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:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1840347/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 item from processing. This option may be used multiple 
times, to exclude
   more than one thing. The \fIitem\fR is typically part of a filename, 
and any file
   containing the specified text will be excluded.

-- 
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:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1840347/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 excluded.

What is the expected behaviour here for mon, osd and mds ?

- Eric

-- 
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:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1840347/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1840347/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 ceph-common,postinst:
  # Automatically added by dh_systemd_start/11.1.6ubuntu2
  if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = 
"abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
- if [ -d /run/systemd/system ]; then
- systemctl --system daemon-reload >/dev/null || true
- if [ -n "$2" ]; then
- _dh_action=restart
- else
- _dh_action=start
- fi
- deb-systemd-invoke $_dh_action 'ceph.target' >/dev/null || 
true
- fi
+ if [ -d /run/systemd/system ]; then
+ systemctl --system daemon-reload >/dev/null || true
+ if [ -n "$2" ]; then
+ _dh_action=restart
+ else
+ _dh_action=start
+ fi
+ deb-systemd-invoke $_dh_action 'ceph.target' >/dev/null || 
true
+ fi
  fi
  # End automatically added section
- ```
  
+ dpkg.log after the upgrade shows that "configure" was exercised:
  2019-08-15 10:49:18 upgrade ceph-common:amd64 12.2.11-0ubuntu0.18.04.2 
12.2.12-
  ...
  2019-08-15 10:49:29 configure ceph-common:amd64 12.2.12-0ubuntu0.18.04.1 

  ..
  2019-08-15 10:49:56 status installed ceph-common:amd64 
12.2.12-0ubuntu0.18.04.1

-- 
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:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1840347/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs