You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2022/08/08 23:20:57 UTC

[GitHub] [cloudstack] boubouX opened a new issue, #6617: Linstor option (Protocol) not available on KVM cluster during cluster-wide primary storage creation

boubouX opened a new issue, #6617:
URL: https://github.com/apache/cloudstack/issues/6617

   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and main branch are affected too.
   Always add information AFTER of these HTML comments, but no need to delete the comments.
   -->
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   UI
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on main branch.
   -->
   
   ~~~
   4.16.1
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, advanced networking, etc.  N/A otherwise
   -->
   ~~~
   ACS 4.16.1 with advanced networking
   ~~~
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   ~~~
   Pre-existing:
    One XEN and two other KVM Clusters
    Two zone-wide primary nfs storage
   
   New:
    KVM Cluster with Four Ubuntu 20 hosts, Kernel 5.17.5, Qemu 5.0.0, zfs 2.1, Linstor
   ~~~
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   ~~~
   No Linstor Protocol option available during Primary Storage creation on KVM Cluster containing KVM Hosts.
   I also have pre-existing zone-wide primary nfs servers that were added at the time of host creation.
   
   The only available options are: nfs, PreSetup, iscsi and custom
   ~~~
   
   ##### STEPS TO REPRODUCE
   <!--
   For bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.
   
   For new features, show how the feature would be used.
   -->
   
   
   <-- Paste example playbooks or commands between quotes below -->
   ~~~
   1. Create zone-wide nfs primary server(s), I have two defined.
   2. Create KVM Cluster
   3. Create KVM Hosts with Linstor runtime
   4. Add cluster-wide Primary Storage on cluster in step 2
   5. No linstor option showing under the Protocol dropdown
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   Linstor option should be available as per 4.16.1 documentation
   
   Except from the documentation: "After you are finished with the LINSTOR cluster setup, you can add a Cloudstack primary storage as any other primary storage see Add Primary Storage <http://docs.cloudstack.apache.org/en/latest/installguide/configuration.html#add-primary-storage>. For protocol choose Linstor and as server specify the controller REST-API URL e.g.: http://127.0.0.1:3370/ and use the resource group name you added in the LINSTOR cluster.”
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   No Linstor selection available
   ~~~
   


-- 
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: commits-unsubscribe@cloudstack.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] boubouX commented on issue #6617: Linstor option (Protocol) not available on KVM cluster during cluster-wide primary storage creation

Posted by GitBox <gi...@apache.org>.
boubouX commented on issue #6617:
URL: https://github.com/apache/cloudstack/issues/6617#issuecomment-1209355017

   My Primary Storage screenshot
   
   
   <img width="563" alt="Screen Shot 2022-08-09 at 8 59 48 AM" src="https://user-images.githubusercontent.com/44043283/183653353-4f288ba7-37e9-4dbd-ab2d-966e4965c6c7.png">
   
   


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] shwstppr commented on issue #6617: Linstor option (Protocol) not available on KVM cluster during cluster-wide primary storage creation

Posted by GitBox <gi...@apache.org>.
shwstppr commented on issue #6617:
URL: https://github.com/apache/cloudstack/issues/6617#issuecomment-1208972020

   @boubouX can you please share the screenshot of the options you are getting in the UI. I checked with a 4.16.1 env and UI always show the following for a KVM cluster,
   
   ![Screenshot from 2022-08-09 12-04-50](https://user-images.githubusercontent.com/153340/183580824-b134398f-8e97-4b01-9f70-8f376572e2be.png)
   
   
   


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] boring-cyborg[bot] commented on issue #6617: Linstor option (Protocol) not available on KVM cluster during cluster-wide primary storage creation

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #6617:
URL: https://github.com/apache/cloudstack/issues/6617#issuecomment-1208717161

   Thanks for opening your first issue here! Be sure to follow the issue template!
   


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] shwstppr commented on issue #6617: Linstor option (Protocol) not available on KVM cluster during cluster-wide primary storage creation

Posted by GitBox <gi...@apache.org>.
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] shwstppr closed issue #6617: Linstor option (Protocol) not available on KVM cluster during cluster-wide primary storage creation

Posted by GitBox <gi...@apache.org>.
shwstppr closed issue #6617: Linstor option (Protocol) not available on KVM cluster during cluster-wide primary storage creation
URL: https://github.com/apache/cloudstack/issues/6617


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] boubouX commented on issue #6617: Linstor option (Protocol) not available on KVM cluster during cluster-wide primary storage creation

Posted by GitBox <gi...@apache.org>.
boubouX commented on issue #6617:
URL: https://github.com/apache/cloudstack/issues/6617#issuecomment-1210584636

   Thank you Abhishek
   
   Our first cluster is indeed a Xen cluster.  We are planning to upgrade to 4.17 within the next month.


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] boubouX commented on issue #6617: Linstor option (Protocol) not available on KVM cluster during cluster-wide primary storage creation

Posted by GitBox <gi...@apache.org>.
boubouX commented on issue #6617:
URL: https://github.com/apache/cloudstack/issues/6617#issuecomment-1209369812

   Done
   
   Antoine Boucher
   ***@***.*** ***@***.***>
   [m] 226-505-9734
   
   
   Confidentiality Warning: This message and any attachments are intended only for the use of the intended recipient(s), are confidential, and may be privileged. If you are not the intended recipient, you are hereby notified that any review, retransmission, conversion to hard copy, copying, circulation or other use of this message and any attachments is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, and delete this message and any attachments from your system.
   
   
   
   
   
   
   
   
   > On Aug 9, 2022, at 2:36 AM, Abhishek Kumar ***@***.***> wrote:
   > 
   > 
   > @boubouX <https://github.com/boubouX> can you please share the screenshot of the options you are getting in the UI. I checked with a 4.16.1 env and UI always show the following for a KVM cluster,
   > 
   >  <https://user-images.githubusercontent.com/153340/183580824-b134398f-8e97-4b01-9f70-8f376572e2be.png>
   > —
   > Reply to this email directly, view it on GitHub <https://github.com/apache/cloudstack/issues/6617#issuecomment-1208972020>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AKQAYE4FJCJBMUJHX7CYSNDVYH35NANCNFSM556ZO2ZQ>.
   > You are receiving this because you were mentioned.
   > 
   
   


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] shwstppr commented on issue #6617: Linstor option (Protocol) not available on KVM cluster during cluster-wide primary storage creation

Posted by GitBox <gi...@apache.org>.
shwstppr commented on issue #6617:
URL: https://github.com/apache/cloudstack/issues/6617#issuecomment-1216204957

   @boubouX I'm closing this for now. Please reopen if you face the issue in 4.17.0


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org