Edison Su
b695484dc7
CLOUDSTACK-4459:
...
Libvirt reports:
org.libvirt.LibvirtException: Storage volume not found: no storage vol
with matching name
in some cases, if the volume is created on one kvm host, while accessed
from other host.
It's possible due to concurrent access(read/write) storage.
The current fix is to try serveral times, and wait for 30 seconds for
each retry.
If the issue still there, then need to sync the storage pool access
2013-09-25 16:13:38 -07:00
Edison Su
dda1133f12
CLOUDSTACK-4436: in case of older kvm host, we'd better try serveral times to make sure we passed cmdline parameters to system vms
...
Conflicts:
core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java
2013-09-25 16:10:57 -07:00
Edison Su
9fa56e28ec
CLOUDSTACK-4459: need to sychronize create storage pool, otherwise, we can create the same pool with the same uuid in parallel
2013-09-25 16:09:11 -07:00
Edison Su
aa59b6f34d
CLOUDSTACK-4507: fix NPE when taking snapshot
2013-09-25 16:09:00 -07:00
Edison Su
f4dbf8786f
CLOUDSTACK-4477: in order to select hypervisor host which can access storage pool, need to check storage_pool_host_ref
...
Conflicts:
engine/storage/integration-test/test/org/apache/cloudstack/storage/test/DirectAgentManagerSimpleImpl.java
engine/storage/integration-test/test/org/apache/cloudstack/storage/test/EndpointSelectorTest.java
engine/storage/integration-test/test/org/apache/cloudstack/storage/test/FakeDriverTestConfiguration.java
2013-09-25 16:08:41 -07:00
Edison Su
a82b179878
add table lock on snapshot, during taking snapshot
...
Conflicts:
engine/storage/src/org/apache/cloudstack/storage/image/db/SnapshotDataStoreDaoImpl.java
2013-09-25 16:03:59 -07:00
Edison Su
b5f7e307a1
CLOUDSTACK-4456:
...
CLOUDSTACK-4457:
CLOUDSTACK-4459:
harden kvm getvolume. It's possible that one volume created on other kvm host, won't show up on another host, try more times to refresh storage pool if volume won't shown up
Conflicts:
engine/storage/integration-test/test/org/apache/cloudstack/storage/test/FakeDriverTestConfiguration.java
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/KVMStorageProcessor.java
2013-09-25 16:01:45 -07:00
Edison Su
7b6aebc102
add test
...
Conflicts:
engine/storage/integration-test/test/org/apache/cloudstack/storage/test/FakeDriverTestConfiguration.java
2013-09-25 15:58:46 -07:00
Edison Su
5e94e1675b
CLOUDSTACK-2729: another try to solve libvirt storage pool missing issue: if the storage pool is missing, then recreate it
2013-09-25 15:52:03 -07:00
Edison Su
b3ac12e171
delete snapshot_store_ref if the snapshot is in error state
2013-09-25 15:51:55 -07:00
Abhinandan Prateek
77bec4f2ad
Cloudstack-2997: the maxconn setting is masked by wrong conditions
2013-09-25 21:09:24 +05:30
Darren Shepherd
9fb0a1a619
Don't check implementation version of Object for DatabaseUpgradeChecker
2013-09-25 14:34:14 +02:00
Wei Zhou
3dc4284a34
add missing jna-4.0.0.jar to cloudstack-agent library by changing scope from provided to default runtime
2013-09-25 11:08:57 +02:00
Wido den Hollander
3e416da0bc
kvm: Use libvirt-java 0.5.1
...
This version is Java 6 compatible and makes CloudStack Java 6
compatible again
2013-09-25 10:25:24 +02:00
Alena Prokharchyk
29b4cde04a
CS-18283: 2.2.x to 4.2 upgrade - corrected the Service Provider name for the Network offeirng that can be used in VPC (from VirtualRouter to VpcVirtualRouter)
2013-09-24 11:44:46 -07:00
Brian Federle
34c04a4546
UI code cleanup: Fix trailing commas in JS
2013-09-24 11:16:13 -07:00
ynojima
daec10e37a
fix rpm/deb build error caused by moving systemvm to its own maven project
2013-09-24 10:51:01 -04:00
Daan Hoogland
5338aaa39f
use locale when formatting numbers
2013-09-24 15:53:32 +02:00
Chip Childers
50de798861
Fixing more rat exclusions after refactor of systemvm build location
2013-09-24 09:04:14 -04:00
Wei Zhou
98c79cc313
CLOUDSTACK-4732: search network name for virtual router when listRouters by keyword
2013-09-24 15:01:14 +02:00
Hugo Trippaers
5ada5e88f3
This test appears to be locale sensitive, so fix the locale in the test
2013-09-24 18:30:00 +08:00
Wei Zhou
e61f1bb158
fix issue: listHosts with hahost throws exception
...
(cherry picked from commit a206f423a3 )
2013-09-24 11:59:35 +02:00
Wei Zhou
164e3e33b4
CLOUDSTACK-4405: change rpm and debian packaging to support automatic update (KVM upgrade)
...
Including following steps:
b. Run "cloudstack-agent-upgrade". This script will upgrade all the existing bridge name to new bridge name, and update related firewall rules.
c. install a libvirt hook:
c1. mkdir /etc/libvirt/hooks
c2. cp /usr/share/cloudstack-agent/lib/libvirtqemuhook /etc/libvirt/hooks/qemu
c3. chmod +x /etc/libvirt/hooks/qemu
c4. service libvirtd restart
(cherry picked from commit a0988780ad )
Signed-off-by: Wei Zhou <w.zhou@leaseweb.com>
2013-09-24 09:55:35 +02:00
Wei Zhou
258118efa6
CLOUDSTACK-4405: additional patch for bridge name and firewall rules issues after KVM upgrade to 4.2
...
There still exist two issues after Edison's commits.
(1) Migration from new hosts to old hosts failed.
The bridge name on old host is set to cloudVirBr* if network.bridge.name.schema is set to 3.0 in /etc/cloudstack/agent/agent.properties, but the actual bridge name is breth*-* after running cloudstack-agent-upgrade.
(2) all ports of vms (Basic zone, or Advanced zone with security groups) on old hosts are open, because the iptables rules are binding to device (bridge) name which is changed by cloudstack-agent-upgrade.
After this, the KVM upgrade steps :
a. Install 4.2 cloudstack agent on each kvm host
b. Run "cloudstack-agent-upgrade". This script will upgrade all the existing bridge name to new bridge name, and update related firewall rules.
c. install a libvirt hook:
c1. mkdir /etc/libvirt/hooks
c2. cp /usr/share/cloudstack-agent/lib/libvirtqemuhook /etc/libvirt/hooks/qemu
c3. chmod +x /etc/libvirt/hooks/qemu
c4. service libvirtd restart
c5. service cloudstack-agent restart
Signed-off-by: Wei Zhou <w.zhou@leaseweb.com>
2013-09-24 09:55:00 +02:00
Edison Su
e325fb66ab
CLOUDSTACK-4405: fix vm migration during the upgrade to 4.2
...
Signed-off-by: Wei Zhou <w.zhou@leaseweb.com>
2013-09-24 09:53:55 +02:00
Edison Su
7b4f846220
CLOUDSTACK-4405: add a tool: cloudstack-agent-upgrade to upgrade bridge name on kvm host
...
(cherry picked from commit 0ef6084d2c )
Signed-off-by: Wei Zhou <w.zhou@leaseweb.com>
2013-09-24 09:53:05 +02:00
Chip Childers
87dde7024b
Fixing the RAT exclusions after the refactor from 6c26104282
2013-09-23 20:00:39 -04:00
Jessica Wang
fb7f5a0a46
CLOUDSTACK-4693: UI > Network > Add Guest Network dialog > physical network dropdown - populate only physical networks that have Guest traffic type.
2013-09-23 16:13:00 -07:00
Alex Huang
3e813ce61d
Committing review 13891.
2013-09-23 14:59:58 -07:00
Jessica Wang
df3ee9a92d
CLOUDSTACK-4128: UI > zone wizard > secondary storage step > provider "S3" > Create NFS staging is required for S3 at this moment. So, disallow user to uncheck "Create NFS Secondary Staging" checkbox when provider is "S3".
2013-09-23 13:57:47 -07:00
Jessica Wang
c1b5612c2d
CLOUDSTACK-2180: UI > Instances > Reboot VM action > if the template from which vm is created is password-enabled, pop up "Password has been reset to xxxxxxx" dialog after action is complete.
2013-09-23 12:00:14 -07:00
Wei Zhou
62d49b3524
CLOUDSTACK-4716: upgrade resource count (cpu,memory,primary_storage,secondary_storage) in the upgrade to 4.2
...
(cherry picked from commit 38bbfdc89a )
Signed-off-by: Wei Zhou <w.zhou@leaseweb.com>
2013-09-23 14:19:03 +02:00
Alena Prokharchyk
2fa5a5ae97
CLOUDSTACK-4704: 41-42 db upgrade - populate vpc_service_map table with the services/providers supported by VPC
...
(cherry picked from commit 798f34a49c )
Signed-off-by: Wei Zhou <w.zhou@leaseweb.com>
2013-09-23 14:18:41 +02:00
Radhika PC
9055e5bd71
CLOUDSTACK-4727 upgrade steps IDREF issue fixed
2013-09-23 16:44:31 +05:30
Radhika PC
3a3849a362
CLOUDSTACK-4727 upgrade steps notes from abhinav has been incorporated
2013-09-23 16:19:46 +05:30
Wei Zhou
567a05d18a
CLOUDSTACK-4726: complete secondary storage configuration in devcloud-advanced.cfg and devcloud-advancedsg.cfg
...
(cherry picked from commit 9d00a6da65 )
2013-09-23 11:10:33 +02:00
Darren Shepherd
decc04b294
Run veewee using 'bundler exec'
...
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2013-09-22 10:56:22 +08:00
Hugo Trippaers
399d17df62
Fix redundant groupId in pom.xml
2013-09-21 17:44:18 +08:00
Hugo Trippaers
15a97ec412
Cleanup pom.xml in various projects to properly use managed versions and other defaults
2013-09-21 17:21:06 +08:00
Hugo Trippaers
4945d465bf
Check all warnings in core and fix where applicable, also apply autoformatting on save.
2013-09-21 16:15:36 +08:00
Hugo Trippaers
bb8b7340f3
Use the managed version
2013-09-21 16:15:21 +08:00
Hugo Trippaers
cc6edbdbfe
Fix a few warnings in the awsapi pom
...
Apply formatting
2013-09-21 15:49:54 +08:00
Hugo Trippaers
8b6dcf8b6e
Clean out a few warnings on potential resource leakage
2013-09-21 15:32:52 +08:00
Hugo Trippaers
d37b87d97a
Fix a few xml wellformedness issues
2013-09-21 14:58:56 +08:00
Hugo Trippaers
da99f6552c
Fix the spec file for the noredist build
2013-09-21 14:42:31 +08:00
Hugo Trippaers
316543541d
Put what information we have in this file
2013-09-21 12:41:10 +08:00
Hugo Trippaers
3e48a702b9
Update usage to avoid confusion.
2013-09-21 12:36:15 +08:00
Hugo Trippaers
d0b896ed36
Simplify package.sh
2013-09-21 12:32:09 +08:00
Hugo Trippaers
e209a2ce8a
Update the INSTALL.md file with the changed noredist flag.
...
And fix a few old entries
2013-09-21 12:32:09 +08:00
Hugo Trippaers
4d461d5ef2
Update packaging script with the new noredist flag
2013-09-21 12:32:09 +08:00