Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1095853

Summary: [Rubygem-Staypuft]:When attempting to browse : Infrastructure --> Compute Resources' getting "Not Implemented" page (as well to other pages) .
Product: Red Hat OpenStack Reporter: Omri Hochman <ohochman>
Component: openstack-foreman-installerAssignee: Jason Guiditta <jguiditt>
Status: CLOSED ERRATA QA Contact: Omri Hochman <ohochman>
Severity: medium Docs Contact:
Priority: high    
Version: 4.0CC: aberezin, mburns, morazi, ohadlevy, ohochman, pchalupa, rhos-maint, yeylon
Target Milestone: z4Keywords: TestOnly, ZStream
Target Release: 4.0Flags: ohochman: needinfo+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-foreman-installer-1.0.10-1.el6ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1105563 (view as bug list) Environment:
Last Closed: 2014-05-29 20:33:03 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:
Bug Depends On:    
Bug Blocks: 1093126, 1105563    

Description Omri Hochman 2014-05-08 16:34:18 UTC
[Rubygem-Staypuft]:When attempting to browse : Infrastructure --> Compute Resources'  getting "Not Implemented" page (as well to other pages) . 
 
Environment  (puddle : OpenStack/Foreman/2014-05-06.6/) 
-------------------------------------------------------
ruby193-rubygem-staypuft-0.0.12-1.el6ost.noarch
foreman-installer-staypuft-0.0.10-1.el6ost.noarch
openstack-puppet-modules-2013.2-9.1.el6ost.noarch
puppet-server-3.3.2-2.el6.noarch
puppet-3.3.2-2.el6.noarch
foreman-1.5.0.22-1.el6sat.noarch


Steps:
-------
(1) Browse to Staypuft GUI -->  Infrastructure --> Compute Resources' .  
(2) Browse to Staypuft GUI -->  Monitor --> 'Statistics' .   
(3) Browse to Staypuft GUI -->  Monitor --> 'trends' .  
(4) Browse to Staypuft GUI -->  Monitor --> 'Audits' 

Result:
--------
Blank Page with "Not Implemented" message display.

Comment 4 Mike Burns 2014-05-15 13:25:54 UTC
With added debugging:

# tail -0f production.log
Client disconnected.
Connecting to database specified by database.yml
Fog is not installed - unable to manage compute resources
Creating scope :roots. Overwriting existing method Hostgroup.roots.
Creating scope :ancestors_of. Overwriting existing method Hostgroup.ancestors_of.
Creating scope :children_of. Overwriting existing method Hostgroup.children_of.
Creating scope :descendants_of. Overwriting existing method Hostgroup.descendants_of.
Creating scope :subtree_of. Overwriting existing method Hostgroup.subtree_of.
Creating scope :siblings_of. Overwriting existing method Hostgroup.siblings_of.
Creating scope :ordered_by_ancestry. Overwriting existing method Hostgroup.ordered_by_ancestry.
Creating scope :ordered_by_ancestry_and. Overwriting existing method Hostgroup.ordered_by_ancestry_and.
Creating scope :before_depth. Overwriting existing method Hostgroup.before_depth.
Creating scope :to_depth. Overwriting existing method Hostgroup.to_depth.
Creating scope :at_depth. Overwriting existing method Hostgroup.at_depth.
Creating scope :from_depth. Overwriting existing method Hostgroup.from_depth.
Creating scope :after_depth. Overwriting existing method Hostgroup.after_depth.
Fog is not installed - unable to manage compute resources
Client connected.
Connected to server.


Started GET "/compute_resources" for 192.168.223.1 at 2014-05-15 09:24:12 -0400
Processing by ComputeResourcesController#index as HTML
  Rendered text template (0.0ms)
Completed 501 Not Implemented in 167ms (Views: 2.5ms | ActiveRecord: 0.0ms)

Comment 8 Arthur Berezin 2014-05-15 15:16:50 UTC
What do we use simplify_plugin for today with Staypuft?
Would we lose anything after removing it? If not, let's just remove the dependency.

Comment 9 Mike Burns 2014-05-15 17:41:49 UTC
(In reply to Arthur Berezin from comment #8)
> What do we use simplify_plugin for today with Staypuft?
> Would we lose anything after removing it? If not, let's just remove the
> dependency.

It's not used directly.  The plugin blocks/hides foreman functionality, so removing it would theoretically give us access to more functionality.  

moving to openstack-foreman-installer for removal.

Comment 13 Omri Hochman 2014-05-28 20:26:01 UTC
Verified :foreman-installer-staypuft-0.0.13-2.el6ost.noarch


(1) Browse to Staypuft GUI --> Infrastructure --> Compute Resources' .  - checked
(2) Browse to Staypuft GUI -->  Monitor --> 'Statistics' . - checked   
(3) Browse to Staypuft GUI -->  Monitor --> 'trends' .  -checked
(4) Browse to Staypuft GUI -->  Monitor --> 'Audits' - checked

Comment 15 errata-xmlrpc 2014-05-29 20:33:03 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.

http://rhn.redhat.com/errata/RHSA-2014-0517.html