Skip to content

Removed sensitive info from UI when volume attach/detach fails#4476

Merged
yadvr merged 2 commits into
apache:masterfrom
shapeblue:attach-detach-volume-error
Nov 18, 2020
Merged

Removed sensitive info from UI when volume attach/detach fails#4476
yadvr merged 2 commits into
apache:masterfrom
shapeblue:attach-detach-volume-error

Conversation

@Spaceman1984

@Spaceman1984 Spaceman1984 commented Nov 18, 2020

Copy link
Copy Markdown
Contributor

Description

This PR sends the error message when attaching/detaching a volume fails only to logs and not the UI

Fixes: #4419

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

This was tested by creating a volume, attaching it to a running instance, and detaching the volume.

@Spaceman1984

Copy link
Copy Markdown
Contributor Author

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@Spaceman1984 a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@Spaceman1984 Spaceman1984 changed the title Removed sensitive info from UI when attach/detach fails Removed sensitive info from UI when volume attach/detach fails Nov 18, 2020
@DaanHoogland DaanHoogland added this to the 4.15.0.0 milestone Nov 18, 2020
@DaanHoogland

Copy link
Copy Markdown
Contributor

@andrijapanicsb please review

@blueorangutan

Copy link
Copy Markdown

Packaging result: ✔centos7 ✔centos8 ✔debian. JID-2395

@andrijapanicsb

Copy link
Copy Markdown
Contributor

@DaanHoogland, without having time to test, I trust your Java skills 👍

@andrijapanicsb andrijapanicsb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@DaanHoogland

Copy link
Copy Markdown
Contributor

only tesxtual change in output. travis failure seems a maven central/travis issue. We get a lot of those lately. I sugest we merge this.

@yadvr

yadvr commented Nov 18, 2020

Copy link
Copy Markdown
Member

Travis lgtm, let's merge

@yadvr yadvr merged commit 87e1fa9 into apache:master Nov 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sensitive info when failure on attaching a deleted/recovered volume

5 participants