Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1498392 - capsule upgrade failed w/ : No answer file at /etc/foreman-installer/scenarios.d/capsule-answers.yaml found, can not continue
Summary: capsule upgrade failed w/ : No answer file at /etc/foreman-installer/scenario...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Upgrades
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Eric Helms
QA Contact: Lukas Pramuk
URL:
Whiteboard:
Depends On:
Blocks: Sat_6.3_Upgrade_tracker
TreeView+ depends on / blocked
 
Reported: 2017-10-04 08:17 UTC by Sachin Ghai
Modified: 2019-09-26 14:49 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-21 16:54:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Sachin Ghai 2017-10-04 08:17:24 UTC
Description of problem:
While performing capsule upgrade from 6.2.11 -> 6.3 snap18. capsule upgrade failed at :

run: satellite-installer --scenario capsule --upgrade --certs-tar /home/CAPSULE_SERVER.redhat.com-certs.tar
 out: No answer file at /etc/foreman-installer/scenarios.d/capsule-answers.yaml found, can not continue

I can see following files under  "/etc/foreman-installer/scenarios.d/". Please note that I can see satellite-answer file generated on Oct3 but not the capsule-answers.yaml


[root@qe-capsule-upgrade-rhel7 scenarios.d]# ll
total 84
-rw-------. 1 root root  979 Aug 24 10:54 capsule-answers.yaml.rpmnew
drwxr-xr-x. 2 root root 4096 Oct  3 17:20 capsule.migrations
-rw-------. 1 root root 1943 Oct  4 03:23 capsule.yaml
-rw-------. 1 root root  823 Aug 24 10:54 capsule.yaml.rpmnew
-rw-------. 1 root root 2096 Oct  3 17:20 foreman-answers.yaml
lrwxrwxrwx. 1 root root   54 Oct  3 17:20 foreman.migrations -> /usr/share/foreman-installer/config/foreman.migrations
-rw-r--r--. 1 root root 1335 Oct  3 17:20 foreman-migrations-applied
-rw-------. 1 root root 2987 Oct  3 17:20 foreman-proxy-content-answers.yaml
drwxr-xr-x. 2 root root 4096 Oct  3 17:20 foreman-proxy-content.migrations
-rw-------. 1 root root 2549 Oct  3 17:20 foreman-proxy-content.yaml
-rw-------. 1 root root  791 Oct  3 17:20 foreman.yaml
-rw-------. 1 root root 2331 Dec 27  2016 katello-answers.yaml
-rw-------. 1 root root 2771 Sep 29 03:51 katello-answers.yaml.rpmnew
drwxr-xr-x. 2 root root 4096 Oct  3 17:20 katello.migrations
-rw-------. 1 root root 5836 Oct  3 17:20 katello.yaml
-rw-------. 1 root root  894 Sep 29 03:51 katello.yaml.rpmnew
lrwxrwxrwx. 1 root root   61 Oct  3 17:20 last_scenario.yaml -> /etc/foreman-installer/scenarios.d/foreman-proxy-content.yaml
-rw-------. 1 root root 2896 Oct  3 17:20 satellite-answers.yaml
-rw-------. 1 root root 2626 Aug 24 10:54 satellite-answers.yaml.rpmnew
drwxr-xr-x. 2 root root 4096 Oct  3 17:20 satellite.migrations
-rw-------. 1 root root 1014 Oct  3 17:20 satellite.yaml
-rw-------. 1 root root  856 Aug 24 10:54 satellite.yaml.rpmnew



Version-Release number of selected component (if applicable):
6.2.11 -> 6.3 upgrade

How reproducible:


Steps to Reproduce:
1. satellite-installer --scenario capsule --upgrade --certs-tar /home/CAPSULE_SERVER.redhat.com-certs.tar
2.
3.

Actual results:
No answer file at /etc/foreman-installer/scenarios.d/capsule-answers.yaml found, can not continue

Expected results:


Additional info:

Comment 2 Sachin Ghai 2017-10-16 07:41:21 UTC
This can be verified as I don't see the reported issue w/ snap20 upgrade.

Comment 3 Lukas Pramuk 2017-10-16 13:42:19 UTC
VERIFIED.

@satellite-capsule-6.3.0-20.0.beta.el7sat.noarch

1. Upgrade capsule 6.2.12 to 6.3.0

# yum upgrade
...

# satellite-installer --upgrade
...
Upgrade completed!

>>> capsule upgrade finished successfully

Comment 5 Satellite Program 2018-02-21 16:54:37 UTC
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://access.redhat.com/errata/RHSA-2018:0336


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