Bug 1543903

Summary: No longer able to run rake assets:precompile
Product: Red Hat CloudForms Management Engine Reporter: Jan Krocil <jkrocil>
Component: BuildAssignee: Satoe Imaishi <simaishi>
Status: CLOSED NOTABUG QA Contact: Dave Johnson <dajohnso>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.9.0CC: cpelland, hhudgeon, jkrocil, obarenbo, rbabyuk, simaishi
Target Milestone: GA   
Target Release: cfme-future   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-12 20:54:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Traceback of the error none

Description Jan Krocil 2018-02-09 14:12:49 UTC
Created attachment 1393774 [details]
Traceback of the error

Description of problem:

The customer might need to run this rake task (assets:precompile) after a migration from previous version of the product - it happened in the past and I'm unable to asses if it might be needed again. In case we don't have a decisive "No, can't happen" on this, we should probably fix this / keep this option in.

In addition, we (as QE) need to be able to precompile assets in case we need a workaround or hotfix for automated tests to work properly. We are currently investigating some issues and are unable to move forward because of this.

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

How reproducible:
Always

Steps to Reproduce:
1. # vmdb
2. # rake assets:precompile

Actual results:
Traceback attached.

Expected results:
Assets can be recompiled.

Additional info:

Comment 2 Satoe Imaishi 2018-02-09 14:30:45 UTC
We precompile assets during builds.  I know it 'worked' in the past on CFME appliances, but as far as I know that's not something we support.

When we started working on cfme-5.9, we (Jason and myself) revisited this and it was decided the extra packages that exist on appliances (which are needed to just precompile assets) should be removed.