Commit Graph

6260 Commits

Author SHA1 Message Date
Hugo Trippaers 84f63c9dc8 CLOUDSTACK-2048 Add NiciraNvp as provider for the Connectivity service
Will be replaced by commit 836ce6c1 in later versions
2013-04-17 01:30:21 +01:00
Kelven Yang 73ed03baea CLOUDSTACK-2039: Improve console access security with 128-bit AES encryption and securely-randomized key generation 2013-04-16 01:42:29 +01:00
Chiradeep Vittal 8954552228 CLOUDSTACK-524: in some cases (especially the built-in CentOS template), the template downloader does not use the configured http proxy
The DownloadProgress command is used to restart failed or stuck download jobs -- and it would not include the proxy information, unlike the DownloadCommand which always did

Signed-off-by: Chiradeep Vittal <chiradeep@apache.org>
2013-04-12 13:25:22 -07:00
Min Chen dd486efb77 Fix CLOUDSTACK-1987: Deleted service offering still shows for domain users. Also extend this fix for Disk offering as well. 2013-04-12 19:42:45 +01:00
Ryan Dietrich b20e29cffc CLOUDSTACK-1989: Without this fix you can't query service offerings
that don't have a domain id set (null).

Tested via: Called "listServiceOfferings" using a simple perl script,
once with an ID, and once without an ID specified.

Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-04-12 14:02:24 +01:00
Murali Reddy 641594aa2f CLOUDSTACK-1934: NPE with listSupportedNetworkServices
For 'connectivity' network service current set of providers (MidoNet,
NiciraNcp) not necessarily part of OSS builds. So handle the case where
there are no providers for a service
2013-04-12 14:02:23 +01:00
Marcus Sorensen 3bf8ca7697 CLOUDSTACK-2003: When accounts and domains are deleted, cleanup can fail,
leaving instances in eternal expunged state. This happens when a domain is
deleted while a deleted account is cleaning up. The cleanup looks for the domain
of the account and we hit a null pointer. Adding null pointer check.

Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1365695448 -0600
2013-04-11 18:29:59 +01:00
Pascal Borreli 00d3bc59db Typos fixed
Few typo fixed
2013-04-11 18:52:09 +09:00
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 6039a704a1 Changing the number of threads in the test from 1000 to 750. 1000 will more often than not result in build failures due to constraints on the build systems.
Most recent centos based systems have process limit of 1024. Running this test will result in an OutOfMemory exception with description unable to create native thread.
2013-04-07 12:08:30 +02: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
Wido den Hollander 4890101234 conf: Add a @ so @MSUSER@ is replaced by "cloud" 2013-04-03 16:54:25 +02: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
Wido den Hollander 11892d34d7 debian: Various packaging fixes from master
This commit includes various packaging fixes already in master.
2013-03-31 15:31:15 +02: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 b24cbcf09f CLOUDSTACK-1818: add a missing file that is missed in previous patch 2013-03-27 13:02:25 +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