(venv_cortx) [root@localhost ~]# provisioner setup_provisioner srvnode-1:$(hostname -f) --logfile --logfile-filename /var/log/seagate/provisioner/setup.log --source rpm --config-path ~/config.ini --dist-type bundle --target-build ${CORTX_RELEASE_REPO}
2021-02-09 06:20:32,858 - INFO - Starting to build setup 'srvnode-1_root@localhost_22'
2021-02-09 06:20:32,863 - INFO - Profile location '/root/.provisioner/srvnode-1_root@localhost_22'
2021-02-09 06:20:32,863 - INFO - Preparing setup pillar
2021-02-09 06:20:32,864 - INFO - Generating setup keys [skipped]
2021-02-09 06:20:32,864 - INFO - Generating a roster file
2021-02-09 06:20:32,865 - INFO - Copying config.ini to file root
2021-02-09 06:20:32,871 - INFO - Preparing CORTX repos pillar
2021-02-09 06:20:32,887 - INFO - Ensuring 'srvnode-1' is ready to accept commands
2021-02-09 06:20:59,600 - INFO - Resolving node grains
2021-02-09 06:21:01,621 - INFO - Preparing salt-masters / minions configuration
2021-02-09 06:21:01,628 - INFO - Preparing factory profile
2021-02-09 06:21:01,668 - INFO - Installing Cortx yum repositories
2021-02-09 06:21:08,409 - INFO - Setting up custom python repository
2021-02-09 06:21:12,883 - INFO - Checking paswordless ssh
2021-02-09 06:21:17,125 - INFO - Configuring the firewall
2021-02-09 06:21:21,339 - INFO - Installing SaltStack
2021-02-09 06:21:31,000 - INFO - Installing provisioner from a 'rpm' source
2021-02-09 06:21:41,766 - INFO - Configuring salt minions
2021-02-09 06:21:46,698 - INFO - Configuring salt-masters
2021-02-09 06:22:11,553 - INFO - Copying factory data
2021-02-09 06:22:26,895 - INFO - Installing provisioner API
2021-02-09 06:22:32,678 - INFO - Starting salt minions
2021-02-09 06:22:37,222 - INFO - Ensuring salt-masters are ready
2021-02-09 06:22:51,941 - INFO - Ensuring salt minions are ready
2021-02-09 06:23:05,813 - INFO - Updating release distribution type
2021-02-09 06:23:17,736 - ERROR - salt command failed, reason {'srvnode-1': 'Traceback (most recent call last):\n File "/usr/bin/provisioner", line 10, in \n from importlib.metadata import distribution\nModuleNotFoundError: No module named 'importlib.metadata'\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/usr/bin/provisioner", line 13, in \n from importlib_metadata import distribution\nModuleNotFoundError: No module named 'importlib_metadata'\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 570, in _build_master\n ws.require(requires)\n File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 888, in require\n needed = self.resolve(parse_requirements(requirements))\n File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 779, in resolve\n raise VersionConflict(dist, req).with_context(dependent_req)\npkg_resources.ContextualVersionConflict: (salt 3001.1 (/usr/lib/python3.6/site-packages), Requirement.parse('salt>=3002.2'), {'cortx-prvsnr'})\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/usr/bin/provisioner", line 15, in \n from pkg_resources import load_entry_point\n File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 3095, in \n @_call_aside\n File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 3079, in _call_aside\n f(*args, **kwargs)\n File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 3108, in _initialize_master_working_set\n working_set = WorkingSet._build_master()\n File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 572, in _build_master\n return cls._build_from_requirements(requires)\n File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 585, in _build_from_requirements\n dists = ws.resolve(reqs, Environment())\n File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 774, in resolve\n raise DistributionNotFound(req, requirers)\npkg_resources.DistributionNotFound: The 'salt>=3002.2' distribution was not found and is required by cortx-prvsnr'}, args {'targets': 'srvnode-1', 'fun': 'cmd.run', 'fun_args': ['provisioner pillar_set --fpath release.sls release/type '"bundle"''], 'fun_kwargs': {}, 'kw': {'roster_file': '/root/.provisioner/srvnode-1_root@localhost_22/srv/config/roster', 'ssh_options': ['UserKnownHostsFile=/dev/null', 'StrictHostKeyChecking=no']}, 'secure': False}
2021-02-09 06:23:17,737 - ERROR - provisioner failed
{'srvnode-1': 'Traceback (most recent call last):\n File "/usr/bin/provisioner", line 10, in \n from importlib.metadata import distribution\nModuleNotFoundError: No module named 'importlib.metadata'\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/usr/bin/provisioner", line 13, in \n from importlib_metadata import distribution\nModuleNotFoundError: No module named 'importlib_metadata'\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 570, in _build_master\n ws.require(requires)\n File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 888, in require\n needed = self.resolve(parse_requirements(requirements))\n File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 779, in resolve\n raise VersionConflict(dist, req).with_context(dependent_req)\npkg_resources.ContextualVersionConflict: (salt 3001.1 (/usr/lib/python3.6/site-packages), Requirement.parse('salt>=3002.2'), {'cortx-prvsnr'})\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/usr/bin/provisioner", line 15, in \n from pkg_resources import load_entry_point\n File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 3095, in \n @_call_aside\n File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 3079, in _call_aside\n f(*args, **kwargs)\n File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 3108, in _initialize_master_working_set\n working_set = WorkingSet._build_master()\n File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 572, in _build_master\n return cls._build_from_requirements(requires)\n File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 585, in _build_from_requirements\n dists = ws.resolve(reqs, Environment())\n File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 774, in resolve\n raise DistributionNotFound(req, requirers)\npkg_resources.DistributionNotFound: The 'salt>=3002.2' distribution was not found and is required by cortx-prvsnr'}