Commit Graph

6215 Commits

Author SHA1 Message Date
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
Prasanna Santhanam d09a1cafd7 remove @author fields generated by eclipse
one line change, so no patch request to burden chipc.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-03-01 15:27:18 +05:30
Roeland Kuipers 5a655e8c75 review 8701: createSetupGuestNetworkCommand in
VpcVirtualNetworkApplianceManagerImpl.java fails when the broadcast URI
is not a long

Fixed whitespace issues

Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
(cherry picked from commit 68b836d46d)

Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2013-03-01 09:44:17 +01:00
Prasanna Santhanam 3afc226de4 ignore the tests looking for db
These tests require DB to be present to do upgrade. Revisit later.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-03-01 11:20:36 +05:30
frank 2093aefcb8 CloudStack CLOUDSTACK-723
Enhanced baremetal servers support on Cisco UCS

change UcsXxxDao to Spring xml loading
change ListxxxCmd to inherit ListCmd
change API response in line with current API architecture
adding missing db schema  to db upgrade schemaOh
2013-02-28 15:34:57 -08:00
Kishan Kavala 79995bf629 CLOUDSTACK-241: Moved regions upgrade chnages to Upgrade40to41.jav from schema file. Sets the right regins_id from db.properties instead of using default 1. 2013-02-28 11:21:02 +05:30
Kishan Kavala 1a2173f4db CLOUDSTACK-241: Removed API based account sync. Removed all the related API changes. Converted tabs to spaces in the related files.
Verified account, user and domain APIs manually.
2013-02-28 11:21:02 +05:30
Prachi Damle 336d133f94 CLOUDSTACK-1418- As regular user , we are not allowed to deploy VM on a shared network.
- Added the access type attribute to @acl
- Domainchecker needs the AccessType.UseNetwork value specified to check access to network
2013-02-27 17:19:55 -08:00
Sheng Yang 02a0439dba CLOUDSTACK-1170: Use a unified way to generate PublicIp
Tired of manually generate mac address everytime when create PublicIp object.
2013-02-27 14:06:09 -08:00
Noa Resare 78e8d18428 CLOUDSTACK-1415: Debian & Ubuntu packaging work
Some concepts included:

* the replace.properties location used by maven is parameterized to allow
  for a build that does not modify the currently git tracked files
* package naming is updated along the lines of what was discussed on the
  -dev mailing list and between committers at the Build a Cloud Day in Belgium.
* package version pattern is updated (since we redo all package names,
  we might as well drop the epoch)
2013-02-27 15:38:55 +00:00
Murali Reddy d76211d5d0 CLOUDSTACK-1391: EventBus is not getting injected after javelin merge
added logic to inject event bus using ComponentContext.getComponent
2013-02-27 14:52:11 +05:30
David Grizzanti 2fc5a3ca5e CLOUDSTACK-420: listZones missing name parameter
When calling the listZones API command, you can now supply a name to pull a specific zone by name.

Updated two classes to include name paramater and query data centers/zones by name if suppled:
- server/src/com/cloud/api/query/QueryManagerImpl.java
- api/src/org/apache/cloudstack/api/command/user/zone/ListZonesByCmd.java

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-02-27 13:39:59 +05:30
Sheng Yang 6c37fccc0b CLOUDSTACK-1232: Only support cidr=64 in IPv6 2013-02-26 19:39:37 -08:00
Kelven Yang df8c7506fc CLOUDSTACK-1173: fix the regression caused by life-cycle management changes 2013-02-26 11:51:31 -08:00
Kishan Kavala 609c7da383 CLOUDSTACK-1289: Added missing usage command processing for External firewall device. ExternalLoadBalancerUsageManagerImpl should be renamed as ExternalDeviceUsageManagerImpl 2013-02-26 17:33:23 +05:30
Harikrishna Patnala c3a37dd7ff CLOUDSTACK-1293 resetpasswordforVm shows "passsd reset to undefined" 2013-02-26 17:18:30 +05:30
Wei Zhou 03fdbfb291 CLOUDSTACK-962:setAggBytesSent/setAggBytesReceived in NetworkUsageTask when not in case of dailyor hourly
Removed duplicate userstatsdao injection
2013-02-26 16:26:30 +05:30
Rohit Yadav 6a76c96be1 spring: Remove annotations from interfaces and abstract classes
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
(cherry picked from commit da7c0b1437)

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-26 15:26:15 +05:30
Sheng Yang e06bf6ad2e CLOUDSTACK-1332: Add ip6dns to zone and domainrouter response 2013-02-25 16:55:47 -08:00
Sheng Yang 7c72aa66bd CLOUDSTACK-1332: Pass IPv6 DNS to VR 2013-02-25 16:07:36 -08:00
Sheng Yang 0760fdf6d0 CLOUDSTACK-1332: Add IPv6 DNS for Zone 2013-02-25 16:07:14 -08:00
David Nalley bc1fa4a4cf adding license header to make RAT happy 2013-02-24 22:33:56 -05:00
Kelven Yang 4f38d745b8 CLOUDSTACK-1339: Using Sping interface injection pattern to avoid using CGLIB proxying mode. Spring with CGLIB proxying will concflict with CGLIB usage in CloudStack DB code, CloudStack CGLIB usage can cause Spring to lose tack of its proxied object and therefore creates a massive amount of objects in memory 2013-02-24 13:31:42 -08:00
Mice Xia 8a6d0ffda6 add missing license header reported by rat 2013-02-22 13:10:22 +08:00
Prachi Damle 96a98f5a71 CLOUDSTACK-1367 NPE noticed in logs while AgentMonitor is monitoring the host ping interval
Added null check. If the host is not found, we dont ping anymore.
2013-02-21 17:42:20 -08:00
Sheng Yang 1f64917fcc CLOUDSTACK-1303: Fix NPE when extend vlan with ipv4 only 2013-02-21 16:45:15 -08:00
frank 2e069ad16b CloudStack CLOUDSTACK-774
Supporting kickstart in CloudStack baremetal

able to start vm
2013-02-21 15:39:15 -08:00
frank 10afc3b571 CloudStack CLOUDSTACK-774
Supporting kickstart in CloudStack baremetal

adding missing scripts back
2013-02-21 15:39:15 -08:00
frank 241d05e685 CloudStack CLOUDSTACK-774
Supporting kickstart in CloudStack baremetal

fixing bugs to align to new code base
2013-02-21 15:39:15 -08:00
Sheng Yang 540f68f4c3 CLOUDSTACK-1288: Fix regression on remove LB rules
It's a regression caused by:

   commit 69d24545c4
   Author: Murali Reddy <murali.reddy@citrix.com>
   Date:   Fri Feb 8 18:50:18 2013 +0530

       CLOUDSTACK-1208: Failed to shutdown guest network

       Firewall manager was being used instead of LoadBalancingRules manager
       while applying the load balancer rules in shut down network. Changing it
       to LoadBalancingRules manager.

The parameter transferre to applyRules() should be lbRules, rather than the lbs
object.
2013-02-21 14:45:52 -08:00
Kelven Yang e219ef951b CLOUDSTACK-1362: Put a workaround fix to set excutable attribute of injectkys.sh at runtime 2013-02-21 14:32:47 -08:00
Prachi Damle e6626973ed CLOUDSTACK-1346: Check to see if external devices are used in the network, is hardcoded for specific devices
- Changes the check to list all providers of a network and check if it is an external provider
2013-02-20 15:36:01 -08:00
Prachi Damle 3c02af0cdf CLOUDSTACK-1344 Typo in use.external.dns setting description
Fixed the typo.
2013-02-20 12:01:22 -08:00
Prachi Damle 20a747601c CLOUDSTACK-1331: Upgrade fails for a 2.2.14 Zone having multiple guest networks using network_tags and Public Vlan
Changes:
-We need to update the physical_network_id for public vlans.
-Physical network ID should be retrieved from the network if present.
2013-02-20 11:25:36 -08:00