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

Improve the plugin's behavior when multiple OVAs are detected: powered off OVAs #573

Open
wjun opened this issue Aug 23, 2018 · 5 comments
Assignees
Labels
component/plugin/h5c The plugin for the vSphere HTML5 client kind/defect Behavior that is inconsistent with what's intended kind/feature New functionality you could include in marketing material severity/2-serious High usability or functional impact. Often has no workaround. status/need-info Additional information is needed to make progress

Comments

@wjun
Copy link
Contributor

wjun commented Aug 23, 2018

@wjun commented on Thu Aug 23 2018

For 1.4.3, do not attempt to connect to OVAs which are not powered on. Display a clear error message if OVAs are present, but none are powered on.

This involves changes to the plugin's OVA lookup logic, changes to the plugin's error handling, and additional tests.

@zjs zjs added kind/defect Behavior that is inconsistent with what's intended component/plugin/h5c The plugin for the vSphere HTML5 client severity/2-serious High usability or functional impact. Often has no workaround. labels Aug 30, 2018
@zjs
Copy link
Member

zjs commented Aug 30, 2018

Marking serious as this may also affect upgrade workflows, where an old, powered off OVA may still exist.

@zjs zjs changed the title Improve the plugin's behavior when multiple OVAs are detected. Improve the plugin's behavior when multiple OVAs are detected: powered off OVAs Aug 30, 2018
@zhoumeina
Copy link
Contributor

@lweitzman , could you please design this?

@zjs zjs added the status/need-info Additional information is needed to make progress label Sep 10, 2018
@zjs
Copy link
Member

zjs commented Sep 10, 2018

Marking as need info: we need to confirm whether this is required for 1.4.3.

@wjun
Copy link
Contributor Author

wjun commented Sep 12, 2018

@zjs According to the sorting algorithm at

Collections.sort(vicAppliancesList, new Comparator<String>() {

UI will put the latest build number in the list and use it. So it should be fine leave it out of 1.4.3, and depending on the use cases, we may prioritize if using a select list in the future release.

@zjs
Copy link
Member

zjs commented Sep 12, 2018

@wjun: Ah, I see. The sorting algorithm suffers from the same issue as some of our other code that looks at version numbers: it assumes a build with a higher drone job number is a newer version than a build with a lower drone job number. (Which isn't always true.) However, it should be an acceptable assumption for released builds for now; customers who use only released builds shouldn't be able to encounter the issue that I hit.

@renmaosheng renmaosheng added the kind/feature New functionality you could include in marketing material label Mar 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/plugin/h5c The plugin for the vSphere HTML5 client kind/defect Behavior that is inconsistent with what's intended kind/feature New functionality you could include in marketing material severity/2-serious High usability or functional impact. Often has no workaround. status/need-info Additional information is needed to make progress
Projects
None yet
Development

No branches or pull requests

4 participants