Migrating volume failed (large volume)

2024-04-09 Thread Jorge Luiz Correa
Hi! I'm trying to migrate a volume from a storage pool to another. I've made it for some instance volumes with sizes up to 300GB. Now I have to migrate an instance volume with 3.8 TB and I'm getting: At the GUI popup: Migrating volume failed Resource [StoragePool:24] is unreachable: Volume

Re: How to create one network per project using as few public addresses as possible?

2024-02-26 Thread Jorge Luiz Correa
click on the public IP address from the VPC the options are only "Details, VPN". How can I configure ingress options, as port forwarding? For example, I need to forward ports 80 and 443 to a specific VM in some tier. Thank you! Em qua., 29 de nov. de 2023 às 14:50, Jorge Luiz Corre

Re: Experience on GPU Support?

2024-02-23 Thread Jorge Luiz Correa
Hi Bryan! We are using here but in a different way, customized for our environment and using how it is possible the features of CloudStack. In documentation we can see support for some GPU models a little bit old today. We are using pci passthrough. All hosts with GPU are configured to boot with

Re: Problem with SSL and Java keystore after upgrade to 4.19.

2024-02-14 Thread Jorge Luiz Correa
2024 às 16:34, Wei ZHOU escreveu: > Can you try the workaround described in > https://github.com/apache/cloudstack/issues/8637? > > -Wei > > 在 2024年2月14日星期三,Jorge Luiz Correa 写道: > > > Hello! > > > > I've upgraded from 4.17.2 to 4.19.0. I'm using Ubun

Problem with SSL and Java keystore after upgrade to 4.19.

2024-02-14 Thread Jorge Luiz Correa
Hello! I've upgraded from 4.17.2 to 4.19.0. I'm using Ubuntu Server 22.04.3 LTS, Java 11.0.21 (no changes with upgrade). I'm using a LDAP server to authenticate users, with SSL. After the upgrade users can't authenticate anymore. The errors at the end of this message could be found in

Re: How to create one network per project using as few public addresses as possible?

2023-11-29 Thread Jorge Luiz Correa
Hi Gabriel! This is exactly what I was looking for. I couldn't find this request in github when looking for something. Thank you for sharing. No problem in creating through the API. So, I'll wait for the test results. If you could share with us, I would appreciate. And thank you so much for these

How to create one network per project using as few public addresses as possible?

2023-11-28 Thread Jorge Luiz Correa
We have a lot of research centers here. Each one is a domain in CloudStack with its administrators. I would like each domain to use as few public IPs as possible and also use Projects to make management easier. For example, it would be ok if each domain had one virtual router with one public IP

Re: Cloud init settings for Config Drive on L2 networks

2023-10-05 Thread Jorge Luiz Correa
Just sharing some scripts used here. I hope they can help you. Create file cloud.cfg_jammy Change the following lines: cloud_init_modules: . . - [ssh, always] cloud_config_modules: . . - [set-passwords, always] Download the cloud-set-guest-password-configdrive.sh script. Create

Restricting instance deletion to the creator.

2023-09-01 Thread Jorge Luiz Correa
Is there any way (global configuration, role changes, etc.) to restrict deletion of an instance to the creator only? For example, I have a Project with a few users. If user A creates an instance, only user A can delete it. The goal is that one user can't delete instances from another by mistake.

Re: Write Speeds

2023-07-10 Thread Jorge Luiz Correa
B/s (1009MB/s), 962MiB/s-962MiB/s (1009MB/s-1009MB/s), > io=3900MiB (4089MB), run=4052-4052msec > WRITE: bw=321MiB/s (336MB/s), 321MiB/s-321MiB/s (336MB/s-336MB/s), > io=1300MiB (1363MB), run=4052-4052msec > > This is without enabling io_uring. I see I can enable it per VM using the &g

Re: Write Speeds

2023-07-10 Thread Jorge Luiz Correa
Hi Granwille! About the READ/WRITE performance, as Levin suggested, check the XML of virtual machines looking at disk/device section. Look for io='io_uring'. As stated here: https://github.com/apache/cloudstack/issues/4883 CloudStack can use io_uring with Qemu >= 5.0 and Libvirt >= 6.3.0. I

Re: L2 Network on CS 4.18

2023-06-19 Thread Jorge Luiz Correa
Hi Christian, take a look at this thread https://lists.apache.org/thread/s0xkt1k93hfoz33qw1mhmt9333rsy1s9 Recently I've had some issues trying to use L2 networks but still in 4.17. The trick was to define a domain admin account as the owner of the networks, as Stephan said. And that can be made

Re: How to create network based on DefaultL2NetworkOfferingConfigDriveVlan?

2023-05-29 Thread Jorge Luiz Correa
main - the network is owned by the domain and account > correctly. > > Are you sure you defined the Domain AND the right account (not user) of > the domain? > Did you try via API / Cloudmonkey? > > Best regards, > Stephan > > > Jorge Luiz Correa hat am 26.05.2023

How to create network based on DefaultL2NetworkOfferingConfigDriveVlan?

2023-05-26 Thread Jorge Luiz Correa
Hi all! How can I use the network offering DefaultL2NetworkOfferingConfigDriveVlan? I would like to create a new L2 network to be used by domain TEST, with vlan id 2123. DHCP will be external. I need to use ConfigDrive to be able to set VM hostname and password and Vlan to define the vlan id for

Re: Using NFS as primary storage, performance issues

2023-05-02 Thread Jorge Luiz Correa
Just enjoying the subject, I'm curious about what we can reach in disk performance when using NFS primary storage. We have two infrastructures with different purposes, one to instantiate normal VMs and other to be used by VMs involved with scientific researches running simulations, AI training,

Re: Problem migrating big volume between primary storage pools.

2023-04-28 Thread Jorge Luiz Correa
the storage pool, > consuming valuable storage resources and database inconsistencies. It is > worth taking a look at the storage pool for these files and also > validating the database, to see if inconsistencies were created there. > > Best regards, > Bryan > On 26/04/2023 16:24, Jorge

Problem migrating big volume between primary storage pools.

2023-04-26 Thread Jorge Luiz Correa
Anyone had problems when migrating "big" volumes between different pools? I have 3 storage pools. The overprovisioning factor was configured with 2.0 (default) and pool2 got full. So, I've configured factor as 1.0 and then had to move some volumes from pool2 to pool3. CS 4.17.2.0, Ubuntu 22.04

Re: How to dedicate host or cluster to projects?

2022-10-21 Thread Jorge Luiz Correa
n. > > Best regards, > Daniel Salvador (gutoveronezi) > > On 04/10/2022 09:39, Jorge Luiz Correa wrote: > > Looking at documentation I can't find a way to dedicate a host or cluster > > to a project. > > > > Is there some way to do that today? > > > &

How to dedicate host or cluster to projects?

2022-10-04 Thread Jorge Luiz Correa
Looking at documentation I can't find a way to dedicate a host or cluster to a project. Is there some way to do that today? Cloudstack intends to make it possible some day? Each project creates an account and we can dedicate hosts and clusters to accounts. So, it looks like to be the same

createServiceOffering: problems in web UI and cgroup version.

2022-09-05 Thread Jorge Luiz Correa
Hi! I'm having some problems related to the creation of a new service offering. I need to create one using the "Custom constrained" option to limit CPUs and memory. But, when "Custom constrained" is selected "CPU (in MHz)" is required. (1) The first problem is that "CPU (in MHz)" has nothing to

Re: Usage computing removed items

2022-07-26 Thread Jorge Luiz Correa
Same here, exactly the same problem with volumes. I've looked in github source for the SQL query that generates the aggregated registries to try to understand but I couldn't find. :/ Appreciate any help too. Em ter., 26 de jul. de 2022 17:31, Matheus Fontes escreveu: > Hi, > Is anyone having

How to configure link domaintoldap to define admin and user roles?

2022-06-08 Thread Jorge Luiz Correa
Hi all! In documentation I can see: cloudmonkey link domaintoldap domainid=12345678-90ab-cdef-fedc-ba0987654321\ accounttype=2\ ldapdomain="ou=people,dc=cloudstack,dc=apache,dc=org"\ type=OU So, for each member of

Re: Ubuntu 22.04 Release

2022-06-02 Thread Jorge Luiz Correa
Hi! I've set up some servers with Ubuntu 22.04 LTS: 2 management servers, 2 databases, 2 secondary storage and 4 processor nodes. In my tests I've used the repository from focal: http://download.cloudstack.org/ubuntu focal 4.16 As cloudstack packages do not require a lot of dependencies, the

Re: Problem with libvirt 8 and domain VNC passwords.

2022-04-11 Thread Jorge Luiz Correa
Just to confirm the incompatibility. When Zone was enabled, the CS manager started to try to launch some system VMs like s--VM and v--VM. At hypervisors, all attempts were failing because the libvirtd didn't accept a vnc_password bigger than 8 chars. libvirtd[44140]: unsupported

Problem with libvirt 8 and domain VNC passwords.

2022-04-08 Thread Jorge Luiz Correa
Hi! I'm testing CS with Ubuntu 22.04 LTS that uses libvirt 8.0.0-1ubuntu6 (using CS repository from focal 20.04). After all the installation process, when the manager tries to start some system VMs (like SSVM), the hypervisor hosts can't do that. In the agent logs I can see: 2022-04-08

Re: How to control resource limits when account is linked to LDAP?

2021-12-13 Thread Jorge Luiz Correa
be you are looking at the > wrong figures. When you try to create more resources than the total account > limit, do they still get created? If so, please log a bug at > https://github.com/apache/cloudstack/issues/new/choose > > On Mon, Nov 22, 2021 at 8:22 PM Jorge Luiz Correa > w

RE: How to control resource limits when account is linked to LDAP?

2021-11-24 Thread Jorge Luiz Correa
see usage information for all the accounts, including those linked to LDAP groups. Tks! On 2021/11/22 19:21:32 Jorge Luiz Correa wrote: > When we have an account UserA with a user UserA inside it, we can see and > control usage limits configuring the UserA "account". > >

How to control resource limits when account is linked to LDAP?

2021-11-22 Thread Jorge Luiz Correa
When we have an account UserA with a user UserA inside it, we can see and control usage limits configuring the UserA "account". I'm testing the link accounttoldap feature. cmk -p ad...@www.hpc link accounttoldap account='DomainAdmins' accounttype=2

RE: ldaps config settings

2021-11-22 Thread Jorge Luiz Correa
Same difficulty here. The way it worked was defining the truststore globally. Just after that I defined the ldap configuration inside a domain. Using API: cmk -p user@myprofile update configuration name='ldap.truststore' value='/etc/cloudstack/management/cloud.jks' cmk -p user@myprofile update

Re: Is possible to use CloudStack and LDAP with posixGroup and memberUid?

2021-11-12 Thread Jorge Luiz Correa
Hi! In my tests I couldn't use posixGroups, even changing the ldap.group.object configuration. The query is always in the format: (&(objectClass=inetOrgPerson)(uid=userone)(|(memberOf=cn=groupaccount1,ou=groups,dc=domain))) Looking for the memberOf attribute in the user entity is the problem.

Is possible to use CloudStack and LDAP with posixGroup and memberUid?

2021-10-25 Thread Jorge Luiz Correa
Hi! This is just my first post here and I'm looking for some help to understand more about LDAP use. I'm using CloudStack 4.15.2.0 and an OpenLDAP server. I need to configure autosync to map an account to a LDAP group. My LDAP uses as group entity the posixGroup type. Could CloudStack use groups