Skip to content

slave doesn't start with PG_INIT=false #4

@scorpp

Description

@scorpp
docker run --rm --name postgresql-slave -e PG_DEPLOYMENT_TYPE=replicated -e PG_ROLE=slave -e PG_INIT=False -e PG_WAL_LEVEL=hot_standby -e PG_MASTER_HOST=192.168.122.55 -p 5432:5432/tcp bettervoice/postgresql-container:9.3
 * Starting PostgreSQL 9.3 database server
   ...done.
Traceback (most recent call last):
  File "/usr/bin/start-postgres", line 162, in <module>
    run('heartbeat')
  File "/usr/bin/start-postgres", line 133, in run
    check_call([app] + list(args))
  File "/usr/lib/python2.7/subprocess.py", line 535, in check_call
    retcode = call(*popenargs, **kwargs)
  File "/usr/lib/python2.7/subprocess.py", line 522, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

heartbeat script is only written when initialize var is true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions