Some "type"s should refer to "WorkType" in HighAvailabilityDaoImpl.java

2016-05-19 Thread Qian Shaohua
Hi all, There are some HA bugs in CS 4.5.2. 1. some "type"s should refer to "WorkType" in HighAvailabilityDaoImpl.java. The same to master branch. 2. Mismatch uses of HighAvailabilityManagerImpl. _timeBetweenFailures. It may be in seconds as HaWorkVO.timeToTry. 3. In HighAvailabilityManager

答复: [KVM] NPE when createVolume by a snapshot whose source volume is deleted

2015-11-18 Thread Qian Shaohua
= volumeDao.findById(volumeId); +VolumeVO volumeVO = + volumeDao.findByIdIncludingRemoved(volumeId); if (volumeVO == null) { return null; } Kind regards, Wei 2015-11-18 8:23 GMT+01:00 Qian Shaohua : > Hi all, > > > > CS 4.5.2 KVM > >

[KVM] NPE when createVolume by a snapshot whose source volume is deleted

2015-11-17 Thread Qian Shaohua
Hi all, CS 4.5.2 KVM KVMStorageProcessor checks source volume of a snapshot for the ImageFormat in createVolumeFromSnapshot(CopyCommand cmd). If the source volume is deleted, we get NPE. 2015-11-18 14:02:57,259 DEBUG [o.a.c.e.o.VolumeOrchestrator] (API-Job-Executor-35:ctx-0c1e2671 job-279

CloudStack 4.5.2 with tomcat6 out of memory

2015-10-15 Thread Qian Shaohua
Hi all, Our CloudStack 4.5.2 with tomcat6 was constantly running out of memory in a few days. We changed JAVA_OPS to "-Xmx4g" in tomcat6.conf. But it didn't help. We used apache benchmark to send 10 http requests to a fresh installed CloudStack 4.5.2 with no zone setup. ab -n 10

答复: Wrong java version in System VM Template for vSphere in ACS 4.4.2

2015-01-12 Thread Qian Shaohua
- 发件人: Erik Weber [mailto:terbol...@gmail.com] 发送时间: 2015年1月12日 18:50 收件人: dev 主题: Re: Wrong java version in System VM Template for vSphere in ACS 4.4.2 On Mon, Jan 12, 2015 at 11:20 AM, Qian Shaohua wrote: > Hi, the system vm template for vSphere given in ACS 4.4.2 installation > g

Wrong java version in System VM Template for vSphere in ACS 4.4.2

2015-01-12 Thread Qian Shaohua
Hi, the system vm template for vSphere given in ACS 4.4.2 installation guild is: http://cloudstack.apt-get.eu/systemvm/4.4/systemvm64template-4.4.1-7-vmware. ova The java installed is openjdk 1.6, not 1.7, so system vms can't get started. Can anyone check it?

Review Request 18763: CLOUDSTACK-6201: createVMSnapshot doesn't check volume state

2014-03-04 Thread Qian Shaohua
://reviews.apache.org/r/18763/diff/ Testing --- Thanks, Qian Shaohua

4.3 createVMSnapshot doesn't check volume state

2014-03-03 Thread Qian Shaohua
Hi, We meet the follow case in 4.2.1: 1. deploy a vm 2. stop it 3. restore it, ROOT volume is allocated. 4. create vm snapshot Step 4 should always fail, but a createVMSnapshot job is still created without checking volume state. The problem seems also in 4.3 according to the source VMSnapsho