/usr/lib/ocf/resource.d/heartbeat/pgsql manages a PostgreSQL Server as an HA resource.
The 'start' operation starts the PostgreSQL server.
The 'stop' operation stops the PostgreSQL server.
The 'status' operation reports whether the PostgreSQL is up.
The 'monitor' operation reports whether the PostgreSQL is running.
The 'promote' operation promotes the PostgreSQL server.
The 'demote' operation demotes the PostgreSQL server.
The 'validate-all' operation reports whether the parameters are valid.
The 'methods' operation reports on the methods /usr/lib/ocf/resource.d/heartbeat/pgsql supports.
ubuntu@juju-fc1c81-1:~$ /usr/lib/ocf/resource.d/heartbeat/pgsql monitor
error: Could not connect to controller: Permission denied
ocf-exit-reason:Setup problem: couldn't find command:
When I try to fix the problem, the next error/warning appears.
I think that at the end Keha can test it when it reaches -proposed. I will update the Test Plan to be less vague and provide as many details as I know about it. How do you think about it? @Keha, @ahasenack
I built the setup and configured the pgsql and I had the same trouble as mentioned in the comment #5.
Nested _weird_ problem with a function call.
ubuntu@ juju-fc1c81- 1:~$ /usr/lib/ ocf/resource. d/heartbeat/ pgsql ocf/resource. d/heartbeat/ pgsql start|stop| status| monitor| promote| demote| notify| meta-data| validate- all|methods
usage: /usr/lib/
The 'start' operation starts the PostgreSQL server. ocf/resource. d/heartbeat/ pgsql supports.
The 'stop' operation stops the PostgreSQL server.
The 'status' operation reports whether the PostgreSQL is up.
The 'monitor' operation reports whether the PostgreSQL is running.
The 'promote' operation promotes the PostgreSQL server.
The 'demote' operation demotes the PostgreSQL server.
The 'validate-all' operation reports whether the parameters are valid.
The 'methods' operation reports on the methods /usr/lib/
ubuntu@ juju-fc1c81- 1:~$ /usr/lib/ ocf/resource. d/heartbeat/ pgsql monitor reason: Setup problem: couldn't find command:
error: Could not connect to controller: Permission denied
ocf-exit-
ubuntu@ juju-fc1c81- 1:~$ sudo /usr/lib/ ocf/resource. d/heartbeat/ pgsql monitor reason: Setup problem: couldn't find command:
ocf-exit-
ubuntu@ juju-fc1c81- 1:~$
When I try to fix the problem, the next error/warning appears.
I think that at the end Keha can test it when it reaches -proposed. I will update the Test Plan to be less vague and provide as many details as I know about it. How do you think about it? @Keha, @ahasenack