frank
6e35f93208
Bug 11939 - unify components.xml and components-premium.xml into components.xml
...
more fix
2011-12-07 13:52:17 -08:00
Sheng Yang
dd7ff1d8db
bug 12404: Fix NPE when delete host
...
But it's not enough. This happened because delete host logic is missing for Xen. Frank would add it.
2011-12-07 13:28:48 -08:00
Alena Prokharchyk
033afe05a9
listRouters: don't list Project routers when projectId is not specified in the call
2011-12-07 12:59:15 -08:00
Alena Prokharchyk
c25f801de3
listPublicIpAddresses: don't return project resources when no projectId is passed in
2011-12-07 11:46:19 -08:00
Alena Prokharchyk
0e983d8d86
bug 12268: listTemplates API - don't list projects' templates in default view
...
status 12268: resolved fixed
2011-12-07 11:31:24 -08:00
Nitin Mehta
5d60ce3034
bug 12167: ResourceLimits: load limit related values from the cloud.configuration DB only on the management server start.
...
Reviewed by : Abhi.
2011-12-07 16:50:59 +05:30
Sheng Yang
c05b4dbfb8
Add router.check.interval configuration for interval of checking redundant router status
2011-12-06 17:05:41 -08:00
Sheng Yang
2902f3d8bd
Update service offering id in the NetworkServiceOfferingResponse
2011-12-06 16:51:47 -08:00
Alena Prokharchyk
2c2dfdc507
bug 12237: fixed listSnapshots to work correctly with projectId
...
status 12237: resolved fixed
2011-12-06 16:43:58 -08:00
Sheng Yang
7aed9ea76d
Add checking for specified cidr when create network and update network
2011-12-06 16:28:57 -08:00
Alena Prokharchyk
2150409a08
Fixed createNetworkOffering for external provider case
2011-12-06 16:16:08 -08:00
Sheng Yang
1b11b97707
bug 12379: Remove reset of physical network ID
...
status 12379: resolved fixed
2011-12-06 15:54:25 -08:00
Alena Prokharchyk
e89c8725ed
Return redundantRouter/sourceNatSupported capabilities as a part of listSupportedNetworkServices
2011-12-06 15:36:02 -08:00
Alena Prokharchyk
9c6a56a61b
Fixed NPE in createNetworkOffering with capabilities set
2011-12-06 14:59:32 -08:00
Alena Prokharchyk
cabb02f944
Removed unused values from the networkOffering response
2011-12-06 14:44:18 -08:00
Alena Prokharchyk
9092765183
1) In Advance zone allow ipAssoc only to the Isolated network with the source nat service enabled
...
2) Added zoneName parameter to the listNetworks response
2011-12-06 14:44:18 -08:00
Alena Prokharchyk
edd25b93a1
bug 12336: pass correct service offering id to createNetworkOffering command
2011-12-06 10:10:28 -08:00
Nitin Mehta
5def0bc567
bug 12129: Disable validation of router.stats.interval in the global configuration since it can have negative values.
...
Reviewed by : Kishan.
2011-12-06 18:35:03 +05:30
Nitin Mehta
3f5fbb8fe4
bug 12282: Fixed NPE in register template API. The ssh key enabled attribute didnt have any default value and was throwing NPE. Also changed some minor code to stick to the conventions.
...
Reviewed by : Kishan.
2011-12-06 16:31:02 +05:30
Abhinandan Prateek
90a6bab334
bug 12348: putting a better check on stopped states
2011-12-06 09:13:20 +05:30
Murali Reddy
3a892508df
bug 12259:Netscaler -User should not be allowed to configure a "MPX" netscaler type in dedicated mode
...
status 12259: resolved fixed
2011-12-05 18:17:59 -08:00
anthony
2478b20f74
set fully cluster sync to 1 year interval
2011-12-05 18:14:23 -08:00
Edison Su
2e79da0ce5
kvm is working now
2011-12-05 18:07:00 -08:00
Murali Reddy
bc88d2eee3
specify which network service capabilities can be choosed as part of network offering
2011-12-05 17:59:54 -08:00
Alena Prokharchyk
d836699209
restartNetwork: don't try to disassoc the sourceNat IP on the domR
2011-12-05 17:28:08 -08:00
Alena Prokharchyk
84394ac3d4
bug 10804: added defaultDns parameter to DhcpEntry command
2011-12-05 16:56:31 -08:00
Alena Prokharchyk
d747801144
bug 12332: use short type for "accountType" field in EventVO object
...
status 12332: resolved fixed
2011-12-05 15:56:15 -08:00
Alena Prokharchyk
bba8e941ce
bug 10804: Another fix for defaultNetwork feature - get the default Dhcp server IP from the domR's nic in vm's default network instead of getting it from the "gateway" field of the vm itself
2011-12-05 14:53:46 -08:00
Alena Prokharchyk
7b8287d323
bug 10804: Api and middle layer support for default route feature
2011-12-05 14:53:45 -08:00
Kelven Yang
5648499183
bug 12146: fix the regression, allow console access to not just user VMs
2011-12-05 12:25:16 -08:00
Murali Reddy
974dc62a2b
added support for dynamic load balancer provisioning when netscaler SDX is added
2011-12-05 00:06:45 -08:00
Abhinandan Prateek
1dee569f0e
bug 8313: LDAP connector tested with ApacheDS
2011-12-05 11:51:21 +05:30
Prasanna Santhanam
e365e64afe
Fixing build. removing windows chars
2011-12-05 10:41:24 +05:30
Alena Prokharchyk
3acf49daa5
bug 12329: use diff field name in listIps search
...
status 12329: resolved fixed
2011-12-04 10:13:49 -08:00
Abhinandan Prateek
50a1bfed06
bug 8313: disabling LDAPAuthenticator
2011-12-04 15:42:15 +05:30
Abhinandan Prateek
d09ed94ebb
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2011-12-04 15:12:48 +05:30
Abhinandan Prateek
c4f624e7c9
bug 8313: ldap authentication, still need to fix the MD5 encoded password, cuurent authenticator only works with plaintext password
2011-12-04 15:11:06 +05:30
Sheng Yang
02e0296484
bug 12234: NaaS: Dynamic CIDR for virtual router
...
bug 12318: NaaS: Dynamic CIDR for virtual router
This patch in fact use ExternalGuestNetworkGuru to replace GuestNetworkGuru. The
problem is the virtual router would normally use 10.1.1.0/8 as CIDR, but when we
want to upgrade to external firewall e.g. Netscaler, the CIDR would need to be
changed to different value e.g. 10.x.x.0/24 based on VLAN, because the external
firewall can not support one CIDR for multiply VLAN right now. So we have to use
the same policy for virtual router.
This patch also add one field "specified_cidr" to the networks table. If this
field is true, then it means user specify the CIDR of this network, thus we can
not granutee the CIDR after upgrade is valid, so we would like to prohibit the
upgrade of network offering.
This should also fix bug 12318. The reason for bug 12318 is the pre-set gateway
address of domR is overrided by ExternalGuestNetworkGuru. After this patch,
ExternalGuestNetworkGuru would respect the existed value in Nic, rather than
simply wiping it out. It would do calcuation to get the relevant address after
VLAN changed.
More clean up can be done in the future, when we proved that this policy change
doesn't break...
status 12234: resolved fixed
status 12318: resolved fixed
2011-12-03 17:32:31 -08:00
Alena Prokharchyk
c2146ea8e8
bug 12107: don't show public ip addresses associated with CPVM/SSVM
...
status 12107: resolved fixed
2011-12-02 16:16:19 -08:00
Alena Prokharchyk
a4773b7080
bug 12291: listVms - show non-project resources only if no projectId specified
...
status 12291: resolved fixed
2011-12-02 15:17:50 -08:00
frank
0d7dc40189
Bug 11689 - Templates need a ssh key enabled attribute
...
status 11689: resolved fixed
2011-12-02 14:20:08 -08:00
Alena Prokharchyk
0effb82f82
bug 12295: fixed associateIpAddress for projects
...
status 12295: resolved fixed
2011-12-02 12:08:01 -08:00
Alena Prokharchyk
9f49967365
fixed listNetworks by projectId
2011-12-01 14:22:59 -08:00
prachi
d98130c061
Bug 8750 - update/disable/enableAccount api commands should accept "id" request parameter to be consistent with deleteAcccount command
...
These commands now accept 'id' parameter along with the 'accountname' and 'domainid'.
2011-12-01 13:58:44 -08:00
frank
d343af96e5
change allocationState of HostResponse to resourceState
2011-12-01 13:53:07 -08:00
kishan
af0cf90b2b
bug 12208,12238: Do not encrypt user password and api key
...
status 12208,12238 : resolved fixed
reviewed-by: Abhi
2011-12-01 23:37:37 +05:30
kishan
1dfc3f8e34
bug 10280: Throw exception when snapshot allocation fails
...
status 10280 : resolved fixed
reviewed-by: Abhi
2011-12-01 23:37:36 +05:30
Naredula Janardhana Reddy
09905b641b
bug 10617: merge code from branch bug10617.
2011-12-01 14:17:52 +05:30
Alena Prokharchyk
aa7c6524c9
More detailed error message when create network offering fails
2011-11-30 17:49:21 -08:00
Sheng Yang
f3df18aa9b
NaaS: Enforce the checking of VirtualRouterElement
...
If SourceNAT is not provided, VirtualRouter wouldn't provide firewall,
portforwarding, loadbalance, static Nat and VPN service as well.
2011-11-30 14:53:57 -08:00
Sheng Yang
c5292de0ae
NaaS: Restrict the combination that provider can support
2011-11-30 14:53:50 -08:00
Alena Prokharchyk
dc9efbb46e
return only domains in Active state to the API
2011-11-30 13:56:37 -08:00
Alena Prokharchyk
c4e96d9857
This commit reverts 19cdf95e8b29678767e3aa4c87da73fa60dd4a34.
...
We don't allow domainSuffix and networkOffering upgrade for Shared networks as it requires network restart
2011-11-30 11:47:17 -08:00
frank
83b7b6a412
Add ResourceState as a searching condition of ListHostCmd
2011-11-30 11:42:38 -08:00
Alena Prokharchyk
a3d8291698
bug 12242: fixed api doc for createLoadBalancerRule command
...
status 12242: resolved fixed
2011-11-30 10:54:35 -08:00
Alena Prokharchyk
554946fe8b
Allow networkDomain update for Shared networks
2011-11-30 10:34:58 -08:00
Naredula Janardhana Reddy
e4b5a62402
bug 10796: merging code from branch
2011-11-30 15:03:43 +05:30
prachi
0769a3b3f3
API Server changes needed to read a properties file present within a jar provided in classpath.
2011-11-29 18:02:19 -08:00
frank
6a7d99fc77
Bug 12219 - Cant add baremetal host
...
status 12219: resolved fixed
2011-11-29 11:46:46 -08:00
Alena Prokharchyk
7ea6082f22
PhysicalNetworkId is not required in listNetworkServiceProvider call
2011-11-29 10:47:03 -08:00
Alena Prokharchyk
6e3cbaab6f
SecurityGroupProvider is added automatically in Disabled state during the zone creation
2011-11-29 10:13:02 -08:00
Alena Prokharchyk
c2448b7bd4
list Providers by name and state
2011-11-29 09:59:43 -08:00
Abhinandan Prateek
660891b405
bug 8962: adding a check for disabled accounts
2011-11-29 12:40:58 +05:30
Abhinandan Prateek
a560d6f055
bug 11910: no need to do full sync as first thing after connect
2011-11-29 11:23:21 +05:30
kishan
31172a4205
bug 12198: Empty password for system user meed not be encrypted
2011-11-29 08:45:23 +05:30
Alena Prokharchyk
5423f744b3
Fixed multiple bugs in registerTemplate/registerIso:
...
1) throw exception when try to register template/iso when there are no zones in the system
2) don't add the template to template_zone_ref when the zone is removed
3) Don't try to download the template when template failed to persist in the DB
2011-11-28 16:50:54 -08:00
Alena Prokharchyk
abfbac7928
Moved listAccount/listDomains/listDomainChildren methods from ManagementServer to Account/Domain managers
2011-11-28 15:32:12 -08:00
Alena Prokharchyk
8f91856822
bug 11859: Added Usage param to @Implementation in API docs. Usage would explain what parameters combinations are valid for specific cases
...
status 11859: resolved fixed
2011-11-28 14:40:13 -08:00
Alena Prokharchyk
628ca6c6d7
bug 11018: removed private_netmask from vm_instance table
...
status 11018: resolved fixed
2011-11-28 14:15:14 -08:00
Alena Prokharchyk
afb56d2112
bug 11492: check volume resource limit when deployVm
...
status 11492: resolved fixed
2011-11-28 13:38:32 -08:00
Alena Prokharchyk
ecd7004f15
bug 11978: don't allow passing -, + and spaces for instance.name config param
...
status 11978: resolved fixed
2011-11-28 11:52:46 -08:00
Alena Prokharchyk
102f460458
Fixed updateConfiguration - updateHostDetails used to swallow the exceptions
2011-11-28 11:52:45 -08:00
Kelven Yang
c3eba2933e
bug 11973: Escape VM name to prevent from XSS attack. Reviewed-by: Alex huang
2011-11-28 11:38:31 -08:00
Kelven Yang
a7ac3d577a
Limit the ID valid range to be either numeric -1L for special usage or in range that it hits a DB record
2011-11-28 11:36:47 -08:00
Alena Prokharchyk
586febd4c1
bug 11965: check the user state on the Services layer, not in the VmManager as VmManager can be called not only from the API, but also by internal methods - HA for instance - and in this case we shouldn't care about the account state
...
11965 status: resolved fixed
Also fixed gson serialization error in account response
2011-11-28 10:05:19 -08:00
kishan
4e8a0a65f8
bug 12187, 12188: Encrypt system, admin user passwords. Use configDao for ssl.keystore. Set configuration init to null instead of false.
...
status 12187, 12188: resolved fixed
reviewed-by: Abhi
2011-11-28 18:21:20 +05:30
Abhinandan Prateek
88f9b1ab7c
bug 8962: review changes incorporated
2011-11-25 15:03:45 +05:30
Alena Prokharchyk
34b24895eb
bug 12176: fixed NPE in resource limit calculation for snapshots
...
status 12176: resolved fixed
2011-11-24 10:33:11 -08:00
Alena Prokharchyk
fc2b95d9c3
Fixed NPE in listIso API
2011-11-24 10:27:00 -08:00
Abhinandan Prateek
655a9805f3
bug 11966: added findNonDisabledAccount
2011-11-24 13:43:12 +05:30
Abhinandan Prateek
16e342836e
bug 11966: chnaged the findActiveAccount method to return only the accounts which are active
2011-11-24 13:12:28 +05:30
Abhinandan Prateek
d90e19ae28
bug 11825: removing the trace as from the message the origin of problem can be easily traced.
2011-11-24 11:15:51 +05:30
prachi
8134cfb4c8
Bug 11131 - Allocators: when vm fails to deploy in DataCenter, we should never retry in the same DC again as the DC is already in Avoid set
...
Changes:
- Added check in planner to verfiy that the datacenter is not in avoid set. If found in avoid set, planner does not proceed.
2011-11-23 17:40:20 -08:00
Sheng Yang
f14e536cea
NaaS: Make CloudZonesNetworkElement implement UserDataServiceProvider
2011-11-23 16:18:28 -08:00
Sheng Yang
539477f5e1
NaaS: Make ExternalDhcpElement implements DhcpServiceProvider
2011-11-23 16:18:21 -08:00
prachi
5eba3d9326
Removing whitespace from tags while storing the Host tags.
2011-11-23 14:21:36 -08:00
prachi
f56c3d7bc5
Bug 11126 - Give ability to define tags post storage addition
...
Changes:
- Enabled updating storage tags
- All existing tags are wiped out and new ones provided are stored.
- Note that, if tags are updated on the storage, no changes are done to the deployment of already running VMs that were deployed prior to tag addition.
- Also added some validation to host tags update API.
2011-11-23 14:21:34 -08:00
frank
275a5ffa3c
Fix wrong usage of SearchCriteria2 in AgentMonitor
2011-11-23 11:05:39 -08:00
Nitin Mehta
cdd94c1b9a
bug 11811: Introduce a global config to disable extraction altogether for all users except root admin. Make changes so that volumes are based out of ISO. Take care of upgrade as well for this global config.
...
Reviewed by : Kishan.
2011-11-24 00:12:24 +05:30
Nitin Mehta
e034e3d7a3
Revert "bug 11811: Changing permissions for extraction of volumes based out of isos."
...
This reverts commit 9ed2be7ecda7c0bad05aec8e0213e95507ad9be6.
2011-11-23 18:38:37 +05:30
Abhinandan Prateek
da20d33e27
bug 11910: full sync will only stop unknown VMs on agent
2011-11-23 16:48:12 +05:30
Murali Reddy
beb38c8310
making devices enabled independent of config commands
...
adding default device capacity when admin does not specify a vlaue
fixed bug in device allocation logic
2011-11-22 19:52:07 -08:00
Alena Prokharchyk
aa78c9bfb9
vm Expunge: check that securityGroup-Vm mappings exists before locking the row in userVm table
2011-11-22 16:24:08 -08:00
Alena Prokharchyk
c66842b640
bug 11812: added domainId parameter to "login" api doc
...
status 11812: resolved fixed
2011-11-22 15:34:07 -08:00
Alena Prokharchyk
38b25f3466
bug 11289: return only Free ip addresses as available Ips as a part of listAccounts
...
status 11289: resolved fixed
2011-11-22 15:25:45 -08:00
Alena Prokharchyk
f111d8377e
bug 11702: removed obsolete ipaddress parameter from userVm response
...
status 11792: resolved fixed
2011-11-22 14:29:13 -08:00
Alena Prokharchyk
1ce1f520f1
bug 11406: don't return hypervisor type in API response
2011-11-22 14:13:07 -08:00
Alena Prokharchyk
683b5635e3
bug 11674: fixed listVolumes by zoneId for regularUsers/domainAdmins
...
status 11674: resolved fixed
2011-11-22 13:55:03 -08:00
prachi
a8ffd0ea06
Added unique constraint on providername <-> physical network mapping.
2011-11-22 13:11:02 -08:00
Alena Prokharchyk
74f217e1d0
Introduced new parameter to listNetworkOfferings API - sourceNatEnabled (Boolean).
2011-11-22 10:54:29 -08:00