Comment 15 for bug 2013084

Revision history for this message
Michał Małoszewski (michal-maloszewski99) wrote :

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
        usage: /usr/lib/ocf/resource.d/heartbeat/pgsql start|stop|status|monitor|promote|demote|notify|meta-data|validate-all|methods

        /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:

ubuntu@juju-fc1c81-1:~$ sudo /usr/lib/ocf/resource.d/heartbeat/pgsql monitor
ocf-exit-reason:Setup problem: couldn't find command:

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