Bug 1040700 - Error message on app env sync failure is.... bad
Summary: Error message on app env sync failure is.... bad
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Pod
Version: 2.x
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Dan McPherson
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-11 22:50 UTC by Clayton Coleman
Modified: 2015-05-15 00:23 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-30 00:53:05 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Clayton Coleman 2013-12-11 22:50:06 UTC
App "foo" has 2 php gears (scaled) but I moved the disk contents of gear 891133878006244771364864 to another location to mimic gear disappearing on disk.

[Dec 13 17:48 cc4 ~/code/li]$ rhc set-env -a foo A=B
Setting environment variable(s) ... 
Sync for 891133878006244771364864@ip-10-232-46-73 user variables failed.
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(600) [sender=3.0.6]

The broker should expect the node to return a "unable to sync environment variables to gear x" message, and present something better.

Comment 1 Dan McPherson 2014-01-13 23:16:01 UTC
https://github.com/openshift/li/pull/2272

Comment 4 Jianwei Hou 2014-01-14 05:49:13 UTC
Verified on devenv_4219

1. Create a scalable application, scale it up to 2 gears
2. Move 1 gear to another location from node
3. Add env

Result:
rhc set-env -a php1s A=B
Setting environment variable(s) ... Failed to update environment variable(s) on your application's gear(s).  Please try again and contact support if the issue persists.


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