[Openstack-devel] Bug#694518: Bug#694518: [RFR] templates://sheepdog/{sheepdog.templates}

Justin B Rye jbr at edlug.org.uk
Wed Dec 5 11:08:25 UTC 2012


YunQiang Su wrote:
> Justin B Rye <jbr at edlug.org.uk> wrote:
>>>> (Does that mean "with 7000 as the corosync driver port" or is it two
>>>> things, "start on port 7000, using the corosync driver"?  Or will
>>>> sheepdog users find it obvious?)
> 
> This port is for server Qemu.
> This port is nothing matter with corosync

Thankyou, that's "Option B"!  I still don't know what range of
responses to this template would be valid, but I don't really need to
know that; what matters is, if you want it to be clear that the port
and the driver are independent variables, there needs to be at least
an extra comma separating them:

  start with the corosync driver, on port 7000.
                                ^
or preferably (as in my amended patch):

  start on port 7000, using the corosync driver.

-- 
JBR	with qualifications in linguistics, experience as a Debian
	sysadmin, and probably no clue about this particular package
-------------- next part --------------
Template: sheepdog/start
Type: boolean
Default: true
_Description: Automatically start the sheepdog service?
 Please choose whether the sheepdog service should start automatically
 when the system is booted.

Template: sheepdog/daemon_args
Type: string
Default: 
_Description: Arguments for the sheepdog daemon:
 Please choose the commandline arguments that should be passed to the
 sheepdog daemon. If no argument is given, the default behavior is to
 start on port 7000, using the corosync driver.
 .
 Available options include:
   -p, --port              specify the TCP port to listen to
   -l, --loglevel          specify the level of logging detail
   -d, --debug             include debug messages in the log
   -D, --directio          use direct I/O when accessing the object store
   -z, --zone              specify the zone ID
   -c, --cluster           specify the cluster driver
 More information can be found in the sheep(8) manual page.
-------------- next part --------------
diff -ru sheepdog-0.5.4.pristine/debian/control sheepdog-0.5.4/debian/control
--- sheepdog-0.5.4.pristine/debian/control	2012-11-25 14:52:16.000000000 +0000
+++ sheepdog-0.5.4/debian/control	2012-12-01 16:35:43.000000000 +0000
@@ -20,8 +20,8 @@
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Recommends: corosync
-Description: Distributed storage system for KVM/QEMU
+Description: distributed storage system for KVM/QEMU
  Sheepdog provides highly available block level storage volumes that can be
- attached to KVM/QEMU virtual machines. Sheepdog scales to several hundreds
- nodes, and supports advanced volume management features such as snapshot,
+ attached to KVM/QEMU virtual machines. Sheepdog scales to several hundred
+ nodes, and supports advanced volume management features such as snapshots,
  cloning, and thin provisioning.
diff -ru sheepdog-0.5.4.pristine/debian/sheepdog.templates sheepdog-0.5.4/debian/sheepdog.templates
--- sheepdog-0.5.4.pristine/debian/sheepdog.templates	2012-10-24 07:52:54.000000000 +0100
+++ sheepdog-0.5.4/debian/sheepdog.templates	2012-12-05 11:06:34.042723991 +0000
@@ -1,22 +1,23 @@
 Template: sheepdog/start
 Type: boolean
 Default: true
-_Description: Automatic start sheepdog service?
- You can set this to false to make sheepdog service doesn't
- start automaticly if you need.
+_Description: Automatically start the sheepdog service?
+ Please choose whether the sheepdog service should start automatically
+ when the system is booted.
 
 Template: sheepdog/daemon_args
 Type: string
 Default: 
-_Description: The arguments passed when start service:
- The default behavior with no argument is start with corosync driver on
- port 7000.
+_Description: Arguments for the sheepdog daemon:
+ Please choose the commandline arguments that should be passed to the
+ sheepdog daemon. If no argument is given, the default behavior is to
+ start on port 7000, using the corosync driver.
  .
- The options can be used include:
-   -p, --port              specify the TCP port on which to listen
+ Available options include:
+   -p, --port              specify the TCP port to listen to
    -l, --loglevel          specify the level of logging detail
    -d, --debug             include debug messages in the log
-   -D, --directio          use direct IO when accessing the object store
-   -z, --zone              specify the zone id
+   -D, --directio          use direct I/O when accessing the object store
+   -z, --zone              specify the zone ID
    -c, --cluster           specify the cluster driver
- More infomation can be found in sheep(8).
+ More information can be found in the sheep(8) manual page.
-------------- next part --------------
Source: sheepdog
Section: admin
Priority: optional
Maintainer: PKG OpenStack <openstack-devel at lists.alioth.debian.org>
Uploaders: YunQiang Su <wzssyqa at gmail.com>, Guido Guenther <agx at debian.org>
Build-Depends: debhelper (>= 7.0.50~),
 dh-autoreconf,
 bash-completion,
 pkg-config,
 libcorosync-dev,
 liburcu-dev,
 libzookeeper-mt-dev [linux-any],
 po-debconf
Standards-Version: 3.9.4.0
Homepage: http://www.osrg.net/sheepdog/
Vcs-Browser: http://git.debian.org/?p=openstack/sheepdog.git
Vcs-Git: git://git.debian.org/openstack/sheepdog.git

Package: sheepdog
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Recommends: corosync
Description: distributed storage system for KVM/QEMU
 Sheepdog provides highly available block level storage volumes that can be
 attached to KVM/QEMU virtual machines. Sheepdog scales to several hundred
 nodes, and supports advanced volume management features such as snapshots,
 cloning, and thin provisioning.


More information about the Openstack-devel mailing list