Bug 1429883 - Satellite installer is failing with error: No answer file at ./config/answers.yaml found, can not continue [NEEDINFO]
Summary: Satellite installer is failing with error: No answer file at ./config/answers...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Installer
Version: 6.12.0
Hardware: x86_64
OS: Linux
low
low
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Satellite QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-07 11:40 UTC by Marcel Gazdík
Modified: 2023-07-31 18:24 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-31 18:24:18 UTC
Target Upstream Version:
Embargoed:
vijsingh: needinfo? (satellite6-bugs)


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 19096 0 Normal New Kafo being terminated can cause file corruption 2021-01-12 12:48:00 UTC
Red Hat Knowledge Base (Solution) 3562281 0 None None None 2018-08-14 10:49:29 UTC

Description Marcel Gazdík 2017-03-07 11:40:17 UTC
Description of problem:
  When you cancel installer right after start for whatever reason, or if it was hardly killed by OOM, it might happen that the satellite.yaml file will get corrupted and eventually the content might be replaced by default content set in Kafo::Configuration::DEFAULT.

Version-Release number of selected component (if applicable):
 6.2.7+

How reproducible:
  This is very tricky and the installer has to be killed when it is writing into @config_file. 


Actual results:
  File will be corrupted and the content will be replaced in next run of installer

Expected results:
  File will be intacted

Additional info:
  I would suggest adding some fail-safe, like transactional write with double buffer, so the original file will not be replaced/rewritten until the write to the new one will be finished. 
  See method save_configuration(configuration) in Kafo::Configuration where the config save is implemented.

Comment 2 Stephen Benjamin 2017-03-30 17:04:17 UTC
Created redmine issue http://projects.theforeman.org/issues/19096 from this bug

Comment 5 Bryan Kearney 2018-09-04 18:02:27 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.

Comment 7 Brad Buckingham 2023-03-06 11:37:55 UTC
Upon review of our valid but aging backlog the Satellite Team has concluded that this Bugzilla does not meet the criteria for a resolution in the near term, and are planning to close in a month. This message may be a repeat of a previous update and the bug is again being considered to be closed. If you have any concerns about this, please contact your Red Hat Account team.  Thank you.

Comment 15 Eric Helms 2023-07-31 18:24:18 UTC
I am opting to close this, if this continues to happen through some reproducible and supported path please re-open.


Note You need to log in before you can comment on or make changes to this bug.