[SRU] Missing binary and dependency in 'cman' binary package
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
redhat-cluster (Ubuntu) |
Fix Released
|
Undecided
|
Ante Karamatić | ||
Precise |
Fix Released
|
Undecided
|
Unassigned | ||
Quantal |
Fix Released
|
Undecided
|
Ante Karamatić |
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/
# ccs_config_validate
Unable to update relaxng schema: /usr/sbin/
#
I think I have narrowed it down to a missing cluster.rng file:
# ls -al /usr/share/
lrwxrwxrwx 1 root root 28 Jan 13 17:07 /usr/share/
# ls -al /var/lib/
ls: cannot access /var/lib/
#
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://
100 /var/lib/
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: cman 3.1.7-0ubuntu2
ProcVersionSign
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-
PATH=(custom, no user)
LANG=en_US.UTF-8
LANGUAGE=en_US:en
SourcePackage: redhat-cluster
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
Changed in redhat-cluster (Ubuntu): | |
assignee: | nobody → Ante Karamatić (ivoks) |
Changed in redhat-cluster (Ubuntu): | |
status: | Confirmed → In Progress |
description: | updated |
summary: |
- ccs_config_validate exits with 191 and broken link for cluster.rng + [SRU] Missing binary and dependency in 'cman' binary package |
Changed in redhat-cluster (Ubuntu): | |
status: | In Progress → Confirmed |
tags: |
added: verification-done removed: verification-needed |
Yes, I can confirm that problem.
"cman_tool version -r" calls "ccs_config_ validate" and exits with the same error.
--> So I cannot promote changes in "cluster.conf".