Description of problem: OSE_Installer is attempting to write to /root/.openshift/oo-install-cfg.yml but fails. [----] I, [2015-01-07T14:51:47.660904 #18554:3d83a08] INFO -- : Q-task_id([service_template_provision_task_1000000000015]) <AEMethod ose_installer> OSE_Installer: Writing - /root/.openshift/oo-install-cfg.yml [----] E, [2015-01-07T14:51:47.662173 #18554:3d83a08] ERROR -- : Q-task_id([service_template_provision_task_1000000000015]) <AEMethod ose_installer> The following error occurred during method evaluation: [----] E, [2015-01-07T14:51:47.663308 #18554:3d83a08] ERROR -- : Q-task_id([service_template_provision_task_1000000000015]) <AEMethod ose_installer> Errno::ENOENT: No such file or directory - /root/.openshift/oo-install-cfg.yml [----] E, [2015-01-07T14:51:47.665625 #18554:3d83a08] ERROR -- : Q-task_id([service_template_provision_task_1000000000015]) <AEMethod ose_installer> <code: file = File.open("#{@oseTemplatePath}oo-install-cfg.yml", 'w')>:277:in `initialize' <code: file = File.open("#{@oseTemplatePath}oo-install-cfg.yml", 'w')>:277:in `open' [----] E, [2015-01-07T14:51:47.681586 #18554:f4d094] ERROR -- : Q-task_id([service_template_provision_task_1000000000015]) Method STDERR: <code: file = File.open("#{@oseTemplatePath}oo-install-cfg.yml", 'w')>:277:in `initialize': No such file or directory - /root/.openshift/oo-install-cfg.yml (Errno::ENOENT) The method appears to locate the directory and if its not found it should create it. Original Version #write out the config dirname = File.dirname(@oseTemplatePath) unless File.directory?(dirname) FileUtils.mkdir_p(dirname) end Work-around version #dirname = File.dirname(@oseTemplatePath) dirname = @oseTemplatePath unless File.directory?(dirname) FileUtils.mkdir_p(dirname) end Version-Release number of selected component (if applicable): 5.3.2.5.20141218144833_50406a5 How reproducible: very Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
5.4.0.4 - it now goes past the line that makes the error according to the logs. And prints out the yaml file.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-1100.html