Re: [PR] Import VMware VMs into KVM - Documentation [cloudstack-documentation]

2023-11-08 Thread via GitHub


blueorangutan commented on PR #342:
URL: 
https://github.com/apache/cloudstack-documentation/pull/342#issuecomment-1803155266

   QA-Doc build preview: https://qa.cloudstack.cloud/builds/docs-build/pr/342. 
(QA-JID 169)


-- 
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-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Import VMware VMs into KVM - Documentation [cloudstack-documentation]

2023-11-08 Thread via GitHub


blueorangutan commented on PR #342:
URL: 
https://github.com/apache/cloudstack-documentation/pull/342#issuecomment-1803154612

   @nvazquez 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-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Import VMware VMs into KVM - Documentation [cloudstack-documentation]

2023-11-08 Thread via GitHub


nvazquez commented on PR #342:
URL: 
https://github.com/apache/cloudstack-documentation/pull/342#issuecomment-1803154319

   @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-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] LB IP cannot be created when Kubernetes is in VPC [cloudstack-kubernetes-provider]

2023-11-08 Thread via GitHub


FilipBB commented on issue #53:
URL: 
https://github.com/apache/cloudstack-kubernetes-provider/issues/53#issuecomment-1802525577

   I ran into this as well, thank you for the workaround @mierea 


-- 
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-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [DISCUSS] New benchmarking tool

2023-11-08 Thread Rohit Yadav
Thanks all, since there have been no objections I've got a new repository 
created here:

https://github.com/apache/cloudstack-csbench


Regards.


From: Daan Hoogland 
Sent: Thursday, November 2, 2023 15:13
To: dev@cloudstack.apache.org 
Cc: Rohit Yadav 
Subject: Re: [DISCUSS] New benchmarking tool

thanks Rohit,
It is a great idea. I have some questions concerning "measuring is influencing" 
and "prerequisites",
but those should not stop us from creating a repo for this in the project
great idea,

On Thu, Nov 2, 2023 at 9:58 AM Nux mailto:n...@li.nux.ro>> 
wrote:
Great idea, looking forward to it.


On 2023-11-01 16:34, Rohit Yadav wrote:
> All,
>
> I want to kickstart a discussion of developing a new tool - csbench,
> that can help with generating resource load and measuring  the
> performance and efficiency of Apache CloudStack APIs.
>
> Much like cmk, this tool can be written in Go and can be useful for
> anybody to benchmark CloudStack API performance. It's still in a
> nascent stage and can benefit from feedback and input from the wider
> community early in the development process.
>
> If there are no objections, I propose to create a cloudstack-csbench
> repo in which this tool can be developed. Thoughts and feedback?
> Thanks.
>
>
> Regards.


--
Daan

 



Re: [PR] Import VMware VMs into KVM - Documentation [cloudstack-documentation]

2023-11-08 Thread via GitHub


NuxRo commented on code in PR #342:
URL: 
https://github.com/apache/cloudstack-documentation/pull/342#discussion_r1386239032


##
source/adminguide/virtual_machines/importing_vmware_vms_into_kvm.rst:
##
@@ -0,0 +1,120 @@
+.. Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information#
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   http://www.apache.org/licenses/LICENSE-2.0
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License.
+
+.. note:: This functionality requires to install the **virt-v2v** 
(https://www.libguestfs.org/virt-v2v.1.html) binary installed on destination 
cluster hosts, as it is not a dependency of the CloudStack agent installed on 
the hosts.
+
+As of CS 4.19, it is possible to select a VMware VM from an external or 
existing VMware datacenter, convert it to a KVM Virtual Machine and importing 
it into an existing KVM cluster.
+
+Requirements on the KVM hosts
+-
+
+The CloudStack agent does not install the virt-v2v binary as a dependency, for 
which this functionality is not supported by default. To enable this 
functionality, the virt-v2v binary must be installed on the destination KVM 
hosts where to import the Virtual Machines.
+
+In case virt-v2v is not installed on a KVM host attempting a Virtual Machine 
conversion from VMware, the process fails.
+
+The virt-v2v output is logged on the CloudStack agent logs to help 
administrators tracking the progress on the Virtual Machines conversion 
processes. The verbose mode for virt-v2v can be enabled by adding the following 
line to /etc/cloudstack/agent/agent.properties and restart cloudstack-agent:
+
+::
+
+virtv2v.verbose.enabled=true
+
+
+Installing virt-v2v on Ubuntu KVM hosts does not install nbdkit which is 
required in the conversion of VMWare VCenter guests. To install it, please 
execute:
+
+::
+
+apt install nbdkit
+
+
+Supported Distributions for KVM Hypervisor:
+
+
+.. cssclass:: table-striped table-bordered table-hover
+
+
+Linux Distribution  Supported Versions
+
+Alma Linux  8, 9
+Red Hat Enterprise Linux8, 9
+Rocky Linux 8, 9
+Ubuntu  22.04 LTS
+
+
+
+Importing Windows guest VMs from VMware requires installing the virtio drivers 
on the hypervisor hosts for the virt-v2v conversion.
+
+On (RH)EL hosts:
+
+::
+
+yum install virtio-win
+
+You can also install the RPM manually from 
https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.noarch.rpm
+
+
+For Debian-based distributions:
+
+::
+
+apt install virtio-win
+
+Usage
+-
+
+In the UI, Virtual Machines to import from VMware are listed in *Tools > 
Import-Export Instances* section, selecting:
+
+.. cssclass:: table-striped table-bordered table-hover
+
+ 
+Source   Destination Hypervisor  
+ 
+Migrate From VMware  KVM
+ 
+
+|import-vm-from-vmware-to-kvm.png|
+
+Selecting the Destination cluster
+-
+
+CloudStack administrators must select a KVM cluster to import the VMware 
Virtual Machines (left side of the image above). Once a KVM cluster is 
selected, the VMware Datacenter selection part is displayed (right side of the 
image above).
+
+Selecting the VM from a VMware Datacenter
+-
+
+CloudStack administrators must select the Source VMware Datacenter:
+
+- Existing: The existing zones are listed, and for each zone CloudStack 
will list if there is any VMware Datacenter associated to it. In case it is, it 
can be selected
+- External: CloudStack allows listing Virtual Machines from a VMware 
Datacenter that is not associated to any CloudStack zone. To do so, it needs 
the vCenter IP address, the datacenter name, and username and password 
credentials to log in the vCenter.
+
+Once the VMware Datacenter is selected, click on List VMware Instances to 
display the list of Virtual Machines on the Datacenter
+
+
+Converting and importing a VMware VM
+
+
+.. note:: CloudStack allows importing