Do you have a Redhat subscription? If not, you shouldn’t be trying to install OCP but rather Origin. If you don’t have a subscription configured then that’d probably explain why it can’t find the rpms. On Mon, 2 Apr 2018 at 8:35 pm, Lukas Budiman <m...@lukasnetwork.com> wrote:
> I am really stuck, trying 4 times installing OCP 3.9, all returned same > error like this. I'm completely newbie in Openshift, Ansible, but > understand some basic linux command. > I run 2 hosts (master called OSMaster & 1 nodes called OSNodeA. > > > > Any help is greatly appreciated! > > > > 2018-04-02 10:41:13,571 p=12188 u=root | PLAY [Set openshift_version for > etcd, node, and master hosts] ******************* > 2018-04-02 10:41:13,585 p=12188 u=root | TASK [Gathering Facts] > ********************************************************** > 2018-04-02 10:41:14,437 p=12188 u=root | ok: [osnodea.172.16.0.15.nip.io] > 2018-04-02 10:41:14,496 p=12188 u=root | TASK [set_fact] > ***************************************************************** > 2018-04-02 10:41:14,660 p=12188 u=root | ok: [osnodea.172.16.0.15.nip.io] > 2018-04-02 10:41:14,674 p=12188 u=root | PLAY [Ensure the requested > version packages are available.] ********************* > 2018-04-02 10:41:14,685 p=12188 u=root | TASK [Gathering Facts] > ********************************************************** > 2018-04-02 10:41:15,500 p=12188 u=root | ok: [osnodea.172.16.0.15.nip.io] > 2018-04-02 10:41:15,555 p=12188 u=root | TASK [include_role] > ************************************************************* > 2018-04-02 10:41:15,641 p=12188 u=root | TASK [openshift_version : Check > openshift_version for rpm installation] ********* > 2018-04-02 10:41:15,682 p=12188 u=root | included: > /usr/share/ansible/openshift-ansible/roles/openshift_version/tasks/check_available_rpms.yml > for osnodea.172.16.0.15.nip.io > 2018-04-02 10:41:15,699 p=12188 u=root | TASK [openshift_version : Get > available atomic-openshift version] *************** > 2018-04-02 10:41:16,134 p=12188 u=root | fatal: [ > osnodea.172.16.0.15.nip.io]: FAILED! => {"changed": false, > "module_stderr": "Shared connection to osnodea.172.16.0.15.nip.io > closed.\r\n", "module_stdout": "Traceback (most recent call last):\r\n > File \"/tmp/ansible_d2lUs_/ansible_module_repoquery.py\", line 642, in > <module>\r\n main()\r\n File > \"/tmp/ansible_d2lUs_/ansible_module_repoquery.py\", line 632, in > main\r\n rval = Repoquery.run_ansible(module.params, > module.check_mode)\r\n File > \"/tmp/ansible_d2lUs_/ansible_module_repoquery.py\", line 588, in > run_ansible\r\n results = repoquery.repoquery()\r\n File > \"/tmp/ansible_d2lUs_/ansible_module_repoquery.py\", line 547, in > repoquery\r\n rval = self._repoquery_cmd(repoquery_cmd, True, > 'raw')\r\n File \"/tmp/ansible_d2lUs_/ansible_module_repoquery.py\", line > 385, in _repoquery_cmd\r\n returncode, stdout, stderr = _run(cmds)\r\n > File \"/tmp/ansible_d2lUs_/ansible_module_repoquery.py\", line 356, in > _run\r\n stderr=subprocess.PIPE)\r\n File > \"/usr/lib64/python2.7/subprocess.py\", line 711, in __init__\r\n > errread, errwrite)\r\n File \"/usr/lib64/python2.7/subprocess.py\", line > 1327, in _execute_child\r\n raise child_exception\r\nOSError: [Errno 2] > No such file or directory\r\n", "msg": "MODULE FAILURE", "rc": 0} > 2018-04-02 10:41:16,136 p=12188 u=root | PLAY RECAP > ********************************************************************** > 2018-04-02 10:41:16,137 p=12188 u=root | localhost : > ok=12 changed=0 unreachable=0 failed=0 > 2018-04-02 10:41:16,137 p=12188 u=root | osmaster.172.16.0.14.nip.io : > ok=35 changed=2 unreachable=0 failed=0 > 2018-04-02 10:41:16,137 p=12188 u=root | osnodea.172.16.0.15.nip.io : > ok=20 changed=2 unreachable=0 failed=1 > 2018-04-02 10:41:16,137 p=12188 u=root | INSTALLER STATUS > **************************************************************** > 2018-04-02 10:41:16,142 p=12188 u=root | Initialization : In > Progress (0:00:26) > _______________________________________________ > users mailing list > users@lists.openshift.redhat.com > http://lists.openshift.redhat.com/openshiftmm/listinfo/users >
_______________________________________________ users mailing list users@lists.openshift.redhat.com http://lists.openshift.redhat.com/openshiftmm/listinfo/users