You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "anjanaprasd (via GitHub)" <gi...@apache.org> on 2025/12/15 07:09:04 UTC

[I] Import VM form the KVM host [cloudstack]

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

   Hi Team,
   
   I am trying to import an unmanaged VM from a KVM host into an Apache CloudStack environment. During the import process, I encounter an issue where the available networks disappear when an Account ID is selected.
   
   Steps to Reproduce:
   
   - Navigate to Import Unmanaged VM.
   - Select the KVM host and the unmanaged VM.
   - In the network selection section, networks are initially visible.
   - Enter/select the Account ID.
   - The network list becomes empty, and no networks are available for selection.
   
   Expected Behavior:
   Networks that are accessible to the selected account should remain visible and selectable after the Account ID is added.
   
   Actual Behavior:
   All networks disappear from the network selection list once the Account ID is specified.
   
   Environment Details:
   
   Hypervisor: KVM
   
   Network types tested: Shared and Isolated
   
   Network ACL Type: Domain
   
   Network Domain: ROOT
   
   User Role: Root Admin
   
   Network Permissions: Verified and accessible at domain level
   
   Additional Notes:
   
   The issue occurs regardless of whether the network is Shared or Isolated.
   
   Since the network is Domain-level and I am logged in as Root Admin, the networks should be available for assignment during the import process.
   
   Could you please assist in identifying whether this is a configuration issue or a bug in the import unmanaged VM workflow?
   
   Thank you for your support.
   
   
   
   
   <img width="1431" height="418" alt="Image" src="https://github.com/user-attachments/assets/c1116f76-ad39-484a-ba6b-9622c7cec7ce" />


-- 
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] Import VM form the KVM host [cloudstack]

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

   @anjanaprasd could you please let us know the cloudstack version and the kvm os details 


-- 
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] Import VM form the KVM host [cloudstack]

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland closed issue #12257: Import VM form the KVM host
URL: https://github.com/apache/cloudstack/issues/12257


-- 
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] Import VM form the KVM host [cloudstack]

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

   Hi @shwstppr 
   I tried the import process with the implemented network, but it failed as well. However, the method suggested in the previous comment worked.
   Thanks


-- 
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] Import VM form the KVM host [cloudstack]

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

   cc @DaanHoogland can you add this to bugfest


-- 
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] Import VM form the KVM host [cloudstack]

Posted by "boring-cyborg[bot] (via GitHub)" <gi...@apache.org>.
boring-cyborg[bot] commented on issue #12257:
URL: https://github.com/apache/cloudstack/issues/12257#issuecomment-3653907883

   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


Re: [I] Import VM form the KVM host [cloudstack]

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

   Did troubleshooting on this with @kiranchavala, and we found that the networks are not shown when not in the Implemented state. This is correct in my opinion, as I don't think the import process can implement a network. Also, VLAN ID could differ while implementing
   @anjanaprasd can you please check if that is the case for you as well. You can deploy a VM from CloudStack to make the user network Implemented if it is showing as Allocated.


-- 
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] Import VM form the KVM host [cloudstack]

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

   @kiranchavala 
   Thank you very much for prompt response.
   
   Cloudstack version is CloudStack 4.20.2.0 and KVM host OS is AlmaLinux 9
   


-- 
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] Import VM form the KVM host [cloudstack]

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

   Thnaks @anjanaprasd 
   
   Could you please try directly with the API call 
   
   https://cloudstack.apache.org/api/apidocs-4.22/apis/importVm.html
   
   Able to reproduce the issue 
   
   1. Create a user account and network  associated with the user account 
   
   2. Login as a admin user and try to import a KVM vm from a remote kvm host 
   
   3. The networks are listed if no domain is mentioned
   
   <img width="1519" height="886" alt="Image" src="https://github.com/user-attachments/assets/d474d4e2-8951-46cd-ae51-2a80442562bb" />
   
   
   4. The network are not listed if the domain and account is specified 
   
   <img width="1541" height="889" alt="Image" src="https://github.com/user-attachments/assets/a45d1a4f-931a-40f8-86ed-3fd36836c85f" />


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