Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Value of Global setting "convert.vmware.instance.to.kvm.extra.params.allowed.list" is not appened to the Virt-v2v tool

未关闭
#13,012 6 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
65/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
java

调研方向

首先复现 VMware 导入工作流,并查看显示不带全局额外参数的 virt-v2v 命令的 agent 日志。跟踪 convert.vmware.instance.to.kvm.extra.params.allowed.list 的加载方式,以及导入表单如何处理额外参数。当该设置填充表单,并且在表单字段未以其他方式选中的情况下,所选值能够传递到 virt-v2v 时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

component:import no-issue-activity type:improvement
problem

Value of Global settng "convert.vmware.instance.to.kvm.extra.params.allowed.list" is not appened to the Virt-v2v tool

versions

ACS 4.22

The steps to reproduce the bug
  1. Enable the global setting "convert.vmware.instance.to.kvm.extra.params.allowed"

  2. Set the convert.vmware.instance.to.kvm.extra.params.allowed to a value say -x

Image
  1. Import a vmware from kvm

  2. In the import from vmware form, do not select the option "Pass extra parameters to the virt-v2v command on the conversion host"

Image
  1. Check the agent logs on the kvm host

The global setting value "extra.params" are not passed to the virt-v2v tool

2026-04-13 12:24:59,796 DEBUG [resource.wrapper.LibvirtConvertInstanceCommandWrapper] (AgentRequest-Handler-5:[]) (logid:565d9bad) Executing command [virt-v2v --root first -i ova /mnt/6f0e9b83-ab0d-3cc5-8ac6-189c672fe035/d1fa1750-df2d-44ba-90dc-1a39696137b5/i-2-16-VM/ -o local -os /mnt/6f0e9b83-ab0d-3cc5-8ac6-189c672fe035 -of qcow2 -on 5ed4eabd-058a-400e-a3c8-fa8c215bfb26 -v ].

  1. The extra param value (-x) is only passed when it's mentioned in the "import from vmware form"

2026-04-13 12:31:32,208 DEBUG [resource.wrapper.LibvirtConvertInstanceCommandWrapper] (AgentRequest-Handler-4:[]) (logid:79bdffdc) Executing command [virt-v2v --root first -i ova /mnt/6f0e9b83-ab0d-3cc5-8ac6-189c672fe035/229a4c65-7ebd-42d4-90a2-e51fd2064973/i-2-16-VM/ -o local -os /mnt/6f0e9b83-ab0d-3cc5-8ac6-189c672fe035 -of qcow2 -on 1c906a30-86b1-442a-be0b-39f0cc65abcc -v x


2026-04-13 12:34:02,504 DEBUG [resource.wrapper.LibvirtConvertInstanceCommandWrapper] (AgentRequest-Handler-1:[]) (logid:3ae94f9c) Executing command [virt-v2v --root first -i ova /mnt/6f0e9b83-ab0d-3cc5-8ac6-189c672fe035/b4bc39ad-3065-42c2-b9a7-eec1f6c87454/i-2-16-VM/ -o local -os /mnt/6f0e9b83-ab0d-3cc5-8ac6-189c672fe035 -of qcow2 -on 4addaa01-58bc-43a4-a9d9-b030be5dde46 -v -x ].

Image Image
What to do about it?

Expected behaviour

The extra parameter value mentioned in the global setting should get populated in the import instance form and admin should be able to select the parameters which could be passed on the the virt-v2v tool

主要语言
Java
星标
3.1k
派生
1.4k
平均合并
6 天 20 小时
30 天内合并 PR
27

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

apache/cloudstack 的其他 Issue

查看 apache/cloudstack 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。