Commit Graph

4955 Commits

Author SHA1 Message Date
abhi 44c172bdc2 bug 12980: added trust store for ssl 2012-02-08 13:07:19 +05:30
Nitin Mehta 1fc0afe3f2 Bug 13059: Remove the listTipConsumedResources api and introduced a sortbyusage flag in the listCapacity call.
Reviewed-By: Kishan
2012-02-08 11:50:55 +05:30
prachi d0e63bc377 Bug 13099 - table physical-network-traffic-types needs to be updated when xen network device setting is modified in the global settings
Changes:
- DB upgrade changes
-- make the global setting hidden.
-- During upgrade set network labels from global config
2012-02-07 18:41:29 -08:00
prachi dbe2305352 Bug 13099 table physical-network-traffic-types needs to be updated when xen network device setting is modified in the global settings
Changes:
- We do not need these global setting anymore. These will be hidden since 3.0
- The default traffic label will be picked from the global setting which is null by default. When traffic label is null it means the resource uses tag on the default gateway
- Changes to invoke discoverer to reload the resource object on host connection
- Since a zone can have many physical networks, there can be multiple guest, public networks. Only the zone wide storage and management traffic label will be stored in host_details henceforth.
- If traffic labels are updated, discoverer should update the host_details
2012-02-07 18:41:23 -08:00
Alena Prokharchyk bd765999ba Fixed listTopConsumedResources to work w/o specifying page/pageSize 2012-02-07 14:38:23 -08:00
Alena Prokharchyk c17e9344a7 bug 13508: fixed inconsistencies in key names during db upgrade
status 13508: resolved fixed
Reviewed-by: Will Chan

Conflicts:

	setup/db/db/schema-2213to2214.sql
2012-02-07 13:40:53 -08:00
Alena Prokharchyk cad392cd68 bug 13335: fixed listProjectInvitations by projectId
status 13335: resolved fixed
2012-02-07 13:16:27 -08:00
anthony 22bbd8e766 bug 13478: check null
status 13478: resolved fixed

reviewed-by: edison
2012-02-07 10:56:24 -08:00
frank 02075c3a2d Bug 13476 - Public IP's are not shown in the UI for the System VMs
status 13476: resolved fixed
2012-02-07 10:58:11 -08:00
Nitin Mehta ce26703e5c Bug 13059: Make DB changes to list top consumed resources for enabled resources only. For this introdiuced a new state called capacity state in the op_host_capacity table and would be updated on every operation of zone pod cluster and host
Reviewed-By: Kishan
2012-02-07 20:53:25 +05:30
Murali reddy 8fbdd2919e bug 12488: Netscaler - Invalid error message presented to the user when deployVm fails to implement network becasue of insuffucient capacity in Netscaler.
status 12488: resolved fixed
2012-02-07 19:15:36 +05:30
Murali reddy a665f9bf50 bug 13180: Netscaler - SDX - Capacity field is not respected by the VPX instances that are created by SDX
status 13180: resolved fixed
2012-02-07 18:21:34 +05:30
Murali reddy 5f8936eb2f bug 13179: Netscaler - Admin is allowed to delete the SDX instance when there are existing vpx instances that was created
status 13179: resolved fixed
2012-02-07 14:18:43 +05:30
Alena Prokharchyk 207f0db318 bug 13474: fixed 3)
status 13474: resolved fixed
reviewed-by: Will Chan
2012-02-06 19:57:17 -08:00
Alena Prokharchyk d7b290cb9c bug 13474: fixed 1) 2) and 4)
reviewed-by: Frank

Conflicts:

	server/src/com/cloud/upgrade/dao/Upgrade2213to2214.java
	setup/db/db/schema-2213to2214.sql
2012-02-06 18:35:51 -08:00
Alena Prokharchyk c4d9a4c82b Agent LB: never get a part of the hosts from the xen cluster; skip the cluster if it has more hosts than we need
Reviewed-by: Alex Huang
2012-02-06 16:42:58 -08:00
Alena Prokharchyk 950429e582 bug 12361: db upgrade for Direct account specific networks 2012-02-06 14:58:40 -08:00
Alena Prokharchyk c4b15a0eeb Fixed code formatting in 2214-30 upgrade 2012-02-06 14:58:40 -08:00
frank b59c3c595e return netmask in listStorageNetworkIpRangeCmd 2012-02-06 14:37:56 -08:00
Nitin Mehta 93b8178f19 Bug 13059: Introduce a new api to list top consumed resources in cloudstack.
Reviewed-By: Kishan
2012-02-06 20:32:40 +05:30
Naredula Janardhana Reddy ce22712293 Bug 12812:
Summary of changes:  Database changes will be rollbacked while applying the LB rule to the Netscaler device.
   - Database changes will be rollbacked to previous state during the following Lb API's:
      1) assignVM to LB rule
      2) remove VM from LB rule
      3) updateLb rule
      4) deleteLb rule
      5) create/attach sticky policy to Lb rule
      6) delete sticky policy from Lb rule
   - Database changes of the Lb rule will be not be rolledback during:
       1) Removing IP
       2) removing VM
2012-02-06 19:16:34 +05:30
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
Sheng Yang 52ef2fca06 bug 12988: Fix typo
status 12988: resolved fixed
2012-01-20 08:03:49 +08:00
Alena Prokharchyk 03cce245cf Fail to create vm when corresponding elastic ip failed to apply on the backend 2012-01-19 14:13:49 -08:00
Murali reddy d92c361efd bug 12826:enable NetScaler in basic zone for load balancing and static NAT
NetScaler element should not firewall service provider in basic zone
2012-01-19 14:05:12 -08:00
Murali reddy 40ac2f5cdf bug 12826: enable NetScaler in basic zone for load balancing and static NAT
status 12826: resolved fixed
2012-01-19 14:00:07 -08:00
Alena Prokharchyk d4d345a587 Don't retry to re-create the vm when failed to allocate public ip 2012-01-19 14:00:07 -08:00
Alena Prokharchyk a9e4af0866 Can't release/disable static nat for IP when the IP is elastic 2012-01-19 13:58:36 -08:00
Alena Prokharchyk 4f46c3b160 Mark ip as not elastic when disable static nat is called on it 2012-01-19 13:58:36 -08:00
Alena Prokharchyk 212c22b256 Added isElastic flag to ip address 2012-01-19 13:58:35 -08:00
Alena Prokharchyk 1d0ffc4575 EnableStaticNat for newly allocated address - if eIp is enabled, and the target vm already assigned to the ip, reassign the vm to the new ip 2012-01-19 13:58:35 -08:00
Alena Prokharchyk 6325d21c50 Get new elasticIp when releaseIpAddress is called for elasticIP of the vm 2012-01-19 13:58:35 -08:00
Alena Prokharchyk 6deeb7ddc9 Firewall service is enabled in default elb/eip network offering
Also added more handling for error cases scenarios
2012-01-19 13:58:35 -08:00
Alena Prokharchyk 0e8104cca1 Disassociate ip address - always allocate a new IP and enable static nat for it when elactic IP is enabled 2012-01-19 13:58:35 -08:00
Alena Prokharchyk 359185f567 System is the owner of the first elastic ip address for the vm 2012-01-19 13:58:35 -08:00
Alena Prokharchyk d5752eca61 Error deployVm when elasticIp/staticNat failed to assign to the vm 2012-01-19 13:58:34 -08:00
Alena Prokharchyk 0f6f231ee6 Elastic IP - when deployVm, get ip address and enable static nat on it. On vm destroy release the Ip 2012-01-19 13:58:34 -08:00
Alena Prokharchyk 630cbb2243 Added elb and eip capabilities to network offering response 2012-01-19 13:57:37 -08:00
Alena Prokharchyk a8758d292e ElasticLB support in Basic zone.
When elb capability is enabled on the network offering, we:

1) on each createLB command:
* associate ip address to the LB rule owner
* create LB rule

2) on each deleteLb command:
* delete the rule
* disassociate ip address

The rule belongs to the owner, so proper usage events are generated
2012-01-19 13:57:37 -08:00
Alena Prokharchyk 9322482018 Netscaler can enable individual services (in some cases LB can be handled by Netscaler, and firewall by some other external provider) 2012-01-19 13:57:00 -08:00
Alena Prokharchyk 5adfc9953f Can enable/disable static nat and create IpForwarding/Firewall rules in Basic zone now.
Made Netscaler a StaticNat/Firewall provider. Murali will take care of actual implementation on the backend.
2012-01-19 13:56:59 -08:00
Alena Prokharchyk ff1e8413f1 1) Added StaticNat/Firewall/Lb capabilities to Netscaler element. Renamed it to "NetscalerElement" from NetscalerLoadBalancingElement as it serves more services now
2) Added elasticIp and elasticLb network capabilities. Provided support to create network offering with these capabilities.
3) Added one more default network offering having elasticip and elasticlb
4) Public network support to Basic zone. You can associate/disassociate IP addresses now
2012-01-19 13:56:59 -08:00
frank 11b98e4389 validate conditions before adding/deleting storage network traffic type 2012-01-19 13:44:42 -08:00
Alena Prokharchyk ad1076f21d bug 12983: resource limits for projects 2012-01-19 10:04:28 -08:00
prachi aa3e8a05be Bug 12993 - NullPointer Exception thrown when listRouters() is called.
Changes:
- Adding null checks.
2012-01-18 17:21:30 -08:00
Alena Prokharchyk c3e0f060ab bug 12986: return domain level networks when listAll is passed along with account/domainId
status 12986: resolved fixed
2012-01-18 14:45:19 -08:00
Alena Prokharchyk d20e10edd3 bug 12919: pass all lb rules in transition (revoke/add) state to the backend when apply a single LB rule
status 12919: resolved fixed
2012-01-18 14:15:21 -08:00
prachi 1e675f45ba Bug 11593 - CIDR conflicts with zone when extending pod but not when creating it
Changes:
- Now we validate Pod's CIDR only against other Pod's CIDR. No need to validate against guest CIDR and
public vlan CIDR.
2012-01-18 11:33:49 -08:00
kishan 847b5bc983 Bug 12292: updated netapp_volume primary key for upgrades
Status 12292: resolved fixed
Reviewed-By: Nitin
2012-01-18 14:04:40 +05:30
Sheng Yang ab667cbc16 bug 13041: Fix potential NPE
I haven't figure out why the code can NPE, and in my test the clean up of basic
zone is prevent from API as expected. Anyway, I add this check before cleanup to
ensure even API check failed, no NPE would be throwed.

status 13041: resolved fixed.
2012-01-17 21:34:26 -08:00
Alena Prokharchyk 56b3561033 bug 12856: network offerings with services w/o providers support
status 12856: resolved fixed
2012-01-17 16:17:09 -08:00
Kelven Yang 3612fc12c8 bug 11428: remove the constraint based on customer's feedback, we will allow creating volume from a snapshot that was originally taken from root volume. Customers should be aware that when the volume is attached as a data volume, some partitions that were originally created as a root volume may not be recognized by the guest OS 2012-01-17 16:10:20 -08:00
prachi cf7469241f Bug 12822 - CreatePhysicalNetwork API shouldn't return success when zone is Enabled
Changes:
- Physical Network can be created pnly when the Zone is in disabled state
2012-01-17 14:56:22 -08:00
prachi 189822da50 Bug 12592 - createZone: zone should be added in Disabled state
- Zone will be Disabled by default when created using createZone API
2012-01-17 14:56:21 -08:00
Alena Prokharchyk 83400cd15f bug 12776: if there are multiple objects involved in resource creation, verify that they belong to the same account
status 12776: resolved fixed
2012-01-17 13:40:37 -08:00
Alena Prokharchyk c87c3bc665 bug 12065: verify that provider supports service capability
status 12065: resolved fixed
2012-01-17 12:39:07 -08:00
Alena Prokharchyk bda032b874 bug 12760: generate vm.destroy event when vm goes from Stopped to Expuning state
status 12760: resolved fixed
2012-01-17 10:38:52 -08:00
kishan bad573168e Bug 12639: while logging events, hide value for configs containing password string in config name
Status 12639: resolved fixed
Reviewed-By: Nitin

Conflicts:

	server/src/com/cloud/configuration/ConfigurationManagerImpl.java
2012-01-17 15:45:00 +05:30
Sheng Yang 200f8e4d14 bug 13100: Handle the multiply source nat for different network
The original method of testing source nat didn't consider the situation that
multiply source nat ip can be passed into the function because they belonged to
the different networks.

status 13100: resolved fixed
2012-01-17 01:02:51 -08:00
kishan 550a0f98a9 Bug 13075: To get last alert, use offset 0 instead of 1
Status 13075: resolved fixed
Reviewed-By: Nitin
2012-01-17 11:52:03 +05:30
frank c6c711affe Bug 13038 - Host allocation state changes after the Management server restart
status 13038: resolved fixed
2012-01-16 16:41:58 -08:00
anthony b20147a4b4 only create new sshkey if user is cloud 2012-01-16 14:55:52 -08:00
Alena Prokharchyk f0c4980dff bug 13110: use Ternary data structure when build search criteria
status 13110: resolved fixed
2012-01-16 14:15:28 -08:00
prachi 3a72de6d76 Bug 13085 - Traffic types of a deleted physical network should not be present in the "physical_network_traffic_types" table
Changes:
- Added deleteTrafficTypes while deleting a physical network.
2012-01-16 12:19:08 -08:00
Alena Prokharchyk a5900368b6 bug 13023: fixed listAccounts to return all accounts the user is authorized to see
status 13023: resolved fixed
2012-01-16 11:45:02 -08:00
Edison Su a07188b023 bug 9737: prevent from taking snapshot on system vm if the hypervisor is kvm, as system vm has raw disk, which is un-snapshotable.
status 9737: resolved fixed
2012-01-16 10:44:40 -08:00
Abhinandan Prateek e6161ac502 bug 12979: anonymous searches now allowed 2012-01-16 20:03:00 +05:30
Nitin Mehta 8a3a4ab9c0 bug 13096 Make capacity deletion for pod deletion more robust.
Reviewed by : Kishan.
2012-01-16 14:29:51 +05:30
Murali reddy 9f428e3817 bug 13054: resource state transition exception while deleting VPX host
status 13054:resolved fixed
2012-01-16 14:08:52 +05:30
Abhinandan Prateek 0374e42931 bug 13068: clearing sec grp has a dependency on nic's existing, move the call a bit 2012-01-16 13:50:15 +05:30
Edison Su 1d352f1e2c bug 12148: add checkpoint for storage migration
status 12148: resolved fixed
2012-01-13 15:19:14 -08:00
Nitin Mehta d0e18f68fd bug 13066 Storage over prov factor should be float rather than long which leads to wrong storage calculation
Reviewed by : Kishan.
2012-01-13 20:28:55 +05:30
Abhinandan Prateek be6642bf37 bug 13005: added response object name casuing this 2012-01-13 14:49:43 +05:30
frank f4de2b2cd8 Bug 12956 - Working folder not writeable
change default mount path of OS where mgmt server is running to /var/lib/cloud/managment/mnt
as /var/lib/cloud/management is home directory of user 'cloud', mgmt server can have full permission
to manipulate it

status 12956: resolved fixed
2012-01-12 17:32:14 -08:00
anthony 0156ec7cdd bug 11497:
1. remove Garbagecollection primary storage allocator. other storage allocators fails may because there is primary storage with the same tag, it is not caused by no primary storage capacity.
2. delete template will try to delete templates in secondary storage in the API.

status 11497: resolved fixed

GarbageCollecting

Conflicts:

	server/src/com/cloud/template/HyervisorTemplateAdapter.java
2012-01-12 16:20:44 -08:00
Alena Prokharchyk c0f87a25fd Control traffic type is not tight to the physical network 2012-01-12 15:54:30 -08:00
Edison Su 3aa9a312b4 seems netapp part of code is missing due to merge
Revert "bug 10837: rename api related to netapp"

This reverts commit 5db6b500dd1bbb96bfddbd7eda6cf1f616e2e0f9.

Conflicts:

	api/src/com/cloud/api/commands/MigrateVolumeCmd.java
	client/tomcatconf/commands-ext.properties.in
2012-01-12 15:17:27 -08:00
Kelven Yang b1376e1f04 bug 13021: add a global configuration variable to let control default network adapter type inside system VMs 2012-01-12 14:21:11 -08:00
kishan 474543d623 Bug 10284: Throw exception instead of returnning false for firewall API commands
Status 10284: resolved fixed
Reviewed-By: Nitin
2012-01-12 19:03:34 +05:30
kishan b589e49263 Bug 12929: Added domain_id to event table. Populate domain_id while persisting events. Cleanedup EventUtils.
Status 12929: resolved fixed
Reviewed-By: Nitin
2012-01-12 16:16:06 +05:30
Naredula Janardhana Reddy eb1b709193 Bug 12606: firewall rule validation for icmp source cidr for duplicate entry. 2012-01-12 15:36:42 +05:30
Abhinandan Prateek 26011e6d26 bug 12980: ssl-fix 2012-01-12 11:20:41 +05:30
anthony 4bd58bf751 bug 13012: not sure why id_rsa has passphrase, use the new script to create ssh key, make sure there is no passphrase in the key.
status 13012: resolved fixed
2012-01-11 18:36:03 -08:00
Edison Su 0b6b8f7e46 bug 13000: send Maintanance command to kvm host when unmanage cluster
status 13000: resolved fixed
2012-01-11 17:44:39 -08:00
Edison Su fe667e949e fix Maintenance releated issues with kvm:
1. put host into Maintenance, will send a Maintenance command to host, tell host that do not reconnect to mgt server
2. cancel Maintenance, will ssh into kvm host, and restart cloud-agent, which will reconnect to host
2012-01-11 17:36:58 -08:00
Kelven Yang bcd58e3ae3 Change cluster profiling log level to DEBUG, add more profilers to cluster peer-scan processing 2012-01-11 15:37:35 -08:00
Edison Su 0fac4a2bb1 bug 10380: after finishing download template, caculate checksum and report to mgt server
status 10380: resolved fixed
2012-01-11 15:05:52 -08:00
Sheng Yang c4677d5f80 Fix NPE in checkVirtualNetworkCidrOverlap() 2012-01-11 14:27:00 -08:00
Sheng Yang 804cfaec46 Fix some testcases 2012-01-11 13:51:43 -08:00
Sheng Yang 129a75974f Replace some CloudRuntimeException with InvalidParameterException
Most during ip check.
2012-01-10 19:02:31 -08:00
Sheng Yang 73dbaf4c9f bug 12997: Prevent creating LB and firewall rule on different provider
status 12997: resolved fixed
2012-01-10 19:02:31 -08:00
Alena Prokharchyk 3c49258d0e Add Control traffic type automatically as a part of createPhysicalNetwork call 2012-01-10 15:43:15 -08:00
Edison Su 9bcb2affff bug 12139: add a way to specifiy which hypervisor used to start system vm:
Admin can either configure system.vm.default.hypervisor which is a global configuration for all zones, or call updatezone add defaultSystemVMHypervisorType
status 12139: resolved fixed
2012-01-10 15:11:50 -08:00
Alena Prokharchyk b1c60b9d60 bug 12964: createPhysicalNetwork/addTrafficType is no longer a part of createZone API 2012-01-10 13:55:09 -08:00
Sheng Yang 3a6f94f108 bug 12987: Fix NPE for check cidr
status 12987: resolved fixed
2012-01-10 13:00:15 -08:00
Alena Prokharchyk e6080436cf bug 12926: fixed regression in enableStaticNat code introduced by preserve ip fix 2012-01-10 12:17:13 -08:00
Sheng Yang 8f2cd77c87 bug 12931: Add conserve mode in network offering response 2012-01-10 11:48:21 -08:00
Abhinandan Prateek 5b9527ccd1 bug 12965: donot send command to pool if no host is up and enabled. (This condition needs to be reviewed, Nitin will initiate a disucssion and file a separate bug for it) 2012-01-10 15:34:38 +05:30
Abhinandan Prateek eb4cfe063a bug 12916: warning user if he tried to move the VM across zones 2012-01-10 10:49:18 +05:30
Abhinandan Prateek 3a2d0b1ec6 bug 12918: don't allow movement within same account 2012-01-10 10:39:03 +05:30
Sheng Yang 4d82413a66 Remove the check against guest network when adding pod
Seems we don't want to do this.
2012-01-09 16:50:48 -08:00
Kelven Yang 6b8ff93330 Add storage network support at VMware resource 2012-01-09 16:44:23 -08:00
Sheng Yang 5886109fb9 bug 12556: Check guest network cidr when add pod 2012-01-09 16:42:57 -08:00
Sheng Yang 08a1d9ece1 Add default physical network name for server-setup.xml 2012-01-09 16:27:14 -08:00
Sheng Yang 861fdbee17 bug 12556: Add more CIDR checking when create network with specify CIDR
Pod and vlan creation have already got them.

status 12556: fixed resolved
2012-01-09 16:27:00 -08:00
frank f449cd7350 Bug 12771 - management-server.log displays ipmi related credentials in plain text
status 12771: resolved fixed
2012-01-09 14:42:01 -08:00
Alena Prokharchyk adaea570e4 bug 12934: added name to physical network
status 12934: resolved fixed
2012-01-09 14:20:37 -08:00
Alena Prokharchyk 223497baa4 bug 12877: fixed pagesize=-1 behavior
status 12877: resolved fixed
2012-01-09 13:26:12 -08:00
frank 5ea56cdfeb Bug 12777 - Add storage network configuration into CloudStack
polish API per Alena's review
2012-01-09 11:06:21 -08:00
frank 391f3e8b30 Bug 12777 - Add storage network configuration into CloudStack
fix typo: changing ListTafficTypeImplementorsCmd to ListTrafficTypeImplementorsCmd
2012-01-09 10:53:08 -08:00
Alena Prokharchyk c581506103 bug 12306: list* command revamp 2012-01-09 10:07:42 -08:00
kishan 5dc4a70b90 Bug 12850: Allow accounts in child domains to create Vms in zones owned by parent domain
Status 12850: resolved fixed
Reviewed-By: Abhi
2012-01-09 19:32:26 +05:30
Kelven Yang 89d0e29797 bug 12798: when VM is stopped, when sending command to storage pool, make sure last_host is tried first 2012-01-06 19:15:29 -08:00
Kelven Yang bde008ed7e bug 12787: improve worker VM cleanup in snapshot operation 2012-01-06 19:15:29 -08:00
frank 721ced96ec Bug 12777 - Add storage network configuration into CloudStack
fix an additional comma blocking Ant on Windows
2012-01-06 16:54:51 -08:00
Sheng Yang ac0760ecba Fix server-setup.xml processing 2012-01-06 14:21:32 -08:00
Sheng Yang 90066f1c12 Remove conserve-mode restriction
Multiply provider can be used for conserve mode.
2012-01-06 13:44:19 -08:00
frank 4bb580de86 Bug 12777 - Add storage network configuration into CloudStack
new API: UpdateStorageNetworkIpRangeCmd

Bug 12777: resolved fixed
2012-01-06 11:07:15 -08:00
frank ea422af8a9 Bug 12777 - Add storage network configuration into CloudStack
Let StorageGuru inherit PodBaseNetworkGuru
2012-01-06 11:07:14 -08:00
frank ec7c22f5c7 Bug 12777 - Add storage network configuration into CloudStack
new API: ListTafficTypeImplementors
2012-01-06 11:07:14 -08:00
frank 51dc4aff80 Bug 12777 - Add storage network configuration into CloudStack
move cidr from op_dc_storage_network_ip_address to dc_storage_network_ip_range
2012-01-06 11:06:18 -08:00
frank f72940e041 Bug 12777 - Add storage network configuration into CloudStack
most finish
2012-01-06 11:06:18 -08:00
frank 0b01c5dc1a Bug 12777 - Add storage network configuration into CloudStack
create APIs
2012-01-06 11:06:17 -08:00
Sheng Yang aa8bf6c135 Make networkoffering.conserve_mode not a required parameter for API
Also fix some NPEs
2012-01-06 11:02:13 -08:00
Murali reddy a4cabad669 bug 12911, 12912, 11417: netscaler SDX based dynamiac load balancer provisioning
status 12911, 12912, 11417: resolved fixed
2012-01-06 20:46:31 +05:30
Naredula Janardhana Reddy c46591f814 bug 12917: spell check. 2012-01-06 20:05:42 +05:30
Naredula Janardhana Reddy 65f84f4321 bug 12917: security groups - icmp type/code validations. 2012-01-06 20:04:14 +05:30
Naredula Janardhana Reddy 6aa0560d37 bug 12917: security groups - icmp type/code validations. 2012-01-06 19:33:07 +05:30
kishan d1dc819df5 Bug 12904,12906,12907: Consider keyword while listing Clusters, Zones and hypervisorCapabilities
Status 12904,12906,12907: resolved fixed
Reviewed-By: Nitin
2012-01-06 18:10:27 +05:30
Sheng Yang 89ca2fe48e bug 12656: Add restriction for network update and new rules
status 12656: resolved fixed
2012-01-05 21:08:41 -08:00
Sheng Yang ba23973d53 bug 12656: Refactor IP associate process
Introduce the concept of Ip Deployer. The IP deployer would be responible for
apply IP to the element. Most element's IP deployer is itself, but it can be
someone else if we want to implement inline mode in the future.
2012-01-05 21:08:28 -08:00
Sheng Yang 5e60228d2b bug 12656: Add conserve mode for network offering
Conserve mode means, we can use same IP for different purposes, in order to
"conserve" ip resources. But in this offering, all the service providers should
be the same, and the network created from this offering may be prohibited from
update to different network offering whose services are provided by different
service providers - because different service providers would need different IPs
for different services.

If user want to update the "conserve mode" network with the network offering
that has different service providers, each public IP should have only one usage,
only them the update is allowed.
2012-01-05 21:08:23 -08:00
Naredula Janardhana Reddy d683e30e28 bug 12891: added cookie to destination if it is http based sticky. 2012-01-06 10:17:55 +05:30
Kelven Yang 74c2506f42 bug 12843: initialize uuid column for tables that have default data content 2012-01-05 17:38:50 -08:00
Edison Su 1648bd800c bug 12899: mgt server needs to pass down the storage pool uuid when creating template from volume
status 12899: resolved fixed
2012-01-05 16:42:45 -08:00
Kelven Yang 61410b3125 bug 12709: extend cluster keep-alive timeout to 2.5 minutes to make it resistance to temporary management server hiccups 2012-01-05 15:01:11 -08:00
Kelven Yang dcdd87b30f bug 12709: add management server active fencing 2012-01-05 15:00:35 -08:00
Kelven Yang 323a07d7e2 bug 12709: incremental fix - profiling management server clustering heartbeat activities 2012-01-05 14:59:45 -08:00
Kelven Yang 85ad8ffca3 rename com.cloud.identity package to com.cloud.uuididentity as a previous deleted com.cloud.Identity name make git confused with com.cloud.identity under linux systems 2012-01-05 14:52:16 -08:00
Alena Prokharchyk e1cf8e4933 Added new parameter to listCapabilities identifying if regular user can create projects 2012-01-05 13:32:36 -08:00
Murali reddy ec9d3508ef bug 11417: support for netscaler SDX
- acquire zone public IP, and use it to make VPX provisioned on SDX to be part of public network
2012-01-05 23:31:50 +05:30
kishan 6afaf4ff69 Bug 12723: Fixed typo
Status 12723: resolved fixed
Reviewed-By: Nitin
2012-01-05 14:06:54 +05:30
Alena Prokharchyk 0538872003 bug 12700: ipAssoc - owner of the ip is the owner of the guest network
status 12700: resolved fixed
2012-01-04 15:00:04 -08:00
Alena Prokharchyk e682c9bae1 bug 12691: allow to have more than one network created from the same network offering
status 12691: resolved fixed
2012-01-04 14:16:01 -08:00
Murali reddy 76d50fb0bf bug 11417: support for netscaler SDX
- fixed bug in the destroying the VPX instance on SDX
- added method to acuire priavate IP from the zone, needed for the management IP of provisioned LB appliane
2012-01-05 02:39:46 +05:30
Alena Prokharchyk d4e0fbda83 bug 12686: added search by zoneId to the listNetworkOfferings 2012-01-04 12:31:59 -08:00
Abhinandan Prateek 2778deacb6 bug 8962: usage related changes 2012-01-04 16:41:18 +05:30
kishan 9b3f78254d Bug 12845: When moving Vm to another account, add volume create usage event with size and template/offering id
Status 12845: resolved fixed
Reviewed-By: Abhi
2012-01-04 16:34:52 +05:30
Jessica Wang 64a54f32a5 bug 12199: error message returned from API shouldn't include double quote. That's invalid JSON format. 2012-01-03 17:53:47 -08:00
Nitin Mehta cec3ac5e38 bug 12782 When host is put in maintenance remove the capacity entries in DB. When maintenance is cancelled repopulate the capacity entries in the DB. This is done to not account for the capacity of hosts in maintenance in the dashboard. Also for the capacity checker thread do not calaculate capacities for the hosts in maintenance.
Reviewed by : Kishan.
2012-01-03 17:21:05 +05:30
kishan 294ad89c38 Bug 12746: During network offering update log usage events to reflect the change in network ofeering usage
Status 12746: resolved fixed
Reviewed-By: Nitin
2012-01-02 18:16:39 +05:30
Abhinandan Prateek 4f9cbdaadb bug 11303: passing the request params to the authenticators, callingh authenticators in a configurable chain 2012-01-02 14:55:26 +05:30
Abhinandan Prateek a60d8cea86 bug 12530: moved the initial full sunc from the cron to host connect. 2012-01-02 13:40:33 +05:30
Alena Prokharchyk 217aceb9ef bug 12753: retry 1 more time when start fails for the virtual router
status 12753: resolved fixed
2011-12-30 14:45:41 -08:00
Sheng Yang 1bc44a578d bug 12705: Don't set first ip if it's not source NAT
It would happen with first ip of nics other than first public nic.

status 12705: resolved fixed
2011-12-30 14:06:17 -08:00
Alena Prokharchyk d56d1f699d bug 12790: use processDisconnect() when disconnect the agent during agent LB process
status 12790: resolved fixed

Conflicts:

	api/src/com/cloud/host/Status.java
	server/src/com/cloud/agent/manager/AgentManagerImpl.java
	server/src/com/cloud/agent/manager/ClusteredAgentManagerImpl.java
2011-12-30 10:03:56 -08:00
Abhinandan Prateek 9333acffb4 bug 12530: ignore VMs in starting state, as the first sync may happen after the managment server has already issued start for system VMs 2011-12-30 10:35:08 +05:30
Alex Huang 37e7c3d125 bug: 12805 Moved the managers into the right order 2011-12-29 16:42:03 -08:00
Alena Prokharchyk e4debe7af4 Fixed error message when network fails to implement 2011-12-29 11:18:03 -08:00
kishan ccc4cd820f Bug 12757: Clear cluster GUID during cluster delete
Status 12757: resolved fixed
Reviewed-By: Abhi
2011-12-29 16:34:05 +05:30
Abhinandan Prateek 8173474a42 bug 8962: done some testing on basic networks 2011-12-29 12:37:28 +05:30
Alena Prokharchyk 1d0429233d bug 12361: db upgrade for network offering22s 2011-12-28 15:52:43 -08:00
frank 873bef6970 Bug 12701 - Remove pricing information from default service offering descriptions
status 12701: resovled fixed
2011-12-28 15:52:34 -08:00
anthony 49608d8fdc SWIFT : fixed install path 2011-12-28 12:09:09 -08:00
anthony 1f7a811bac SWIFT : sync swift with secondary storage 2011-12-28 11:47:55 -08:00
Alena Prokharchyk ba1f21c29e Unittest for db upgrade 2011-12-28 10:34:29 -08:00
Naredula Janardhana Reddy 812b4782a2 Bug 9237: Checking private ip range with public ip range overlap and viceversa while adding physical resources.
Reviwed by: Abhi
2011-12-28 12:11:34 +05:30
Abhinandan Prateek b2079346d6 bug 8962: added params networkids and securitygroups in case the moved VM needs to be part for additional networks and sec grps respectively 2011-12-28 11:39:28 +05:30
Alena Prokharchyk 6fd49a265c Fixed unittest 2011-12-27 15:34:54 -08:00
Nitin Mehta a1f6cf5f70 bug 12732 Send the storage pool comands to the hosts whose agent is Up and the resource state is Enabled
Reviewed by : Kishan.
2011-12-27 13:35:26 +05:30
Abhinandan Prateek 5e4acc2a55 bug 12530: introduce initial full sync; cleanup syncronization; 2011-12-27 11:13:38 +05:30
anthony b2b653f7d4 SWIFT : fix, create vm on zone2 2011-12-23 16:45:18 -08:00
anthony 6e259b2cb1 SWIFT : check swift in storage allocator 2011-12-23 15:45:29 -08:00
Sheng Yang 79d2450e6c bug 12719: Use getProviderForServiceInNetwork() instead of listProvidersForServiceForNetworkOffering() in applyIpAssociations()
Also add check for firewall service provider and lb service provider.
2011-12-23 12:18:15 -08:00
anthony 5346a61917 SWIFT : API refine 2011-12-23 11:40:52 -08:00
Murali reddy df21338b08 bug 12719:When restartNetwork() is called ,IpAssocCommand() is called for the public ipaddresses that are owned by Netscaler 2011-12-23 23:11:45 +05:30
Murali reddy f259fec471 bug 12742:Static NAT IP address is being programmed as Source NAT Ip address on the Virtual Router
reviewed-by:Abhinandan.Prateek@citrix.com janardhan.reddynaredula@citrix.com
2011-12-23 18:05:58 +05:30
kishan 37a8d83b6a bug 5412: Use same search criteria for listing pending events instead of creating a new one
status 5412: resolved fixed
reviewed-by: Nitin
2011-12-23 17:42:17 +05:30
kishan 51d77c259d bug 5412: Use same search criteria for listing pending events instead of creating a new one
status 5412: resolved fixed
reviewed-by: Nitin
2011-12-23 17:42:17 +05:30
anthony d462e14e01 SWIFT : remove template_zone_ref when delete template 2011-12-22 17:53:18 -08:00
anthony e9987ecb15 SWIFT : fixed create vm on zone 2 2011-12-22 14:51:23 -08:00
anthony 12eae7148c SWIFT: listSwift refine 2011-12-22 14:28:27 -08:00
anthony fea9ca582c SWIFT : add listSwift api 2011-12-21 16:55:08 -08:00
anthony 646d95a846 bug 12364: fixed export template with swift
status 12364: resolved fixed
2011-12-21 16:07:06 -08:00
anthony 2d2505d449 bug 12322: SWIFT, update template_zone_ref after update template to swift
status 12322: resolved fixed
2011-12-21 11:20:38 -08:00
Abhinandan Prateek df83487be9 bug 8962: adding code for basic networks 2011-12-21 17:18:31 +05:30
kishan 55f59f1855 bug 11234: Get end millis from successful usage jobs only
status 11234: resolved fixed
reviewed-by: Murali
2011-12-21 16:40:55 +05:30
kishan 293535cba1 bug 12602: Removed system account Id condition which is resulting in search by domainId
status 12602: resolved fixed
reviewed-by: Abhi
2011-12-21 16:12:28 +05:30
Nitin Mehta b675a01741 bug 12113: DeployVm: when template download from Secondary to Primary storage fails try a couple of times first and then fail.
Reviewed by : Kishan.
2011-12-21 11:33:30 +05:30
Alena Prokharchyk e43dcfde56 bug 12695: fixed verifyNetwork capabilities
status 12695: resolved fixed
2011-12-20 19:11:25 -08:00
Edison Su fb05f4a927 bug 12143: set volume "folder" to migration destination pool's path
status 12143: resolved fixed
2011-12-20 17:16:46 -08:00
Edison Su 009fa8c079 bug 12158: only allow storage migration through migratevm api, iff no data disks attached to the vm. As data disks may have different service offering with the specified storage pool
status 12158: resolved fixed
2011-12-20 17:12:09 -08:00
Alena Prokharchyk 7a7a62d7c8 updateNetwork: don't implement network rules and elements for the networks in Allocated state 2011-12-20 16:03:10 -08:00
Edison Su c067763075 bug 12604: if there are actually snapshots creating on the volume, then don't move the snapshot
status 12604: resolved fixed
2011-12-20 15:12:31 -08:00
Edison Su b4b70a9856 bug 12657: don't hold a vm lock when taking snapshot
status 12657: resolved fixed
2011-12-20 10:57:59 -08:00
Murali reddy ca2ad90207 bug 12664: not able to enable static nat
status 12664: resolved fixed

added IP assoc to static nat service provider before apply static nat rules
2011-12-20 21:24:01 +05:30
kishan e2cb4f94d6 bug 12337: Encrypt only password in host_detail table. Removed unused and duplicate references of HostDetailDao
status 12337: resolved fixed
reviewed-by: Abhi
2011-12-20 19:28:41 +05:30
Abhinandan Prateek 462ad5cfc2 bug 8962: network related improvements 2011-12-20 18:31:37 +05:30
kishan a2ed3fa5e2 bug 12337: encrypt Hidden category config values only
reviewed-by: Abhi
2011-12-20 15:07:22 +05:30
kishan cfb48fb7b7 bug 12337: encrypt Hidden category config values only 2011-12-20 13:01:06 +05:30
anthony 1bde4520e1 SWIFT : export volume 2011-12-19 20:04:45 -08:00
anthony 93546c7cf7 SWIFT: swift id may be not 1 2011-12-19 18:33:09 -08:00
Alena Prokharchyk 1b34abf374 restartNetwork: throw exception when there are no clusters in the zone configured 2011-12-19 17:06:35 -08:00
Alena Prokharchyk 3c93b0b8e4 Removed unused imports 2011-12-19 17:05:32 -08:00
Alena Prokharchyk 42a460023e Don't allow to create snapshotPolicy for disabled account and suspended/inactive project 2011-12-19 16:30:46 -08:00
Alena Prokharchyk ceb0a918a1 createTemplate/createSnapshot for project - allow to execute for Projects in Active state only 2011-12-19 16:20:40 -08:00
frank 8ef2724c26 better log when deploy vm failed 2011-12-19 15:50:11 -08:00
Sheng Yang 6d320507fd bug 12667: Use gateway ip for redundant router as DNS
status 12667: resolved fixed
2011-12-19 15:45:34 -08:00
anthony bb11bf9efd SWIFT : fixed create template from snapshot 2011-12-19 15:37:51 -08:00
Edison Su aac9c540af bug 12625: don't put volume into snapshotting state if we are taking snapshot on it
status 12625: resolved fixed
2011-12-19 15:19:19 -08:00
Alena Prokharchyk a19b1d92ce Do services validation when create PF/LB/Firewall rules 2011-12-19 14:24:35 -08:00
Alena Prokharchyk 3169a54263 bug 12644: don't allow to add new users to suspended/disabled projects
status 12644: resolved fixed
2011-12-19 13:42:03 -08:00
Sheng Yang a269b089ae bug 12608: NaaS: Don't shutdown elements if cleanup=false
We can use the restartNetwork mechanism to recover the disconnected redundant
router.

Also disable HA for redundant router. Admin would take responsibilty to recover
the failure router, because redundant routers themselves are one layer HA.

status 12608: resolved fixed
2011-12-19 13:29:48 -08:00
Alena Prokharchyk 8d27ecf4de bug 12635: enable project account when activate the project
status 12635: resolved fixed
2011-12-19 12:23:41 -08:00
Alena Prokharchyk a12c358842 bug 12624: don't allow to delete the account when he is the owner for project(s)
status 12624: resolved fixed
2011-12-19 12:02:29 -08:00
Alena Prokharchyk 1fbff5bd05 bug 12607: fixed error message when resource limit exceeds
status 12607: resolved fixed
2011-12-19 11:17:00 -08:00
Alena Prokharchyk f3f752b5be bug 12624: fixed list public isos for regular user
status 12624: resolved fixed
2011-12-19 10:42:18 -08:00
Alena Prokharchyk 742c9c9a45 bug 12615: fixed resource limits - treat -1 as unlimited for domain limit
status 12615: resolved fixed
2011-12-19 10:24:25 -08:00
Murali reddy 4f058feef2 bug 12276: public IP's should be associated with a network service provider depending on the network rules for which IP is used for 2011-12-19 23:48:52 +05:30
anthony a85864e160 SWIFT : do not sync template to swift if it is marked as destroyed in secondry stoarge 2011-12-16 21:28:39 -08:00
Alena Prokharchyk 3c3bd4371a createNetwork: gateway/netmaks don't require startIp/endIP anymore. The IP ranges can be added later 2011-12-16 14:43:00 -08:00
Alena Prokharchyk 6049afa5fe Revert "bug 12426: return account information for Shared networks"
This reverts commit 150f9c62ce381099a27bc084007c7b947117f47c.

Confirmed with Will - we shouldn't return accountId info for shared networks as these types of networks belong to system and available for everyone in the domain/zone
2011-12-16 14:43:00 -08:00
Alena Prokharchyk 4cb6fcc17a bug 12591: fixed updateDomain
status 12591: resolved fixed
2011-12-16 11:54:47 -08:00
Alena Prokharchyk 1211232161 bug 12217: fixed listProjectAccounts by projectId
status 12217: resolved fixed
2011-12-16 11:20:41 -08:00
Murali Reddy 2e6b62cc43 fixing NetScaler/F5 sticky code 2011-12-16 22:54:37 +05:30
Edison Su da5fb5097c put the default network as cloudbr0, if not specified 2011-12-15 17:06:32 -08:00
Alena Prokharchyk be696bd283 No guest vlan is requried when add public IP range 2011-12-15 14:56:32 -08:00
Sheng Yang 5102279824 bug 12586: Remove the duplicate sync code of fullHostSync()
fullHostSync() is messed up.

The sync operation have been done twice, and for the second time, the original
info has already cleared, so default value "Stopped" is created, then result in
stop all the vms.

The fullHostSync() is skipped for Xen, so Xen don't have this issue.

status 12586: resolved fixed
2011-12-15 14:47:48 -08:00
anthony 79e0f1f39e SWIFT : refine api 2011-12-15 12:52:58 -08:00
anthony 235c5aa6eb SWIFT: api refine 2011-12-15 12:37:34 -08:00
Prasanna Santhanam dac505194c Changes to PhysicalNetworkTrafficType to accomodate the simulator hypervisor type 2011-12-15 19:12:21 +05:30
kishan 36c369599d bug 8150: log template delete event before marking it for GC
status 8150: resolved fixed
reviewed-by: Nitin
2011-12-15 17:48:25 +05:30
kishan 3503c37f68 updated license 2011-12-15 16:51:55 +05:30
kishan c3ed426837 bug 12206: Added op_user_stats_log table to store historic user stats. Network stats update thread will update aggregate bytes and log the entry in this table. Mgmt server with min id will run this job.
status 12206: resolved fixed
reviewed-by: Nitin
2011-12-15 16:46:41 +05:30
anthony 23f22259ed SWIFT: disable copy template in API level in Swift setup 2011-12-14 20:11:07 -08:00
anthony fb0f77711f SWIFT: fixed delete template/iso 2011-12-14 19:53:56 -08:00
Sheng Yang ab50f65ed8 bug 12483: Discard zone's cidr
status 12483: resolved fixed
2011-12-14 17:23:24 -08:00
Edison Su 49fb9049fb bug 12446: fix typo
status 12446: resolved fixed
2011-12-14 16:51:38 -08:00
Alena Prokharchyk 2d169039ff firewall.rule.ui.enabled is Enabled by default 2011-12-14 16:42:58 -08:00
Alena Prokharchyk 8674444cb9 Fixed deployVm for regular user - he couldn't use zone wide networks 2011-12-14 16:17:33 -08:00
Nitin Mehta 3305498bd3 bug 12113: DeployVm: when template download from Secondary to Primary storage fails, we retry the number of hosts in that cluster. Instead try on 1 host on each retry attempt and shuddle the hosts for every attempt.
Reviewed by : Kishan.
2011-12-14 13:16:41 +05:30
Sheng Yang e393dcd069 server-setup.xml: Add physical network enabled by default
Also add uuid for physical networks and zones. And fix server-setup.xml example.
2011-12-13 18:33:05 -08:00
anthony 575d453e53 SWIFT: set down_load_delay to 10000 2011-12-13 18:07:37 -08:00
anthony 1821019b7b SWIFT: fixed listtemplate/iso 2011-12-13 18:07:37 -08:00
anthony 2413eae6a5 SWIFT: fixed error handling 2011-12-13 18:07:37 -08:00
Edison Su a7b9f00a71 fix meta data issue on direct tagged network, where router's public ip address is null 2011-12-13 17:24:25 -08:00
Sheng Yang 3263fd596e bug 10904: add a global config to enable/disable automatically add the vm to the default security group
status 10904: resolved fixed
2011-12-13 14:48:44 -08:00
kishan f3cd93f835 bug 11899: Added events for Zone create, update and delete
status 11899: resolved fixed
reviewed-by: Nitin
2011-12-13 19:29:44 +05:30
kishan f3001534d5 log message before host resource is set. Otherwise log will show same resource as changed from and to 2011-12-13 16:35:21 +05:30
kishan 8fe917be9d bug 12406: Throw execption instead of returning false during cluster delete
status 12406: resolved fixed
reviewed-by: Nitin
2011-12-13 16:25:21 +05:30
kishan 6f9bc008f4 bug 12481: Added account ID to listusers response
status 12481: resolved fixed
reviewed-by: Nitin
2011-12-13 15:54:58 +05:30