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
Alena Prokharchyk
e014426889
Added global flag defining if the regular user is allowed to create a project
2011-11-22 10:04:32 -08:00
Abhinandan Prateek
488ac8238e
bug 11311: lis host takes in a additional parameter to fine tune the details, the default behavious is still unchanged.
2011-11-22 16:26:52 +05:30
Murali Reddy
f302533474
changes response object name for F5/Netscaler/SRX to be lower case
2011-11-21 18:28:51 -08:00
Alena Prokharchyk
45b058a89d
Project "Owner" is called project "Admin"
2011-11-21 18:01:44 -08:00
Alena Prokharchyk
85d9de58d6
bug 12127: fixed releasing non-source nat ips
...
status 12127: resolved fixed
2011-11-21 17:53:40 -08:00
Alena Prokharchyk
4f54b5e9d3
Fixed error message
2011-11-21 17:53:40 -08:00
prachi
0dc7fb48a1
Bug 11962 - MigrateVirtualMachine fails with AgentUnavailableException when the targeted host for migration is under Maintenance
...
Bug 11964 - You are allowed to migrate a virtual machine on to the host that it already exists o
Changes:
Validations were missing in th MigrateVmCmd API, since from UI the validations are always done while listing hosts for migration as first step.
2011-11-21 17:12:36 -08:00
Murali Reddy
54f4ebf08c
changes for SRX add/config commands for UI integration
2011-11-21 16:57:41 -08:00
Alena Prokharchyk
00f6738e24
bug 12105: don't generate corresponding firewall rule for the pf/staticNat/lb rule in revoke state
...
Conflicts:
server/test/com/cloud/network/MockNetworkManagerImpl.java
server/test/com/cloud/user/MockAccountManagerImpl.java
server/test/com/cloud/vm/MockUserVmManagerImpl.java
2011-11-21 16:34:55 -08:00
prachi
6dc4ae47db
Bug 12103: Adding host without labelling guest network fails
...
We do not set the default network labels as 'cloud-private' anymore. Instead it is set to the values set in global config variable. This should avoid the host connect failures requiring the network labels to be setup.
2011-11-21 14:46:02 -08:00
Murali Reddy
c9b2031fa9
changes in add/configure API commands for F5 & Netscaler for UI integration
2011-11-21 13:31:54 -08:00
Alena Prokharchyk
d67bef8e78
Owner of the network is system if the network is shared to Domain
2011-11-21 11:52:40 -08:00
Nitin Mehta
ec3a00a230
bug 10281: Template/ISO APIs should throw an exception in failure case for the events to be registered as failure.
...
Reviewed by : Kishan.
status 10281: resolved fixed
2011-11-21 18:58:06 +05:30
Nitin Mehta
57aa7dec91
bug 11811: Changing permissions for extraction of volumes based out of isos.
...
As per the new design following would be done.
(a) any ISO-derived disk can be extracted
(b) there will be a global config to disable extraction of ISO based volumes.
That way people concerned about (a) can just use (b) to fix it.
Reviewed by : Kishan.
status 11811: resolved fixed
2011-11-21 16:58:09 +05:30
prachi
4531c9d6f7
Bug 12082 - Not able to deploy Vms with Host tags.
...
After recent changes of AgentManager, HostDao was wrongly referring to getState() instead of getResourceState().
Fixed this to refer to getResourceState(). This should fix the IndexOutOfBounds error.
2011-11-18 19:03:12 -08:00
Kelven Yang
061ff36434
bug 11814: TemplateResponse now returns template details info
2011-11-18 16:40:32 -08:00
Kelven Yang
a59658177d
bug 11814: connect template and instance details data when sending command to resource
2011-11-18 16:40:31 -08:00
Alena Prokharchyk
bc544d31e7
listPublicIpAddresses by associatedNetworkId
2011-11-18 15:57:01 -08:00
Alena Prokharchyk
1871de3048
bug 11853: better error message when try to add VPN user with duplicated user name
...
status 11853: resolved fixed
2011-11-18 15:49:18 -08:00
frank
dd9465c592
Bug 12078 - pxe config file not being sent down (edit)
...
fix in acton
2011-11-18 15:39:22 -08:00
Alena Prokharchyk
5ea4133d7b
createNetworkOffering: verify that individual services can be enabled for each provider specified for the network offering
2011-11-18 14:46:10 -08:00
Alex Huang
c6dc4f8435
merge changes
2011-11-18 14:29:01 -08:00
Alex Huang
84d5f0514e
Changed network tags to network name as we no longer need to send the entire network tags down to the resource.
2011-11-18 14:28:16 -08:00
frank
5d6653224b
directly search ssvm in host table when sending SecStorageFirewallCfgCommand
2011-11-18 13:59:17 -08:00
Alena Prokharchyk
71ff88f211
bug 12067: set 'extractable' field default value to 0 as a part of 2.2.13 to 2.2.14 db upgrade
...
status 12067: resolved fixed
Conflicts:
server/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
server/src/com/cloud/upgrade/PremiumDatabaseUpgradeChecker.java
setup/db/create-schema.sql
2011-11-18 13:44:59 -08:00
prachi
b8b08555e6
Removing garbled characters.
2011-11-18 13:35:48 -08:00