Hi recently i was trying to install Tower in centos7 bu t iam getting a error during the time of installation / Can i get some help ???
The Error I’m getting is this :
TASK [awx_install : Migrate the Tower database schema (may take awhile when upgrading).] ****************************************************************************************************
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: [“awx-manage”, “migrate”, “–noinput”], “delta”: “0:00:04.740891”, “end”: “2019-07-20 19:18:57.200241”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2019-07-20 19:18:52.459350”, “stderr”: “Traceback (most recent call last):\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/backends/base/base.py", line 213, in ensure_connection\n self.connect()\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/backends/base/base.py", line 189, in connect\n self.connection = self.get_new_connection(conn_params)\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/backends/postgresql/base.py", line 176, in get_new_connection\n connection = Database.connect(**conn_params)\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/psycopg2/init.py", line 130, in connect\n conn = _connect(dsn, connection_factory=connection_factory, **kwasync)\npsycopg2.OperationalError: fe_sendauth: no password supplied\n\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File "/settings.py", line 91, in _ctit_db_wrapper\n File "/settings.py", line 447, in getattr\n File "/settings.py", line 363, in _get_local\n File "/settings.py", line 325, in _preload_cache\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/models/query.py", line 250, in iter\n self._fetch_all()\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/models/query.py", line 1121, in _fetch_all\n self._result_cache = list(self._iterable_class(self))\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/models/query.py", line 53, in iter\n results = compiler.execute_sql(chunked_fetch=self.chunked_fetch)\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/models/sql/compiler.py", line 887, in execute_sql\n cursor = self.connection.cursor()\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/backends/base/base.py", line 254, in cursor\n return self._cursor()\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/backends/base/base.py", line 229, in _cursor\n self.ensure_connection()\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/backends/base/base.py", line 213, in ensure_connection\n self.connect()\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/utils.py", line 94, in exit\n six.reraise(dj_exc_type, dj_exc_value, traceback)\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/utils/six.py", line 685, in reraise\n raise value.with_traceback(tb)\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/backends/base/base.py", line 213, in ensure_connection\n self.connect()\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/backends/base/base.py", line 189, in connect\n self.connection = self.get_new_connection(conn_params)\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/backends/postgresql/base.py", line 176, in get_new_connection\n connection = Database.connect(**conn_params)\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/psycopg2/init.py", line 130, in connect\n conn = _connect(dsn, connection_factory=connection_factory, **kwasync)\ndjango.db.utils.OperationalError: fe_sendauth: no password supplied\n\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/backends/base/base.py", line 213, in ensure_connection\n self.connect()\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/backends/base/base.py", line 189, in connect\n self.connection = self.get_new_connection(conn_params)\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/backends/postgresql/base.py", line 176, in get_new_connection\n connection = Database.connect(**conn_params)\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/psycopg2/init.py", line 130, in connect\n conn = _connect(dsn, connection_factory=connection_factory, **kwasync)\npsycopg2.OperationalError: fe_sendauth: no password supplied\n\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File "/bin/awx-manage", line 11, in \n load_entry_point(‘awx==3.5.1’, ‘console_scripts’, ‘awx-manage’)()\n File "/init.py", line 140, in manage\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/management/init.py", line 364, in execute_from_command_line\n utility.execute()\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/management/init.py", line 356, in execute\n self.fetch_command(subcommand).run_from_argv(self.argv)\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/management/base.py", line 283, in run_from_argv\n self.execute(*args, **cmd_options)\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/management/base.py", line 327, in execute\n self.check()\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/management/base.py", line 359, in check\n include_deployment_checks=include_deployment_checks,\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/management/commands/migrate.py", line 62, in _run_checks\n issues.extend(super(Command, self)._run_checks(**kwargs))\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/management/base.py", line 346, in _run_checks\n return checks.run_checks(**kwargs)\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/checks/registry.py", line 81, in run_checks\n new_errors = check(app_configs=app_configs)\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/checks/urls.py", line 16, in check_url_config\n return check_resolver(resolver)\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/checks/urls.py", line 26, in check_resolver\n return check_method()\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/urls/resolvers.py", line 256, in check\n for pattern in self.url_patterns:\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/utils/functional.py", line 35, in get\n res = instance.dict[self.name] = self.func(instance)\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/urls/resolvers.py", line 407, in url_patterns\n patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/utils/functional.py", line 35, in get\n res = instance.dict[self.name] = self.func(instance)\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/urls/resolvers.py", line 400, in urlconf_module\n return import_module(self.urlconf_name)\n File "/opt/rh/rh-python36/root/usr/lib64/python3.6/importlib/init.py", line 126, in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n File "", line 994, in _gcd_import\n File "", line 971, in _find_and_load\n File "", line 955, in _find_and_load_unlocked\n File "", line 665, in _load_unlocked\n File "", line 678, in exec_module\n File "", line 219, in _call_with_frames_removed\n File "/urls.py", line 17, in \n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/conf/urls/init.py", line 50, in include\n urlconf_module = import_module(urlconf_module)\n File "/opt/rh/rh-python36/root/usr/lib64/python3.6/importlib/init.py", line 126, in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n File "", line 994, in _gcd_import\n File "", line 971, in _find_and_load\n File "", line 955, in _find_and_load_unlocked\n File "", line 665, in _load_unlocked\n File "", line 678, in exec_module\n File "", line 219, in _call_with_frames_removed\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/social_django/urls.py", line 6, in \n from . import views\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/social_django/views.py", line 10, in \n from .utils import psa\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/social_django/utils.py", line 13, in \n BACKENDS = settings.AUTHENTICATION_BACKENDS\n File "/settings.py", line 543, in getattr_without_cache\n File "/settings.py", line 447, in getattr\n File "/opt/rh/rh-python36/root/usr/lib64/python3.6/contextlib.py", line 99, in exit\n self.gen.throw(type, value, traceback)\n File "/settings.py", line 93, in _ctit_db_wrapper\n File "/db.py", line 14, in get_tower_migration_version\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/migrations/loader.py", line 52, in init\n self.build_graph()\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/migrations/loader.py", line 210, in build_graph\n self.applied_migrations = recorder.applied_migrations()\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/migrations/recorder.py", line 65, in applied_migrations\n self.ensure_schema()\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/migrations/recorder.py", line 52, in ensure_schema\n if self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor()):\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/backends/base/base.py", line 254, in cursor\n return self._cursor()\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/backends/base/base.py", line 229, in _cursor\n self.ensure_connection()\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/backends/base/base.py", line 213, in ensure_connection\n self.connect()\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/utils.py", line 94, in exit\n six.reraise(dj_exc_type, dj_exc_value, traceback)\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/utils/six.py", line 685, in reraise\n raise value.with_traceback(tb)\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/backends/base/base.py", line 213, in ensure_connection\n self.connect()\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/backends/base/base.py", line 189, in connect\n self.connection = self.get_new_connection(conn_params)\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/backends/postgresql/base.py", line 176, in get_new_connection\n connection = Database.connect(**conn_params)\n File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/psycopg2/init.py", line 130, in connect\n conn = _connect(dsn, connection_factory=connection_factory, **kwasync)\ndjango.db.utils.OperationalError: fe_sendauth: no password supplied”, “stderr_lines”: [“Traceback (most recent call last):”, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/backends/base/base.py", line 213, in ensure_connection", " self.connect()“, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/backends/base/base.py", line 189, in connect”, " self.connection = self.get_new_connection(conn_params)“, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/backends/postgresql/base.py", line 176, in get_new_connection”, " connection = Database.connect(**conn_params)“, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/psycopg2/init.py", line 130, in connect”, " conn = _connect(dsn, connection_factory=connection_factory, **kwasync)“, “psycopg2.OperationalError: fe_sendauth: no password supplied”, “”, “”, “The above exception was the direct cause of the following exception:”, “”, “Traceback (most recent call last):”, " File "/settings.py", line 91, in _ctit_db_wrapper”, " File "/settings.py", line 447, in getattr", " File "/settings.py", line 363, in _get_local", " File "/settings.py", line 325, in _preload_cache", " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/models/query.py", line 250, in iter", " self._fetch_all()“, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/models/query.py", line 1121, in _fetch_all”, " self._result_cache = list(self._iterable_class(self))“, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/models/query.py", line 53, in iter”, " results = compiler.execute_sql(chunked_fetch=self.chunked_fetch)“, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/models/sql/compiler.py", line 887, in execute_sql”, " cursor = self.connection.cursor()“, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/backends/base/base.py", line 254, in cursor”, " return self._cursor()“, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/backends/base/base.py", line 229, in _cursor”, " self.ensure_connection()“, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/backends/base/base.py", line 213, in ensure_connection”, " self.connect()“, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/utils.py", line 94, in exit”, " six.reraise(dj_exc_type, dj_exc_value, traceback)“, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/utils/six.py", line 685, in reraise”, " raise value.with_traceback(tb)“, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/backends/base/base.py", line 213, in ensure_connection”, " self.connect()“, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/backends/base/base.py", line 189, in connect”, " self.connection = self.get_new_connection(conn_params)“, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/backends/postgresql/base.py", line 176, in get_new_connection”, " connection = Database.connect(**conn_params)“, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/psycopg2/init.py", line 130, in connect”, " conn = _connect(dsn, connection_factory=connection_factory, **kwasync)“, “django.db.utils.OperationalError: fe_sendauth: no password supplied”, “”, “”, “During handling of the above exception, another exception occurred:”, “”, “Traceback (most recent call last):”, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/backends/base/base.py", line 213, in ensure_connection”, " self.connect()“, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/backends/base/base.py", line 189, in connect”, " self.connection = self.get_new_connection(conn_params)“, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/backends/postgresql/base.py", line 176, in get_new_connection”, " connection = Database.connect(**conn_params)“, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/psycopg2/init.py", line 130, in connect”, " conn = _connect(dsn, connection_factory=connection_factory, **kwasync)“, “psycopg2.OperationalError: fe_sendauth: no password supplied”, “”, “”, “The above exception was the direct cause of the following exception:”, “”, “Traceback (most recent call last):”, " File "/bin/awx-manage", line 11, in ”, " load_entry_point(‘awx==3.5.1’, ‘console_scripts’, ‘awx-manage’)()“, " File "/init.py", line 140, in manage”, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/management/init.py", line 364, in execute_from_command_line", " utility.execute()“, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/management/init.py", line 356, in execute”, " self.fetch_command(subcommand).run_from_argv(self.argv)“, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/management/base.py", line 283, in run_from_argv”, " self.execute(*args, **cmd_options)“, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/management/base.py", line 327, in execute”, " self.check()“, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/management/base.py", line 359, in check”, " include_deployment_checks=include_deployment_checks,“, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/management/commands/migrate.py", line 62, in _run_checks”, " issues.extend(super(Command, self)._run_checks(**kwargs))“, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/management/base.py", line 346, in _run_checks”, " return checks.run_checks(**kwargs)“, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/checks/registry.py", line 81, in run_checks”, " new_errors = check(app_configs=app_configs)“, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/checks/urls.py", line 16, in check_url_config”, " return check_resolver(resolver)“, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/checks/urls.py", line 26, in check_resolver”, " return check_method()“, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/urls/resolvers.py", line 256, in check”, " for pattern in self.url_patterns:“, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/utils/functional.py", line 35, in get”, " res = instance.dict[self.name] = self.func(instance)“, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/urls/resolvers.py", line 407, in url_patterns”, " patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)“, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/utils/functional.py", line 35, in get”, " res = instance.dict[self.name] = self.func(instance)“, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/urls/resolvers.py", line 400, in urlconf_module”, " return import_module(self.urlconf_name)“, " File "/opt/rh/rh-python36/root/usr/lib64/python3.6/importlib/init.py", line 126, in import_module”, " return _bootstrap._gcd_import(name[level:], package, level)“, " File "", line 994, in _gcd_import”, " File "", line 971, in _find_and_load", " File "", line 955, in _find_and_load_unlocked", " File "", line 665, in _load_unlocked", " File "", line 678, in exec_module", " File "", line 219, in _call_with_frames_removed", " File "/urls.py", line 17, in “, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/conf/urls/init.py", line 50, in include”, " urlconf_module = import_module(urlconf_module)“, " File "/opt/rh/rh-python36/root/usr/lib64/python3.6/importlib/init.py", line 126, in import_module”, " return _bootstrap._gcd_import(name[level:], package, level)“, " File "", line 994, in _gcd_import”, " File "", line 971, in _find_and_load", " File "", line 955, in _find_and_load_unlocked", " File "", line 665, in _load_unlocked", " File "", line 678, in exec_module", " File "", line 219, in _call_with_frames_removed", " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/social_django/urls.py", line 6, in “, " from . import views”, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/social_django/views.py", line 10, in “, " from .utils import psa”, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/social_django/utils.py", line 13, in “, " BACKENDS = settings.AUTHENTICATION_BACKENDS”, " File "/settings.py", line 543, in getattr_without_cache", " File "/settings.py", line 447, in getattr", " File "/opt/rh/rh-python36/root/usr/lib64/python3.6/contextlib.py", line 99, in exit", " self.gen.throw(type, value, traceback)“, " File "/settings.py", line 93, in _ctit_db_wrapper”, " File "/db.py", line 14, in get_tower_migration_version", " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/migrations/loader.py", line 52, in init", " self.build_graph()“, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/migrations/loader.py", line 210, in build_graph”, " self.applied_migrations = recorder.applied_migrations()“, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/migrations/recorder.py", line 65, in applied_migrations”, " self.ensure_schema()“, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/migrations/recorder.py", line 52, in ensure_schema”, " if self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor()):“, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/backends/base/base.py", line 254, in cursor”, " return self._cursor()“, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/backends/base/base.py", line 229, in _cursor”, " self.ensure_connection()“, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/backends/base/base.py", line 213, in ensure_connection”, " self.connect()“, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/utils.py", line 94, in exit”, " six.reraise(dj_exc_type, dj_exc_value, traceback)“, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/utils/six.py", line 685, in reraise”, " raise value.with_traceback(tb)“, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/backends/base/base.py", line 213, in ensure_connection”, " self.connect()“, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/backends/base/base.py", line 189, in connect”, " self.connection = self.get_new_connection(conn_params)“, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/backends/postgresql/base.py", line 176, in get_new_connection”, " connection = Database.connect(**conn_params)“, " File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/psycopg2/init.py", line 130, in connect”, " conn = _connect(dsn, connection_factory=connection_factory, **kwasync)", “django.db.utils.OperationalError: fe_sendauth: no password supplied”], “stdout”: “”, “stdout_lines”: }
PLAY RECAP **********************************************************************************************************************************************************************************
localhost : ok=106 changed=11 unreachable=0 failed=1 skipped=59 rescued=0 ignored=0