# diff cluster.conf_007 cluster.conf
3c3
< <cluster alias="tuxtest" config_version="7" name="tuxtest">
---
> <cluster config_version="8" name="tuxtest">

# ccs_config_validate
Configuration validates

Yippie!!! :-D

Is "alias" not supported any more or is this still a bug to be solved?

********************

But here is the next problem:

# cman_tool version -r
sh: 1: /usr/bin/ccs_sync: not found
cman_tool: ccs_sync failed.
If you have distributed the config file yourself, try re-running with -S

Is "ccs_sync" still missing in the package?

-- 
You received this bug notification because you are a member of Ubuntu
High Availability Team, which is subscribed to redhat-cluster in Ubuntu.
https://bugs.launchpad.net/bugs/956383

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

Status in “redhat-cluster” package in Ubuntu:
  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

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-ha
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-ha
More help   : https://help.launchpad.net/ListHelp

Reply via email to