github-actions[bot] commented on issue #13920:
URL: https://github.com/apache/cloudstack/issues/13920#issuecomment-5396254565

   ## ๐ŸŽฏ Triage report
   
   `LibvirtConvertInstanceCommandWrapper` builds `(redacted) URIs for virt-v2v 
without percent-encoding vCenter datacenter/cluster/host names, so any name 
containing a space (valid in vSphere) breaks VM import from VMware, on both the 
OVA-conversion and VDDK paths. Root cause and exact locations (`buildVpxUrl`, 
`getExportOVAUrlFromRemoteInstance`, `encodeUsername`) are identified 
precisely, along with a related latent issue (space encoded as `+` instead of 
`%20`).
   
   ### ๐Ÿ“Š Assessment
   
   | Dimension | Value | Reasoning |
   |---|---|---|
   | **Type** | type:bug | Clear, reproducible failure with root cause in code |
   | **Component** | component:kvm, component:vmware | Fix is in the KVM-side 
convert-instance wrapper, but the failure is on VMware VM import specifically |
   | **Severity** | Severity:Minor | Reproducible but narrow โ€” only affects 
vCenter objects whose names contain spaces; workaround is renaming, though that 
may not always be feasible |
   | **Labels** | type:bug, component:kvm, component:vmware, Severity:Minor | |
   | **Coding agent** | Suitable | Root cause, exact file/line locations, and a 
concrete fix approach (percent-encode per `/`-delimited segment) are already 
specified |
   
   ### ๐Ÿ”— Similar issues
   
   No similar open issues found.
   
   <details><summary>๐Ÿ’ก Notes and suggestions</summary>
   
   Suggested fix: percent-encode `datacenter`/`cluster`/`host`/`path`/`vm` per 
`/`-delimited sub-segment (not as one combined string), since names can be 
folder-nested and the `/` separators must remain literal. Also fix 
`encodeUsername`'s use of `URLEncoder.encode` (which produces `+` for space) 
while addressing this, per the reporter's note.
   
   </details>
   
   
   
   > Generated by [Daily Issue 
Triage](https://github.com/apache/cloudstack/actions/runs/32734226944) ยท 
sonnet50 233.4K ยท 
[โ—ท](https://github.com/search?q=repo%3Aapache%2Fcloudstack+%22gh-aw-workflow-call-id%3A+apache%2Fcloudstack%2Fdaily-issue-triage%22&type=issues)
   >
   <details>
   <summary>Add this agentic workflows to your repo</summary>
   
   To install this agentic workflow, run
   
   ```
   gh aw add 
githubnext/agentics/workflows/daily-issue-triage.md@d7c1dc4b72b00607a67caaffdcc216cb64379cf9
   ```
   </details>
   
   
   <!-- gh-aw-agentic-workflow: Daily Issue Triage, engine: copilot, version: 
1.0.52, model: claude-sonnet-5, id: 32734226944, workflow_id: 
daily-issue-triage, run: 
https://github.com/apache/cloudstack/actions/runs/32734226944 -->
   <!-- gh-aw-workflow-call-id: apache/cloudstack/daily-issue-triage -->


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