RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 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 "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". 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 "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-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 1487653 - 'Delete server' option is enabled under Topology Tab for a standalone IPA server.
Summary: 'Delete server' option is enabled under Topology Tab for a standalone IPA se...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ipa
Version: 7.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: IPA Maintainers
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On:
Blocks: 1487580
TreeView+ depends on / blocked
 
Reported: 2017-09-01 13:52 UTC by Sudhir Menon
Modified: 2017-09-22 18:15 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-09-22 18:15:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Sudhir Menon 2017-09-01 13:52:36 UTC
Description of problem: 'Delete server' option is enabled under Topology  Tab for a standalone IPA server.


Version-Release number of selected component (if applicable):
ipa-server-4.5.0-21.el7_4.1.x86_64

How reproducible:Always.
 

Steps to Reproduce:
1. Install IPA server
2. Navigate to Topology
3. On the RHS 'Delete Server' option is enabled. Click 'Delete Server'
4. Kinit admin and ipactl status.
5. Run ipa-user find command.

Actual results:
3. Since the 'Delete Server' option is enabled, when we click 'Delete Server', although it gives the warning "Deleting a server removes it permanently from the topology. Note that this is a non-reversible action." the server is actually removed from the "IPA Servers" tab even when it is a standalone server.

4. [root@master httpd]# echo **** | kinit admin
Password for admin:
 
[root@master httpd]# ipactl status
Failed to get list of services to probe status!
Configured hostname 'master.testrelm.test' does not match any master server in LDAP:
No master found because of error: no matching entry found

5. [root@master httpd]# ipa user-find
ipa: DEBUG: Error retrieving cookie from the persistent storage: expected string or buffer
ipa: DEBUG: failed to find session_cookie in persistent storage for principal 'admin'
ipa: INFO: trying https://master.testrelm.test/ipa/json
ipa: DEBUG: Created connection context.rpcclient_40940880
ipa: DEBUG: raw: user_find(None, version=u'2.228')
ipa: DEBUG: user_find(None, version=u'2.228')
ipa: INFO: [try 1]: Forwarding 'user_find/1' to json server 'https://master.testrelm.test/ipa/json'
ipa: DEBUG: New HTTP connection (master.testrelm.test)
ipa: DEBUG: HTTP connection destroyed (master.testrelm.test)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/ipalib/rpc.py", line 677, in single_request
    self.get_auth_info()
  File "/usr/lib/python2.7/site-packages/ipalib/rpc.py", line 629, in get_auth_info
    self._handle_exception(e, service=service)
  File "/usr/lib/python2.7/site-packages/ipalib/rpc.py", line 574, in _handle_exception
    raise errors.ServiceError(service=service)
ServiceError: Service 'HTTP.test' not found in Kerberos database
ipa: DEBUG: Destroyed connection context.rpcclient_40940880
ipa: ERROR: Service 'HTTP.test' not found in Kerberos database

Expected results:
Although there is a warning displayed before actually deleting the server, i think this Delete option shouldn't be enabled for IPA master server considering a standalone environment.

This option should be enabled only for replica servers rather than master server s in a replica enviornment.

Additional info:

Comment 2 Petr Vobornik 2017-09-22 18:15:12 UTC
per triage, closing the issue as not a bug.

There is a confirmation dialog and warning that this is non-reversible action.


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