clvm does not install automatically like most stuff

Bug #89963 reported by miked
2
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Invalid
Undecided
Unassigned
lvm2 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

root@Ubuntu704TFFAlphaHerd5:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up clvm (2.02.06-2ubuntu8) ...
Starting Cluster LVM Daemon clvmd could not connect to cluster manager
Consult syslog for more information
invoke-rc.d: initscript clvm, action "start" failed.
dpkg: error processing clvm (--configure):
 subprocess post-installation script returned error exit status 3
dpkg: dependency problems prevent configuration of redhat-cluster-suite:
 redhat-cluster-suite depends on clvm; however:
  Package clvm is not configured yet.
dpkg: error processing redhat-cluster-suite (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of system-config-cluster:
 system-config-cluster depends on redhat-cluster-suite; however:
  Package redhat-cluster-suite is not configured yet.
dpkg: error processing system-config-cluster (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 clvm
 redhat-cluster-suite
 system-config-cluster
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@Ubuntu704TFFAlphaHerd5:~#
root@Ubuntu704TFFAlphaHerd5:~# apt-get install redhat-cluster-suite
Reading package lists... Done
Building dependency tree
Reading state information... Done
redhat-cluster-suite is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up clvm (2.02.06-2ubuntu8) ...
Starting Cluster LVM Daemon clvmd could not connect to cluster manager
Consult syslog for more information
invoke-rc.d: initscript clvm, action "start" failed.
dpkg: error processing clvm (--configure):
 subprocess post-installation script returned error exit status 3
dpkg: dependency problems prevent configuration of redhat-cluster-suite:
 redhat-cluster-suite depends on clvm; however:
  Package clvm is not configured yet.
dpkg: error processing redhat-cluster-suite (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of system-config-cluster:
 system-config-cluster depends on redhat-cluster-suite; however:
  Package redhat-cluster-suite is not configured yet.
dpkg: error processing system-config-cluster (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 clvm
 redhat-cluster-suite
 system-config-cluster
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@Ubuntu704TFFAlphaHerd5:~#
root@Ubuntu704TFFAlphaHerd5:~# apt-get install system-config-cluster
Reading package lists... Done
Building dependency tree
Reading state information... Done
system-config-cluster is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up clvm (2.02.06-2ubuntu8) ...
Starting Cluster LVM Daemon clvmd could not connect to cluster manager
Consult syslog for more information
invoke-rc.d: initscript clvm, action "start" failed.
dpkg: error processing clvm (--configure):
 subprocess post-installation script returned error exit status 3
dpkg: dependency problems prevent configuration of redhat-cluster-suite:
 redhat-cluster-suite depends on clvm; however:
  Package clvm is not configured yet.
dpkg: error processing redhat-cluster-suite (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of system-config-cluster:
 system-config-cluster depends on redhat-cluster-suite; however:
  Package redhat-cluster-suite is not configured yet.
dpkg: error processing system-config-cluster (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 clvm
 redhat-cluster-suite
 system-config-cluster
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@Ubuntu704TFFAlphaHerd5:~#
root@Ubuntu704TFFAlphaHerd5:~# apt-get install clvm
Reading package lists... Done
Building dependency tree
Reading state information... Done
clvm is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up clvm (2.02.06-2ubuntu8) ...
Starting Cluster LVM Daemon clvmd could not connect to cluster manager
Consult syslog for more information
invoke-rc.d: initscript clvm, action "start" failed.
dpkg: error processing clvm (--configure):
 subprocess post-installation script returned error exit status 3
dpkg: dependency problems prevent configuration of redhat-cluster-suite:
 redhat-cluster-suite depends on clvm; however:
  Package clvm is not configured yet.
dpkg: error processing redhat-cluster-suite (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of system-config-cluster:
 system-config-cluster depends on redhat-cluster-suite; however:
  Package redhat-cluster-suite is not configured yet.
dpkg: error processing system-config-cluster (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 clvm
 redhat-cluster-suite
 system-config-cluster
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@Ubuntu704TFFAlphaHerd5:~#

I guess I don't know how to configure this right.

Revision history for this message
Michael Vogt (mvo) wrote :

I close the apt task here, there is little apt can do.

Changed in apt:
status: Unconfirmed → Rejected
Revision history for this message
Fabio Massimo Di Nitto (fabbione) wrote :

you clearly installed clvm in the first place and that did work just fine because clvm is instructed not to start on install.
then you did dist-upgrade without configuring cman (redhat-cluster-suite) or running it. That makes clvm fail as you see:
"Starting Cluster LVM Daemon clvmd could not connect to cluster manager".
clvm expects cman to run.
also clvm is provided by lvm2 package as extra plugin for the cluster-suite and not viceversa.

Fabio

Changed in redhat-cluster-suite:
status: Unconfirmed → Rejected
Revision history for this message
miked (miked11) wrote :

O.k. that's great, so how does one configure this to work?
They all act like they depend on the other things being configured first.
clvm
redhat-cluster-suite
system-config-cluster

I think this might have configured itself somehow over time, but I am still interested to know how to configure it.
So maybe it's not a bug, that's probably good.

Revision history for this message
miked (miked11) wrote :

Actually it didn't configure itself, my terminal spit-up is gone because I had to do a fresh install after running Kleansweep and it removed files needed that were not installed right because it ran out of hard drive space.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.