You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by "kiranchavala (via GitHub)" <gi...@apache.org> on 2025/02/25 09:04:59 UTC
[PR] added steps to install ovftool and virt-win on debian [cloudstack-documentation]
kiranchavala opened a new pull request, #483:
URL: https://github.com/apache/cloudstack-documentation/pull/483
added steps to install ovftool and virt-win on debian
--
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: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] added steps to install ovftool and virt-win on debian [cloudstack-documentation]
Posted by "sureshanaparti (via GitHub)" <gi...@apache.org>.
sureshanaparti merged PR #483:
URL: https://github.com/apache/cloudstack-documentation/pull/483
--
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: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] added steps to install ovftool and virt-win on debian [cloudstack-documentation]
Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on code in PR #483:
URL: https://github.com/apache/cloudstack-documentation/pull/483#discussion_r2306666572
##########
source/adminguide/virtual_machines/importing_vmware_vms_into_kvm.rst:
##########
@@ -24,7 +24,13 @@ The virt-v2v output (progress) is logged in the CloudStack agent logs, to help a
::
+ dnf install virt-v2v
+
+ cat <<EOF >> /etc/cloudstack/agent/agent.properties
Review Comment:
just use echo ?
```
echo "virtv2v.verbose.enabled=true" >> /etc/cloudstack/agent/agent.properties
```
--
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: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] added steps to install ovftool and virt-win on debian [cloudstack-documentation]
Posted by "kiranchavala (via GitHub)" <gi...@apache.org>.
kiranchavala commented on code in PR #483:
URL: https://github.com/apache/cloudstack-documentation/pull/483#discussion_r2306805787
##########
source/adminguide/virtual_machines/importing_vmware_vms_into_kvm.rst:
##########
@@ -24,7 +24,13 @@ The virt-v2v output (progress) is logged in the CloudStack agent logs, to help a
::
+ dnf install virt-v2v
+
+ cat <<EOF >> /etc/cloudstack/agent/agent.properties
Review Comment:
Done @sureshanaparti
--
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: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] added steps to install ovftool and virt-win on debian [cloudstack-documentation]
Posted by "NuxRo (via GitHub)" <gi...@apache.org>.
NuxRo commented on code in PR #483:
URL: https://github.com/apache/cloudstack-documentation/pull/483#discussion_r1969690184
##########
source/adminguide/virtual_machines/importing_vmware_vms_into_kvm.rst:
##########
@@ -62,12 +68,57 @@ You can also install the RPM manually from https://fedorapeople.org/groups/virt/
For Debian-based distributions:
+Ubuntu don’t seem to ship the virtio-win package with drivers, which causes virt-v2v not to convert the VMWare Windows guests to virtio profiles. This could result in slow IDE drives and Intel E1000 NICs. As a workaround, we can follow the below steps to install the package from the RPM on all KVM hosts running the virt-v2v:
+
::
apt install virtio-win (if the package is not available, then manual steps will be required to install the virtio drivers for windows)
+
+ wget https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.noarch.rpm
+
+ # install “alien” which can convert rpms to debs
+ apt -y install alien
+
+ # the conversion, can take a while
+ alien -d virtio-win.noarch.rpm
+
+ # install the resulting deb
+ dpkg -i virtio-win*.deb
+
+In addition to this, we need to install the below package as well to avoid the error “virt-v2v: error: One of rhsrvany.exe or pvvxsvc.exe is missing in /usr/share/virt-tools“.
+
+ ::
+
+ wget -nd -O srvany.rpm https://kojipkgs.fedoraproject.org//packages/mingw-srvany/1.1/4.fc38/noarch/mingw32-srvany-1.1-4.fc38.noarch.rpm
+
+ alien -d srvany.rpm
+
+ dpkg -i *srvany*.deb
+
The OVF tool (ovftool) must be installed on the destination KVM hosts if the hosts should export VM files (OVF) from vCenter. If not, the management server exports them (the management server doesn't require ovftool installed).
+Steps to install ovftool
+
+Download the ovftool from https://developer.broadcom.com/tools/open-virtualization-format-ovf-tool/latest
+
+ ::
+
+ unzip VMware-ovftool-4.6.3-24031167-lin.x86_64.zip
+
+ #create a soft link
+
+ ln -s /$HOME/ovftool/ovftool /usr/bin/ovftool
Review Comment:
@kiranchavala assuming you do this in a home dir, especially in /root, it may cause access issues later due to the permissions on such dirs.
I would suggest you switch the ovftool install dir to /usr/local or /opt and then symlink it.
--
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: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] added steps to install ovftool and virt-win on debian [cloudstack-documentation]
Posted by "NuxRo (via GitHub)" <gi...@apache.org>.
NuxRo commented on code in PR #483:
URL: https://github.com/apache/cloudstack-documentation/pull/483#discussion_r1969690184
##########
source/adminguide/virtual_machines/importing_vmware_vms_into_kvm.rst:
##########
@@ -62,12 +68,57 @@ You can also install the RPM manually from https://fedorapeople.org/groups/virt/
For Debian-based distributions:
+Ubuntu don’t seem to ship the virtio-win package with drivers, which causes virt-v2v not to convert the VMWare Windows guests to virtio profiles. This could result in slow IDE drives and Intel E1000 NICs. As a workaround, we can follow the below steps to install the package from the RPM on all KVM hosts running the virt-v2v:
+
::
apt install virtio-win (if the package is not available, then manual steps will be required to install the virtio drivers for windows)
+
+ wget https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.noarch.rpm
+
+ # install “alien” which can convert rpms to debs
+ apt -y install alien
+
+ # the conversion, can take a while
+ alien -d virtio-win.noarch.rpm
+
+ # install the resulting deb
+ dpkg -i virtio-win*.deb
+
+In addition to this, we need to install the below package as well to avoid the error “virt-v2v: error: One of rhsrvany.exe or pvvxsvc.exe is missing in /usr/share/virt-tools“.
+
+ ::
+
+ wget -nd -O srvany.rpm https://kojipkgs.fedoraproject.org//packages/mingw-srvany/1.1/4.fc38/noarch/mingw32-srvany-1.1-4.fc38.noarch.rpm
+
+ alien -d srvany.rpm
+
+ dpkg -i *srvany*.deb
+
The OVF tool (ovftool) must be installed on the destination KVM hosts if the hosts should export VM files (OVF) from vCenter. If not, the management server exports them (the management server doesn't require ovftool installed).
+Steps to install ovftool
+
+Download the ovftool from https://developer.broadcom.com/tools/open-virtualization-format-ovf-tool/latest
+
+ ::
+
+ unzip VMware-ovftool-4.6.3-24031167-lin.x86_64.zip
+
+ #create a soft link
+
+ ln -s /$HOME/ovftool/ovftool /usr/bin/ovftool
Review Comment:
@kiranchavala assuming you do this in a home dir, especially in /root, it may cause access issues later due to the permissions on such dirs.
I would suggest you switch the working dir to /usr/local or /opt and then symlink it.
--
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: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] added steps to install ovftool and virt-win on debian [cloudstack-documentation]
Posted by "sureshanaparti (via GitHub)" <gi...@apache.org>.
sureshanaparti commented on code in PR #483:
URL: https://github.com/apache/cloudstack-documentation/pull/483#discussion_r2306674064
##########
source/adminguide/virtual_machines/importing_vmware_vms_into_kvm.rst:
##########
@@ -24,7 +24,13 @@ The virt-v2v output (progress) is logged in the CloudStack agent logs, to help a
::
+ dnf install virt-v2v
+
+ cat <<EOF >> /etc/cloudstack/agent/agent.properties
Review Comment:
+1
##########
source/adminguide/virtual_machines/importing_vmware_vms_into_kvm.rst:
##########
@@ -24,7 +24,13 @@ The virt-v2v output (progress) is logged in the CloudStack agent logs, to help a
::
+ dnf install virt-v2v
+
+ cat <<EOF >> /etc/cloudstack/agent/agent.properties
Review Comment:
@kiranchavala can you check & update
--
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: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] added steps to install ovftool and virt-win on debian [cloudstack-documentation]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #483:
URL: https://github.com/apache/cloudstack-documentation/pull/483#issuecomment-3232413415
@sureshanaparti a Jenkins job has been kicked to build the document. I'll keep you posted as I make progress.
--
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: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] added steps to install ovftool and virt-win on debian [cloudstack-documentation]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #483:
URL: https://github.com/apache/cloudstack-documentation/pull/483#issuecomment-3232416660
QA-Doc build preview: https://qa.cloudstack.cloud/builds/docs-build/pr/483. (QA-JID 413)
--
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: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] added steps to install ovftool and virt-win on debian [cloudstack-documentation]
Posted by "sureshanaparti (via GitHub)" <gi...@apache.org>.
sureshanaparti commented on PR #483:
URL: https://github.com/apache/cloudstack-documentation/pull/483#issuecomment-3232409071
@blueorangutan docbuild
--
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: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] added steps to install ovftool and virt-win on debian [cloudstack-documentation]
Posted by "NuxRo (via GitHub)" <gi...@apache.org>.
NuxRo commented on code in PR #483:
URL: https://github.com/apache/cloudstack-documentation/pull/483#discussion_r1973168267
##########
source/adminguide/virtual_machines/importing_vmware_vms_into_kvm.rst:
##########
@@ -62,12 +68,57 @@ You can also install the RPM manually from https://fedorapeople.org/groups/virt/
For Debian-based distributions:
+Ubuntu don’t seem to ship the virtio-win package with drivers, which causes virt-v2v not to convert the VMWare Windows guests to virtio profiles. This could result in slow IDE drives and Intel E1000 NICs. As a workaround, we can follow the below steps to install the package from the RPM on all KVM hosts running the virt-v2v:
+
::
apt install virtio-win (if the package is not available, then manual steps will be required to install the virtio drivers for windows)
+
+ wget https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.noarch.rpm
+
+ # install “alien” which can convert rpms to debs
+ apt -y install alien
+
+ # the conversion, can take a while
+ alien -d virtio-win.noarch.rpm
+
+ # install the resulting deb
+ dpkg -i virtio-win*.deb
+
+In addition to this, we need to install the below package as well to avoid the error “virt-v2v: error: One of rhsrvany.exe or pvvxsvc.exe is missing in /usr/share/virt-tools“.
+
+ ::
+
+ wget -nd -O srvany.rpm https://kojipkgs.fedoraproject.org//packages/mingw-srvany/1.1/4.fc38/noarch/mingw32-srvany-1.1-4.fc38.noarch.rpm
+
+ alien -d srvany.rpm
+
+ dpkg -i *srvany*.deb
+
The OVF tool (ovftool) must be installed on the destination KVM hosts if the hosts should export VM files (OVF) from vCenter. If not, the management server exports them (the management server doesn't require ovftool installed).
+Steps to install ovftool
+
+Download the ovftool from https://developer.broadcom.com/tools/open-virtualization-format-ovf-tool/latest
+
+ ::
+
+ unzip VMware-ovftool-4.6.3-24031167-lin.x86_64.zip -d /usr/local/bin
Review Comment:
```suggestion
unzip VMware-ovftool-4.6.3-24031167-lin.x86_64.zip -d /usr/local/
```
##########
source/adminguide/virtual_machines/importing_vmware_vms_into_kvm.rst:
##########
@@ -62,12 +68,57 @@ You can also install the RPM manually from https://fedorapeople.org/groups/virt/
For Debian-based distributions:
+Ubuntu don’t seem to ship the virtio-win package with drivers, which causes virt-v2v not to convert the VMWare Windows guests to virtio profiles. This could result in slow IDE drives and Intel E1000 NICs. As a workaround, we can follow the below steps to install the package from the RPM on all KVM hosts running the virt-v2v:
+
::
apt install virtio-win (if the package is not available, then manual steps will be required to install the virtio drivers for windows)
+
+ wget https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.noarch.rpm
+
+ # install “alien” which can convert rpms to debs
+ apt -y install alien
+
+ # the conversion, can take a while
+ alien -d virtio-win.noarch.rpm
+
+ # install the resulting deb
+ dpkg -i virtio-win*.deb
+
+In addition to this, we need to install the below package as well to avoid the error “virt-v2v: error: One of rhsrvany.exe or pvvxsvc.exe is missing in /usr/share/virt-tools“.
+
+ ::
+
+ wget -nd -O srvany.rpm https://kojipkgs.fedoraproject.org//packages/mingw-srvany/1.1/4.fc38/noarch/mingw32-srvany-1.1-4.fc38.noarch.rpm
+
+ alien -d srvany.rpm
+
+ dpkg -i *srvany*.deb
+
The OVF tool (ovftool) must be installed on the destination KVM hosts if the hosts should export VM files (OVF) from vCenter. If not, the management server exports them (the management server doesn't require ovftool installed).
+Steps to install ovftool
+
+Download the ovftool from https://developer.broadcom.com/tools/open-virtualization-format-ovf-tool/latest
+
+ ::
+
+ unzip VMware-ovftool-4.6.3-24031167-lin.x86_64.zip -d /usr/local/bin
+
+ #create a soft link
+
+ ln -s /usr/local/bin/ovftool/ovftool /usr/bin/ovftool
Review Comment:
```suggestion
ln -s /usr/local/ovftool/ovftool /usr/local/bin/ovftool
```
--
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: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] added steps to install ovftool and virt-win on debian [cloudstack-documentation]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #483:
URL: https://github.com/apache/cloudstack-documentation/pull/483#issuecomment-3232738681
QA-Doc build preview: https://qa.cloudstack.cloud/builds/docs-build/pr/483. (QA-JID 416)
--
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: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] added steps to install ovftool and virt-win on debian [cloudstack-documentation]
Posted by "sureshanaparti (via GitHub)" <gi...@apache.org>.
sureshanaparti commented on PR #483:
URL: https://github.com/apache/cloudstack-documentation/pull/483#issuecomment-3232733344
@blueorangutan docbuild
--
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: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] added steps to install ovftool and virt-win on debian [cloudstack-documentation]
Posted by "kiranchavala (via GitHub)" <gi...@apache.org>.
kiranchavala commented on code in PR #483:
URL: https://github.com/apache/cloudstack-documentation/pull/483#discussion_r1972912059
##########
source/adminguide/virtual_machines/importing_vmware_vms_into_kvm.rst:
##########
@@ -62,12 +68,57 @@ You can also install the RPM manually from https://fedorapeople.org/groups/virt/
For Debian-based distributions:
+Ubuntu don’t seem to ship the virtio-win package with drivers, which causes virt-v2v not to convert the VMWare Windows guests to virtio profiles. This could result in slow IDE drives and Intel E1000 NICs. As a workaround, we can follow the below steps to install the package from the RPM on all KVM hosts running the virt-v2v:
+
::
apt install virtio-win (if the package is not available, then manual steps will be required to install the virtio drivers for windows)
+
+ wget https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.noarch.rpm
+
+ # install “alien” which can convert rpms to debs
+ apt -y install alien
+
+ # the conversion, can take a while
+ alien -d virtio-win.noarch.rpm
+
+ # install the resulting deb
+ dpkg -i virtio-win*.deb
+
+In addition to this, we need to install the below package as well to avoid the error “virt-v2v: error: One of rhsrvany.exe or pvvxsvc.exe is missing in /usr/share/virt-tools“.
+
+ ::
+
+ wget -nd -O srvany.rpm https://kojipkgs.fedoraproject.org//packages/mingw-srvany/1.1/4.fc38/noarch/mingw32-srvany-1.1-4.fc38.noarch.rpm
+
+ alien -d srvany.rpm
+
+ dpkg -i *srvany*.deb
+
The OVF tool (ovftool) must be installed on the destination KVM hosts if the hosts should export VM files (OVF) from vCenter. If not, the management server exports them (the management server doesn't require ovftool installed).
+Steps to install ovftool
+
+Download the ovftool from https://developer.broadcom.com/tools/open-virtualization-format-ovf-tool/latest
+
+ ::
+
+ unzip VMware-ovftool-4.6.3-24031167-lin.x86_64.zip
+
+ #create a soft link
+
+ ln -s /$HOME/ovftool/ovftool /usr/bin/ovftool
Review Comment:
@NuxRo thanks, addressed it , by putting under /usr/local/bin
--
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: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] added steps to install ovftool and virt-win on debian [cloudstack-documentation]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #483:
URL: https://github.com/apache/cloudstack-documentation/pull/483#issuecomment-3232735500
@sureshanaparti a Jenkins job has been kicked to build the document. I'll keep you posted as I make progress.
--
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: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] added steps to install ovftool and virt-win on debian [cloudstack-documentation]
Posted by "sureshanaparti (via GitHub)" <gi...@apache.org>.
sureshanaparti commented on code in PR #483:
URL: https://github.com/apache/cloudstack-documentation/pull/483#discussion_r2306654892
##########
source/adminguide/virtual_machines/importing_vmware_vms_into_kvm.rst:
##########
@@ -24,7 +24,13 @@ The virt-v2v output (progress) is logged in the CloudStack agent logs, to help a
::
+ dnf install virt-v2v
+
+ cat <<EOF >> /etc/cloudstack/agent/agent.properties
Review Comment:
```suggestion
cat <<EOF>> /etc/cloudstack/agent/agent.properties
```
--
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: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org