shwstppr commented on issue #6617:
URL: https://github.com/apache/cloudstack/issues/6617#issuecomment-1210570647

   @boubouX this seems a bug in 4.16.1 UI as it doesn't seem to be updating 
protocols when cluster is changed. For you it seems to be listing protocols for 
Xen cluster which must be the first in the list.
   
https://github.com/apache/cloudstack/blob/4.16.1.0/ui/src/views/infra/AddPrimaryStorage.vue#L427-L428
   I've checked and it is fixed in 4.17.0 with Vue3 PR changes 
https://github.com/apache/cloudstack/pull/5151
   You can try with API or else an upgrade is needed. If you want you can also 
rebuild the ui. Check `Advance customisation` at 
https://www.shapeblue.com/customising-the-cloudstack-ui/
   Following change is needed,
   ```
   diff --git a/ui/src/views/infra/AddPrimaryStorage.vue 
b/ui/src/views/infra/AddPrimaryStorage.vue
   index dbab19ea9e..8fe87975bb 100644
   --- a/ui/src/views/infra/AddPrimaryStorage.vue
   +++ b/ui/src/views/infra/AddPrimaryStorage.vue
   @@ -420,6 +420,7 @@ export default {
          })
        },
        fetchHypervisor (value) {
   +      this.clusterSelected = value
          const cluster = this.clusters.find(cluster => cluster.id === 
this.clusterSelected)
          this.hypervisorType = cluster.hypervisortype
          if (this.hypervisorType === 'KVM') {
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to