Bug 1158851
Summary: | Cron cartridge: loading of environment variables underquoted | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Luke Meyer <lmeyer> |
Component: | ImageStreams | Assignee: | Jason DeTiberus <jdetiber> |
Status: | CLOSED ERRATA | QA Contact: | libra bugs <libra-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2.2.0 | CC: | adellape, bleanhar, gpei, jokerman, jolamb, libra-bugs, libra-onpremise-devel, lmeyer, mmccomas, pruan, tschan+redhat, vvitek |
Target Milestone: | --- | Keywords: | Upstream |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | openshift-origin-cartridge-cron-1.24.1.1-1 | Doc Type: | Bug Fix |
Doc Text: |
Due to a bug in the cron cartridge, environment variables were not properly quoted. This could result in variables being set incorrectly when loaded by gear cron jobs. This bug fix updates the cron cartridge script that handles running the jobs, and as a result, variables are now set correctly. After applying this update, a cartridge upgrade is required.
|
Story Points: | --- |
Clone Of: | 1157830 | Environment: | |
Last Closed: | 2014-12-10 13:24:49 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: | 1157830, 1158868 | ||
Bug Blocks: |
Description
Luke Meyer
2014-10-30 11:25:34 UTC
*** Bug 1158868 has been marked as a duplicate of this bug. *** verify this bug on puddle 2.2/2014-11-24.3 with package openshift-origin-cartridge-cron-1.24.1.1-1.el6op.noarch 1. rhc app create test1 php-5.3 cron-1.4 2. Create a minutely cron job in .openshift/cron/minutely/env.sh as follow: #! /bin/sh env >/tmp/env.txt 3. rhc env set NAME="John Doe" -a test1 [root@broker test1]# rhc ssh test1 "cat /tmp/env.txt | grep NAME=Jo" NAME=John Doe 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-2014-1979.html |