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.