set local_settings.py in horizon before compressing stylesheets

Bug #1364938 reported by Matthew Mosesohn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Matthew Mosesohn

Bug Description

Results in this puppet error:
(/Stage[main]/Horizon/Exec[horizon_compress_styles]) Failed to call refresh: python manage.py compress returned 1 instead of one of [0]
NOTICE (/Stage[main]/Horizon/Exec[horizon_compress_styles]/returns) CommandError: Offline compression is disabled. Set COMPRESS_OFFLINE or use the --force to override.

Just need to create local_settings.py file before horizon_compress_styles is executed.

Tags: juno
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

Fix proposed to branch: master
Review: https://review.openstack.org/118631

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/118631
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=fd04fee48b398049c03ad40e6170f87367be331b
Submitter: Jenkins
Branch: master

commit fd04fee48b398049c03ad40e6170f87367be331b
Author: Matthew Mosesohn <email address hidden>
Date: Wed Sep 3 17:09:24 2014 +0400

    Set horizon local_settings before compress

    Compress fails because local_settings.py default
    value is false. The settings file needs to be
    created first.

    Change-Id: I142a4d78880c143a13d5e715428a5c0937f33c9a
    Closes-Bug: #1364938
    blueprint fuel-deploy-juno

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Anastasia Palkina (apalkina) wrote :

Verified on custom ISO with Juno #20

"build_id": "2014-10-10_17-06-59", "ostf_sha": "7b2200ba90302d938841584c77ee86dd55814e6a", "build_number": "20", "auth_required": true, "api": "1.0", "nailgun_sha": "1386bdb46aaa989cf1d00e52a61d0a193acbeab9", "production": "docker", "fuelmain_sha": "6d2c7107353e17d50bd5e72846d986ab5b7c430e", "astute_sha": "65a5a0781d314bdcc090a61a599a8abf95989fc1", "feature_groups": ["mirantis"], "release": "6.0", "release_versions": {"2014.2-6.0": {"VERSION": {"build_id": "2014-10-10_17-06-59", "ostf_sha": "7b2200ba90302d938841584c77ee86dd55814e6a", "build_number": "20", "api": "1.0", "nailgun_sha": "1386bdb46aaa989cf1d00e52a61d0a193acbeab9", "production": "docker", "fuelmain_sha": "6d2c7107353e17d50bd5e72846d986ab5b7c430e", "astute_sha": "65a5a0781d314bdcc090a61a599a8abf95989fc1", "feature_groups": ["mirantis"], "release": "6.0", "fuellib_sha": "f282999b04f4ff42b8d9147c9a7ab9348da1b24b"}}}, "fuellib_sha": "f282999b04f4ff42b8d9147c9a7ab9348da1b24b"

Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.