[Bug 956383] Re: [SRU] Missing binary and dependency in 'cman' binary package

Launchpad Bug Tracker 956383 at bugs.launchpad.net
Wed May 2 05:52:21 UTC 2012


** Branch linked: lp:ubuntu/precise-proposed/redhat-cluster

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/956383

Title:
  [SRU] Missing binary and dependency in 'cman' binary package

Status in “redhat-cluster” package in Ubuntu:
  Confirmed
Status in “redhat-cluster” source package in Precise:
  Fix Committed
Status in “redhat-cluster” source package in Quantal:
  Confirmed

Bug description:
  [Impact]
  This bug impacts all cman installations in 12.04. Being unable to update cluster.rng means that one can not verify if cluster.conf is valid.

  [Development Fix]
  No development version yet.

  [Stable Fix]
  Patch is a simple patch, affecting only debian/* files. Bug consists of three packaging bugs. Fix makes sure '/var/lib/cluster' is created during installation, it also makes sure 'ccs_update_schema' binary gets installed and adds new dep to cman binary - xsltproc. It's required to properly generate cluster.rng.

  [Test Case]
  1. Install 12.04 and then install cman package
  2. Create file '/tmp/cluster.conf' containing:

  <?xml version="1.0"?>
  <cluster config_version="1" name="test">
  <clusternodes/>
  </cluster>

  3. Run 'sudo ccs_config_validate -f /tmp/cluster.conf'
  4. Expected result:
  Configuration validates
  (exit code 0)

  [Regression Potential]
  Regression potential is non-existing since current state of package is unusable.

  Original report:

  After installing cman and using ccs_tool to create a basic (but valid)
  /etc/cluster/cluster.conf, I am unable to run ccs_config_validate:

  # ccs_config_validate
  Unable to update relaxng schema: /usr/sbin/ccs_config_validate: line 191: ccs_update_schema: command not found
  #

  I think I have narrowed it down to a missing cluster.rng file:

  # ls -al /usr/share/cluster/cluster.rng
  lrwxrwxrwx 1 root root 28 Jan 13 17:07 /usr/share/cluster/cluster.rng -> /var/lib/cluster/cluster.rng
  # ls -al /var/lib/cluster/cluster.rng
  ls: cannot access /var/lib/cluster/cluster.rng: No such file or directory
  #

  Description:	Ubuntu precise (development branch)
  Release:	12.04

  cman:
    Installed: 3.1.7-0ubuntu2
    Candidate: 3.1.7-0ubuntu2
    Version table:
   *** 3.1.7-0ubuntu2 0
          500 http://dk.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
          100 /var/lib/dpkg/status

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: cman 3.1.7-0ubuntu2
  ProcVersionSignature: Ubuntu 3.2.0-17.27-generic 3.2.6
  Uname: Linux 3.2.0-17-generic x86_64
  ApportVersion: 1.94.1-0ubuntu2
  Architecture: amd64
  Date: Thu Mar 15 20:55:35 2012
  InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Beta amd64 (20120229)
  ProcEnviron:
   SHELL=/bin/bash
   TERM=xterm-256color
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   LANGUAGE=en_US:en
  SourcePackage: redhat-cluster
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/redhat-cluster/+bug/956383/+subscriptions



More information about the Ubuntu-sponsors mailing list