abhi
74f1a821a4
bug 13134: added encryption for ldap password
2012-02-06 16:31:58 +05:30
abhi
e8f4b2d83b
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2012-02-06 15:03:09 +05:30
abhi
59c7150af7
bug 13439: full sync at management server restart, disabling hourly sync
2012-02-06 15:01:44 +05:30
kishan
b5d465f74a
Bug 12649: Added ROOT to domain path and removed trailing slash
...
Status 12649: resolved fixed
Reviewed-By: Abhi
2012-02-06 14:27:55 +05:30
kishan
b0aaf75c3b
Bug 13454: Remove foriegn keys in ssh_keypairs table and again with correct constraint name
...
Status 13454: resolved fixed
Reviewed-By: Nitin
Conflicts:
server/src/com/cloud/upgrade/dao/Upgrade2213to2214.java
2012-02-06 14:04:56 +05:30
frank
074d33d9f3
DB upgrade for Bug 6849 - Randomize systemvm passwords
2012-02-03 17:40:07 -08:00
frank
890bfffe2f
Bug 6849 - Randomize systemvm passwords (edit)
...
status 6849: resolved fixed
2012-02-03 17:28:58 -08:00
anthony
a70ea7f745
bug 13241: before update cluste guid, check if this guid is used,
...
status 13241: resolved fixed
2012-02-03 17:01:04 -08:00
Alena Prokharchyk
1490e45a1c
Fixed format style in a bunch of files (replaced tabs with spaces as a part of it)
2012-02-03 13:49:11 -08:00
Murali reddy
1f0ea28cc4
bug 12568: load balancer/firewall device capacity when admin does not specify a value
2012-02-03 23:48:26 +05:30
kishan
b15e5d6730
Bug 13326: Include isElastic flag in IPAddress usage response
...
Reviewed-By: Nitin
2012-02-03 18:03:04 +05:30
kishan
1c95ed5012
Bug 13433: Updated removed index for async_job table
...
Reviewed-By: Nitin
2012-02-03 18:03:04 +05:30
kishan
a388ed792f
Bug 13326: Added is_elastic flag to IP address usage. Added new column in usage_ip_address, defaults to false. size column will contain is_elastic info in cloud_usage table
...
Status 13326: resolved fixed
Reviewed-By: Nitin
2012-02-03 18:01:30 +05:30
Nitin Mehta
deadf815ca
Bug 13423: Drop i_op_vm_ruleset_log__instance_id, u_op_vm_ruleset_log__instance_id key (if exists) and re-add u_op_vm_ruleset_log__instance_id again.
...
Reviewed-By: Kishan
2012-02-03 15:54:48 +05:30
prachi
65b7a27407
Bug 13229 - Network Usage - Netscaler - NetworkUsage not being called when Lb rules are deleted and when releasing the Ip adress that has Lb rules.
...
Reviewed-by: Kishan
Changes:
- When an LB rule is deleted or the IP address having an LB rule configured is released, ExternalNetworkUsageCommand is fired to gather the usage
accumulated on that IP after the last run of the ExternalNetworkUsage job.
2012-02-02 17:23:51 -08:00
Alena Prokharchyk
a8476ac0de
bug 12361: 2214-3.0 db upgrade for redundant routers
2012-02-02 14:43:37 -08:00
Kelven Yang
8060918805
bug 13428: upgrade newly issued realhostip certificate. Reviewed by: Anthony
2012-02-02 11:49:20 -08:00
frank
de7a763ff9
avoid both PodBaseNetworkGuru and StorageNetworkGuru reply to storage network
...
design call
2012-02-02 11:31:43 -08:00
frank
e30ca89c7c
Bug 13185 - CloudStack UI shows incorrect info for SSVM public IP
...
status 13185: resolved fixed
2012-02-02 10:52:18 -08:00
Alena Prokharchyk
504af05df4
bug 13335: fixed name/displayText network update
...
status 13335: resolved fixed
2012-02-02 10:34:06 -08:00
kishan
f1a30a21aa
Bug 13133: Added snapshot delete event when a recurring snapshot deletes oldest snap
...
Status 13133: resolved fixed
Reviewed-By: Nitin
2012-02-02 18:56:07 +05:30
Alena Prokharchyk
78f6fc9e43
bug 12361: Inermediate checkin to 2.2.14-3.0 db upgrade
2012-02-01 16:46:56 -08:00
Jessica Wang
46c0024a34
bug 13362: fix error message in StorageManagerImpl.java
2012-02-01 15:49:21 -08:00
Alena Prokharchyk
2f17d465dc
Fixed 2.2.14-3.0 db upgrade for usage
...
Added unittest as well
2012-02-01 13:33:53 -08:00
Alena Prokharchyk
edd4c84ca1
Add domain name info for private zones in listZones api response
2012-02-01 11:26:00 -08:00
Alena Prokharchyk
879ab9a5cc
More logging to domain checker
2012-02-01 11:07:13 -08:00
Alena Prokharchyk
cfea031b28
Fixed deploy vm for Project in private zone
2012-02-01 11:03:12 -08:00
abhi
ae609f6801
bug 13408: added more loggin to assignVM
2012-02-01 18:45:25 +05:30
abhi
b6e5419370
bug 12899: checking if static nat rule is in place, throw error if there. Let the caller clear it first before assigning VM to another account
2012-02-01 18:08:32 +05:30
Naredula Janardhana Reddy
aea81205ef
Bug 11845:
...
Summary of Changes:
- created a generic way for LB rule validations, so as LB device(like Haproxy) specific validations can be done syncronously.
- Removed asyncronous validations from Haproxy and done syncronously.
2012-02-01 18:01:11 +05:30
kishan
a072cdfec6
Bug 12071: Drop and re-create usage event created index in cloud_usage DB
...
Status 12071: resolved fixed
Reviewed-By: Nitin
2012-02-01 17:07:28 +05:30
Naredula Janardhana Reddy
72fb7256d7
Bug 13297,13375,12705 :
...
Summary of changes :
- Added a new flag -s to ipassoc command to carry if the ip address is
used for SNAT or not.
- SNAT is completly decoupled from the first flag. first flag is used
to decide if the ip address is first ip address of the interface.
- -s and -f are independent, SNAT can be enabled on the non-first ip
also.
2012-02-01 12:39:10 +05:30
prachi
fc7758c455
Bug 13224 - Network Usage - Netscaler - External device is being queried multiple times (up to 8 times) whenever the Network Usage task is run.
...
Reviewed-By: Kishan
Changes:
- Added local cache to store the usage answer per LB device per zone
- Also there can be multiple domainRouters for an account. We can avoid processing the same account for usage by maintaining accounts already processed.
2012-01-31 18:29:07 -08:00
Kelven Yang
00ffe10b05
bug 12017: when owner host is not in UP state, mark VM state as UNKNOWN
2012-01-31 17:20:16 -08:00
anthony
5c0b585aa0
bug 12844: fixed a regression
...
reviewed-by : edison
Conflicts:
server/src/com/cloud/agent/manager/AgentManagerImpl.java
2012-01-31 17:12:49 -08:00
Alena Prokharchyk
f5681d1f7b
bug 13396: escape double quotes in error json response
...
status 13396: resolved fixed
2012-01-31 16:26:53 -08:00
anthony
cb8f55a6f6
bug 12844, 13394: 1. if connect to host fails, don't need to investigate
...
2. add ha parameter to dissconnect host to indicate if HA VMs on this host
status 12844, 13394: resolved fixed
reviewed-by : edison
Conflicts:
server/src/com/cloud/agent/manager/AgentManagerImpl.java
server/src/com/cloud/agent/manager/ClusteredAgentManagerImpl.java
2012-01-31 15:33:39 -08:00
Alena Prokharchyk
c2f99796bb
Return only VirtualRouter as a firewall provider in listSupportedNetworkServices api response
2012-01-31 14:37:44 -08:00
prachi
08bb9eaf47
Bug 11426 - UpdateResourceCount api: don't recalculate the resources for System account
...
Changes:
- Throw error is anyone tries to update the resource limits for ROOT domain using updateResourceLimit API
- For ROOT domain always return -1 (infinite) limit
- DB upgrade: remove any limits set for ROOT domain
2012-01-31 14:21:03 -08:00
frank
7359789541
Bug 13394 - HA XEN- After host is disconnected from network & reconnected to network, host remains in Connecting state
...
get current update count before update agent status otherwise the operation would fail because someone before he
update the update count
status 13394: resolved fixed
2012-01-31 13:57:25 -08:00
Alena Prokharchyk
07545236d7
bug 13381: fixed update availablity for network offering
...
status 13381: resolved fixed
2012-01-31 11:49:09 -08:00
Nitin Mehta
2ef6ed809f
Bug 11789: The calculation for storage allocated capacity would go through the the common function throught which dashboard calculates the capacity as well.
...
Reviewed-By: Prachi
2012-01-31 13:18:57 +05:30
Nitin Mehta
33857e21e3
Bug 11789: Created a function for calculation of allocated primary storage. The dashboard calculation would go through this.
...
Reviewed-By: Kishan
2012-01-31 12:31:18 +05:30
Alex Huang
c42f50c4b0
Used a different way to allocate guest ip address. not in used yet.
2012-01-30 16:10:10 -08:00
Alena Prokharchyk
37d38427c6
Fixed transaction start in createLB rule
2012-01-30 15:53:54 -08:00
Alena Prokharchyk
cd56bf9f60
Only Virtual Router can be specified as a provider for the Firewall service
2012-01-30 15:26:43 -08:00
Alena Prokharchyk
0196eb5679
bug 12821: no VPN support on Juniper
...
status 12821: resolved fixed
2012-01-30 15:07:04 -08:00
Kelven Yang
8f2b6dc791
do not default display name from null to other name like host name
2012-01-30 14:57:50 -08:00
Kelven Yang
cb959aa377
bug 13369: recycle roger hung worker VMs in vCenter
2012-01-30 14:21:56 -08:00
Alena Prokharchyk
1b54901caa
bug 13290: fixed listNetworks for the domain admin in Basic zone
...
status 13290: resolved fixed
2012-01-30 13:45:16 -08:00
Alena Prokharchyk
529d0706e1
SpecifyVlan should always be true for shared network offerings and for network offerings with specifyIpRanges=true
...
SpecifyIpRanges should always be true for Shared network offerings
2012-01-30 12:34:49 -08:00
Alena Prokharchyk
9219d4c41d
bug 12361: more fixes to DB upgrade for network_offerings table
...
Added unittest for testing network offerings db upgrade
2012-01-30 11:20:13 -08:00
Nitin Mehta
f88ddbe86e
Bug 13066: StorageOverProv-Start using bigdecimal for better precision. Change allocators and dashboard code for the same.
...
Status 12897: resolved fixed
Reviewed-By: Kishan
2012-01-30 17:27:30 +05:30
kishan
8f2cf82b24
Bug 12996: Removed createConfiguration API command
...
Status 12996: resolved fixed
Reviewed-By: Nitin
2012-01-30 14:36:50 +05:30
kishan
08df288bf5
Bug 13175: Fixed typos. minotoring instead of monitoring, assignbed instead of assigned
...
Status 13175: resolved fixed
Reviewed-By: Nitin
2012-01-30 14:31:48 +05:30
Chiradeep Vittal
fcd90b269e
allow Mac OS developers to run management server natively
2012-01-27 16:27:19 -08:00
Alena Prokharchyk
8eed9004cd
Fixed broken unittest
2012-01-27 14:44:34 -08:00
Edison Su
ecf774a0d7
bug 13357: startupanswer is advanced before agentmonitor got processed, so it's possible that pingcommand received by mgt server ahead of agentmonitor initializes pingmap
...
status 13357: resolved fixed
2012-01-27 14:08:14 -08:00
kishan
cdbf85e3e6
Bug 12649: Added new param path to listDomains respone
...
Status 12649: resolved fixed
Reviewed-By: Nitin
Conflicts:
server/src/com/cloud/api/ApiResponseHelper.java
2012-01-27 17:58:48 +05:30
Edison Su
5e2f02fdd5
bug 13315: add httpproxy support in ssvm, only basic auth. User can add secstorage.proxy = http://username:password@hostname:port
...
status 13315: resolved fixed
2012-01-26 18:46:44 -08:00
prachi
e48e7226bd
Bug 13239 - java.lang.NullPointerException seen in management server logs when netscaler instance is unreachable whenever network usage thread is executed
...
Changes:
- Added Null check for lbvserver
- Need not process the usage answer when we get some error.
2012-01-26 16:40:16 -08:00
prachi
93ff791497
Bug 13314 - acton-bet3:vmware/xen:fail to attach "VMware Tools Installer ISO" to instance
...
Changes:
- 'sameOwner' check cannot be used for ISO's
- So need to make two access checks: See if caller has access to VM and ISO and also check if the VM's owner has access to the ISO.
2012-01-26 16:02:52 -08:00
frank
c40a421eb6
Bug 13250 - Not able to start System Vms when 2 physical networks are configured
...
if admin didn't specify storage traffic type before enabling zone, create default
storage traffic type with the same configuration of mgmt traffic type.
UI need a warning to admin, will file another bug for this
status 13250: resolved fixed
2012-01-26 14:06:34 -08:00
anthony
3615b15c39
bug 13338:
...
increate timeout for sshcheck to 10 minutes
if sshcheck fails, finalizeCommandsOnStart fails, no exception
status 13338: resolved fixed
2012-01-26 12:22:24 -08:00
Kelven Yang
c1fb754de7
VM display name can be NULL in schema, leave it as NULL instead of empty string when user does not provide a optional VM display name
2012-01-26 11:30:40 -08:00
Kelven Yang
e751dad940
VM display name will stay empty if user does not provide, VM host name is default to UUID for now
2012-01-26 11:10:00 -08:00
Alena Prokharchyk
57e3a5a0aa
bug 13232: listPublicIpAddresses by staticNat/sourceNat properties
...
status 13232: resolved fixed
2012-01-25 17:31:53 -08:00
Kelven Yang
8083b29235
bug 13306: remove sensive DB id info from VM display name
2012-01-25 17:16:21 -08:00
Alena Prokharchyk
3b1db5fa20
bug 13203: removed firewall.rule.ui.enabled global config
...
status 13203: resolved fixed
2012-01-25 16:49:31 -08:00
Alena Prokharchyk
4dec3c890a
bug 13282: release elastic IP of the vm on vmStop
...
status 13282: resolved fixed
2012-01-25 15:03:46 -08:00
Alena Prokharchyk
ebfc1d1d32
bug 13308: list networks belonging to subdomains when listAll=true is passed to listNetworks
...
status 13308: resolved fixed
2012-01-25 13:37:19 -08:00
Alena Prokharchyk
c09faa109d
bug 13296: release public ip addresses in the basic zone during the account cleanup
...
status 13296: resolved fixed
2012-01-25 11:26:37 -08:00
Alena Prokharchyk
7ea3c8933d
bug 13305: don't allow to create ip forwarding rules when elasticIP is enabled for the network offering
...
status 13305: resolved fixed
Reviewed-by: Will Chan
2012-01-25 10:57:34 -08:00
Alena Prokharchyk
88d3f1ba03
bug 13295: apply specific security check for the network
...
status 13295: resolved fixed
Reviewed-by: Will Chan
2012-01-25 10:57:24 -08:00
Nitin Mehta
c59f3087f7
Bug 12897: Make updatehostpassword more robust and allow it to be used only for Xenserver hyperVisor
...
Status 12897: resolved fixed
Reviewed-By: Kishan
2012-01-25 14:56:42 +05:30
Nitin Mehta
f558aa07c5
Bug 12740: Allow root admins and system user to bypass the ACL layer.
...
Reviewed-By: Kishan
2012-01-25 12:29:04 +05:30
Alena Prokharchyk
03b4ac91e1
Get new elasticIp when disassociateIP is called for static nat non-elastic IP
2012-01-24 15:15:22 -08:00
frank
748603f62d
Bug 13269 - vmware - host put in maintenance mode> cancel maintenance mode> host remains in Connecting state
...
we use 'update count' to make sure agent status transformation is atomic.
However, atomic means success or fail which is not true for agent status.
some important transformation occassionally fails because race condition that
some other one is changing it simultaneously which finally makes agent stuck in a
wrong status.
use reenterent lock to serialize the agent status transformation. this memory lock
works in clusterd environement as well because in our design an agent is only active
in one mgmt server
status 13269: resolved fixed
2012-01-24 15:14:02 -08:00
Alena Prokharchyk
5307d21210
DisableStaticNat: if elasticIP service is enabled for the network offering, always allocate new elastic ip and create static nat rule for it when disableStaticNat is called
2012-01-24 14:06:01 -08:00
Alena Prokharchyk
0e13bb58e3
bug 13250: don't check physicalNetworkId for control traffic type
2012-01-24 12:49:30 -08:00
Murali reddy
73805cdc45
bug 12828: SRX - Not able to deploy Vm using network that uses SRX for PF,Firewall,SorceNat,StaticNat,VPN services
...
status 12828; resolved fixed
2012-01-24 20:05:42 +05:30
prachi
6a7fd4d96c
Bug 13248 - NPE: DeployVMCmd fired during 2.2.x regression test on Acton build
...
Changes:
- After deployment of Router failed, we did not throw out the error inorder to retry the start using another hypervisorType.
- But there is no other hypervisor to try, causing the failed and expunged router to be passed on further leading to an NPE later
- So in case there are no more hypervisors to retry the router start, we should throw out the original error.
2012-01-23 17:58:25 -08:00
prachi
f80ed99879
Bug 13035 - cleanup required for virtual router deployment log entry
...
- adding in null check
2012-01-23 15:27:12 -08:00
prachi
4329004cd3
Bug 13035 - cleanup required for virtual router deployment log entry
...
- logging only the datacenter since rest of the information in deploymest destiination is not applicable to the router being deployed
2012-01-23 15:27:11 -08:00
Alena Prokharchyk
c125496691
bug 13207: check providers/services combination before performing actual network offering upgrade
...
status 13207: resolved fixed
2012-01-23 14:52:07 -08:00
Alena Prokharchyk
665e8cb7c1
Allow LB rules creation for elasticIP
2012-01-23 11:41:00 -08:00
Alena Prokharchyk
a40b8b31d3
Remove elastic IP only when the last lb rule is being removed
2012-01-23 11:41:00 -08:00
Nitin Mehta
23cfbb6cab
Bug 13059: Make zoneId in ListCapacity call optional. When no parameter is passed list capacity for all zones.
...
Reviewed-By: Kishan
2012-01-23 20:32:50 +05:30
prachi
03653b936e
NAAS Changes: Before enabling a Zone, Check if the zone has:
...
- For Advance zone, a physical Network with Public/Management trafficType
- For Basic zone, a physical Network with Management trafficType
2012-01-20 17:21:53 -08:00
Edison Su
ecab972060
execute fencecommand in seq for kvm, as there are only 5 default nio reading work threads on kvm agent. pinganswer may not be got serviced immediately, then agent will reconnect to mgt server again and again
2012-01-20 17:04:27 -08:00
Alena Prokharchyk
79e9e292dd
bug 12571: fixed error message in createSnapshotPolicy
...
status 12571: resolved fixed
2012-01-20 14:31:38 -08:00
Alena Prokharchyk
8bcf30da85
bug 12869: more changes to NAAS feature
2012-01-20 14:16:30 -08:00
Edison Su
bced9a6e48
advanced startup command
2012-01-20 11:54:32 -08:00
anthony
6297820981
bug 12830: propagate ISO to other zone on demand
...
status 12830: resolved fixed
2012-01-20 11:44:01 -08:00
Alena Prokharchyk
ba826ddc21
Fixed listing public IP addresses
2012-01-20 11:34:54 -08:00
Alena Prokharchyk
57ddf63676
Special permission check for networks
2012-01-20 11:01:38 -08:00
anthony
bf490210ed
fixed a merge bug in checkin
...
cleanup snapshot in secondary storage in background
2012-01-19 20:52:18 -08:00
anthony
86aef08865
cleanup snapshot in secondary storage in background
...
Conflicts:
core/src/com/cloud/storage/resource/NfsSecondaryStorageResource.java
server/src/com/cloud/storage/StorageManager.java
server/src/com/cloud/storage/StorageManagerImpl.java
2012-01-19 20:44:44 -08:00
prachi
be04ff861c
Bug 13078 - Management Server does not respect selected OS Preference for any host within a single pod.
...
Changes:
- Once the HostAllocators have listed suitable hosts, planner should not reshuffle the list since that would lose the prioritization applied by the HostAllocators.
- E.g: HostAllocators chooses that host first which matches the guest OS category. If planner shuffles the list, that preferrence is lost.
2012-01-19 16:59:38 -08:00
frank
89b9c51d34
Bug 13189 - Exception logged while removing host
...
status 13189: resolved fixed
2012-01-19 16:50:36 -08:00