Argo-cd: hard to view the complete error message on SyncFailed

Created on 18 Apr 2019  路  7Comments  路  Source: argoproj/argo-cd

Describe the bug
On Sync failure, the error message is truncated in the UI. It'd be nice if I could hover over it for the full message, or if it was multi-line text.

in the UI, i see Warning: kubectl apply should be used on resource created by e...

As I wrote this issue... I realize when I double-click select all of the text field and cntrl-C, the entire error message gets added to the clipboard.

The full error message is : Warning: kubectl apply should be used on resource created by either kubectl create --save-config or kubectl apply The Deployment "pdf-service" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"release":"test-pdf-service", "app":"pdf-service"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable

To Reproduce
Steps to reproduce the behavior:

  1. attempt to sync a manifest in a way that breaks things... In my case, I was changing selector labels in subsequent manifests

Expected behavior
It'd be nice to have a tooltip on hover that showed the full error.

Screenshots
Screen Shot 2019-04-17 at 5 50 40 PM

bug workaround

All 7 comments

workaround i discovered. triple click the message. copy and paste to a text editor.

Also the CLI will not crop the message.

This will be fixed in v1.0.0

Was not fixed. Working.

Sync Status Small

sync-status-small

Sync Status Large

sync-status-large

@stevesea 鈽濓笍

having it in a tooltip looks good. Can the user still triple-click the message to select it and copy into the clipboard?

Yes.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

turbotankist picture turbotankist  路  3Comments

ksaito1125 picture ksaito1125  路  3Comments

haf picture haf  路  3Comments

alexec picture alexec  路  3Comments

peterbosalliandercom picture peterbosalliandercom  路  3Comments