Bug 1023855 - Met "export:`OPENSHIFT_HAPROXY_*=<%= ENV['OPENSHIFT_HAPROXY_DIR'] %>*`: not a valid identifier" when ssh into existing scalable app on INT after migration.
Summary: Met "export:`OPENSHIFT_HAPROXY_*=<%= ENV['OPENSHIFT_HAPROXY_DIR'] %>*`: not a...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Paul Morie
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-28 05:59 UTC by Liang Xia
Modified: 2015-05-14 23:31 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-24 03:27:10 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Liang Xia 2013-10-28 05:59:43 UTC
Description of problem:
When ssh into existing scalable app after INT migration, met following errors:
bash: export: `OPENSHIFT_HAPROXY_LOG_DIR.erb=<%= ENV['OPENSHIFT_HAPROXY_DIR'] %>logs/': not a valid identifier
bash: export: `OPENSHIFT_HAPROXY_PATH_ELEMENT.erb=<%= ENV['OPENSHIFT_HAPROXY_DIR'] %>usr/bin': not a valid identifier

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

How reproducible:
always

Steps to Reproduce:
1.create scalabe app on INT.
2.migrate servers.
3.ssh into app.

Actual results:
# rhc ssh jbossews2s
Connecting to 5264c9876cec0e4ccb00036e.rhcloud.com ...
Warning: Permanently added 'jbossews2s-lxiamigrate.int.rhcloud.com,50.19.66.196' (RSA) to the list of known hosts.
bash: export: `OPENSHIFT_HAPROXY_LOG_DIR.erb=<%= ENV['OPENSHIFT_HAPROXY_DIR'] %>logs/': not a valid identifier
bash: export: `OPENSHIFT_HAPROXY_PATH_ELEMENT.erb=<%= ENV['OPENSHIFT_HAPROXY_DIR'] %>usr/bin': not a valid identifier

Expected results:
SSH into the app successfully without errors.

Additional info:

Comment 1 Paul Morie 2013-10-28 21:08:27 UTC
This happened because the haproxy upgrade script failed for your app, leaving unprocessed ERB templates in your haproxy/env directory.  Please retest the upgrade with a stage instance to see if this is still an issue - we have made several changes to the upgrades for this release.

Comment 2 Liang Xia 2013-10-30 02:07:18 UTC
Still met this error on INT(devenv_3965).

$ rhc ssh jbossews2s
Connecting to 5269f7a003ef6419fc00057b.rhcloud.com ...
bash: export: `OPENSHIFT_HAPROXY_LOG_DIR.erb=<%= ENV['OPENSHIFT_HAPROXY_DIR'] %>logs/': not a valid identifier
bash: export: `OPENSHIFT_HAPROXY_PATH_ELEMENT.erb=<%= ENV['OPENSHIFT_HAPROXY_DIR'] %>usr/bin': not a valid identifier

Comment 3 Liang Xia 2013-10-30 07:48:52 UTC
However, doesn't met this error after migration from devenv_stage_528  to devenv_3967.

Comment 4 Liang Xia 2013-10-30 09:09:36 UTC
(In reply to Paul Morie from comment #1)
> This happened because the haproxy upgrade script failed for your app,
> leaving unprocessed ERB templates in your haproxy/env directory.  Please
> retest the upgrade with a stage instance to see if this is still an issue -
> we have made several changes to the upgrades for this release.

Hi Paul,

Will the broker apps on INT like this be fixed or not ?

Thanks,
Liang

Comment 5 Paul Morie 2013-10-30 14:41:21 UTC
Liang-

Apps in INT will not be affected by the fix; you will have to test in a devenv.

Comment 6 Liang Xia 2013-10-31 09:00:17 UTC
Verified on instance which is migrated from devenv_stage_528 to devenv_3973, didn't met this issue.

According to comment #3, #5, and this one, move to verified.


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