Re: Unable to ping secondary NIC ip of a VM in VPC

2020-08-10 Thread Wei ZHOU
Hi Rakesh, It is not a bug. you need to configure the networks inside vm. for example /etc/network/interfaces in old ubuntu versions or /etc/netplan in newer ubuntu versions. -Wei On Monday, 10 August 2020, Rakesh Venkatesh wrote: > Hello Thomas > > > Thanks for the reply. It looks like the NI

Security groups support in advanced zone

2021-07-15 Thread Wei ZHOU
Hi all, We are investigating security groups support in Advanced zones. it would be nice to get your feedback. Some background knowledge: (1) there are 3 types of zones in cloudstack: Basic, Advanced, Advanced with Security groups (support KVM and Xenserver. vmware is not supported) (2) Admins ca

Re: New System Template for virtual routers

2021-07-15 Thread Wei ZHOU
Hi Edward, Is that same as what I reported at https://github.com/apache/cloudstack/issues/5138 ? removing /var/lock/conntrackd.lock solves the problem. -Wei On Thu, 15 Jul 2021 at 16:29, Edward St Pierre wrote: > Hi Guys, > > Is there a problem with the new system template? it appears that t

Re: cloudstack-sysvmadm access to 8096

2021-07-23 Thread Wei ZHOU
If you have access to database mysql > update cloud.configuration set value='8096' where name='integration.api.port'; then restart mgt server -Wei On Fri, 23 Jul 2021 at 16:19, Brian Fitzpatrick wrote: > Hello all, > > I wonder if you could help, I have managed to get myself stuck in an > u

Re: cloudstack-sysvmadm access to 8096

2021-07-23 Thread Wei ZHOU
ed > or try to rollback the upgrade (but I am not sure what state that will > leave me in?) > > Thanks > > Brian > > -Original Message- > From: Wei ZHOU wei%20zhou%20%3custcweiz...@gmail.com%3e>> > Reply-To: users@cloudstack.apache.org<mailto:users@

Re: cloudstack-sysvmadm access to 8096

2021-07-24 Thread Wei ZHOU
list, they are running but the > infrastructure hosts page shows a '404 error' and 'Request Failed (431) For > input string " "' > > > Thanks very much for your help > > > Brian > > > -Original Message- > > From: Wei ZHOU &

Re: CPU Core Count Incorrect

2021-07-30 Thread Wei ZHOU
Hi Adrian, The cpu number in the host details view, is the actual host cpu number * cpu overprovisioning factor On the overall dashboard, it does not take the cpu overprovisioning factor into consideration. The value is the sum of host cpu numbers. -Wei On Fri, 30 Jul 2021 at 08:47, Michael Kes

Re: Stopped VMs Not Counted CPU Cores

2021-07-30 Thread Wei ZHOU
Hi Ben, If you are using cloudstack 4.14.0 and later, there is a global setting 'resource.count.running.vms.only' which is 'false' by default. you can change it to 'true', then update the resource count of 'ROOT' domain in the domain details page. -Wei On Fri, 30 Jul 2021 at 18:42, Ben McGuire

Re: How to remove unused/unwanted management server from mysql

2021-08-03 Thread Wei ZHOU
Hi James, you can mark the mgmt server as removed by sql below update mshost set removed=now() where id=XXX; -Wei On Tue, 3 Aug 2021 at 16:16, James Steele wrote: > Hi, I have an unwanted management server reported here on macfgan01, it is > marked as DOWN: > > mysql> SELECT * FROM mshost; >

Re: CloudMonkey v6.2.0 Test Binaries

2021-08-17 Thread Wei ZHOU
looks good to me. tested 1. command line with config file 2. sync and list commands 3. update global settings 4. create and remove network/vm -Wei On Fri, 13 Aug 2021 at 14:28, Pearl d'Silva wrote: > Hi All, > > The test binaries for the potential CloudMonkey v6.2.0 have been placed at > https

Re: request VNC via API/Programming

2021-08-17 Thread Wei ZHOU
Hi Cristian, You can get the vm console via api call http://:8080/client/console?cmd=access&vm=&response=json&apikey=&signature= -Wei On Tue, 17 Aug 2021 at 14:37, wrote: > Hello, > > > > Where can I find the details about how we can generate the token/url > for > novnc request, as a user

Re: Secondary storage missing in one host.

2021-09-08 Thread Wei ZHOU
Hi Abishek, It is not needed to mount secondary storage on kvm hosts during vm migration. Can you post more lines in agent.log ? -Wei On Wed, 8 Sept 2021 at 16:45, Abishek wrote: > Hell All, > > I have setup cloudstack 4.15.1 with 2 KVM host machine. Everything is > working fine but I was unab

Re: Remove host from MySQL?

2021-09-08 Thread Wei ZHOU
Hi James, You can update db by sql Update vm_instance set last_host_id =NULL where last_host_id=12; -Wei On Tuesday, 7 September 2021, James Steele wrote: > Thanks for that reply Jordan, > > when I did that, I got: > > mysql> delete from host where id=12; > ERROR 1451 (23000): Cannot delete o

Re: Troubleshooting failed volume snapshot?

2021-09-10 Thread Wei ZHOU
Hi Jeremy, Can you upgrade mgt server to 4.15.1.0 (please follow the upgrade instructions in cloudstack doc) or downgrade cloudstack agent to 4.15.0.0 , and retry ? -Wei On Fri, 10 Sept 2021 at 03:34, Jeremy Hansen wrote: > I’m trying to figure out how to debug a snapshot failure. I’m trying

Re: Timed out /usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/patch.sh

2021-09-10 Thread Wei ZHOU
Hi Cristian, Can you check if the SSVM uses the correct systemvm template ? -Wei On Fri, 10 Sept 2021 at 16:11, wrote: > Hello, > > > > Any idea from where I get this time out? > > > > 2021-09-10 14:09:52,630 WARN [kvm.resource.LibvirtComputingResource] > (agentRequest-Handler-2:null) (l

Re: Groovy Script error while changing guest cpu model.

2021-09-13 Thread Wei ZHOU
Hi Abishek, It is better to share your agent.properties -Wei On Mon, 13 Sept 2021 at 13:39, avi wrote: > Hello Ivan, > > But I am still getting qemu virtual cpu in guest VM's(Windows). Did > everything as documented. I want the VM's to have same CPU as the host > machines Will it be possible?

Re: Groovy Script error while changing guest cpu model.

2021-09-14 Thread Wei ZHOU
type=kvm > port=8250 > zone=1 > public.network.device=cloudbr1 > local.storage.uuid=34c08c2b-8cd4-43b0-a6a1-205ca6d449e0 > host=x.x.x.x@static > guid=8880b099-e99c-3012-afc6-d1a365f08991 > LibvirtComputingResource.id=1 > workers=5 > iscsi.session.cleanup.enabled=false

Re: Problems setting up HTTPS on CS Managementserver GUI / recommadations relizing

2021-09-16 Thread Wei ZHOU
Hi, afaik the most common setup is (1) start (multiple) cloudstack management server with port 8080 (2) setup a reverse proxy (nginx/pfsense/haproxy, etc) which supports SSL termination and transparent LB. (3) upload ssl certificate in cloudstack GUI, and enable SSL for cloudsack console proxy and

Re: RE: All systemVMs fail to start

2021-09-16 Thread Wei ZHOU
Hi Peter, It looks like the template already exists on ceph/rbd, but cloudstack does not know. 2021-09-16 12:57:53,036 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) (logid:20082d80) qemu-img: rbd:cloudstack/82f24e9e-b7e6-4830-ab15-c2e7140c71de:mon_host=192.168.204.61:auth_supported=c

Re: virtual router stuck on starting - cloudstack 4.15.1 with kvm

2021-09-17 Thread Wei ZHOU
It is strange. The cpu/ram should be good enough for a VR. anyway, good you have solved the problem. -Wei On Fri, 17 Sept 2021 at 11:46, wrote: > I didn't test with lower values, but with 256 RAM and 500Mhz CPU is not > working for me. (KVM ubuntu 20.04 ACS 4.15.1 ) > > Regards, > Cristian > >

Re: The RAM MEM inside KVM instance is not the same as it was set

2021-09-17 Thread Wei ZHOU
Hi, Did you set mem.overprovisioning.factor in global setting or cluster setting ? -Wei On Fri, 17 Sept 2021 at 13:47, wrote: > Hello, > > > >From where do I get this minRam value? I used a compute offering > with 10GB of RAM, if I check the VM I see 4GB Ram. > > > > > "[{"com.cloud.

Re: The RAM MEM inside KVM instance is not the same as it was set

2021-09-17 Thread Wei ZHOU
For kvm environments, I suggest to set the value to 1 (in global setting and cluster setting). -Wei On Fri, 17 Sept 2021 at 16:19, wrote: > Hi, > > Yes, I have found that this is why i have this value. > > > Regards, > Cristian > > -Original Message- >

Re: problem with project

2021-09-21 Thread Wei ZHOU
Hi Piotr, What's the cloudstack version ? It sounds like a UI bug. You can use cloudmonkey. -Wei On Tue, 21 Sept 2021 at 10:44, Piotr Pisz wrote: > Hello! > > I have a question: > > I have a project, a user in a project, VM. When the VM is turned off and I > try to rename the VM, I get this me

Re: problem with project

2021-09-21 Thread Wei ZHOU
Hi Piotr, Can you file a bug on github ? https://github.com/apache/cloudstack/issues -Wei On Tue, 21 Sept 2021 at 11:03, Piotr Pisz wrote: > Hi Wei, > > > > CS 4.15.2, this message definitely appeared in 4.15.1 and probably in > 4.15.0. > > > > Regards, > &

Re: Problem with Templates/ISO

2021-09-21 Thread Wei ZHOU
It looks ssvm is not working well. Please make sure that ssvm can connect to internet. -Wei On Tuesday, 21 September 2021, DL wrote: > The "SystemVM Template (KVM)" is ready. However, the "CentOS 5.5(64bit) no > GUI (KVM)" template is not ready; the status says "Unable to resolve > download.clo

Re: Problem with Templates/ISO

2021-09-21 Thread Wei ZHOU
oleproxy VM cannot connect to the Internet either. > > > > I don't think I should change configurations within these system VMs, as > > the Quick Installation Guide doesn't mention anything about configuring > the > > system VMs. > > Is it because I mis

Re: The RAM MEM inside KVM instance is not the same as it was set

2021-09-22 Thread Wei ZHOU
ctor" and > "vm.min.cpu.speed.equals.cpu.speed.divided.by.cpu.overprovisioning.factor") > to avoid it. > > This is the PR which introduced it: > https://github.com/apache/cloudstack/pull/4722 > > Best regards, > Daniel > > On 2021/09/17 15:07:55, Wei ZHOU

Re: Adding OS Type

2021-09-22 Thread Wei ZHOU
Hi Hean, The details are not applicable for kvm. I do not know why it is required. you can use the same details as other guest os xenserver.dynamicMin = 536870912 xenserver.dynamicMax = 137438953472 I suggest you NOT add a new guest os if you use 4.15.0.0 or older versions, because the upgrade s

Re: Failed to authentication SSH user root on host - repetitive error

2021-09-23 Thread Wei ZHOU
Hi Cristian, When the new public key has been injected into systemvm.iso, please stop/start or destroy SSVM. -Wei On Fri, 24 Sept 2021 at 08:16, wrote: > Hi Pearl, > > I already did a check via console into the secondary storage vm, I > saw > that there are not keys in authorized_keys. >

Re: Failed to authentication SSH user root on host - repetitive error

2021-09-24 Thread Wei ZHOU
m VMware > side.. > > Thank you, > Cristian > > -----Original Message- > From: Wei ZHOU > Sent: Friday, September 24, 2021 9:43 AM > To: users > Subject: Re: Failed to authentication SSH user root on host - repetitive > error > > Hi Cristian, > > When th

Re: SSCM and CSVM status starting till abort / libvirt: invalid connection pointer in virConnectGetVersion

2021-09-24 Thread Wei ZHOU
Hi, Please make sure libvirt is working well. for example, virsh list virsh pool-list -Wei On Fri, 24 Sept 2021 at 11:07, vas...@gmx.de wrote: > Hi, > > i am running into problems within my new setup - and i currently don't know > where to look for to debug this. > Environment: > Newly insta

Re: Slow VirtualRouter/NAT (25MB/s)

2021-09-27 Thread Wei ZHOU
Hi Nathan, If you use the default network offering 'Offering for Isolated networks with Source Nat service enabled', the Network Rate (Mb/s) is 200. -Wei On Mon, 27 Sept 2021 at 19:15, Nathan McGarvey wrote: > All, > Has anyone had issues with throughput on a NATed topology being > limited

Re: kvm host gets wrong IP address in host= at agent.properties

2021-09-28 Thread Wei ZHOU
Hi Jay, Please note that `host` is the IP of the cloudstack management server, not the IP of the kvm host. If it is wrong, you can change agent.properties manually and restart cloudstack-agent. Please also check `host` in the cloustack global settings. -Wei On Tue, 28 Sept 2021 at 09:02, j

Re: Virtual Router failing health chek - webserver.service

2021-09-29 Thread Wei ZHOU
Hi Christopher, There is no such service 'webserver.service' in cloudstack VR. Do you mean apache2 ? It is set up in VR for 'Userdata' service. Considering your custom vpc offering does not support 'Userdata', the health check on it should not be performed. it might be a bug (please provide more i

Re: Virtual Router failing health chek - webserver.service

2021-09-29 Thread Wei ZHOU
ache2.pid","pidFile":"/var/run/apache2/apache2.pid","isDefault":"true"} Christopher, could you please file an issue on github ? https://github.com/apache/cloudstack/issues -Wei On Wed, 29 Sept 2021 at 09:21, Wei ZHOU wrote: > Hi Christopher, > >

Re: Understanding of network ACLs - looking for "egress" ACL items on virtual routers

2021-10-01 Thread Wei ZHOU
Hi, Could you create an issue on github and provide more details ? -Wei On Sat, 2 Oct 2021 at 02:31, vas...@gmx.de wrote: > Hi everyone, > > i currently am looking into the ACL implemention used in VPCs. > > However i was not able to locate any of my created "egress" - entries in > any of the

Re: Understanding of network ACLs - looking for "egress" ACL items on virtual routers

2021-10-02 Thread Wei ZHOU
my > issue is to some degree valid. As my knowledge on how and where Cloudstack > is working with the configured ACLs is at the moment quiet shallow, i will > need to try out some things beforehand I guess > > Wei ZHOU schrieb am Sa., 2. Okt. 2021, 08:50: > > > Hi, > &

Re: Understanding of network ACLs - looking for "egress" ACL items on virtual routers

2021-10-04 Thread Wei ZHOU
> nr 3-Item C > Which can be a bit cumbersome as on the virtual router sorted the items > correctly in the iptable chains meaning > nr 1- item A > nr 2 - item B > nr 3 - item C > nr 4 - item D > > if you are new to this - one can spend some time to find the mistake he &

Re: Virtual router missing and restartNetwork API call failing

2021-10-04 Thread Wei ZHOU
Hi, Do you use the default shared network offering for the network ? -Wei On Mon, 4 Oct 2021 at 15:21, V Viceri wrote: > Hi Daan, > > Thank you for noticing my issue. This is for a Shared network. I haven't > also tried any other workaround as I do not want to lose everything if a > mess up th

Re: Understanding of network ACLs - looking for "egress" ACL items on virtual routers

2021-10-04 Thread Wei ZHOU
g i noticed: > >> For me to use the "drag&drop" of ACL-items was quiet a mixed back. > >> the "rule numbers" often were not consistent displayes or updated. > >> for example i had something like > >> nr 1-Item A > >> nr 2-Item B >

Re: SQL Deadlocks using Galera Active/Backup/Backup

2021-10-04 Thread Wei ZHOU
Hi Loth, I know some setup with 3-nodes mariadb cluster and nginx (not haproxy) which work fine. Could you please share more information, for example mariadb status, error logs in cloudstack management ? -Wei On Sun, 3 Oct 2021 at 07:29, Loth wrote: > Hi Users, > > I am seeing some deadlocks

Re: VR swap on disk

2021-10-04 Thread Wei ZHOU
Hi Jordan, I have no idea what caused the issue. The default cpu/ram for virtual routers is small, but enough for most cases. There are two options to change the service offering of VR: (1) create a new network offering, with specified router offering, then update the network to the new offering.

Re: kvm ovs vm with trunk

2021-10-07 Thread Wei ZHOU
Hi Piotr, As far as I know, vlan trunk is supported only by OVS on kvm. Unfortunately, this feature is not supported in cloudstack. -Wei On Thu, 7 Oct 2021 at 09:21, Piotr Pisz wrote: > Hi, > > In vSphere it is possible to create port group with vlan range 1-4094, can > we done the same on kvm

Re: Root disk resizing

2021-10-11 Thread Wei ZHOU
I checked a ubuntu 18.04 template in my testing environment. The root partition can be resized automatically after volume resize. It has installed cloud-init 20.3-2 and cloud-guest-utils 0.30 -Wei On Mon, 11 Oct 2021 at 11:06, Wido den Hollander wrote: > > > On 10/10/21 10:35 AM, Ranjit Jadhav

Re: Multiple Network labels - custom

2021-10-12 Thread Wei ZHOU
1. you can enable the providers via cloudmonkey, not by db. 2. all physical networks and network offerings should have tags 3. You should see other exceptions than InsufficientServerCapacityException in management-server.log -Wei On Tue, 12 Oct 2021 at 11:09, wrote: > Hi, > > > >I have foun

Re: Multiple Network labels - custom

2021-10-12 Thread Wei ZHOU
Hi Cristian, I think it is good. You do not need to change the physical networks. Have you created a new "network offering" with a tag (A or B) ? -Wei On Tue, 12 Oct 2021 at 14:02, wrote: > I have only 1 network by default : > > 1. Management / Storage / Public / Guest - Tag A > 2. Guest

Re: Multiple Network labels - custom

2021-10-12 Thread Wei ZHOU
work. > > 2. Create a network offering with the corresponding tags, I also saw that > you can update the tags for default network offering. > > 3. Create network with any of those offerings > > > > Here I attached screenshots : https://imgur.com/a/VtvYsvSI do not see >

Re: systemvm-vmware-4.15.1 template - Did not find a guest OS with type otherLinux64Guest

2021-10-15 Thread Wei ZHOU
Hi David, Which version of vmware do you use ? -Wei On Thu, 14 Oct 2021 at 16:20, David Larsen wrote: > Hi > > I have just tried to install systemvm-vmware-4.15.1 template to prepare > for cloudstack 4.15.2 upgrade. When I choose Hypervisor: VMware, I cannot > choos OS Type afterwards. > The t

Re: systemvm-vmware-4.15.1 template - Did not find a guest OS with type otherLinux64Guest

2021-10-15 Thread Wei ZHOU
What is your current cloudstack version ? Could you please share more details? -Wei On Fri, 15 Oct 2021 at 11:59, David Larsen wrote: > Hi > > We use vcenter/vsphere 6.7 > > > > Sendt fra min Galaxy > > > > Opprinnelig melding > Fra: Wei ZH

Re: Assign IP to account from existing public pool

2021-10-19 Thread Wei ZHOU
Hi, You can dedicate an existing ip range to a domain or an account, if all ips are not in use or only used by the domain or account. -Wei On Tue, 19 Oct 2021 at 10:49, Дикевич Евгений Александрович < evgeniy.dikev...@becloud.by> wrote: > Hi all! > > CS with advanced zone (NO SG). > Can I assig

Re: [!!Mass Mail]Re: Assign IP to account from existing public pool

2021-10-19 Thread Wei ZHOU
om existing pool. Now MB U can tell me how I can > change network's owner - I want to assign network which was created by > admin to another user account. > > > > > -Original Message- > From: Wei ZHOU [mailto:ustcweiz...@gmail.com] > Sent: Tuesday, October 19,

Re: Usage server not collecting data

2021-10-19 Thread Wei ZHOU
Hi, It looks like a bug. Please file an issue on github, with more details and logs. -Wei On Tue, 19 Oct 2021 at 12:32, Yordan Kostov wrote: > Hey everyone, > > ACS 4.15.2 + XCP-NG 8.2. > The usage server is configured a few months ago according > to this guide

Re: Network Selection in ACS

2021-10-20 Thread Wei ZHOU
Hi Saurabh, If you use kvm, the best option for you is, advanced zone with security groups. -Wei On Wed, 20 Oct 2021 at 16:24, Saurabh Rapatwar wrote: > Hello > > We have implemented ACS to sell public cloud. Need guidance on which > network we should implement while creating the instance. > >

Re: Default firewall and egress rule

2021-10-20 Thread Wei ZHOU
Hi, I assume you use isolated networks in advanced zone. the firewall rule list is empty by default, egress rule can be "allow all" or "deny all" per network(check 'default egress policy' of network offering) Do you expose cloudstack api/ui to users ? It's better to give more details. -Wei On T

Re: Default firewall and egress rule

2021-10-21 Thread Wei ZHOU
(4.15.2) is exposed to users. > > Thanks. > > > On Oct 21, 2021, at 2:37 PM, Wei ZHOU wrote: > > > > Hi, > > > > I assume you use isolated networks in advanced zone. > > the firewall rule list is empty by default, egress rule can be "allow > al

Re: Default firewall and egress rule

2021-10-21 Thread Wei ZHOU
Wei! Another thing, can I set a default firewall rule? For egress, > I’ll check the networking offering > > Thanks, > Irvin > > > On Oct 21, 2021, at 4:44 PM, Wei ZHOU wrote: > > > > Hi SVI, > > > > It looks like you do use an advanced zone. > > > &

Re: [!!Mass Mail]Re: Understanding of Physical Network

2021-10-21 Thread Wei ZHOU
It is better that the physical networks in cloudstack zone are the same as the bonds/nics on hypervisors. but if they are not the same, it is not a problem - please set correct traffic labels on Traffic Types (The traffic types in a cloudstack physical network can use different traffic labels). -W

Re: usage server data collection

2021-10-22 Thread Wei ZHOU
Hi Jordan, Please check some global settings router.stats.interval (for isolated networks) vm.network.stats.interval and vm.network.stats.interval.min (for shared networks) vm.disk.stats.interval and vm.disk.stats.interval.min (for disk I/O) -Wei On Fri, 22 Oct 2021 at 12:25, Yordan Kostov

Re: Virtual router checks failing

2021-10-27 Thread Wei ZHOU
Hi, Which cloudstack version do you use ? A similar issue has been fixed in 4.16.0.0-rc2. see https://github.com/apache/cloudstack/pull/5554 -Wei On Wed, 27 Oct 2021 at 10:09, Paul wrote: > Hi, It's a mystery to me to find out that the dns_check.py for my > deployment is failing every 10 minu

Re: Disbale or bypass DNS of Virtual Router

2021-10-28 Thread Wei ZHOU
Hi, There is a global setting `use.external.dns`. You may need to change the value to `true` -Wei On Thu, 28 Oct 2021 at 13:12, Mevludin Blazevic wrote: > Hi all, > > is there a way to disable or bypass the virtual router IP for resolving > the namespace in the guest VMs? We have another defau

[VOTE] Apache CloudStack 4.16.0.0 (RC2)

2021-10-28 Thread Wei ZHOU
+1 (binding) 1. build packages 2. register systemvm template and upgrade from 4.15.2 to 4.16.0.0-RC2 3. create an isolated network and vm. tested static nat, load balancer, port forwarding and firewall 4. create a vpc, 3 vpc tier and vm, a private gateway, tested static nat, load balancer, port fo

Re: SSVM ntps do not take custom config

2021-11-02 Thread Wei ZHOU
Hi Yordan, As I commented in PR #5160, `Please note, rebooting ssvm won't work with new ntp servers.` Please destroy the ssvm. It should work in the new created ssvm. -Wei On Thu, 28 Oct 2021 at 13:53, Yordan Kostov wrote: > Dear all, > > ACS 4.15.2 + XCP-NG + Template 4.15.1.

Re: data-server. resolution

2021-11-03 Thread Wei ZHOU
Hi Edward, You may face an issue which has recently been fixed in cloud-init . Please refer to https://github.com/canonical/cloud-init/pull/1004 -Wei On Wed, 3 Nov 2021 at 12:48, Edward St Pierre wrote: > Hi Guys, > > Just a really quick question. > > Should 'data-server.' resolve to the virtu

Re: data-server. resolution

2021-11-03 Thread Wei ZHOU
ION: > data-server.0 IN A 10.1.1.154 > > ;; Query time: 1 msec > ;; SERVER: 127.0.0.1#53(127.0.0.1) > ;; WHEN: Wed Nov 03 11:58:43 UTC 2021 > ;; MSG SIZE rcvd: 56 > > > Ed > > On Wed, 3 Nov 2021 at 20:15, Wei ZHOU wrote: > > &

Re: data-server. resolution

2021-11-04 Thread Wei ZHOU
ess = (listeningAddress, 8080) > passwordServer = ServerClass(server_address, HandlerClass) > > I do not think that listening on the VIP is the problem, I believe > that 'data-server.' should resolve to the VIP address and not the guest IP > address. > > Ed >

Re: data-server. resolution

2021-11-04 Thread Wei ZHOU
), it is not an issue with cloudstack or cloud-init. it is caused by os-level changes (eg systemd-resolved). -Wei On Thu, 4 Nov 2021 at 10:28, Wei ZHOU wrote: > Hi Edward, > > Sorry I am a bit confused. > > Is cloud-init not working in your vm, because 'data-server.' is n

Re: data-server. resolution

2021-11-04 Thread Wei ZHOU
s[0] > > > allowAddresses.append(addresses[0]) > > > if len(addresses) > 1: > > > allowAddresses.append(addresses[1]) > > > > > > server_address = (listeningAddress, 8080) > > > passwordServer = Serve

Re: Dynamic VM Scaling KVM

2021-11-16 Thread Wei ZHOU
The max ram looks very huge. It would be better to double check the offerings. "minRam":"(4.00 GB) 4294967296","maxRam":"(1.4749 TB) 1621666836480" -Wei On Tue, 16 Nov 2021 at 15:21, Abishek Budhathoki wrote: > HI Daniel, > > Extremely glad to hear that dynamic scaling is now supported in KV

Re: Dynamic VM Scaling KVM

2021-11-16 Thread Wei ZHOU
VM. > > Thank You. > > On Tue, 16 Nov 2021 at 20:50, Wei ZHOU wrote: > > > The max ram looks very huge. It would be better to double check the > > offerings. > > > > "minRam":"(4.00 GB) 4294967296","maxRam":"(1.4749 TB)

Re: Dynamic VM Scaling KVM

2021-11-17 Thread Wei ZHOU
(2 Core and 2 GB) with dynamic scaling enabled. I then built a VM > based on service offering A and the VM started(finally). But I did not find > any option to scale the VM while it's running. I was only able to scale the > VM to shutdown state. > > Thank You. > > On W

Re: Questions regarding config-files during upgrade to CS4.16

2021-11-17 Thread Wei ZHOU
Hi Chris, It would be good to backup all the folder /etc/cloudstack/management/ and database before upgrade. -Wei On Wed, 17 Nov 2021 at 11:54, vas...@gmx.de wrote: > Thank you Rohit for your answer, will keep that in mind for further > upgrades ahead! > Regards, > > Chris > > Am Mi., 17. Nov.

Re: Questions regarding config-files during upgrade to CS4.16

2021-11-17 Thread Wei ZHOU
install the new version of > the config files during upgrade and then go through the configs and try to > merge the settings / values by hand? > > Regards, > Chris > > Am Mi., 17. Nov. 2021 um 12:23 Uhr schrieb Wei ZHOU >: > > > Hi Chris, > > > >

Re: Dynamic VM Scaling KVM

2021-11-17 Thread Wei ZHOU
emu-kvm-ev? In the previous test I was able to start the machine with > Fixed Offering but the option for Scaling the VM in UI was not present > while the VM was in running state but was available when the VM was in > shutdown state only. > > Thank You. > > On Wed, 17 Nov 2021 at 1

Re: Missing "CPU Core"-Graph on Dashboard after upgrading to CS4.16

2021-11-17 Thread Wei ZHOU
I do not have this issue. If you use cmk/cloudmonkey, can you share the result of the following command ? cmk list capacity type=90 -Wei On Wed, 17 Nov 2021 at 12:01, vas...@gmx.de wrote: > Hi everyone, > > so far the upgrade to 4.16 worked well and everything seems working fine. > What i no

Re: mysql password change?

2021-11-17 Thread Wei ZHOU
Hi James, You can refer to mysql tutorials on how to change the password of a mysql user. When it is done and verified, you need to regenerate the db.properties (backup it !) by command cloudstack-setup-databases cloud:cloud@localhost -i 10.25.x.x Do NOT pass 'deploy-as' parameter ! If it does n

Re: configdrive not working in 4.16

2021-11-17 Thread Wei ZHOU
Hi Piotr, Any errors in agent.log if you use KVM ? -Wei On Wed, 17 Nov 2021 at 15:44, Piotr Pisz wrote: > Hi, > > I have upgraded to 4.16 and am having trouble booting my VM on L2 network > with ConfigDrive. I would have a request for help. > > > > Regards, > > Piotr > > > > > > > > 2021-11-17

Re: configdrive not working in 4.16

2021-11-17 Thread Wei ZHOU
lized. Data transformation skipped. > 2021-11-17 16:20:23,826 DEBUG [cloud.agent.Agent] > (agentRequest-Handler-3:null) (logid:706e0dbf) Seq 1-4080261262397669855: > { Ans: , MgmtId: 260497154630684, via: 1, Ver: v1, Flags: 10, > [{"com.cloud.agent.api.StopAnswer":{"result

Re: Missing "CPU Core"-Graph on Dashboard after upgrading to CS4.16

2021-11-17 Thread Wei ZHOU
further changes. > My process was to put them into maintenance-mode, perform the upgrade to > 4.16, restart the agent and then got them out of maintenance-mode again. > Did i made a mistake here? > > Any idea on how to get the values "Enabled" again? > > Am Mi., 17

Re: configdrive not working in 4.16

2021-11-17 Thread Wei ZHOU
;app') > > java.lang.ClassCastException: class com.cloud.agent.api.Answer cannot be > cast to class com.cloud.agent.api.HandleConfigDriveIsoAnswer > (com.cloud.agent.api.Answer and > com.cloud.agent.api.HandleConfigDriveIsoAnswer are in unnamed module of > loader 'app') > >

Re: Missing "CPU Core"-Graph on Dashboard after upgrading to CS4.16

2021-11-18 Thread Wei ZHOU
> > Am Mi., 17. Nov. 2021 um 19:59 Uhr schrieb Wei ZHOU >: > > > Hi, > > > > Are the hosts Disabled or Enabled ? > > > > -Wei > > > > On Wed, 17 Nov 2021 at 16:54, vas...@gmx.de wrote: > > > >> In the DB the records are there, en

CloudStack NoVNC solution in Leaseweb

2019-04-04 Thread Wei ZHOU
yDes.py VNC password authentication) , it would be appreciated if anyone can help us on software licensing issues. Kind regards, Wei Zhou Principal Cloud Engineer LEASEWEB

Re: Cloudstack-agent gets the local IP address exception

2019-05-01 Thread Wei ZHOU
Hi Nux, It is because NetworkInterface.getInterfaceAddresses() returns the ips in reverse order. For example, "ip addr show dev eth0" shows the following ips inet X.X.X.X inet secondary Y.Y.Y.Y inet6 Z:Z:Z:Z:Z:Z Then NetworkInterface.getInterfaceAddresses returns Z:Z:Z:Z:Z:Z Y.Y.Y.Y X.X.X.X The

Re: Long delay in listDomains API response

2016-11-06 Thread Wei ZHOU
> >> >> On 11/5/16, 11:01 PM, "Cloud List" wrote: >> >> Dear all, >> >> After researching further, I found out that our problem is exactly >> the one >> reported on this JIRA bug: >> >> https://issues.apache.or

Re: configdrive not working in 4.16

2021-11-18 Thread Wei ZHOU
l: > org.libvirt.LibvirtException: Nie odnaleziono domeny: brak domeny pasującej > do nazwy „i-6-83-VM” > 2021-11-17 14:47:27,511 DEBUG [kvm.resource.LibvirtComputingResource] > (agentRequest-Handler-4:null) (logid:b59e4ee2) Executing: > /usr/share/cloudstack-common/scripts/vm/n

Re: Missing "CPU Core"-Graph on Dashboard after upgrading to CS4.16

2021-11-18 Thread Wei ZHOU
able"? Taking a look into my > DB I am not finding a table of the name "hosts". > > Thanks in advance, > Christ > > Am Do., 18. Nov. 2021 um 09:12 Uhr schrieb Wei ZHOU >: > > > Hi, > > > > If you are sure that all hosts are enabled (resou

Re: Dynamic VM Scaling KVM

2021-11-18 Thread Wei ZHOU
nity members tested with CentOS7 and qemu-kvm-ev and it worked. Also, > as live snapshots and live migrations, hotplug memory is a known limitation > of qemu-kvm. I cannot give you advice regarding this replacement too, as I > do not use CentOS. Best regards, Daniel Salvador > > On

Re: Missing "CPU Core"-Graph on Dashboard after upgrading to CS4.16

2021-11-19 Thread Wei ZHOU
Found the table as well as the entries stateing > > "resource_state=Enabled" for all hosts. > > > > Will then try this evening to change the values in 'op_host_capacity' to > > 'Enabled' (of course perfoming backup's and stuff beforehand)

Re: configdrive not working in 4.16

2021-11-23 Thread Wei ZHOU
Hi Piotr, Could you please check if all your management servers, cloudstack agents, and system vms (SSVM/CPVM) are running with 4.16.0.0 ? It's mostly like your SSVM is not 4.16.0.0. When processing HandleConfigDriveIsoCommand, SSVM with the old version returns Answer (not HandleConfigDriveIsoAnsw

Re: Connection Timed Out Console Proxy

2021-11-23 Thread Wei ZHOU
Good to know you have solved the problem. Thanks for the update. -Wei On Mon, 22 Nov 2021 at 20:44, Seth Lyons wrote: > I resolved this myself by turning off the firewall in CentOS and just > using Ip tables > > > > Seth > > -Original Message- > From: Seth Lyons > Sent: Friday, Novembe

Re: Libvirt exception on live migrate

2021-11-24 Thread Wei ZHOU
Hi Peter, The information you provided is not enough to find out the root cause. Could you share more information ? cloudstack version os distribution and version network device name on source host and destination host output of `brctl show` or `bridge link` on source host and destination host lo

Re: [!!Mass Mail]io uring is not supported by this QEMU binary

2021-11-24 Thread Wei ZHOU
Agree with Gabriel's proposal. -Wei On Wed, 24 Nov 2021 at 10:02, Gabriel Bräscher wrote: > Hi Piotr, > > Unfortunately, the current implementation does not allow to customize the > driver via the agent.properties. > Instead, it evaluates Libvirt and Qemu versions in order to assess if it is >

Re: [!!Mass Mail]io uring is not supported by this QEMU binary

2021-11-25 Thread Wei ZHOU
Hi Slavka, I was not able to find libvirt 7.6.0 and qemu 6.0.0 in the repos for ubuntu 20.04. Could you tell me how you installed libvirt 7.6.0 and qemu 6.0.0 on ubuntu 20.04 ? Thanks. Ubuntu 20.04 works well with installed packages below. . Compiled against library: libvirt 6.0.0 Using library:

Re: Unable to create a deployment for VM

2021-11-26 Thread Wei ZHOU
Hi, Normally it is not a capacity issue. It might be caused by the systemvm template, VR, etc. Please share the full log (from job-16 is started). -Wei On Fri, 26 Nov 2021 at 14:12, technologyrss.mail < technologyrss.m...@gmail.com> wrote: > *Hi, * > > Please see error log: > > (logid:9bd01412)

Re: Setting up a DNS Name for console proxy ssl connection

2021-11-29 Thread Wei ZHOU
Hi Mevludin, When you upload new ssl certificates, it will overwrite the old ssl certificates. The certificates (root/intermediate/server) are saved in the `keystore` table in cloudstack database. It is not possible to remove ssl certificates via api or on UI. You can remove them by manual DB chan

Re: Change ACS UI Password | MariaDB

2021-11-29 Thread Wei ZHOU
Hi, Can you check the jasypt version in /usr/share/cloudstack-common/lib/ ? Older cloudstack versions use jasypt-1.9.2.jar not jasypt-1.9.3.jar . -Wei On Mon, 29 Nov 2021 at 16:17, Cloud Udupi wrote: > Hi All, > > I am trying to reset the ACS UI login password as described in the links > belo

Re: Change ACS UI Password | MariaDB

2021-11-29 Thread Wei ZHOU
21 PM.png] > > Is there any updated links that I can refer to rest the password for ACS. > > Thanks, > Mark. > > On Mon, Nov 29, 2021 at 9:06 PM Wei ZHOU wrote: > >> Hi, >> >> Can you check the jasypt version in /usr/share/cloudstack-common/lib/ ? >&g

Re: Zone not ready to launch system VMs though they are already running...

2021-11-30 Thread Wei ZHOU
Hi Peter, This seems to be caused by database connection problems. Try to restart cloudstack management service, and also mariadb if it still doesn't work. -Wei On Tue, 30 Nov 2021 at 18:37, Peter Stine wrote: > Hello everyone, > > I was getting a warning for high CPU usage on my management se

Re: Cloudstack Kubernetes Issue

2021-12-01 Thread Wei ZHOU
Hi Seth, Could you please check the vm security groups ? -Wei On Thu, 2 Dec 2021 at 00:51, Seth Lyons wrote: > Hello, > I have my endpoint api (https domain) working as tested with cloudmonkey. > I want to say the issue is with networking in my basic guest network. My > virtual router, ssvm, a

Re: SSH to CKS SystemVM instances

2021-12-02 Thread Wei ZHOU
Hi Pieter, try the username 'core' ? -Wei On Thu, 2 Dec 2021 at 11:18, Pieter Koorts wrote: > Hello, > > This may be a slightly silly question but trying to SSH to a Kubernetes > instance (setup by CKS) and when I do "ssh root@x.x.x.x" it reads my SSH > key and then responds with: > > Please l

Re: kube network

2021-12-05 Thread Wei ZHOU
Hi Piotr, You can create a new network offering, then change global settings `cloud.kubernetes.cluster.network.offering` to the name of the offering. The network offering with Availability=Required is the default offering which is used when you create a network but do not specify an offering. -W

  1   2   3   4   5   6   7   8   9   10   >