[Ovirt-devel] Re: [PATCH server] added ovirt-wait4service and invokation in installer to wait for psql/ldap

Mohammed Morsi mmorsi at redhat.com
Tue Jun 23 20:34:19 UTC 2009


Unfortunately the build failed for the same reason, eg postgres isn't
available, with the patch applied.

http://llama.virt.bos/builder-old/ovirt/06-23-2009_15:52/module-ovirt-server.html


Interestingly the wait_for_postgres bit fails:

[0;37mdebug: //postgres::bundled/Single_exec[wait_for_postgres]: Changing returns
debug: //postgres::bundled/Single_exec[wait_for_postgres]: 1 change(s)
debug: //postgres::bundled/Single_exec[wait_for_postgres]: Executing '/usr/bin/ovirt-wait4service 'psql -l -U postgres' 10 2'
debug: Executing '/usr/bin/ovirt-wait4service 'psql -l -U postgres' 10 2'
err: //postgres::bundled/Single_exec[wait_for_postgres]/returns: change from notrun to 0 failed: /usr/bin/ovirt-wait4service 'psql -l -U postgres' 10 2 returned 1 instead of 0 at /usr/share/ace/modules/ovirt/manifests/postgres.pp:51
notice: //postgres::bundled/Single_exec[wait_for_postgres]: Triggering 'refresh' from 2 dependencies
debug: //postgres::bundled/Single_exec[wait_for_postgres]: Executing '/usr/bin/ovirt-wait4service 'psql -l -U postgres' 10 2'
debug: Executing '/usr/bin/ovirt-wait4service 'psql -l -U postgres' 10 2'
err: //postgres::bundled/Single_exec[wait_for_postgres]: Failed to call refresh on Single_exec[wait_for_postgres]: /usr/bin/ovirt-wait4service 'psql -l -U postgres' 10 2 returned 1 instead of 0 at /usr/share/ace/modules/ovirt/manifests/postgres.pp:51
notice: //postgres::bundled/Single_exec[create_ovirt_development_db]: Dependency single_exec[wait_for_postgres] has 1 failures
warning: //postgres::bundled/Single_exec[create_ovirt_development_db]: Skipping because of failed dependencies
notice: //postgres::bundled/Single_exec[create_ovirt_db]: Dependency single_exec[wait_for_postgres] has 1 failures
warning: //postgres::bundled/Single_exec[create_ovirt_db]: Skipping because of failed dependencies



Any thoughts?

   -Mo




More information about the ovirt-devel mailing list