Wido den Hollander
7cb5a191cf
ui: RBD doesn't work with LXC, remove it from the UI
2013-09-26 07:31:15 +02:00
Edison Su
81ff4795df
fix compile errors
2013-09-25 17:59:54 -07:00
Edison Su
a9aad4f388
add sourcetemplateid for template created from volume/snapshot
...
Conflicts:
server/src/com/cloud/template/TemplateManagerImpl.java
2013-09-25 16:35:31 -07:00
Edison Su
9baa45308c
CLOUDSTACK-4650: change volume state during snapshot only
2013-09-25 16:33:10 -07:00
Edison Su
3420f2d016
CLOUDSTACK-4641: fix create volume from snapshot timeout issue
2013-09-25 16:32:55 -07:00
Edison Su
7d8a7f855d
CLOUDSTACK-4627: fix NPE in vm migration
2013-09-25 16:32:40 -07:00
Edison Su
4fb4593553
CLOUDSTACK-4618: fix CLVM
2013-09-25 16:29:16 -07:00
Edison Su
d1a14fbf95
disk resize NPE, if the new disk offering doesn't have tags, then NPE
2013-09-25 16:29:01 -07:00
Edison Su
0eb3944fc8
kvm upgrade issue from 2.2.14: 1. the uuid passed by mgt server is malformat, libvirt can't start vm. 2. the template path on primary storage is incorrect, which contains absolute path
2013-09-25 16:20:06 -07:00
Edison Su
3ddc6da10b
CLOUDSTACK-4405: fix vm migration during the upgrade to 4.2
...
Conflicts:
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/BridgeVifDriver.java
2013-09-25 16:19:53 -07:00
Edison Su
a96f6b306b
CLOUDSTACK-4459: fix silly bug, one more time
2013-09-25 16:17:54 -07:00
Edison Su
88114350c7
CLOUDSTACK-4559: fix devcloud
2013-09-25 16:17:46 -07:00
Edison Su
2227eb191a
CLOUDSTACK-3535: fix regression introduced in 5d9fa5d42e13a8c8ee10df14c466f66de678e954
2013-09-25 16:16:34 -07:00
Edison Su
6489b3bf61
turn off nfs cache
2013-09-25 16:16:25 -07:00
Edison Su
49d8e44491
CLOUDSTACK-4459: one more try, bypass libvirt to find volume if libvirt call failed
...
Conflicts:
server/src/com/cloud/template/TemplateManagerImpl.java
2013-09-25 16:16:10 -07:00
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 a206f423a3851a4d090f58b05e2936dd68c528d0)
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 a0988780ad88bb56becb0a13efedcd79c1bee142)
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 0ef6084d2c838a78eda29d258b1af98df96451b3)
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 6c261042821c5597dab8d6be85dc59c948424e13
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 38bbfdc89a50bbb9464700d202d1cfa7b7955953)
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 798f34a49cbfbb3a475f3dadf62d1ac1b8dfa510)
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