Bug 1190622

Summary: unable to delete lifecycle environment path in webUI: undefined method `disable_auto_reindex!' for #<Katello::KTEnvironment:0x007fbbf53328a0> (NoMethodError)
Product: Red Hat Satellite Reporter: Jan Hutař <jhutar>
Component: WebUIAssignee: Mike McCune <mmccune>
WebUI sub component: Katello QA Contact: Kedar Bidarkar <kbidarka>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: unspecified CC: bbuckingham, cwelton, jmontleo, kbidarka
Version: 6.1.0Keywords: Triaged
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/9300
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-12 05:24:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
/var/log/foreman/production.log none

Description Jan Hutař 2015-02-09 09:54:50 UTC
Description of problem:
I'm unable to delete lifecycle environment path in webUI - getting: undefined method `disable_auto_reindex!' for #<Katello::KTEnvironment:0x007fbbf53328a0> (NoMethodError)


Version-Release number of selected component (if applicable):
Satellite-6.1.0-RHEL-7-20150205.0-Satellite-x86_64


How reproducible:
always on one system


Steps to Reproduce:
1. Install fresh Satellite 6 system
2. In webUI create new environment path:
   Content -> Lifecycle Environments -> [+ New Environment Path]
3. In webUI attempt to delete that environment path:
   Content -> Lifecycle Environments -> <your_env> -> Remove Environment


Actual results:
Lifecycle environment is not deleted


Expected results:
Should be deleted

Comment 1 Jan Hutař 2015-02-09 09:55:52 UTC
Created attachment 989603 [details]
/var/log/foreman/production.log

Comment 2 RHEL Program Management 2015-02-09 10:13:17 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 4 Justin Sherrill 2015-03-03 22:14:50 UTC
Connecting redmine issue http://projects.theforeman.org/issues/9300 from this bug

Comment 5 Bryan Kearney 2015-03-03 23:04:41 UTC
Upstream bug assigned to dtsang

Comment 6 Bryan Kearney 2015-03-03 23:04:42 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/9300 has been closed

Comment 9 Kedar Bidarkar 2015-03-12 15:56:54 UTC
WE can now delete lifecycle environment path in webui.

VERIFIED with sat6.1 beta snap6  compose2

Comment 11 Bryan Kearney 2015-08-11 13:26:23 UTC
This bug is slated to be released with Satellite 6.1.

Comment 12 errata-xmlrpc 2015-08-12 05:24:01 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-2015:1592