Bug 1207259 - Log collection - depot type "Red Hat Dropbox" is missing
Summary: Log collection - depot type "Red Hat Dropbox" is missing
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.4.0
Assignee: Brandon Dunne
QA Contact: Milan Falešník
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-30 14:28 UTC by Jan Krocil
Modified: 2015-06-16 12:56 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-16 12:56:10 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1100 0 normal SHIPPED_LIVE CFME 5.4.0 bug fixes, and enhancement update 2015-06-16 16:28:42 UTC

Description Jan Krocil 2015-03-30 14:28:36 UTC
Description of problem:
Red Hat Dropbox depot type is missing both for appliance-level and zone-level log collection. It isn't present in the log collection selectbox.

Version-Release number of selected component (if applicable):
5.4.0.0.14

How reproducible:
Always

Steps to Reproduce:
1. Config > Configuration > Diagnostict (accordion) > Server (accordion)
2. Collect Logs (tab)
3. Edit (button)
4. ==> Bug: there is no Red Hat Dropbox depot type in the selectbox

Actual results:
User is unable to setup RH Dropbox as log collection depot.

Expected results:
User is able to setup RH Dropbox as log collection depot.

Additional info:
-

Comment 6 CFME Bot 2015-04-24 21:36:07 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/3801f23e380180b29244cfcd5cf3afe4f307a00b

commit 3801f23e380180b29244cfcd5cf3afe4f307a00b
Author:     Brandon Dunne <bdunne>
AuthorDate: Tue Feb 24 20:04:34 2015 -0500
Commit:     Brandon Dunne <bdunne>
CommitDate: Fri Apr 24 16:51:05 2015 -0400

    Hijack const_missing to properly load all STI trees
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1207259

 vmdb/app/models/file_depot.rb                    |  2 +-
 vmdb/lib/extensions/as_const_missing_with_sti.rb | 90 ++++++++++++++++++++++++
 vmdb/lib/vmdb/util.rb                            | 13 ----
 3 files changed, 91 insertions(+), 14 deletions(-)
 create mode 100644 vmdb/lib/extensions/as_const_missing_with_sti.rb

Comment 7 CFME Bot 2015-04-24 21:36:12 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/05de4de742941474f1dd8228db0ac6083c686d1c

commit 05de4de742941474f1dd8228db0ac6083c686d1c
Author:     Brandon Dunne <bdunne>
AuthorDate: Wed Apr 22 11:55:33 2015 -0400
Commit:     Brandon Dunne <bdunne>
CommitDate: Fri Apr 24 16:51:05 2015 -0400

    Let const_missing load the whole subclass tree
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1207259

 vmdb/app/models/auth_key_pair_cloud.rb                     |  9 ---------
 vmdb/app/models/auth_private_key.rb                        |  8 --------
 vmdb/app/models/availability_zone_openstack.rb             |  7 -------
 vmdb/app/models/cim_computer_system.rb                     |  6 ------
 vmdb/app/models/cim_logical_disk.rb                        |  7 -------
 vmdb/app/models/cim_storage_extent.rb                      | 14 --------------
 vmdb/app/models/cim_storage_volume.rb                      |  8 --------
 vmdb/app/models/configuration_manager.rb                   |  4 ----
 vmdb/app/models/ems_cloud.rb                               |  9 ---------
 vmdb/app/models/ems_cluster.rb                             |  9 ---------
 vmdb/app/models/ems_container.rb                           |  8 --------
 vmdb/app/models/ems_infra.rb                               | 12 ------------
 vmdb/app/models/ext_management_system.rb                   | 12 ------------
 vmdb/app/models/file_depot.rb                              |  3 ---
 vmdb/app/models/host_service_group.rb                      |  6 ------
 vmdb/app/models/host_vmware.rb                             |  4 ----
 vmdb/app/models/miq_provision.rb                           |  5 -----
 vmdb/app/models/miq_provision_cloud.rb                     | 10 ----------
 vmdb/app/models/miq_provision_cloud_workflow.rb            |  9 ---------
 .../app/models/miq_provision_configured_system_workflow.rb |  4 ----
 vmdb/app/models/miq_provision_infra_workflow.rb            | 10 ----------
 vmdb/app/models/miq_provision_microsoft.rb                 |  4 ----
 vmdb/app/models/miq_provision_redhat.rb                    |  4 ----
 vmdb/app/models/miq_provision_request.rb                   |  4 ----
 vmdb/app/models/miq_provision_task.rb                      |  5 -----
 vmdb/app/models/miq_provision_virt_workflow.rb             |  9 ---------
 vmdb/app/models/miq_provision_vmware.rb                    |  5 -----
 vmdb/app/models/miq_provision_workflow.rb                  |  9 ---------
 vmdb/app/models/miq_request_workflow.rb                    | 11 -----------
 vmdb/app/models/miq_template.rb                            |  9 ---------
 vmdb/app/models/provider.rb                                |  8 --------
 vmdb/app/models/provisioning_manager.rb                    |  4 ----
 vmdb/app/models/snia_file_share.rb                         |  7 -------
 vmdb/app/models/template_cloud.rb                          |  9 ---------
 vmdb/app/models/template_infra.rb                          | 11 -----------
 vmdb/app/models/vm.rb                                      |  9 ---------
 vmdb/app/models/vm_cloud.rb                                |  9 ---------
 vmdb/app/models/vm_infra.rb                                | 11 -----------
 38 files changed, 292 deletions(-)

Comment 8 CFME Bot 2015-04-24 21:36:15 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/03ac116102a346fb9b931e602a6ff0c8458cd0cc

commit 03ac116102a346fb9b931e602a6ff0c8458cd0cc
Author:     Brandon Dunne <bdunne>
AuthorDate: Wed Apr 22 12:06:01 2015 -0400
Commit:     Brandon Dunne <bdunne>
CommitDate: Fri Apr 24 16:51:05 2015 -0400

    Change logic that depended on models implementing SUBCLASSES constant
    
    app/controllers/vm_common.rb looks like a bug to me.  Shouldn't it be using
    descendants instead of subclasses?
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1207259

 vmdb/app/controllers/vm_common.rb     | 4 ++--
 vmdb/lib/report_formatter/timeline.rb | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

Comment 9 CFME Bot 2015-04-24 21:36:19 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/09d56d15c36cb1aa77ad01e868e1a3382c80a38e

commit 09d56d15c36cb1aa77ad01e868e1a3382c80a38e
Author:     Brandon Dunne <bdunne>
AuthorDate: Thu Apr 23 17:20:23 2015 -0400
Commit:     Brandon Dunne <bdunne>
CommitDate: Fri Apr 24 16:51:05 2015 -0400

    Create auto_loaded_instance_double to load rails auto-loaded classes
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1207259

 vmdb/spec/controllers/application_controller/tags_spec.rb    |  2 +-
 vmdb/spec/controllers/dashboard_controller_spec.rb           |  2 +-
 .../spec/controllers/miq_ae_customization_controller_spec.rb | 12 +++++-------
 vmdb/spec/controllers/miq_ae_tools_controller_spec.rb        |  8 ++++----
 vmdb/spec/controllers/miq_policy_controller_spec.rb          |  4 ++--
 vmdb/spec/controllers/report_controller_spec.rb              | 10 ++++------
 vmdb/spec/lib/tasks/dialogs_spec.rb                          |  4 ++--
 vmdb/spec/models/automate_import_json_serializer_spec.rb     |  3 +--
 vmdb/spec/models/dialog_field_serializer_spec.rb             |  2 +-
 vmdb/spec/models/dialog_group_serializer_spec.rb             |  3 +--
 vmdb/spec/models/dialog_spec.rb                              |  2 +-
 vmdb/spec/models/dialog_tab_serializer_spec.rb               |  3 +--
 vmdb/spec/models/dialog_yaml_serializer_spec.rb              |  4 +---
 .../spec/models/dynamic_dialog_field_value_processor_spec.rb |  2 +-
 vmdb/spec/models/miq_ae_datastore_spec.rb                    |  3 +--
 vmdb/spec/models/miq_provision_spec.rb                       |  2 +-
 vmdb/spec/models/miq_widget_spec.rb                          |  4 ++--
 vmdb/spec/services/automate_import_service_spec.rb           |  5 +----
 vmdb/spec/services/dialog_import_service_spec.rb             |  4 ++--
 vmdb/spec/services/privilege_checker_service_spec.rb         |  2 +-
 vmdb/spec/services/widget_import_service_spec.rb             |  2 +-
 vmdb/spec/support/controller_spec_helper.rb                  |  4 ++--
 vmdb/spec/support/rspec_fire.rb                              |  7 +++++++
 vmdb/spec/task_helpers/dialog_exporter_spec.rb               |  3 +--
 vmdb/spec/task_helpers/dialog_import_helper_spec.rb          |  2 +-
 25 files changed, 46 insertions(+), 53 deletions(-)

Comment 10 CFME Bot 2015-04-24 21:36:23 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/464c70da586df82b5a0358453e348d846428dbef

commit 464c70da586df82b5a0358453e348d846428dbef
Author:     Brandon Dunne <bdunne>
AuthorDate: Fri Apr 24 10:39:52 2015 -0400
Commit:     Brandon Dunne <bdunne>
CommitDate: Fri Apr 24 16:51:06 2015 -0400

    Prevent circular references in validations while loading classes
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1207259

 vmdb/app/models/miq_request_task.rb                | 20 +++++++++++++++++---
 vmdb/app/models/service_reconfigure_task.rb        |  9 ++-------
 vmdb/app/models/service_template_provision_task.rb | 10 +++++++---
 vmdb/app/models/vm_migrate_task.rb                 |  5 ++---
 vmdb/app/models/vm_reconfigure_task.rb             |  5 ++---
 5 files changed, 30 insertions(+), 19 deletions(-)

Comment 11 Milan Falešník 2015-04-29 15:07:51 UTC
The RH Dropbox is present in the 5.4.0.0.24 but it raises this error on save:

undefined local variable or method `validate_uri_settings' for #<OpsController:0x00000013bfa8e8> [ops/log_depot_edit]

and the depot is not saved.

Comment 12 Brandon Dunne 2015-04-29 19:53:48 UTC
Hi Milan,

That's a UI bug, completely unrelated to this problem.  I mentioned it to Aparna here:
https://github.com/ManageIQ/manageiq/pull/2548#issuecomment-95253703

Maybe a BZ will help it get prioritized?

Comment 13 Milan Falešník 2015-04-30 08:02:32 UTC
I filed BZ#1217348 for that issue.

Comment 15 Milan Falešník 2015-05-04 08:13:24 UTC
Present in 5.4.0.0.24.20150427192818_1fd9e49

Comment 17 errata-xmlrpc 2015-06-16 12:56:10 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://rhn.redhat.com/errata/RHBA-2015-1100.html


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