Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

We should block users from adding to project when we know it will fail. #2297

Closed
ncameronbritt opened this issue Oct 18, 2017 · 9 comments
Closed
Assignees
Labels
area/usability kind/bug Categorizes issue or PR as related to a bug. priority/P2

Comments

@ncameronbritt
Copy link

We should check for duplicate names BEFORE trying to add to a project to prevent errors, and to avoid a situation where the user has to clean up from a partial success, which can be very difficult in some cases.
screen shot 2017-10-18 at 9 36 09 am
screen shot 2017-10-18 at 9 38 51 am

@spadgett
Copy link
Member

I'm not sure we can since we don't know what objects will be created. The broker handles that.

The template broker could check, but by that point, you already have the service instance object. So you're in the same spot with a failed instance.

In this case, cleanup should be deleting the instance and everything else is garbage collected.

cc @bparees @jwforres

@bparees
Copy link
Contributor

bparees commented Oct 18, 2017

+1 @spadgett

@jwforres
Copy link
Member

Agreed we can't check this ahead of time. But I'm wondering if we should be doing something in the creation dialog to let them go ahead and delete the instance when we see provisioning failed, instead of them finding it later on in their project. Unlike the old template processing, there is nothing obvious in this dialog that tells me that there were still objects created.

@spadgett
Copy link
Member

Yeah I agree with letting users delete the instance directly from the results step. We have an open issue to add better failure actions (#2217). This might be something easy we can do to make it a little better.

@ncameronbritt
Copy link
Author

This situation isn't limited to creating things through the catalog. And (I think) everyone agrees that the experience around this is not good. With the old template processing you see what's created, true, but you still have to go back and delete everything that was created successfully, and we don't make it explicit that that's what you should do (either that or delete your project and start over).

I knew Robb had adding the ability to delete from the results page on his list of to-dos, and adding that delete action is part of the design. But I think it could be argued that preventing what seems like it ought to be a preventable error is preferable to making a mess and then having the user clean it up, even if we make that clean-up process easier.

@jhadvig
Copy link
Member

jhadvig commented Oct 23, 2017

+1 for having the ability to delete the instance in the failed result step. But shouldn't we also have this option in when creating a app not via the service catalog ?

dalete

@jwforres
Copy link
Member

jwforres commented Oct 23, 2017 via email

@jwforres jwforres added area/usability kind/bug Categorizes issue or PR as related to a bug. priority/P2 labels Oct 23, 2017
@spadgett
Copy link
Member

spadgett commented Feb 6, 2018

@dtaylor113 Has this since been fixed?

@spadgett
Copy link
Member

I've verified this is fixed now.

openshift web console 2018-02-13 15-35-42

/close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/usability kind/bug Categorizes issue or PR as related to a bug. priority/P2
Projects
None yet
Development

No branches or pull requests

6 participants