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

Đang mở
#13,012 6 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
65/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
java
Lĩnh vực
infrastructure

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện quy trình import VMware và xem lại log của agent hiển thị lệnh virt-v2v mà không có tham số bổ sung toàn cục. Theo dõi cách convert.vmware.instance.to.kvm.extra.params.allowed.list được tải và cách form import xử lý các tham số bổ sung. Hoàn tất khi thiết lập này điền dữ liệu vào form và các giá trị được chọn được truyền tới virt-v2v khi trường trong form không được chọn theo cách khác.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Java
Star
3.1k
Fork
1.4k
Merge trung bình
7 ngày 5 giờ
Pull request đã merge (30 ngày)
28

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của apache/cloudstack

Tất cả issue của apache/cloudstack

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.