4604 Commits

Author SHA1 Message Date
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