You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "rajujith (via GitHub)" <gi...@apache.org> on 2024/02/02 11:48:50 UTC

[I] VR won't start with Linstor cluster having non-hypervisor nodes [cloudstack]

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

   <!--
   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.
   -->
   ~~~
   Linstor, KVM, VR
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on main branch.
   -->
   
   ~~~
   4.18.1
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, advanced networking, etc.  N/A otherwise
   -->
   
   3 ubuntu 22.0.4 KVM nodes in the Linstor cluster.
   1 Node configured as Combined Linstor node type and the only one providing the storage. 
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   Ubuntu 22.0.4 KVM 
   Linstor 
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   
   On deploying Virtual router onto a KVM cluster configured as Linstor cluster well where there is one Linstor node outside the KVM cluster then the VR won't start. The patching step times out. 
   
   024-02-02 10:38:25,968 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) (logid:277cdb3e) Executing: /usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/patch.sh -n r-4-VM -c  template=domP name=r-4-VM 
   ---truncated-------
   2024-02-02 10:38:25,970 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) (logid:277cdb3e) Executing while with timeout : 300000
   ##### 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 a Linstor cluster with 3 nodes
   2. Add a resource group with storagepool only from the node 1 i.e in combined type.
   3. Add the 2 satellites as KVM hosts in the cloudstack
   4. Deploy a vm with a new guest network with VR.
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   VR should be created and configured on Linstor.
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   VR fails to get configured on Linstor ( only when using the above mentioned design) .
   ~~~
   


-- 
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


Re: [I] VR won't start with Linstor cluster having non-hypervisor nodes [cloudstack]

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #8600:
URL: https://github.com/apache/cloudstack/issues/8600#issuecomment-1925216775

   @rp- can you have a look?


-- 
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


Re: [I] VR won't start with Linstor cluster having non-hypervisor nodes [cloudstack]

Posted by "rajujith (via GitHub)" <gi...@apache.org>.
rajujith commented on issue #8600:
URL: https://github.com/apache/cloudstack/issues/8600#issuecomment-1926312147

   The template cached in primary storage seems to be usable in all the hosts? 
   ```
   
   2024-02-05 06:18:30,863 DEBUG [utils.script.Script] (agentRequest-Handler-4:null) (logid:2ce412cf) Executing: qemu-img convert -O raw -U --image-opts driver=qcow2,file.filename=/mnt/20420ecb-1fed-3417-a6e8-43314da1d9f0/7b1d0679-89c3-4c80-8dd0-14045e2faada.qcow2 /dev/drbd1000
   2024-02-05 06:18:30,863 DEBUG [utils.script.Script] (agentRequest-Handler-4:null) (logid:2ce412cf) Executing while with timeout : 10800000
   2024-02-05 06:18:34,632 DEBUG [utils.script.Script] (agentRequest-Handler-4:null) (logid:2ce412cf) Execution is successful.
   2024-02-05 06:18:34,633 DEBUG [utils.script.Script] (agentRequest-Handler-4:null) (logid:2ce412cf) Executing: qemu-img resize /dev/drbd1000 5242880000
   2024-02-05 06:18:34,633 DEBUG [utils.script.Script] (agentRequest-Handler-4:null) (logid:2ce412cf) Executing while with timeout : 3600000
   2024-02-05 06:18:34,636 DEBUG [utils.script.Script] (agentRequest-Handler-4:null) (logid:2ce412cf) Execution is successful.
   2024-02-05 06:18:34,636 DEBUG [utils.script.Script] (agentRequest-Handler-4:null) (logid:2ce412cf) WARNING: Image format was not specified for '/dev/drbd1000' and probing guessed raw.
            Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
            Specify the 'raw' format explicitly to remove the restrictions.
   Image resized.
   
   ```
   ```
   
   root@ref-trl-5315-k-Mu22-jithin-raju-kvm1:~# fdisk -l /dev/drbd1000
   Disk /dev/drbd1000: 4.89 GiB, 5245915136 bytes, 10245928 sectors
   Units: sectors of 1 * 512 = 512 bytes
   Sector size (logical/physical): 512 bytes / 512 bytes
   I/O size (minimum/optimal): 65536 bytes / 65536 bytes
   
   ```
   ```
   
   root@ref-trl-5315-k-Mu22-jithin-raju-kvm3:~# fdisk -l /dev/drbd1000
   Disk /dev/drbd1000: 4.88 GiB, 5242880000 bytes, 10240000 sectors
   Units: sectors of 1 * 512 = 512 bytes
   Sector size (logical/physical): 512 bytes / 512 bytes
   I/O size (minimum/optimal): 512 bytes / 512 bytes
   Disklabel type: dos
   Disk identifier: 0x082ce66c
   
   Device          Boot   Start      End Sectors  Size Id Type
   /dev/drbd1000p1 *       2048   780287  778240  380M 83 Linux
   /dev/drbd1000p2       782334 10237951 9455618  4.5G  5 Extended
   /dev/drbd1000p5       782336  1279999  497664  243M 82 Linux swap / Solaris
   /dev/drbd1000p6      1282048 10237951 8955904  4.3G 83 Linux
   
   ```


-- 
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


Re: [I] VR won't start with Linstor cluster having non-hypervisor nodes [cloudstack]

Posted by "rajujith (via GitHub)" <gi...@apache.org>.
rajujith commented on issue #8600:
URL: https://github.com/apache/cloudstack/issues/8600#issuecomment-1926279541

   Update: this issue appears even after adding the storage provider node to the cloudstack as KVM host, the VR volume doesn't seem to be created properly? 
   
   ```
   root@ref-trl-5315-k-Mu22-jithin-raju-kvm1:~# linstor volume list -r cs-2cebae04-4f67-4b98-99c4-7338be759d71
   ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
   ┊ Node                                 ┊ Resource                                ┊ StoragePool ┊ VolNr ┊ MinorNr ┊ DeviceName    ┊ Allocated ┊ InUse ┊    State ┊
   ╞═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╡
   ┊ ref-trl-5315-k-Mu22-jithin-raju-kvm1 ┊ cs-2cebae04-4f67-4b98-99c4-7338be759d71 ┊ cs-pool     ┊     0 ┊    1004 ┊ /dev/drbd1004 ┊     1 MiB ┊ InUse ┊ UpToDate ┊
   ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
   ```
   


-- 
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


Re: [I] VR won't start with Linstor cluster having non-hypervisor nodes [cloudstack]

Posted by "rp- (via GitHub)" <gi...@apache.org>.
rp- commented on issue #8600:
URL: https://github.com/apache/cloudstack/issues/8600#issuecomment-1929176213

   That would be #8082 and #8114


-- 
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


Re: [I] VR won't start with Linstor cluster having non-hypervisor nodes [cloudstack]

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #8600:
URL: https://github.com/apache/cloudstack/issues/8600#issuecomment-1929006215

   > This should be fixed by: [4a86a0d](https://github.com/apache/cloudstack/commit/4a86a0d2339bbd809d87e7179f510e018030cbbc) and [67cb9b9](https://github.com/apache/cloudstack/commit/67cb9b9e40b33a165d1846eb80dea21a7d623a1b)
   > 
   > Not yet in any released version
   
   thanks @rp- can ypou add a PR number here?


-- 
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


Re: [I] VR won't start with Linstor cluster having non-hypervisor nodes [cloudstack]

Posted by "rp- (via GitHub)" <gi...@apache.org>.
rp- commented on issue #8600:
URL: https://github.com/apache/cloudstack/issues/8600#issuecomment-1926316430

   This should be fixed by:
   4a86a0d2339bbd809d87e7179f510e018030cbbc and
   67cb9b9e40b33a165d1846eb80dea21a7d623a1b
   
   Not yet in any release version


-- 
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


Re: [I] VR won't start with Linstor cluster having non-hypervisor nodes [cloudstack]

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland closed issue #8600: VR won't start with Linstor cluster having non-hypervisor nodes
URL: https://github.com/apache/cloudstack/issues/8600


-- 
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


Re: [I] VR won't start with Linstor cluster having non-hypervisor nodes [cloudstack]

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #8600:
URL: https://github.com/apache/cloudstack/issues/8600#issuecomment-1929878780

   > That would be #8082 and #8114
   
   that would close this


-- 
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