Bug 1328537

Summary: Typo in debug logging for CFME on OSP
Product: Red Hat Quickstart Cloud Installer Reporter: Tasos Papaioannou <tpapaioa>
Component: fusor-serverAssignee: Jesus M. Rodriguez <jesusr>
Status: CLOSED ERRATA QA Contact: Tasos Papaioannou <tpapaioa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 1.0CC: jesusr, jmatthew
Target Milestone: gaKeywords: Triaged
Target Release: 1.0   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-13 16:28:06 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: 1342594    

Description Tasos Papaioannou 2016-04-19 15:28:36 UTC
Description of problem:

When installing CFME on an OSP deployment, 'Launch' is misspelled 'Launc' in debug-level deployment log output:

2016-04-18 22:43:31 [D] ====== CFME Upload run method ======
2016-04-18 22:45:44 [D] ====== Leaving CFME Upload run method ======
2016-04-18 22:45:45 [D] ====== CFME Security Group run method ======
2016-04-18 22:45:47 [D] ====== Leaving CFME Security Group run method ======
2016-04-18 22:45:48 [D] ====== CFME Launch run method ======
2016-04-18 22:54:35 [I] CFME Launch Completed
2016-04-18 22:54:35 [D] ====== Leaving Launc Upload run method ======
2016-04-18 22:54:37 [D] ================ UpdateRootPassword run method ====================

The corresponding code is:

./server/app/lib/actions/fusor/deployment/open_stack/cfme_launch.rb:

          def run
            ::Fusor.log.debug '====== CFME Launch run method ======'
            deployment = ::Fusor::Deployment.find(input[:deployment_id])
            create_image(deployment)
            create_compute_profile(deployment)
            host = create_host(deployment)
            deployment.cfme_address = host.ip
            deployment.cfme_hostname = host.name
            deployment.save!
            ::Fusor.log.debug '====== Leaving Launc Upload run method ======'
          end


To match the pattern of the other debug output, 'Leaving Launc Upload run method' should be changed to 'Leaving CFME Launch run method'.

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

Reproduced on QCI-1.0-RHEL-7-20160411.t.0, verified the code is the same in master.

How reproducible:

100%

Steps to Reproduce:
1.) Deploy CFME on OpenStack.
2.) See typo in debug log output.

Actual results:

Typo in debug log output.

Expected results:

No typo in debug log output.
Additional info:

Comment 1 Jesus M. Rodriguez 2016-06-03 16:55:35 UTC
https://github.com/fusor/fusor/pull/919

Comment 2 John Matthews 2016-06-23 20:02:50 UTC
Addressed in ISO Set:
QCI-1.2-RHEL-7-20160623.t.0-QCI-x86_64-dvd1.iso
QCIOOO-8.0-RHEL-7-20160623.t.0-QCIOOO-x86_64-dvd1.iso

Comment 3 Tasos Papaioannou 2016-07-06 20:54:54 UTC
Verified in QCI-1.2-RHEL-7-20160705.t.1.

Comment 9 errata-xmlrpc 2016-09-13 16:28:06 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/RHEA-2016:1862