Your message dated Mon, 8 Jul 2019 15:03:19 +0200
with message-id <[email protected]>
and subject line Closing this one
has caused the Debian Bug report #931603,
regarding stretch-pu: package puppet-module-cinder/13.1.0-3+deb10u1
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
931603: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931603
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
Tags: stretch
User: [email protected]
Usertags: pu
Hi,
While puppet-module-cinder works well if using the LVM backend, I discovered
that it fails in Buster when using Ceph, because it tries to write in
/etc/init (and upstart is gone...). The attached debdiff fixes it. Please
allow me to upload this fix to Buster.
Cheers,
Thomas Goirand (zigo)
diff -Nru puppet-module-cinder-13.1.0/debian/changelog
puppet-module-cinder-13.1.0/debian/changelog
--- puppet-module-cinder-13.1.0/debian/changelog 2018-11-28
15:58:01.000000000 +0100
+++ puppet-module-cinder-13.1.0/debian/changelog 2019-07-04
14:59:42.000000000 +0200
@@ -1,3 +1,9 @@
+puppet-module-cinder (13.1.0-3+deb10u1) buster; urgency=medium
+
+ * Add missing Ceph patch: Do_not_attempt_to_write_in_etc_init.patch.
+
+ -- Thomas Goirand <[email protected]> Thu, 04 Jul 2019 14:59:42 +0200
+
puppet-module-cinder (13.1.0-3) unstable; urgency=medium
* Add 0001-Add-File.expand_path-to-cinder.rb.patch.
diff -Nru
puppet-module-cinder-13.1.0/debian/patches/Do_not_attempt_to_write_in_etc_init.patch
puppet-module-cinder-13.1.0/debian/patches/Do_not_attempt_to_write_in_etc_init.patch
---
puppet-module-cinder-13.1.0/debian/patches/Do_not_attempt_to_write_in_etc_init.patch
1970-01-01 01:00:00.000000000 +0100
+++
puppet-module-cinder-13.1.0/debian/patches/Do_not_attempt_to_write_in_etc_init.patch
2019-07-04 14:59:42.000000000 +0200
@@ -0,0 +1,29 @@
+Description: Do not attempt to write in /etc/init
+ manifests/backend/rbd.pp attempts to write in /etc/init, when
+ upstart has long gone. The result is that it just fails to run.
+ So let's remove this, as it's broken.
+From: Thomas Goirand <[email protected]>
+Date: Sat, 13 Apr 2019 21:34:37 +0200
+Change-Id: I7666c775f4d269f214d3f853e56d0eb076834164
+Forwarded: https://review.openstack.org/#/c/652209/
+Last-Update: 2019-04-13
+
+Index: puppet-module-cinder/manifests/backend/rbd.pp
+===================================================================
+--- puppet-module-cinder.orig/manifests/backend/rbd.pp
++++ puppet-module-cinder/manifests/backend/rbd.pp
+@@ -144,14 +144,4 @@ define cinder::backend::rbd (
+ fail("unsupported osfamily ${::osfamily}, currently Debian and Redhat
are the only supported platforms")
+ }
+ }
+-
+- # Creates an empty file if it doesn't yet exist
+- ensure_resource('file', $::cinder::params::ceph_init_override, {'ensure' =>
'present'})
+-
+- file_line { "set initscript env ${name}":
+- line => $override_line,
+- path => $::cinder::params::ceph_init_override,
+- notify => Anchor['cinder::service::begin'],
+- }
+-
+ }
diff -Nru puppet-module-cinder-13.1.0/debian/patches/series
puppet-module-cinder-13.1.0/debian/patches/series
--- puppet-module-cinder-13.1.0/debian/patches/series 2018-11-28
15:58:01.000000000 +0100
+++ puppet-module-cinder-13.1.0/debian/patches/series 2019-07-04
14:59:42.000000000 +0200
@@ -1 +1,2 @@
0001-Add-File.expand_path-to-cinder.rb.patch
+Do_not_attempt_to_write_in_etc_init.patch
--- End Message ---
--- Begin Message ---
This is a duplicate of #931616, which is opened with the correct tags
and subject. So I'm closing this one.
Sorry for the mess, though since I fixed reportbug (and opened a bug
with the matching patch), this wont happen again (my laptop already has
the patched reportbug version:) ).
Cheers,
Thomas Goirand (zigo)
--- End Message ---