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 1526749 - Turning maintenance mode ON/OFF can be better done by the tool itself.
Summary: Turning maintenance mode ON/OFF can be better done by the tool itself.
Keywords:
Status: CLOSED DUPLICATE of bug 1487559
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Satellite Maintain
Version: 6.3.0
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: Unspecified
Assignee: Anurag Patel
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: 1496794
TreeView+ depends on / blocked
 
Reported: 2017-12-17 06:35 UTC by Ashish Humbe
Modified: 2019-04-12 15:04 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-01-10 13:53:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ashish Humbe 2017-12-17 06:35:21 UTC
Description of problem:

If the firewall rules are flushed by the user then custom chain set by foreman-maintain (FOREMAN_MAINTAIN) will be deleted and upgrade through foreman-maintain fails since we could not turn off maintenance mode successfully.

Running Procedures after migrating to Satellite 6.2.z
================================================================================
katello-service start: 
/ No katello service to start                                         [OK]      
--------------------------------------------------------------------------------
Turn off maintenance mode:                                            [FAIL]
Failed executing iptables -D INPUT -j FOREMAN_MAINTAIN, exit status 1:
 iptables: No chain/target/match by that name.
--------------------------------------------------------------------------------
Scenario [Procedures after migrating to Satellite 6.2.z] failed.

The following steps ended up in failing state:

  [maintenance-mode-disable]


Additional Info: 
This bz is created with the reference of: https://bugzilla.redhat.com/show_bug.cgi?id=1524279#c3 to track different issues in different bz.

Comment 2 Anurag Patel 2018-01-10 13:53:26 UTC
Tracking this in: https://bugzilla.redhat.com/show_bug.cgi?id=1487559

*** This bug has been marked as a duplicate of bug 1487559 ***


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