Project

Profile

Help

Issue #7136 ยป ansible_log.txt

the vagrant run - zen42@linux.com, 07/14/2020 07:06 PM

 
[vagrant@pulp pulp_installer]$ ansible-playbook pulp_install.yaml -u vagrant --ask-become-pass
BECOME password:
[DEPRECATION WARNING]: The use of 'static' has been deprecated. Use 'import_tasks' for static inclusion, or 'include_tasks' for dynamic inclusion. This
feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.

PLAY [all] **************************************************************************************************************************************************

TASK [Gathering Facts] **************************************************************************************************************************************
ok: [pulp]

TASK [pulp.pulp_installer.pulp_database : Load OS specific variables] ***************************************************************************************
ok: [pulp]

TASK [pulp.pulp_installer.pulp_database : Set database defaults if not provided] ****************************************************************************
ok: [pulp]

TASK [pulp.pulp_installer.pulp_database : include_tasks] ****************************************************************************************************
included: /home/vagrant/.ansible/collections/ansible_collections/pulp/pulp_installer/roles/pulp_database/tasks/install_postgres.yml for pulp

TASK [pulp.pulp_installer.pulp_database : Install SCL package] **********************************************************************************************
ok: [pulp]

TASK [pulp.pulp_installer.pulp_database : Install PostgreSQL SCL] *******************************************************************************************
ok: [pulp]

TASK [pulp.pulp_installer.pulp_database : Enable PostgreSQL SCL] ********************************************************************************************
ok: [pulp]

TASK [pulp.pulp_installer.pulp_database : Set listen addresses] *********************************************************************************************
skipping: [pulp]

TASK [Install and configure PostgreSQL] *********************************************************************************************************************

TASK [geerlingguy.postgresql : include_tasks] ***************************************************************************************************************
included: /home/vagrant/.ansible/roles/geerlingguy.postgresql/tasks/variables.yml for pulp

TASK [geerlingguy.postgresql : Include OS-specific variables (Debian).] *************************************************************************************
skipping: [pulp]

TASK [geerlingguy.postgresql : Include OS-specific variables (RedHat).] *************************************************************************************
ok: [pulp]

TASK [geerlingguy.postgresql : Include OS-specific variables (Fedora).] *************************************************************************************
skipping: [pulp]

TASK [geerlingguy.postgresql : Define postgresql_packages.] *************************************************************************************************
skipping: [pulp]

TASK [geerlingguy.postgresql : Define postgresql_version.] **************************************************************************************************
ok: [pulp]

TASK [geerlingguy.postgresql : Define postgresql_daemon.] ***************************************************************************************************
skipping: [pulp]

TASK [geerlingguy.postgresql : Define postgresql_data_dir.] *************************************************************************************************
skipping: [pulp]

TASK [geerlingguy.postgresql : Define postgresql_bin_path.] *************************************************************************************************
skipping: [pulp]

TASK [geerlingguy.postgresql : Define postgresql_config_path.] **********************************************************************************************
skipping: [pulp]

TASK [geerlingguy.postgresql : Define postgresql_unix_socket_directories_mode.] *****************************************************************************
ok: [pulp]

TASK [geerlingguy.postgresql : include_tasks] ***************************************************************************************************************
included: /home/vagrant/.ansible/roles/geerlingguy.postgresql/tasks/setup-RedHat.yml for pulp

TASK [geerlingguy.postgresql : Ensure PostgreSQL packages are installed.] ***********************************************************************************
ok: [pulp]

TASK [geerlingguy.postgresql : Ensure PostgreSQL Python libraries are installed.] ***************************************************************************
ok: [pulp]

TASK [geerlingguy.postgresql : include_tasks] ***************************************************************************************************************
skipping: [pulp]

TASK [geerlingguy.postgresql : include_tasks] ***************************************************************************************************************
included: /home/vagrant/.ansible/roles/geerlingguy.postgresql/tasks/initialize.yml for pulp

TASK [geerlingguy.postgresql : Set PostgreSQL environment variables.] ***************************************************************************************
ok: [pulp]

TASK [geerlingguy.postgresql : Ensure PostgreSQL data directory exists.] ************************************************************************************
ok: [pulp]

TASK [geerlingguy.postgresql : Check if PostgreSQL database is initialized.] ********************************************************************************
ok: [pulp]

TASK [geerlingguy.postgresql : Ensure PostgreSQL database is initialized.] **********************************************************************************
skipping: [pulp]

TASK [geerlingguy.postgresql : include_tasks] ***************************************************************************************************************
included: /home/vagrant/.ansible/roles/geerlingguy.postgresql/tasks/configure.yml for pulp

TASK [geerlingguy.postgresql : Configure global settings.] **************************************************************************************************
ok: [pulp] => (item={u'option': u'unix_socket_directories', u'value': u'/var/run/postgresql'})

TASK [geerlingguy.postgresql : Configure host based authentication (if entries are configured).] ************************************************************
ok: [pulp]

TASK [geerlingguy.postgresql : Ensure PostgreSQL unix socket dirs exist.] ***********************************************************************************
ok: [pulp] => (item=/var/run/postgresql)

TASK [geerlingguy.postgresql : Ensure PostgreSQL is started and enabled on boot.] ***************************************************************************
ok: [pulp]

TASK [geerlingguy.postgresql : Ensure PostgreSQL users are present.] ****************************************************************************************
ok: [pulp] => (item=None)
ok: [pulp]

TASK [geerlingguy.postgresql : Ensure PostgreSQL databases are present.] ************************************************************************************
ok: [pulp] => (item={u'owner': u'pulp', u'name': u'pulp'})

TASK [pulp.pulp_installer.pulp_redis : Load OS specific variables] ******************************************************************************************
ok: [pulp]

TASK [pulp.pulp_installer.pulp_redis : Install Redis] *******************************************************************************************************
ok: [pulp]

TASK [pulp.pulp_installer.pulp_redis : Enable Redis SCL] ****************************************************************************************************
skipping: [pulp]

TASK [pulp.pulp_installer.pulp_redis : Configure Redis to listen on Unix Domain Socket] *********************************************************************
skipping: [pulp]

TASK [pulp.pulp_installer.pulp_redis : Configure Redis to listen on TCP socket] *****************************************************************************
included: /home/vagrant/.ansible/collections/ansible_collections/pulp/pulp_installer/roles/pulp_redis/tasks/configure_tcp.yml for pulp

TASK [pulp.pulp_installer.pulp_redis : Set pulp_redis_host and pulp_redis_port fact] ************************************************************************
ok: [pulp]

TASK [pulp.pulp_installer.pulp_redis : Ensure Redis will listen on the specified TCP socket] ****************************************************************
ok: [pulp] => (item={u'regexp': u'^port ', u'line': u'port 6379'})
ok: [pulp] => (item={u'regexp': u'^bind ', u'line': u'bind 127.0.0.1'})

TASK [pulp.pulp_installer.pulp_redis : Start Redis] *********************************************************************************************************
ok: [pulp]

TASK [pulp.pulp_installer.pulp_common : debug] **************************************************************************************************************
skipping: [pulp]

TASK [pulp.pulp_installer.pulp_common : debug] **************************************************************************************************************
skipping: [pulp]

TASK [pulp.pulp_installer.pulp_common : debug] **************************************************************************************************************
skipping: [pulp]

TASK [pulp.pulp_installer.pulp_common : Check if required variables are set] ********************************************************************************
ok: [pulp] => (item=pulp_settings.content_origin) => {
"ansible_loop_var": "item",
"changed": false,
"item": "pulp_settings.content_origin",
"msg": "All assertions passed"
}
ok: [pulp] => (item=pulp_settings.secret_key) => {
"ansible_loop_var": "item",
"changed": false,
"item": "pulp_settings.secret_key",
"msg": "All assertions passed"
}
ok: [pulp] => (item=pulp_install_plugins) => {
"ansible_loop_var": "item",
"changed": false,
"item": "pulp_install_plugins",
"msg": "All assertions passed"
}

TASK [pulp.pulp_installer.pulp_common : Load OS specific variables] *****************************************************************************************
ok: [pulp]

TASK [pulp.pulp_installer.pulp_common : Is this a supported version of CentOS] ******************************************************************************
skipping: [pulp]

TASK [pulp.pulp_installer.pulp_common : Enumerate default system PATH] **************************************************************************************
ok: [pulp]

TASK [pulp.pulp_installer.pulp_common : set the default system PATH as a fact] ******************************************************************************
ok: [pulp]

TASK [pulp.pulp_installer.pulp_common : Install EPEL Release] ***********************************************************************************************
ok: [pulp] => (item=epel-release)
skipping: [pulp] => (item=https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm)

TASK [pulp.pulp_installer.pulp_common : Find and enable the first found name of the RHEL7 Optional repo] ****************************************************
skipping: [pulp] => (item=rhui-rhel-7-server-rhui-optional-rpms)
skipping: [pulp] => (item=rhel-7-server-rhui-optional-rpms)
skipping: [pulp] => (item=rhel-7-server-optional-rpms)
skipping: [pulp] => (item=rhel-7-workstation-optional-rpms)

TASK [pulp.pulp_installer.pulp_common : Find and enable the first found name of the RHEL CodeReady Builder repo] ********************************************
skipping: [pulp] => (item=codeready-builder-for-rhel-8-x86_64-rpms)
skipping: [pulp] => (item=rhui-codeready-builder-for-rhel-8-rhui-rpms)
skipping: [pulp] => (item=codeready-builder-for-rhel-8-rhui-rpms)

TASK [pulp.pulp_installer.pulp_common : Determine which file in /etc/yum.repos.d/ has the CentOS PowerTools repo] *******************************************
skipping: [pulp]

TASK [pulp.pulp_installer.pulp_common : Enable the CentOS PowerTools repo] **********************************************************************************
skipping: [pulp]

TASK [pulp.pulp_installer.pulp_common : Determine which file in /etc/yum.repos.d/ has the CentOS Stream-PowerTools repo] ************************************
skipping: [pulp]

TASK [pulp.pulp_installer.pulp_common : Enable the CentOS Stream-PowerTools PowerTools repo] ****************************************************************
skipping: [pulp]

TASK [pulp.pulp_installer.pulp_common : Add pulpcore RPM repositories] **************************************************************************************
skipping: [pulp]

TASK [pulp.pulp_installer.pulp_common : Update apt package index] *******************************************************************************************
skipping: [pulp]

TASK [pulp.pulp_installer.pulp_common : Install prerequisites] **********************************************************************************************
ok: [pulp]

TASK [pulp.pulp_installer.pulp_common : Disable SELinux] ****************************************************************************************************
ok: [pulp]

TASK [pulp.pulp_installer.pulp_common : Find the nologin executable] ****************************************************************************************
ok: [pulp]

TASK [pulp.pulp_installer.pulp_common : Make sure pulp group exists] ****************************************************************************************
ok: [pulp]

TASK [pulp.pulp_installer.pulp_common : Create user pulp] ***************************************************************************************************
ok: [pulp]

TASK [pulp.pulp_installer.pulp_common : Add user pulp to extra groups] **************************************************************************************
skipping: [pulp]

TASK [pulp.pulp_installer.pulp_common : Add user {{ developer_user }} to {{ pulp_group }} group] ************************************************************
skipping: [pulp]

TASK [pulp.pulp_installer.pulp_common : Create cache dir for Pulp] ******************************************************************************************
ok: [pulp]

TASK [pulp.pulp_installer.pulp_common : Check if we have Pulp 2 installed] **********************************************************************************
ok: [pulp]

TASK [pulp.pulp_installer.pulp_common : Add user 'apache' to 'pulp' group if it exists] *********************************************************************
skipping: [pulp]

TASK [pulp.pulp_installer.pulp_common : Set permissions on '/var/lib/pulp' if pulp2 is installed] ***********************************************************
skipping: [pulp]

TASK [pulp.pulp_installer.pulp_common : Find subdirs without setgid] ****************************************************************************************
skipping: [pulp]

TASK [pulp.pulp_installer.pulp_common : Set setgid on the /var/lib/pulp subdirs] ****************************************************************************
skipping: [pulp]

TASK [pulp.pulp_installer.pulp_common : Install packages needed for source install] *************************************************************************
ok: [pulp]

TASK [pulp.pulp_installer.pulp_common : install pulp from pip] **********************************************************************************************
included: /home/vagrant/.ansible/collections/ansible_collections/pulp/pulp_installer/roles/pulp_common/tasks/install_pip.yml for pulp

TASK [pulp.pulp_installer.pulp_common : Create pulp install dir] ********************************************************************************************
ok: [pulp]

TASK [pulp.pulp_installer.pulp_common : Create a venv with system-wide packages setting if the venv does not exist] *****************************************
skipping: [pulp]

TASK [pulp.pulp_installer.pulp_common : Upgrade to a recent edition of pip (supporting manylinux2014)] ******************************************************
ok: [pulp]

TASK [pulp.pulp_installer.pulp_common : Update any existing venv to allow system-wide packages] *************************************************************
skipping: [pulp]

TASK [pulp.pulp_installer.pulp_common : Obtain list of packages in the venv to see if any plugins are installed] ********************************************
ok: [pulp]

TASK [pulp.pulp_installer.pulp_common : Create requirements.in file to check pulpcore/plugin compatibility] *************************************************
ok: [pulp]

TASK [pulp.pulp_installer.pulp_common : Install pip-tools, which provides pip-compile to check version compatibility] ***************************************
ok: [pulp]

TASK [pulp.pulp_installer.pulp_common : Run preflight check (no prereq roles)] ******************************************************************************
skipping: [pulp]

TASK [pulp.pulp_installer.pulp_common : Run preflight check before prereq roles] ****************************************************************************
skipping: [pulp]

TASK [Include pulp-rpm prereq role] *************************************************************************************************************************

TASK [pulp.pulp_installer.pulp_rpm_prerequisites : Load OS specific variables] ******************************************************************************
ok: [pulp]

TASK [pulp.pulp_installer.pulp_rpm_prerequisites : Add libmodulemd repo for Ubuntu] *************************************************************************
skipping: [pulp]

TASK [pulp.pulp_installer.pulp_rpm_prerequisites : Install requested non-RPM packages] **********************************************************************
ok: [pulp]

TASK [pulp.pulp_installer.pulp_rpm_prerequisites : Fail if we do not have prereq_pip_packages] **************************************************************
skipping: [pulp]

TASK [pulp.pulp_installer.pulp_rpm_prerequisites : Merge rpm_prereq_pip_packages into prereq_pip_packages] **************************************************
ok: [pulp]

TASK [Include plugins prereq roles] *************************************************************************************************************************
skipping: [pulp] => (item={u'key': u'pulp-file', u'value': {}})
skipping: [pulp] => (item={u'key': u'pulp-rpm', u'value': {}})

TASK [pulp.pulp_installer.pulp_common : Re-run preflight check after plugin prereq roles] *******************************************************************
skipping: [pulp]

TASK [pulp.pulp_installer.pulp_common : Install the prereq_pip_packages] ************************************************************************************
ok: [pulp]

TASK [pulp.pulp_installer.pulp_common : Install pulpcore via PyPI] ******************************************************************************************
ok: [pulp]

TASK [pulp.pulp_installer.pulp_common : Install pulpcore package from source] *******************************************************************************
skipping: [pulp]

TASK [pulp.pulp_installer.pulp_common : Obtain list of packages & versions in the venv after pulpcore install] **********************************************
ok: [pulp]

TASK [pulp.pulp_installer.pulp_common : Create constraints file to lock the pulpcore version when plugins are installed] ************************************
ok: [pulp]

TASK [pulp.pulp_installer.pulp_common : Install Pulp plugins via PyPI] **************************************************************************************
ok: [pulp] => (item={u'key': u'pulp-file', u'value': {}})
ok: [pulp] => (item={u'key': u'pulp-rpm', u'value': {}})

TASK [pulp.pulp_installer.pulp_common : Install Pulp plugins from source] ***********************************************************************************
skipping: [pulp] => (item={u'key': u'pulp-file', u'value': {}})
skipping: [pulp] => (item={u'key': u'pulp-rpm', u'value': {}})

TASK [pulp.pulp_installer.pulp_common : Install gunicorn via PyPI] ******************************************************************************************
ok: [pulp]

TASK [pulp.pulp_installer.pulp_common : Triggers handlers if pulp_upgraded_manually] ************************************************************************
skipping: [pulp]

TASK [pulp.pulp_installer.pulp_common : Find and use the first found possible path to django-admin] *********************************************************
included: /home/vagrant/.ansible/collections/ansible_collections/pulp/pulp_installer/roles/pulp_common/tasks/find_django_admin.yml for pulp
included: /home/vagrant/.ansible/collections/ansible_collections/pulp/pulp_installer/roles/pulp_common/tasks/find_django_admin.yml for pulp

TASK [pulp.pulp_installer.pulp_common : check if /usr/local/lib/pulp/bin/django-admin exists] ***************************************************************
ok: [pulp]

TASK [pulp.pulp_installer.pulp_common : Set /usr/local/lib/pulp/bin/django-admin to be used if it exists] ***************************************************
ok: [pulp]

TASK [pulp.pulp_installer.pulp_common : check if /usr/local/lib/pulp/bin/python3-django-admin exists] *******************************************************
ok: [pulp]

TASK [pulp.pulp_installer.pulp_common : Set /usr/local/lib/pulp/bin/python3-django-admin to be used if it exists] *******************************************
skipping: [pulp]

TASK [pulp.pulp_installer.pulp_common : Set database defaults if not provided] ******************************************************************************
ok: [pulp]

TASK [pulp.pulp_installer.pulp_common : Create configuration directory for Pulp] ****************************************************************************
ok: [pulp]

TASK [pulp.pulp_installer.pulp_common : Create configuration file for Pulp] *********************************************************************************
ok: [pulp]

TASK [pulp.pulp_installer.pulp_database_config : Check if required variables are set] ***********************************************************************
ok: [pulp] => (item=pulp_default_admin_password) => {
"ansible_loop_var": "item",
"changed": false,
"item": "pulp_default_admin_password",
"msg": "All assertions passed"
}

TASK [pulp.pulp_installer.pulp_database_config : Run database auth migrations] ******************************************************************************
fatal: [pulp]: FAILED! => {"changed": true, "cmd": ["/usr/local/lib/pulp/bin/django-admin", "migrate", "auth", "--no-input"], "delta": "0:00:00.235079", "end": "2020-07-14 16:31:03.391983", "msg": "non-zero return code", "rc": 1, "start": "2020-07-14 16:31:03.156904", "stderr": "Traceback (most recent call last):\n File \"/usr/local/lib/pulp/bin/django-admin\", line 8, in <module>\n sys.exit(execute_from_command_line())\n File \"/usr/local/lib/pulp/lib64/python3.6/site-packages/django/core/management/__init__.py\", line 381, in execute_from_command_line\n utility.execute()\n File \"/usr/local/lib/pulp/lib64/python3.6/site-packages/django/core/management/__init__.py\", line 325, in execute\n settings.INSTALLED_APPS\n File \"/usr/local/lib/pulp/lib64/python3.6/site-packages/django/conf/__init__.py\", line 79, in __getattr__\n self._setup(name)\n File \"/usr/local/lib/pulp/lib64/python3.6/site-packages/django/conf/__init__.py\", line 66, in _setup\n self._wrapped = Settings(settings_module)\n File \"/usr/local/lib/pulp/lib64/python3.6/site-packages/django/conf/__init__.py\", line 157, in __init__\n mod = importlib.import_module(self.SETTINGS_MODULE)\n File \"/usr/lib64/python3.6/importlib/__init__.py\", line 126, in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n File \"<frozen importlib._bootstrap>\", line 994, in _gcd_import\n File \"<frozen importlib._bootstrap>\", line 971, in _find_and_load\n File \"<frozen importlib._bootstrap>\", line 955, in _find_and_load_unlocked\n File \"<frozen importlib._bootstrap>\", line 665, in _load_unlocked\n File \"<frozen importlib._bootstrap_external>\", line 678, in exec_module\n File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed\n File \"/usr/local/lib/pulp/lib64/python3.6/site-packages/pulpcore/app/settings.py\", line 73, in <module>\n plugin_app_config = entry_point.load()\n File \"/usr/local/lib/pulp/lib64/python3.6/site-packages/pkg_resources/__init__.py\", line 2317, in load\n self.require(*args, **kwargs)\n File \"/usr/local/lib/pulp/lib64/python3.6/site-packages/pkg_resources/__init__.py\", line 2340, in require\n items = working_set.resolve(reqs, env, installer, extras=self.extras)\n File \"/usr/local/lib/pulp/lib64/python3.6/site-packages/pkg_resources/__init__.py\", line 779, in resolve\n raise VersionConflict(dist, req).with_context(dependent_req)\npkg_resources.VersionConflict: (pulpcore 3.5.0 (/usr/local/lib/pulp/lib/python3.6/site-packages), Requirement.parse('pulpcore<3.5,>=3.4'))", "stderr_lines": ["Traceback (most recent call last):", " File \"/usr/local/lib/pulp/bin/django-admin\", line 8, in <module>", " sys.exit(execute_from_command_line())", " File \"/usr/local/lib/pulp/lib64/python3.6/site-packages/django/core/management/__init__.py\", line 381, in execute_from_command_line", " utility.execute()", " File \"/usr/local/lib/pulp/lib64/python3.6/site-packages/django/core/management/__init__.py\", line 325, in execute", " settings.INSTALLED_APPS", " File \"/usr/local/lib/pulp/lib64/python3.6/site-packages/django/conf/__init__.py\", line 79, in __getattr__", " self._setup(name)", " File \"/usr/local/lib/pulp/lib64/python3.6/site-packages/django/conf/__init__.py\", line 66, in _setup", " self._wrapped = Settings(settings_module)", " File \"/usr/local/lib/pulp/lib64/python3.6/site-packages/django/conf/__init__.py\", line 157, in __init__", " mod = importlib.import_module(self.SETTINGS_MODULE)", " File \"/usr/lib64/python3.6/importlib/__init__.py\", line 126, in import_module", " return _bootstrap._gcd_import(name[level:], package, level)", " File \"<frozen importlib._bootstrap>\", line 994, in _gcd_import", " File \"<frozen importlib._bootstrap>\", line 971, in _find_and_load", " File \"<frozen importlib._bootstrap>\", line 955, in _find_and_load_unlocked", " File \"<frozen importlib._bootstrap>\", line 665, in _load_unlocked", " File \"<frozen importlib._bootstrap_external>\", line 678, in exec_module", " File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed", " File \"/usr/local/lib/pulp/lib64/python3.6/site-packages/pulpcore/app/settings.py\", line 73, in <module>", " plugin_app_config = entry_point.load()", " File \"/usr/local/lib/pulp/lib64/python3.6/site-packages/pkg_resources/__init__.py\", line 2317, in load", " self.require(*args, **kwargs)", " File \"/usr/local/lib/pulp/lib64/python3.6/site-packages/pkg_resources/__init__.py\", line 2340, in require", " items = working_set.resolve(reqs, env, installer, extras=self.extras)", " File \"/usr/local/lib/pulp/lib64/python3.6/site-packages/pkg_resources/__init__.py\", line 779, in resolve", " raise VersionConflict(dist, req).with_context(dependent_req)", "pkg_resources.VersionConflict: (pulpcore 3.5.0 (/usr/local/lib/pulp/lib/python3.6/site-packages), Requirement.parse('pulpcore<3.5,>=3.4'))"], "stdout": "", "stdout_lines": []}

NO MORE HOSTS LEFT ******************************************************************************************************************************************

PLAY RECAP **************************************************************************************************************************************************
pulp : ok=68 changed=0 unreachable=0 failed=1 skipped=42 rescued=0 ignored=0
    (1-1/1)