Hi,
after a long break from toying with Zato I am trying to set up another quickstart cluster.
Running two VMs on this attempt, one of them holds the postgresql database the other the zato installation.
When running this command I get an error about something I believe is missing in the ODB:
zato@ZatoTest:~/esb/qs1$ zato quickstart create ~/esb/qs1 postgresql localhost 6379 --verbose --odb_host 10.47.12.145 --odb_port 5432 --postgresql_schema zato --odb_user zato --odb_db_name zatoODBTest --postgresql_schema zato
I get to step 7(I assume) and errors start showing up:
ODB database password (will not be echoed):
Enter the odb_password again (will not be echoed):
Key/value database password (will not be echoed):
Enter the kvdb_password again (will not be echoed):
[1/8] Certificate authority created
[2/8] ODB schema created
[3/8] ODB initial data created
[4/8] server1 created
[5/8] server2 created
[6/8] Load-balancer created
Traceback (most recent call last):
File "/opt/zato/current/bin/zato", line 183, in <module>
sys.exit(zato.cli.zato_command.main())
File "/opt/zato/2.0.7/zato-cli/src/zato/cli/zato_command.py", line 262, in main
return run_command(get_parser().parse_args())
File "/opt/zato/2.0.7/zato-cli/src/zato/cli/__init__.py", line 266, in run_command
command_class[args.command](args).run(args)
File "/opt/zato/2.0.7/zato-cli/src/zato/cli/__init__.py", line 483, in run
return_code = self.execute(args)
File "/opt/zato/2.0.7/zato-cli/src/zato/cli/quickstart.py", line 347, in execute
create_web_admin_args, False, password, True)
File "/opt/zato/2.0.7/zato-cli/src/zato/cli/create_web_admin.py", line 147, in execute
call_command('migrate', run_syncdb=True, interactive=False, verbosity=0)
File "/opt/zato/2.0.7/eggs/Django-1.9.3-py2.7.egg/django/core/management/__init__.py", line 119, in call_command
return command.execute(*args, **defaults)
File "/opt/zato/2.0.7/eggs/Django-1.9.3-py2.7.egg/django/core/management/base.py", line 399, in execute
output = self.handle(*args, **options)
File "/opt/zato/2.0.7/eggs/Django-1.9.3-py2.7.egg/django/core/management/commands/migrate.py", line 172, in handle
self.sync_apps(connection, executor.loader.unmigrated_apps)
File "/opt/zato/2.0.7/eggs/Django-1.9.3-py2.7.egg/django/core/management/commands/migrate.py", line 293, in sync_apps
cursor.execute(statement)
File "/opt/zato/2.0.7/eggs/Django-1.9.3-py2.7.egg/django/db/backends/utils.py", line 79, in execute
return super(CursorDebugWrapper, self).execute(sql, params)
File "/opt/zato/2.0.7/eggs/Django-1.9.3-py2.7.egg/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
File "/opt/zato/2.0.7/eggs/Django-1.9.3-py2.7.egg/django/db/utils.py", line 95, in __exit__
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/opt/zato/2.0.7/eggs/Django-1.9.3-py2.7.egg/django/db/backends/utils.py", line 62, in execute
return self.cursor.execute(sql)
ProgrammingError: relation "django_content_type" does not exist
65 tables have popped up in the zato schema in the database so I know quickstart is able to manipulate the database with the given db user(zato).
Anyone got a tip or two for me?
Thanks