Skip to content
This repository was archived by the owner on Jan 20, 2021. It is now read-only.

[FIX] New Instance dialog#401

Merged
yadvr merged 8 commits intoapache:masterfrom
utchoang:feature/fix-vm-instance
Jun 20, 2020
Merged

[FIX] New Instance dialog#401
yadvr merged 8 commits intoapache:masterfrom
utchoang:feature/fix-vm-instance

Conversation

@utchoang
Copy link

@utchoang utchoang commented Jun 8, 2020

Open for #263 and #375 (comment)

  • Add scroller in the 'New instance' info
  • Can't "un-choose" the Zone/Pod/Host for the VM deployment

@utchoang utchoang marked this pull request as draft June 8, 2020 04:18
@utchoang
Copy link
Author

utchoang commented Jun 8, 2020

  • Add scroller in VM info
    image
  • Add "Default" option into the select box the Zone/Pod/Host for the VM deployment
    image

@utchoang
Copy link
Author

utchoang commented Jun 8, 2020

@rhtyd cc @svenvogel I've completed. Please review and testing. Thanks.

@utchoang utchoang marked this pull request as ready for review June 8, 2020 09:12
@yadvr
Copy link
Member

yadvr commented Jun 14, 2020

@utchoang I missed seeing this PR and pushed a fix, can you review my commit and close this PR if my commit fixes the issue:
0468b82

@yadvr yadvr added this to the 1.0-GA milestone Jun 14, 2020
# Conflicts:
#	src/views/compute/DeployVM.vue
@yadvr
Copy link
Member

yadvr commented Jun 16, 2020

@utchoang I tested latest master, and couldn't reproduce the issue; please re-open if I missed any case or the issue still exists. Thanks.

@yadvr yadvr closed this Jun 16, 2020
@utchoang
Copy link
Author

@rhtyd With the exception of scrolling information, I've corrected some missing points in the auto-selection section when turning pages in each section (When turning pages, the auto-select is not correct). I will remove the roll, can you check and merge it for me, please?

@yadvr yadvr reopened this Jun 16, 2020
@yadvr
Copy link
Member

yadvr commented Jun 16, 2020

@utchoang alright please merge latest master and let me know when it's ready for review/testing. Thanks.

@yadvr
Copy link
Member

yadvr commented Jun 17, 2020

@blueorangutan package

@blueorangutan
Copy link

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

@blueorangutan
Copy link

Packaging result: ✔️centos ✔️debian ✔️archive.
QA: http://primate-qa.cloudstack.cloud:8080/client/pr/401 (JID-2023)

@yadvr
Copy link
Member

yadvr commented Jun 17, 2020

@utchoang can you test against the Primate QA server (http://primate-qa.cloudstack.cloud:8080/client/pr/401/#/action/deployVirtualMachine)

  • On searching the page number should reset to 1 for the selection/step
  • We've stopped showing the cpu number/ram etc?
  • Affinity groups gets empty after I click the next page

Please test it thoroughly against Primate QA server and/or any local setup and ping me when you're done. Thanks.

@utchoang
Copy link
Author

@rhtyd I've completed fixed it. About the issue "Affinity groups get empty after clicking the next page". I don't understand why when I called listAffinityGroups, the API responded with count > item length result (bellow image). Thanks.
image

@yadvr
Copy link
Member

yadvr commented Jun 17, 2020

@shwstppr - can you check if this is an issue with the backend API implementation; i.e. wrong count is sent for the API response (if yes, please send a PR to apache/cloudstack targetting 4.13 branch). cc @davidjumani

@yadvr
Copy link
Member

yadvr commented Jun 17, 2020

@utchoang can you fix the conflict? Thanks.

@utchoang
Copy link
Author

@rhtyd I've resolved it. Thanks.

# Conflicts:
#	src/views/compute/DeployVM.vue
@yadvr
Copy link
Member

yadvr commented Jun 18, 2020

@blueorangutan package

@blueorangutan
Copy link

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

@blueorangutan
Copy link

Packaging result: ✔️centos ✔️debian ✔️archive.
QA: http://primate-qa.cloudstack.cloud:8080/client/pr/401 (JID-2038)

@shwstppr
Copy link
Contributor

@shwstppr - can you check if this is an issue with the backend API implementation; i.e. wrong count is sent for the API response (if yes, please send a PR to apache/cloudstack targetting 4.13 branch). cc @davidjumani

@utchoang apache/cloudstack#4154 should solve the wrong count issue for AG

@yadvr
Copy link
Member

yadvr commented Jun 18, 2020

@blueorangutan package

@blueorangutan
Copy link

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

Copy link
Member

@yadvr yadvr left a comment

Choose a reason for hiding this comment

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

LGTM will need to a final test and merge

@blueorangutan
Copy link

Packaging result: ✔️centos ✔️debian ✔️archive.
QA: http://primate-qa.cloudstack.cloud:8080/client/pr/401 (JID-2051)

@yadvr
Copy link
Member

yadvr commented Jun 18, 2020

@utchoang @svenvogel can you check on the above env, run a full end-to-end VM deployment wizard test ? Thanks.

Deployment wizard fails for me:

TypeError: Cannot read property 'keyboardOptions' of undefined
    at o.keyboardSelectOptions (DeployVM.vue:685)
    at nr.get (vue.runtime.esm.js:4479)
    at nr.evaluate (vue.runtime.esm.js:4584)
    at o.keyboardSelectOptions (vue.runtime.esm.js:4836)
    at o.s (DeployVM.vue?c94a:10)
    at o.e._render (vue.runtime.esm.js:3548)
    at o.r (vue.runtime.esm.js:4066)
    at nr.get (vue.runtime.esm.js:4479)
    at nr.run (vue.runtime.esm.js:4554)
    at Xn (vue.runtime.esm.js:4310)
it @ vue.runtime.esm.js:8
rt @ vue.runtime.esm.js:8
tt @ vue.runtime.esm.js:8
e._render @ vue.runtime.esm.js:8
r @ vue.runtime.esm.js:8
nr.get @ vue.runtime.esm.js:8
nr.run @ vue.runtime.esm.js:8
Xn @ vue.runtime.esm.js:8
(anonymous) @ vue.runtime.esm.js:8
lt @ vue.runtime.esm.js:8
Promise.then (async)
at @ vue.runtime.esm.js:8
pt @ vue.runtime.esm.js:8
er @ vue.runtime.esm.js:8
nr.update @ vue.runtime.esm.js:8
ve.notify @ vue.runtime.esm.js:8
set @ vue.runtime.esm.js:8
setState @ chunk-vendors.e4a86834.js:74
setOpenState @ moment.js:5621
onMenuSelect @ moment.js:5621
nt @ vue.runtime.esm.js:8
n @ vue.runtime.esm.js:8
__emit @ chunk-vendors.e4a86834.js:74
onClick @ moment.js:5621
nt @ vue.runtime.esm.js:8
n @ vue.runtime.esm.js:8
__emit @ chunk-vendors.e4a86834.js:74
onClick @ chunk-vendors.e4a86834.js:1
click @ chunk-vendors.e4a86834.js:1
nt @ vue.runtime.esm.js:8
n @ vue.runtime.esm.js:8
__emit @ chunk-vendors.e4a86834.js:74
onClick @ index.js:1
nt @ vue.runtime.esm.js:8
n @ vue.runtime.esm.js:8
Qi.a._wrapper @ vue.runtime.esm.js:8
vue.runtime.esm.js:1888 TypeError: Cannot read property 'keyboardOptions' of undefined
    at o.keyboardSelectOptions (DeployVM.vue:685)
    at nr.get (vue.runtime.esm.js:4479)
    at nr.evaluate (vue.runtime.esm.js:4584)
    at o.keyboardSelectOptions (vue.runtime.esm.js:4836)
    at o.s (DeployVM.vue?c94a:10)
    at o.e._render (vue.runtime.esm.js:3548)
    at o.r (vue.runtime.esm.js:4066)
    at nr.get (vue.runtime.esm.js:4479)
    at nr.run (vue.runtime.esm.js:4554)
    at Xn (vue.runtime.esm.js:4310)
it @ vue.runtime.esm.js:8
rt @ vue.runtime.esm.js:8
tt @ vue.runtime.esm.js:8
e._render @ vue.runtime.esm.js:8
r @ vue.runtime.esm.js:8
nr.get @ vue.runtime.esm.js:8
nr.run @ vue.runtime.esm.js:8
Xn @ vue.runtime.esm.js:8
(anonymous) @ vue.runtime.esm.js:8
lt @ vue.runtime.esm.js:8
Promise.then (async)
at @ vue.runtime.esm.js:8
pt @ vue.runtime.esm.js:8
er @ vue.runtime.esm.js:8
nr.update @ vue.runtime.esm.js:8
e.$forceUpdate @ vue.runtime.esm.js:8
(anonymous) @ chunk-207263fb.6225f06d.js:1
(anonymous) @ lodash.js:1
(anonymous) @ lodash.js:1
Ti @ lodash.js:1
(anonymous) @ lodash.js:1
ra @ lodash.js:1
pl @ lodash.js:1
(anonymous) @ chunk-207263fb.6225f06d.js:1
(anonymous) @ lodash.js:1
(anonymous) @ lodash.js:1
Ti @ lodash.js:1
(anonymous) @ lodash.js:1
ra @ lodash.js:1
pl @ lodash.js:1
(anonymous) @ chunk-207263fb.6225f06d.js:1
Promise.then (async)
fetchOptions @ chunk-207263fb.6225f06d.js:1
(anonymous) @ chunk-207263fb.6225f06d.js:1
(anonymous) @ lodash.js:1
Ti @ lodash.js:1
(anonymous) @ lodash.js:1
cl @ lodash.js:1
onSelectZoneId @ chunk-207263fb.6225f06d.js:1
Object.keys.forEach.l.<computed> @ moment.js:5621
nt @ vue.runtime.esm.js:8
n @ vue.runtime.esm.js:8
nt @ vue.runtime.esm.js:8
Tn.e.$emit @ vue.runtime.esm.js:8
fireChange @ moment.js:5621
onMenuSelect @ moment.js:5621
nt @ vue.runtime.esm.js:8
n @ vue.runtime.esm.js:8
__emit @ chunk-vendors.e4a86834.js:74
onClick @ moment.js:5621
nt @ vue.runtime.esm.js:8
n @ vue.runtime.esm.js:8
__emit @ chunk-vendors.e4a86834.js:74
onClick @ chunk-vendors.e4a86834.js:1
click @ chunk-vendors.e4a86834.js:1
nt @ vue.runtime.esm.js:8
n @ vue.runtime.esm.js:8
__emit @ chunk-vendors.e4a86834.js:74
onClick @ index.js:1
nt @ vue.runtime.esm.js:8
n @ vue.runtime.esm.js:8
Qi.a._wrapper @ vue.runtime.esm.js:8
vue.runtime.esm.js:1888 TypeError: Cannot read property 'keyboardOptions' of undefined
    at o.keyboardSelectOptions (DeployVM.vue:685)
    at nr.get (vue.runtime.esm.js:4479)
    at nr.evaluate (vue.runtime.esm.js:4584)
    at o.keyboardSelectOptions (vue.runtime.esm.js:4836)
    at o.s (DeployVM.vue?c94a:10)
    at o.e._render (vue.runtime.esm.js:3548)
    at o.r (vue.runtime.esm.js:4066)
    at nr.get (vue.runtime.esm.js:4479)

@yadvr
Copy link
Member

yadvr commented Jun 18, 2020

@utchoang another issue:

  • When ISO is selected the user must select a disk offering (for the root disk), but no thank you is selected

@yadvr
Copy link
Member

yadvr commented Jun 19, 2020

@blueorangutan package

@blueorangutan
Copy link

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

@blueorangutan
Copy link

Packaging result: ✔️centos ✔️debian ✔️archive.
QA: http://primate-qa.cloudstack.cloud:8080/client/pr/401 (JID-2055)

@yadvr yadvr merged commit 5be8e4e into apache:master Jun 20, 2020
@utchoang utchoang deleted the feature/fix-vm-instance branch June 22, 2020 00:28
weizhouapache pushed a commit that referenced this pull request Jan 19, 2021
* add scroll to vm info

* fix "un-choose" the Zone/Pod/Host and row selected when changing page sections

* remove 'un-choose' selection in zone, cluster, pod, host

* fix issue when selected page, hidden cpu/ram affinity groups

* revert affinityGroup total count

* fix error lint & disk offering selection
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants