[OpenIndiana-discuss] problem with pcs package

Marc Lobelle marc.lobelle at uclouvain.be
Fri Mar 4 10:08:48 UTC 2022


hello,

I'm trying to install pacemaker, a software implementing high 
availability clusters.

Openindiana includes a package called pacemaker. It includes a 
communication software called corosync. This one I managed to get 
running as a smf service.

However, the documentation on pacemaker (Clusters from scratch release 
2.1.2) explains how to launch pacemaker using a command called pcs, that 
is not included in the pacemaker package. However, openindiana has also 
a package called pcs. Thus I installed it and tried it:

     ml at mosquito:/export/home/ml# pcs status corosync
     Traceback (most recent call last):
       File "/usr/sbin/pcs", line 33, in <module>
         sys.exit(load_entry_point('pcs==0.10.1', 'console_scripts', 
'pcs')())
       File 
"/usr/lib/python3.7/vendor-packages/pkg_resources/__init__.py", line 
474, in      load_entry_point
         return get_distribution(dist).load_entry_point(group, name)
       File 
"/usr/lib/python3.7/vendor-packages/pkg_resources/__init__.py", line 
2846, in load_entry_point
         return ep.load()
       File 
"/usr/lib/python3.7/vendor-packages/pkg_resources/__init__.py", line 
2450, in load
     return self.resolve()
       File 
"/usr/lib/python3.7/vendor-packages/pkg_resources/__init__.py", line 
2456, in resolve
         module = __import__(self.module_name, fromlist=['__name__'], 
level=0)
       File "/usr/lib/python3.7/vendor-packages/pcs/app.py", line 6, in 
<module>
         from pcs import (
       File "/usr/lib/python3.7/vendor-packages/pcs/acl.py", line 3, in 
<module>
         from pcs import (
       File "/usr/lib/python3.7/vendor-packages/pcs/prop.py", line 4, in 
<module>
     from pcs import (
       File "/usr/lib/python3.7/vendor-packages/pcs/utils.py", line 24, 
in <module>
         from pcs.common import (
     ModuleNotFoundError: No module named 'pcs.common'
     ml at mosquito:/export/home/ml#

Where is this pcs.common module ?




More information about the openindiana-discuss mailing list