Bug 1320646 - [RFE] "not responding" appliances should be flagged in UI, and fail .has_active_webservices
Summary: [RFE] "not responding" appliances should be flagged in UI, and fail .has_acti...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: cfme-future
Assignee: John Hardy
QA Contact: Alex Newman
URL:
Whiteboard: worker:ui
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-23 17:06 UTC by Jeff Warnica
Modified: 2017-08-28 15:00 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-28 15:00:38 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:


Attachments (Terms of Use)

Description Jeff Warnica 2016-03-23 17:06:30 UTC
Summary:

.has_active_webservices is updated when the subject appliance successfully enables or disables that role. While it should be enabled when the role becomes active, it should be disabled when the role is *requested* to be turned off. Additionally, the flags should be updated when the subject appliance is detected as "not responding".

Also, significantly, the UI provides no indication that the appliances were "not responding" would would have assisted tremendously in debugging issues.


Background:

Client here has deployed a number of new appliances, which were semi-configured, forgotten about, and soon lost database connectivity. It was discovered that these were being sent traffic, as custom code which checks .has_active_webservices indicated they were available.

These appliances were only partially configured/mis-configured, and should not have had those roles enabled. Roles were disabled in the UI, and the UI reported that successful (or at least implicitly: the checkboxes remained unchecked). Unfortunately, the custom code continued to pick these systems up as a target.

Digging further, from the rails console, I noted that the appliance record had last_heartbeat of more than a week ago and were "not responding".

I did not check further, but assume that the .has_active_webservices flag is updated when the appliance reports something is enabled or disabled.

Comment 3 Chris Pelland 2017-08-28 15:00:38 UTC
This bug has been open for more than a year and is assigned to an older release of CloudForms. 
If you would like to keep this Bugzilla open and if the issue is still present in the latest version of the product, please file a new Bugzilla which will be added and assigned to the latest release of CloudForms.


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