Commit Graph

6341 Commits

Author SHA1 Message Date
Wei Zhou f4abe364a8 fix issue: listHosts with hahost throws exception
(cherry picked from commit a206f423a3)
2013-09-24 12:00:07 +02:00
Min Chen 5c7c603752 CLOUDSTACK-2629: ListRouters with networkid throws exception.(cherry picked from commit 19321d4eeb) 2013-09-24 12:00:01 +02:00
Wei Zhou 5aee73b1a5 CLOUDSTACK-1325: add password in response of RestoreVM
(cherry picked from commit a5723992a0)

Signed-off-by: Wei Zhou <w.zhou@leaseweb.com>
2013-09-19 15:29:39 +02:00
Wei Zhou 15b03a2d24 CLOUDSTACK-2319: fix incorrect account_id in event table for Revoke SecurityGroupRule commands
(cherry picked from commit d9ba234d6c)
2013-09-02 17:17:44 +02:00
Wei Zhou d969769f03 CLOUDSTACK-4566: fix incorrect values in resource_count table for resource limitation
There are three issues in resource_count table
(1) expunge a vm, the public_ip decreases and becomes -1 in basic zone.
(2) recover a vm, the volume increase.
(3) restore a vm, the volume decrease.
2013-09-02 17:17:28 +02:00
Marcus Sorensen b41ef1df9a CLOUDSTACK-4661: fix vpcid field in response of creating vpn gateway 2013-08-22 15:18:53 -06:00
Wei Zhou 50c7a48254 CLOUDSTACK-4296: fix a similar issue
(cherry picked from commit e2f47871d1)
2013-08-19 19:23:35 +02:00
Wei Zhou 52aaa3311e CLOUDSTACK-4296: fix parameter setting error in listVirtualMachines command
(cherry picked from commit 72f013f780)
2013-08-19 19:23:28 +02:00
Marcus Sorensen 8001e270bb CLOUDSTACK-4379: Reset VM states when host is removed from cluster
If you shut down the agent while VMs are running, the management
server assumes that the VMs are continuing to run. You can then
delete the host while it is in 'disconnected' state, and those VMs
will be unusable, forever in running state. They can't change state
because the host no longer exists. This patch checks for any VMs
that may have been tied to the removed host and resets their state
so that cloudstack can continue to manage them.
2013-08-16 23:22:15 -06:00
Vijayendra Bhamidipati ae8159b856 CLOUDSTACK-4091: 4.1 fresh install doesn't work in dev environment
Reviewed-by: Alena Prokharchyk
Description:

    Put in upgrade path in DatabaseUpgradeChecker
    to implement db upgrade from 4.1.1 to 4.1.2.
2013-08-07 15:54:29 -07:00
Chip Childers 2e2dd684d2 Updating pom.xml version numbers for release 4.1.2-SNAPSHOT
Signed-off-by: Chip Childers <chipchilders@apache.org>
2013-07-31 11:06:29 -04:00
Marcus Sorensen d7ca18eedf Summary: Fix null pointer and op_networks blocker to account cleanup
Detail: Accounts can fail in cleanup/gc process due to inconsistent op_networks
table and null pointer in looking up account for event publishing.

BUG-ID: CLOUDSTACK-3957
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1375204815 -0600
2013-07-30 11:22:20 -06:00
ilya musayev cf2babe7a7 Revert "Updating pom.xml version numbers for release 4.1.1"
This reverts commit d2c646f0a4.
2013-07-25 13:55:33 -04:00
ilya musayev d2c646f0a4 Updating pom.xml version numbers for release 4.1.1
Signed-off-by: ilya musayev <ilya@apache.org>
2013-07-25 13:52:58 -04:00
ilya musayev 8794bb6346 Revert "Updating pom.xml version numbers for release 4.1.1"
This reverts commit 8fe3505cba.
2013-07-24 13:13:09 -04:00
ilya musayev 8fe3505cba Updating pom.xml version numbers for release 4.1.1
Signed-off-by: ilya musayev <ilya@apache.org>
2013-07-24 13:11:48 -04:00
Wei Zhou 2963f0479e CLOUDSTACK-3368: clear download URLs when create SSVM and validate download URLs 2013-07-12 11:31:20 +02:00
Wei Zhou 7b2f68e8cf CLOUDSTACK-3362: use POST instead of GET and encode/decode cert/key in uploadCustomCertificate 2013-07-12 11:18:51 +02:00
Nitin Mehta 5174b002bc CLOUDSTACK-2940
Allowing Replacement of realhostip.com with a customized domain for SSVM. Though the config variable was there we were always hardcoding to realhostip.com
Reviewed-by: Abhi
2013-07-12 11:01:33 +02:00
Wei Zhou b0237a1511 CLOUDSTACK-3244: Inject KeystoreManager in ManagementServerImpl 2013-07-11 09:53:02 +02:00
Murali Reddy c301734e22 CLOUDSTACK-3440: action events are not published due to conflict of
Eventutils and ActionEventUtils files

removing the 'EventUtils' file which got merged back during the Spring
changes to master at 4.1. 'EventUtils' file was replaced by
'ActionEventUtils', and the original file was removed for events
frameworks. This file conflict was resulting in action events not to be
published on to event bus
2013-07-10 17:38:32 +05:30
Wei Zhou 3d1c873db4 CLOUDSTACK-3438: update CPVM SSL certificate for both Premium and non-Premium cases 2013-07-10 12:26:00 +02:00
Mice Xia 60fe5fd923 CLOUDSTACK-2083 router never comes to running state when addNicToVirtualMachine api is called with network id which is only allocated 2013-07-08 23:35:54 -06:00
Marcus Sorensen 5142de4488 Summary: update user data on all networks a VM is connected to
Detail: Get list of all nics and update user data on them, rather than just
the default nic for the VM. This makes the results consistent with the password
and SSH key metadata.

BUG-ID: CLOUDSTACK-3408
Bugfix-for: 4.1.1, 4.2.0
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1373345338 -0600
2013-07-08 22:58:26 -06:00
Wei Zhou 7755986652 CLOUDSTACK-3345: createLBStickinessPolicy replaces old stickiness policy if exists 2013-07-05 11:33:25 +02:00
Wei Zhou e92c5b0de8 CLOUDSTACK-3372: CapacityManager does not count destroyed volumes when deploy VMs 2013-07-05 11:28:40 +02:00
Saksham Srivastava 3128a4ccee CLOUDSTACK-1012:Encrypt system.vm.password for 4.1 to 4.1.1 upgrades 2013-07-04 16:57:52 +05:30
Hugo Trippaers 281e70e901 CLOUDSTACK-3278 Add the 410 to 411 upgrade to the PremiumDatabaseUpgradeChecker
Can someone hand me a brown paper bag.
2013-06-28 16:17:44 -07:00
Hugo Trippaers b330f2aa90 CLOUDSTACK-3278 Add the 410 to 411 upgrade to the PremiumDatabaseUpgradeChecker 2013-06-28 10:57:51 -07:00
Murali Reddy b00260060e CLOUDSTACK-3213: ResourceStateEvents for user VM are generated with
entity type as Network

changing entity type to be VirtualMachine from Network for the events
generated by user vm state transitions
2013-06-26 19:42:17 +05:30
Min Chen d3c181efa7 CLOUDSTACK-3080: listVirtualMachines tag search refinement no longer
working.
2013-06-20 15:26:07 -07:00
Min Chen 11cfc034e0 CLOUDSTACK-3015: VPC virtual router lists deleted nics 2013-06-19 11:39:32 -07:00
Wei Zhou c2f0a2f6da CLOUDSTACK-1866: create iptables rules for network usage in finalizeSshAndVersionAndNetworkUsageOnStart only for non-Vpc network 2013-06-18 14:03:35 +02:00
Min Chen 68f51a3db9 CLOUDSTACK-2523: Recurring snapshot failed with NPE. 2013-06-18 12:43:22 +01:00
Chip Childers 707f95dfa0 Updating pom.xml version numbers for release 4.1.1-SNAPSHOT
Signed-off-by: Chip Childers <chipchilders@apache.org>
2013-06-15 13:14:40 -04:00
Chip Childers 780439e3bb Revert "Updating pom.xml version numbers for release 4.1.0"
This reverts commit a5214bee99.
2013-05-28 09:22:01 -04:00
Chip Childers a5214bee99 Updating pom.xml version numbers for release 4.1.0
Signed-off-by: Chip Childers <chipchilders@apache.org>
2013-05-28 09:16:12 -04:00
Kishan Kavala a65c36a391 CLOUDSTACK-528: Config value has to be encrypted for Hidden category configs 2013-05-28 09:14:38 -04:00
Chip Childers aa29234ee0 Revert "Updating pom.xml version numbers for release 4.1.0"
This reverts commit d0da9f7f46.
2013-05-28 09:09:22 -04:00
Chip Childers d0da9f7f46 Updating pom.xml version numbers for release 4.1.0
Signed-off-by: Chip Childers <chipchilders@apache.org>
2013-05-28 09:03:41 -04:00
Chip Childers 8a99d19b34 Revert "Updating pom.xml version numbers for release 4.1.0"
This reverts commit db007da152.
2013-05-26 10:36:16 -04:00
Chip Childers db007da152 Updating pom.xml version numbers for release 4.1.0
Signed-off-by: Chip Childers <chipchilders@apache.org>
2013-05-26 10:32:45 -04:00
Chip Childers 2229727236 Revert "Updating pom.xml version numbers for release 4.1.0"
This reverts commit 873c1972c7.
2013-05-24 12:37:59 -04:00
Chip Childers 873c1972c7 Updating pom.xml version numbers for release 4.1.0
Signed-off-by: Chip Childers <chipchilders@apache.org>
2013-05-24 12:31:24 -04:00
Prachi Damle 78186c3b02 CLOUDSTACK-2568: ACS41 regression in storage subsystem (seen with local storage and 2 or more hosts)
Patch for 4.1, changes:
- In VolumeReservationVO, the getter method of a column had a typo, causing us to create a wrong searchbuilder. It was searching over the 'id' column instead of 'vm_reservation_id' causing
- This bug was causing the vm deployment to choose a wrong pool during deployment since the search was choosing incorrectly
- This bug in the GenericSearchBuilder is also fixed - if the getter method does not use the standard 'get' or 'is' prefix, one should annotate that method using
 @Column(name = "<column_name>") and indicate which column this method refers to. This will cause the GenericSearchBuilder to identify the field correctly.
- Also, let planner search for pools instead of selecting the one reserved - because there is no way currently to pass multiple pool information to the planner and this may cause issues when a VM has multiple disks.

Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-05-22 20:14:32 +01:00
Hugo Trippaers 79fd49c181 Update the Logical Router NatRules to be compatible with the NVP 3.x.x
platform

Use the Gson adapters to serialize/deserialize the NatRules

Switch the NiciraNvpApi to a single gson Object with the proper adapters

Fix missing order setting for static nat rules and portforwarding rules

Return an error when a port range is passed in a portforwarding rule

The serializer is not required

Fix a bug where an ip address could be released even if it was still in
use for SourceNat

Throw a json parse exception when the type is unknown to the adapter
2013-05-22 14:39:52 +01:00
Wei Zhou aed9a623d8 CLOUDSTACK-685: This is the additional patch for CLOUDSTACK-685 (and
CLOUDSTACK-721 as well) after this commit
https://git-wip-us.apache.org/repos/asf/cloudstack/repo?p=cloudstack.git;a=commit;h=cd7f7716155c3cd2d29b97d7ea302518d81fdfab

PrepareStop part in VirtualNetworkApplianceImpl.java need to be changed
as well.

Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-05-15 15:54:51 +01:00
Wei Zhou e6af3bf112 CLOUDSTACK-962: Because of the same reason to this (CLOUDSTACK-685)
https://reviews.apache.org/r/11157/

Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-05-15 15:54:03 +01:00
Kishan Kavala a3b5980510 CLOUDSTACK-2309: Add fix to handle Vmware 4.0 template upgrade 2013-05-11 18:26:11 +01:00
Wei Zhou b02bbc841e CLOUDSTACK-2319: fix "unable to add egress rules" in SecurityGroup
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-05-06 20:57:02 +01:00