Commit Graph

6119 Commits

Author SHA1 Message Date
Hugo Trippaers 4aea133fef Make the VpcManager check a list of supported providers 2013-04-10 13:58:24 +01:00
Murali Reddy af65438408 CLOUDSTACK-1834: Events are not generated for registerUserKeys() 2013-04-09 14:23:15 +01:00
Hugo Trippaers 0c38d67816 Fix for _pingTimeout being 0 in AgentMonitor
With commit d79f1f6fdc the AgentMonitor
was replaced with a pluggable service. However the ping timeout in the
original constructor was not passed on anymore, leading to a default
pingTimout of 0. This would fail all agents constantly.

Modified the startMonitor command to take a pingtimeout as an argument
and instruct AgentManagerImpl to pass it along.
2013-04-04 15:59:06 +01:00
Min Chen 1902fc5e2f CLOUDSTACK-1890: listProjects is not listing state in the response. 2013-04-02 19:51:12 +01:00
Kelven Yang 195a4ee526 CLOUDSTACK-1865: Change StatsCollector to be a manager so that it can initialize itself at proper run level 2013-04-02 15:22:47 +01:00
Sheng Yang 9cf20ae38b CLOUDSTACK-1827: Fix redundant router update mechanism
There is a bug that if the smaller number ID RvR stop running, that pair of
RvR's status won't be updated. This patch fixed it.
2013-03-30 20:23:48 +00:00
Murali Reddy 2e395b8501 CLOUDSTACK-1834: Events are not generated for registerUserKeys(),
Enabling account and Editing account.
2013-03-29 14:50:27 +00:00
Murali Reddy 0828b0b233 CLOUDSTACK-1804:Upgrade 4.0 -> 4.1 - DB upgrade fails.
remove the data migration functions that were accidently introduced by
commit b6727e5646
2013-03-27 13:50:12 +00:00
Chip Childers e221d18bcb Resolving merge issue after applying 8613db0 on top of 8a35898
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-03-27 13:20:01 +00:00
Kelven Yang 5a75a3cbda CLOUDSTACK-1818: make DababaseCreator ready to invoke DatabaseUpgradeChecker, adjust Component startup sequence for integrity checkers
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-03-27 13:08:03 +00:00
Kelven Yang 519532db2b CLOUDSTACK-1795: implement custom AOP to fully support legacy CloudStack AOP semantcis
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-03-27 13:06:49 +00:00
Kelven Yang 8613db0552 CLOUDSTACK-1795: implement custom AOP to fully support legacy CloudStack AOP semantcis (rebase fixups) 2013-03-27 13:02:22 +00:00
Kelven Yang 6aaa4f68ff CLOUDSTACK-1276, CLOUDSTACK-1729: Remove autoscanning, ensure adpater execution order in runtime 2013-03-27 13:02:18 +00:00
Funs Kessen 8a358980b7 Removing baremetal related references
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-03-27 15:43:11 +05:30
Vijayendra Bhamidipati c25d60f175 CLOUDSTACK-1773:Temporarily disabling baremetal functionality in CS 4.1
Signed-off-by: Min Chen <min.chen@citrix.com>
2013-03-25 11:34:53 -07:00
Brian Spindler 4d853d7d41 CLOUDSTACK-1736: Changes required to get cloudstack-management service
working again.

The newly created package for cloudstack-management was not correctly
installing the service. This prevented cloud-setup-management from being
able to configure the service, and the init script didn't even believe
the service was installed. I also added sudo to the chmod command for
checking script permissions, as most scripts belong to root. It was
trying to configure the agent with cloudstack-setup-agent but the script
was still called cloud-setup-agent, so I renamed it to cloudstack-setup-agent.
2013-03-25 17:24:44 +00:00
Likitha Shetty 7cf6aee069 CLOUDSTACK-1625. NPE with updateResourceCount when && is passed thru API.
If any API contains '&' i.e. no key value pair or '&<paramter-name>' i.e. a parameter without a value, then we get an NPE as owasp.esapi.StringUtilities.stripControls deosn't handle NPE.
2013-03-22 15:08:52 +00:00
Vijay venkatachalam 886c3a5696 CLOUDSTACK-1537. Fixing Network Restart case for AutoScale 2013-03-21 16:53:42 +00:00
Kelven Yang ebc10b6bf0 CLOUDSTACK-1568,CLOUDSTACK-1664: Fix ActionEvent interception and optimize @DB lookup with caching
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-03-21 00:50:31 +00:00
Nitin Mehta cfff6708f3 CLOUDSTACK-1738 : Adding code for StatsCollector initialization using spring framework. This was not initialized and hence stats were not colleced on vm, host and storage in CS. 2013-03-20 15:44:22 +00:00
Kishan Kavala 65cc29734a CLOUDSTACK-198: Included VpnUsers in Add state while listing. Added state to Vpn user response. 2013-03-20 15:36:47 +00:00
Min Chen 7734650bf9 CLOUDSTACK-1511 and CLOUDSTACK-1446 2013-03-20 00:40:29 +00:00
Wei Zhou 0ce1d4fde1 CLOUDSTACK-1668: Fix IP conflict in VPC tier
Currently, allPossibleIps return the Ip lists which include the gateway,
so we need to remove gateway ip from this list.

Now, for non-VPC network it works, because NetUtils.getAllIpsFromCidr
return the Ip lists which do not include the first IP of the network
(like 192.168.0.1).
We need too add the first IP into the returned Ip list, because it can
be used for VM if it is not the gateway IP (for example, VPC networks).

The corresponding patch for 4.0.1 has been posted on
https://reviews.apache.org/r/9923/

Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-03-20 00:26:37 +00:00
Rohit Yadav fff8048a3a CLOUDSTACK-1720: Add upgrade path from 4.0.x to 4.1.0
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-03-19 13:03:37 -04:00
Prachi Damle b66ee30566 CLOUDSTACK-1706 Failed to deploy VM with error "cannot find DeployPlannerSelector"
Changes:

- Regular plugin/adapter components should usually be loaded at run level RUNLEVEL_COMPONENT(5)
- HypervisorVmPlannerSelector was at level 0, while configurationServer at level 2  - causing config to be not loaded for the HypervisorVmPlannerSelector
2013-03-18 15:16:47 -04:00
Min Chen 6d01ce565d CLOUDSTACK-1690: Remove region_id from sql insert statement for inserting "system" and "admin" account and user in MS startup due to recent region feature change. 2013-03-15 21:19:55 -04:00
Kishan Kavala b41e6e929d CLOUDSTACK-1636: Removed the concept of owner region. Removed region_id from user/account and domain tables. Removed forwarding of api calls to owner region. Removed api_key and secret_key from region table. Included related DB upgrade changes. 2013-03-14 21:22:48 -04:00
Min Chen 93dfbd2672 CLOUDSTACK-1684: api.throttling.enabled configuration setting should be set to "false" in Config.java. 2013-03-14 21:16:40 -04:00
Sheng Yang 7aa16259fc CLOUDSTACK-1218: Use the first IP in the first vlan range for VR in shared network 2013-03-14 20:57:49 -04:00
Prachi Damle 48495f86f7 CLOUDSTACK-1604: deploy VM failed when global setting "vm.allocation.algorithm" is set to "userdispersing"
Changes:
- DeployPlannerSelector was newly introduced for BareMetal feature. It had the planner name hardcoded.
- Change it to decide the planner by referring to the global config vm.allocation.algorithm value
2013-03-14 15:08:08 -04:00
Kelven Yang 85198980ca CLOUDSTACK-1624: Initialize configuration variables properly to avoid influence of any racing conditions 2013-03-12 14:56:35 -07:00
Min Chen 1f1ba72cf4 CLOUDSTACK-1621: listProjectInvitations fails with NPE for valid requests. 2013-03-11 14:55:20 -04:00
Sheng Yang b8a16856ff CLOUDSTACK-1461: Don't set dns server for non-default ipv6 network
The non-default parameter can be used by ipv4 as well in the future.
2013-03-10 21:44:59 -04:00
Kelven Yang 00f63c44b6 CLOUDSTACK-1323: retire some of no-longer used files 2013-03-08 16:54:46 -08:00
Kishan Kavala ee4daf674c CLOUDSTACK-1569: Only forward API to source region and check for succcess. Do not convert the response to user/account/domain object since it is not updated locaaly. 2013-03-08 10:18:18 -05:00
Likitha Shetty 4ba28a5ba7 CLOUDSTACK-1509. During CreateVLANIPRange while trying to assign Public IPs to a new network if the network offering is persistent we get an NPE. Since associateIpRangeToAccount starts and commits a seaparte transaction, commit the transaction started for createVlanAndPublicIpRange before calling associateIpAddressListToAccount. 2013-03-08 10:14:59 -05:00
Sanjay Tripathi fd7f4103fe CLOUDSTACK-1574 : updateResourceCount API is failed saying to specify valida resource type even after parsing the valid resource type. 2013-03-08 10:14:03 -05:00
Alena Prokharchyk feee6bd60a CLOUDSTACK-1451 Pass randomly generated UUID instead of empty string when create internal account as a part of project creation. Otherwise entityexistsexception would happen when attempt to create more than 1 project in the system 2013-03-07 15:35:36 -05:00
Alena Prokharchyk dc07534979 Revert "CLOUDSTACK-1451 Pass randomly generated UUID instead of empty string when create internal account as a part of project creation. Otherwise entityexistsexception would happen when attempt to create more than 1 project in the system"
This reverts commit 45c51d1fdd.

The commit is reverted as it should go through the patch review
2013-03-07 11:41:27 -08:00
Alena Prokharchyk 45c51d1fdd CLOUDSTACK-1451 Pass randomly generated UUID instead of empty string when create internal account as a part of project creation. Otherwise entityexistsexception would happen when attempt to create more than 1 project in the system 2013-03-07 11:23:40 -08:00
Deepti Dohare e942df93e6 CLOUDSTACK-1541 NPE while deleting snapshots 2013-03-07 14:13:48 -05:00
Harikrishna Patnala 421a2308fb CLOUDSTACK-1013 : running cloudstack overwrites default public/private ssh keys
The default private/public keypairs in .ssh will not be overwritten.
Instead cloudstack will generate a new keypair id_rsa.cloud and
id_rsa.cloud.pub and use those in developer mode.

To use this insert the (name,value)=(develop,true) tuple into
`cloud`.`configuration`

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-03-07 10:23:51 -05:00
Sheng Yang 7c7b05f4e0 CLOUDSTACK-1315: Fix NPE when try to upgrade network from VR to SRX-F5
Still return a valid object when reverting non-existed rules.
2013-03-07 09:43:25 -05:00
Min Chen cbbc488d3c CLOUDSTACK-1402: listRouters API response doesn't return linklocal IP and public IP details. 2013-03-06 13:39:52 -05:00
Rohit Yadav 525d391d65 CLOUDSTACK-1417: cosmetics, print param name, value for uuid->id translate error
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-03-06 10:48:46 -05:00
Min Chen 7e12ffe4de CLOUDSTACK-1465: We should pass array instead of a List for SearchCriteria.Op.IN as value. 2013-03-05 17:11:11 -05:00
Kishan Kavala bf40ab48f2 CLOUDSTACK-1473: cleanp flag is optional param for deleteDomain API. Check for null before converting it to string 2013-03-05 12:59:04 -05:00
Min Chen 0afc2d0033 CLOUDSTACK-1484: provide api.throttling.enabled gloabl configuration settings to enable/disable api throttling feature. 2013-03-05 11:26:20 -05:00
Frank Zhang 22d017db99 CloudStack CLOUDSTACK-1485 Add Baremetal Provider back to 4.1 branch
fixed resolved
2013-03-05 11:24:28 -05:00
Min Chen 02bbb10826 CLOUDSTACK-1449: listAccounts and listProjectAccounts API lists all the users not account-specific users for each account returned. 2013-03-04 16:55:31 -05:00