Alex Huang
47f114ad96
faster implementation of the log renderer
2011-06-22 16:34:14 -07:00
Sheng Yang
cba8e16b61
Catch more exception
2011-06-22 14:46:15 -07:00
Sheng Yang
64b2293a50
Add more _selector.close()
...
Also add more log.
2011-06-22 14:24:12 -07:00
Alex Huang
38ebac207b
bug 10375: Added logging for exception causes
2011-06-22 11:51:54 -07:00
Alex Huang
573c054673
bug 10375: Added logging for exception causes
2011-06-22 11:51:35 -07:00
Alex Huang
a698dbe513
some connection logging was missing
2011-06-21 14:43:31 -07:00
Alex Huang
0cf9d8b788
some connection logging was missing
2011-06-21 14:42:12 -07:00
Alex Huang
22d5eac400
new log4j
2011-06-21 10:15:21 -07:00
Alex Huang
9d1523e6d6
faster checks in the logging. Also better description
2011-06-21 09:56:01 -07:00
Alex Huang
5771b35a7a
new log4j jar files and now the ability to get rid of the stupid cglib stack traces in our logs
2011-06-21 01:12:06 -07:00
Sheng Yang
6eb9c428bb
SSL: Fix loop in when BUFFER_UNDERFLOW
...
Add 10 times as limit, as well as add the missing count=-1 judgement.
2011-06-20 18:38:14 -07:00
Sheng Yang
da0379149a
SSL: Fix loop in when BUFFER_UNDERFLOW
...
Add 10 times as limit, as well as add the missing count=-1 judgement.
2011-06-20 18:36:35 -07:00
Alex Huang
a58d730e34
bug 10368: Print out the hash code of the db connection instead of the toString(). Changed the transaction in changeToStart() method to be of a shorter interval so it won't cause so many db connection exceptions
2011-06-20 16:31:32 -07:00
Alex Huang
e4f42d0e52
bug 10368: Print out the hash code of the db connection instead of the toString(). Changed the transaction in changeToStart() method to be of a shorter interval so it won't cause so many db connection exceptions
2011-06-20 11:30:23 -07:00
Alex Huang
87573cad52
added connection logging to check for db connection losses
2011-06-19 06:31:56 -07:00
Alex Huang
c9a58ba36e
added connection logging to check for db connection losses
2011-06-19 06:31:33 -07:00
Alex Huang
63113661d1
bug 10260: propagate ha and deployment planner fixes
2011-06-13 17:33:09 -07:00
Alex Huang
d39048faca
bug 10260: propagate ha and deployment planner fixes
2011-06-13 17:33:09 -07:00
Alex Huang
5df1aa02f4
bug 10094: distinguish between no transition from one state to another vs there's a concurrent operation
2011-06-13 17:33:09 -07:00
Alex Huang
1561275838
bug 10260: propagate ha and deployment planner fixes
2011-06-13 17:35:34 -07:00
Alex Huang
1d7e70acd1
bug 10260: propagate ha and deployment planner fixes
2011-06-13 17:35:20 -07:00
Alex Huang
f93612df37
bug 10094: distinguish between no transition from one state to another vs there's a concurrent operation
2011-06-13 17:33:51 -07:00
Alex Huang
283a559f03
Changed disconnection messages to be logged at debug level because there's been various reports that agents are dropping connections. This should help in figuring it out.
2011-06-13 11:40:04 -07:00
Alex Huang
2a9dc74645
Changed disconnection messages to be logged at debug level because there's been various reports that agents are dropping connections. This should help in figuring it out.
2011-06-13 11:39:39 -07:00
Alex Huang
c62643536a
Added new search
2011-06-12 06:04:27 -07:00
alena
ef3ea765bf
bug 9697: encode api response values
...
status 9697: resolved fixed
Do encoding for ASCII chars only (done to eliminate problems with multiple language support)
To disable encoding, set "encode.api.response" to false
2011-06-10 18:10:44 -07:00
alena
cd7c74538b
bug 9697: encode api response values
...
status 9697: resolved fixed
Do encoding for ASCII chars only (done to eliminate problems with multiple language support)
To disable encoding, set "encode.api.response" to false
2011-06-10 17:45:15 -07:00
Alex Huang
9c72759007
bug 9651: update network working now
2011-06-09 11:54:47 -07:00
Alex Huang
b07835c557
bug 9651: update network working now
2011-06-09 11:54:12 -07:00
Alex Huang
b1de7ece25
bug 9651: we're saving the tags twice.
2011-06-08 15:55:37 -07:00
Alex Huang
575ac62926
bug 9651: propagating 3fd50fd8634958727f4c64c9d1fb7fa27e07e4c8
2011-06-08 15:58:01 -07:00
Sheng Yang
ff86c865e2
bug 10135: Add SSL encryption for non-NIO link
...
Now Link.write() support SSL encryption. And since there is no user of
Link.read(), we comment it out.
2011-06-04 21:27:18 -07:00
Alex Huang
d9e0bcfa1e
bug 10126: Renamed getPodId() to getPodIdToDeployIn()
2011-06-03 22:17:08 -07:00
Alex Huang
2dbb8eb502
bug 9651: Make same VLAN work on two different nics
2011-06-01 17:07:44 -07:00
Alex Huang
8754f8fab8
bug 9651: checked in missing files
2011-05-31 10:27:50 -07:00
Alex Huang
7c74c3a51d
bug 9651: network tagging changes working now
2011-05-31 09:49:27 -07:00
Alex Huang
0ab12edd6c
network tagging changes
2011-05-31 09:49:27 -07:00
Alex Huang
67ff27496d
tags added
2011-05-31 09:48:34 -07:00
Alex Huang
0dfc44582b
bug 9651: Adding network tags
...
Also changes in Request logging.
2011-05-23 15:51:50 -07:00
Alex Huang
ea9703997b
proxy agent
2011-05-17 07:12:58 -07:00
anthony
9c4964bc1b
fixed merge
2011-05-16 16:54:00 -07:00
Edison Su
47380dc20e
fix add host
2011-05-12 15:03:15 -04:00
Sheng Yang
0c1ad8ac88
Fix another "Too many open file open"
...
Resources need to be released before creating new NioClient instance during the
reconnecting.
2011-05-11 16:48:27 -07:00
Jessica Wang
fe8d81e246
bug 9765: This is NOT an UI bug. This is a server-side bug. UI calls DeployVM API with ServiceOfferingID parameter (NOT ServiceOfferingDescription parameter). Then, server-side gets ServiceOfferingDescription by ServiceOfferingID and send it to DomR WITHTOUT escaping it first. DomR doesn't support full range of unicode character set. Therefore, DomR fails to accept metadata that has non-ascii code (error: "vm_data failed"). This check-in will send Unicode-escaped string of metadata "service-offering", "availability-zone" and "local-hostname" to DomR. Data Consumer of VM-data service needs to unescape the content accordingly.
2011-05-10 17:57:44 -07:00
Alex Huang
b2cf4e39ea
propagate fix from 2.2.4
2011-05-05 17:57:06 -07:00
Edison Su
0138d06cf2
load user specified component specification from enviroment.properties: e.g. cloud-stack-components-specification=components-cloudzone.xml
2011-05-05 11:42:11 -04:00
Frank
3b0fb655a9
New hypervisor type
2011-05-04 18:58:57 -07:00
Alex Huang
fba1c95512
bug 9615: Part of the HA cleanup
2011-05-03 16:34:53 -07:00
Chiradeep Vittal
cf05527ba8
merge from zonesfeature
2011-05-03 10:41:32 -07:00
Chiradeep Vittal
303e2a7481
Start of zonesfeature / mycloud/cloudkit
2011-05-03 10:40:17 -07:00
Alex Huang
99bc15f64a
changed getName to getHostname
2011-04-29 08:34:10 -07:00
alena
11ef6bbbe2
bug 9638: fixed bunch of DB upgrade bugs
...
status 9638: resolved fixed
Conflicts:
server/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
utils/src/com/cloud/utils/net/NetUtils.java
2011-04-28 18:30:40 -07:00
Sheng Yang
cf114fc7af
Enable SSL for mgmt servers and agents
...
The port remains 8250.
The keystore saved at /etc/cloud/management/cloud.keystore. We also include one
fail-safe keystore/certificate for fallback if we are unable to generate
certificate and keystore. If we use fail-safe keystore, a warning and calltrace would be show.
Notice you need to upgrade agent, as well as systemVM's images.
2011-04-28 17:41:29 -07:00
Frank
504eb25c37
Intrdouce adapter to template manager.
2011-04-27 14:04:37 -07:00
Kelven Yang
81492dbe04
propagate searching local CIDR fix from 2.2.4 to master
2011-04-27 10:01:35 -07:00
alena
41e5e38fef
bug 9336: securityGroups can be used by other securityGroups in the same domain only; no cross domain SG authentication
...
status 9336: resolved fixed
Following changes were made:
* deleteSecurityGroup/authorizeSecurityGroupIngress - removed account/domainId parameters as SG is uniquely identified by id now
* removed account_name field from securityGroup DB table; removed allowed_security_group/allowed_sec_grp_acct from security_ingress_rule.
These values were used for api response generation only for performance purposes; added caching on API level to improve performance
* Added missing security checks for securityGroups/ingressRules
2011-04-22 11:35:29 -07:00
Kelven Yang
565dfb9809
Add java keystore helper class, prepare for dynamically generating keystore for SSL use
2011-04-18 11:08:07 -07:00
Sheng Yang
227b03fd93
bug 4387: Add maximum limit to the packet, prevent OOME
...
The OOME is due to when server reading the data, it would try to adjust the
reading buffer size according to the "packet length" it read. But if the "packet
length" is some random numbers, server would still try to allocate a part of
very big memory for the reading buffer, result in OOM.
This patch add a 64k limit to sending/receiving the packet. It's the maximum
length one IP datagram can support, and we don't think the request can exceed
this limit. Even if exceed the limit in normal condition, we would aware of it
due to the exception.
Solution has been verified using wget and telnet.
status 4387: resolved fixed
2011-04-15 15:28:43 -07:00
Abhinandan Prateek
efa0417881
bug 5242: adding a host does not return useful error
...
status 5242: closed fixed
2011-04-15 17:28:46 +05:30
Frank
92155522f2
Add license header to files
2011-04-14 11:23:14 -07:00
Kelven Yang
1b9cbd9166
bug 9223, 9224: persist runid to form cluster session, based on cluster session and DB condition to issue isolation notification for self-fencing
2011-04-13 15:13:54 -07:00
Kelven Yang
03afe54084
Regression fixes for adding openNew() to Transaction.java
2011-04-11 17:44:31 -07:00
Kelven Yang
149eb0fade
Use seperate DB connection to handle cluster management
2011-04-11 16:37:58 -07:00
Frank
105db3b15a
Merge branch 'baremetal' to master
...
modifies:
api/src/com/cloud/api/ApiConstants.java
api/src/com/cloud/api/commands/AddHostCmd.java
api/src/com/cloud/api/commands/CreatePodCmd.java
api/src/com/cloud/api/commands/DeployVMCmd.java
api/src/com/cloud/dc/Pod.java
api/src/com/cloud/network/NetworkService.java
server/src/com/cloud/agent/manager/AgentManagerImpl.java
server/src/com/cloud/configuration/ConfigurationManagerImpl.java
server/src/com/cloud/dc/HostPodVO.java
server/src/com/cloud/network/NetworkManager.java
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/vm/UserVmManagerImpl.java
setup/db/create-schema.sql
utils/src/com/cloud/utils/SerialVersionUID.java
2011-04-11 14:21:41 -07:00
anthony
288a36d09f
Merge branch '2.2.4'
...
Conflicts:
api/src/com/cloud/configuration/ConfigurationService.java
core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java
server/src/com/cloud/api/ApiDBUtils.java
server/src/com/cloud/configuration/ConfigurationManagerImpl.java
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
setup/db/db/schema-21to22.sql
setup/db/db/schema-222to224.sql
utils/src/com/cloud/utils/exception/ExceptionUtil.java
2011-04-05 12:04:09 -07:00
Alex Huang
2230c24ab3
check in changes from 2.2.4
2011-04-05 11:01:35 -07:00
Alex Huang
075fba5899
stackmaid is now taskmanager
2011-04-05 10:17:22 -07:00
kishan
5401ee84ba
add support to run scripts on usage DB
2011-04-05 16:11:02 +05:30
prachi
204aa86686
Bug 9043 - VM manual migration - when destination host is out of memory for migration, VMs being migrated remained in 'migrating' state
...
Changes:
- When migration fails we try to do cleanup on the destination host agent. The AgentUnavailableException in this cleanup was not caught.
-Due to that other cleanup like reverting capacity allocated and vm state were skipped.
-Fix is to catch the AgentUnavailableException so that rest of the cleanup can happen.
- Also corrected the exceptions in various cases of migration failure.
- In case the VM is still starting, HA should schedule a retry. Introduced a special migration exception for handling this.
2011-04-04 17:39:27 -07:00
prachi
53f8ebf6f0
Bug 9043 - VM manual migration - when destination host is out of memory for migration, VMs being migrated remained in 'migrating' state
...
Changes:
- When migration fails we try to do cleanup on the destination host agent. The AgentUnavailableException in this cleanup was not caught.
-Due to that other cleanup like reverting capacity allocated and vm state were skipped.
-Fix is to catch the AgentUnavailableException so that rest of the cleanup can happen.
- Also corrected the exceptions in various cases of migration failure.
- In case the VM is still starting, HA should schedule a retry. Introduced a special migration exception for handling this.
2011-04-04 17:30:08 -07:00
Kelven Yang
f14be91167
Apply changes in FOSS because of prioprietary merges
2011-04-01 14:13:38 -07:00
Kelven Yang
6ff40b7e88
allow controllable stack dump in ExceptionUtil.java
2011-03-29 14:04:04 -07:00
Alex Huang
6bd978abfe
bug 9192: fixes the caches that are gone due to configuration server uses the same dao without cache
2011-03-29 11:31:59 -07:00
Alex Huang
f2e692099e
bug 9192: fixes the caches that are gone due to configuration server uses the same dao without cache
2011-03-29 11:31:23 -07:00
Kelven Yang
fa0dd8a228
Allow cluster management confliction detection to handle quick manageemnt server restarts
2011-03-28 15:14:51 -07:00
Kelven Yang
359dc18992
Fix possible duplicated JMX registration issue
2011-03-25 15:16:41 -07:00
Kelven Yang
aadeceaf78
Add a DNS name resolution helper
2011-03-22 10:58:22 -07:00
alena
7c1a6e4884
bug 8831: API/Management server part is done for "Dedicate Network to domain". UI part is left
2011-03-21 18:17:59 -07:00
Kelven Yang
b264866d2e
Perform and alert management.network.cidr configuration on management server startup
2011-03-21 16:46:43 -07:00
Alex Huang
093fa851fa
made the upgrade utility work with the current version
2011-03-18 10:06:38 -07:00
Alex Huang
d3ecf719ce
looks like everything is working except for snapshots
2011-03-18 09:14:05 -07:00
Alex Huang
b272d20d34
fixed junit framework
2011-03-17 10:37:28 -07:00
Alex Huang
d50f2dd9c5
added the concept of system integrity checking before starting up the system
2011-03-16 18:00:22 -07:00
Alex Huang
8bec1e0b9f
added the concept of system integrity checking before a system starts
2011-03-16 17:59:34 -07:00
Frank
bf6a6f0d57
Bug 8208 - bare metal provisioning
...
check role before adding role to LinMin
2011-03-14 14:34:00 -07:00
Frank
e872996084
Bug 8208 - bare metal provisioning
...
get DHCP entry state from DHCP server
2011-03-11 14:09:23 -08:00
Frank
4324efea26
Bug 8208 - bare metal provisioning
...
able to get IP from external DHCP server
2011-03-11 14:09:23 -08:00
alena
3448513465
bug 8666: perform RFC1918 check for cidr of Guest Virtual cidr when 1) Create/Update zone 2) Create guest virtual network
...
status 8666: resolved fixed
2011-03-10 14:06:43 -08:00
Alex Huang
e81f02f9b5
more changes for direct networks
2011-03-09 17:56:11 -08:00
Kelven Yang
a5c21dc130
1) make JMX port configuration in deverloper build, 2) Add property map based dynamic bean
2011-03-09 11:59:13 -08:00
Frank
469280866d
Bug 8208 - bare metal provisioning
...
able to add external DHCP server
2011-03-08 17:29:33 -08:00
Frank
6c819c1491
Merge branch 'bareMetal'
...
Conflicts:
api/src/com/cloud/api/ApiConstants.java
api/src/com/cloud/api/commands/DeployVMCmd.java
api/src/com/cloud/offering/ServiceOffering.java
api/src/com/cloud/vm/UserVmService.java
client/tomcatconf/components.xml.in
server/src/com/cloud/agent/manager/AgentManagerImpl.java
server/src/com/cloud/configuration/DefaultComponentLibrary.java
server/src/com/cloud/deploy/FirstFitPlanner.java
server/src/com/cloud/service/ServiceOfferingVO.java
server/src/com/cloud/vm/UserVmManagerImpl.java
server/src/com/cloud/vm/VirtualMachineManagerImpl.java
2011-03-08 14:18:11 -08:00
Kelven Yang
d0892a964d
Add JMX monitoring to cluster management
2011-03-07 18:40:33 -08:00
Alex Huang
40db230095
more changes for db upgrade
2011-03-04 11:09:24 -08:00
Kelven Yang
5d3052c05f
Add string util function to retrieve exception info
2011-03-04 10:52:56 -08:00
Frank
35b7c26689
Bug 8208 - bare metal provisioning
...
able to start, stop, reboot, destroy VM
2011-03-01 11:40:40 -08:00
Alex Huang
a86f6f085c
utilities for db unit test
2011-02-28 14:40:02 -08:00
prachi
889827b63a
Bug 7845 - Productize DeploymentPlanner
...
Bug 7723 - merge or re-write host tagging into master / 2.2
Bug 7627 - Need more logging for Allocators
Bug 8317 - Add better resource allocation failure messages
Changes for Deployment Planner to use host and storagePool allocators to find deployment destination.
Also has the changes for host tag feature.
Improved the logging for allocators.
2011-02-28 13:47:51 -08:00
anthony
1970161844
bug 8714: support paraleel recursive snapshot
...
snapshot doesn't depend on volume any more, volume can be removed even there are snapshots on this volume
status 8714: resolved fixed
2011-02-25 22:17:13 -08:00
Frank
a9728998ff
Bug 8208 - bare metal provisioning
...
Successfully add start entry into LinMin PXE server
2011-02-25 18:58:07 -08:00
Alex Huang
378a0da0df
more unittest support
2011-02-25 11:58:12 -08:00
Alex Huang
b6056bc0b1
missing files
2011-02-22 19:12:10 -08:00
Kelven Yang
bd8a1e2c6d
Add FileUtil.java
2011-02-17 11:26:34 -08:00
Kelven Yang
4a66441b93
Fix Eclipse project settings for separation of JUnit
2011-02-17 09:55:05 -08:00
Alex Huang
c6efb2b09d
bug 8529: propagated to master. Added junit test support to ant
2011-02-16 17:40:59 -08:00
Alex Huang
6b0d4947ed
bug 8529: propagated to master. Added junit test support to ant
2011-02-16 17:40:58 -08:00
alena
6913ed21c5
bug 8572: added more restrictions for network's domain name (see below)
...
status 8572: resolved fixed
1) As full domain name may not exceed a total length of 253 characters, and host name can be 63 chars long, so don't allow network domain length to exceed 190 chars.
2) Each label can have up to 63 chars
3) The characters allowed in a label are a subset of the ASCII character set, and includes the characters a through z, A through Z, digits 0 through 9, and the hyphen.Labels may not start or end with a hyphen.
2011-02-16 15:53:47 -08:00
alena
53adcc64a6
bug 8572: don't allow vm host name to start with digit. Also removed name uniqueness constraint as vm host name doesn't have to be unique even inside the same network
2011-02-16 15:53:47 -08:00
alena
4054d7e2b5
Store ip address as String instead of Long in user_ip_address and port_forwarding_rules tables
2011-02-09 19:35:03 -08:00
Edison Su
08285af33f
fix capacity caclulation issue after migration
2011-02-09 13:33:42 -05:00
Chiradeep Vittal
711c4eeaae
bug 8209,8370,8459: cleanup scripting
2011-02-08 12:10:07 -08:00
Alex Huang
b322fb072f
bug 8186: Changed the investigator to use the new networking
2011-02-07 16:04:23 -08:00
Kelven Yang
33d804846f
Native HA support improvements
2011-02-04 14:32:18 -08:00
Alex Huang
b66d987c94
tested to push in some fixes for QA
2011-02-04 11:56:21 -08:00
Edison Su
3cc5ce8642
add new configuration parameter: cmd.wait, for heavy timing-consuming commands, such as backupsnapshotcommand
2011-02-03 18:57:38 -05:00
alena
5d2cc07768
bug 8201: accept "any" value for protocol when open port range for staticNat rule
...
status 8201: resolved fixed
2011-02-02 12:57:14 -08:00
Kelven Yang
a8fb44a148
Use exports for jar dependecy
2011-02-01 11:10:37 -08:00
will
49858cf189
- Exported all thirdpart jars in the deps project to make it available to other projects.
2011-02-01 10:59:11 -08:00
Kelven Yang
ddda5fc431
Cleanup of worker VMs left over from previous session in a reliable way
2011-01-31 17:41:07 -08:00
keshav
13805db3ce
Added code to support lowercase keys in param maps.
2011-01-31 14:51:43 -08:00
Alex Huang
b98961bcb1
fixed all the broken thirdparty stuff
2011-01-31 10:51:01 -08:00
Kelven Yang
c51e68a2d5
Manage left-over objects across management server sessions
2011-01-28 17:51:53 -08:00
Edison Su
fc97034000
refactor vmstatelistener
2011-01-26 11:01:43 -05:00
alena
a96f8f9575
Refactored 1-1 NAT feature:
...
* added new fields to createIpForwardingRule api: startPort/protocol - required, endPort is optional
* updated "firewall_rules" table with a new field "is_one_to_one_nat" (being set when new rule is created)
2011-01-25 14:43:32 -08:00
Ragnar B. Johannsson
f7088e534c
bug 8153: Check if BC provider is found before adding.
2011-01-24 14:36:25 +00:00
Alex Huang
2ec5bef63f
eclipse workspace changes
2011-01-20 10:31:18 -08:00
Alex Huang
e8f89004d9
added more robust start code
2011-01-18 16:09:24 -08:00
kishan
388e689755
bug 7842: Move events to service layer from http api
2011-01-14 03:58:56 +05:30
Kelven Yang
e31e0c40a5
Add a holding Eclipse project to help build Eclipse workplace upon deps directory. Be it either deps or thirdparty to hold reference .jars, we better use the same
2011-01-12 12:31:18 -08:00
Ragnar B. Johannsson
83b3580c32
Merge branch 'master' of git.cloud.com:/var/lib/git/cloudstack-oss
...
Conflicts:
client/tomcatconf/commands.properties.in
core/src/com/cloud/vm/UserVmVO.java
server/src/com/cloud/configuration/DefaultComponentLibrary.java
server/src/com/cloud/vm/UserVmManagerImpl.java
2011-01-12 17:06:08 +00:00
Alex Huang
ad4ed5b2fd
added hypervisor type to vm
2011-01-11 18:02:09 -08:00
Alex Huang
a1bdec8fa1
add missing libraries
2011-01-07 14:08:41 -08:00
Alex Huang
6dc922408d
unit test working
2011-01-07 13:42:43 -08:00
Alex Huang
4b360258ee
allow multiple ways to intercept
2011-01-07 13:42:43 -08:00
Alex Huang
e496a99c1c
added processing for events
2011-01-07 13:42:43 -08:00
Alex Huang
2e29f21e5a
changes for injectors
2011-01-07 13:42:43 -08:00
Ragnar B. Johannsson
32c68e1583
API cmds for SSH-keys manipulation and VM passwds retrieval.
...
These include five new API cmds as well as changes to deployVirtualMachine to
specify an optional name of an SSH key to pass to the VM when starting. When
an SSH key is specified with a password-enabled template the newly created
password is encrypted with the SSH public key and can be retrieved via the
getVMPassword cmd. It is then the user's responsibility to decrypt retrieved
passwords with the correct SSH private key.
2011-01-06 13:34:07 +00:00
alena
916b516d13
bug 7878: Fixed Basic zone functionality - uservm/systemvm/domR start
...
status 7878: resolved fixed
2011-01-06 15:44:13 -08:00
kelven
06b48945b1
Use double check pattern to avoid holding two locks in GlobalLock.java while trying to perserve intern semantic of global lock
2011-01-03 23:06:44 -08:00
Kelven Yang
9eef604f2b
bug 7685: a race condition caused DB connection from the pool to be left alone which can trigger mysql driver NPE exception
2011-01-03 09:23:57 -08:00
Alex Huang
49281a27dc
Added table name
2011-01-03 08:45:30 -08:00
will
4340963ead
Fixed an issue with searching for a public IP where the DAO did not call the correct e
2010-12-29 17:11:38 -08:00
Alex Huang
fe2fc93209
fixed issue with db problem on ip address listing
2010-12-29 12:13:35 -08:00
Alex Huang
544fa7ff1b
remote access vpn, user ip address changes
2010-12-29 09:32:54 -08:00
edison
2d722e685b
fix exception in PingRoutingWithNwGroupsCommand, due to no json serialize for pair<long, long>
2010-12-28 10:50:12 -08:00
edison
2762f0c75e
release cpu/memory after vm stopped for a while
2010-12-23 22:06:01 -08:00
Alex Huang
356526db83
Changed exception code to give the scope of the problem
2010-12-21 03:54:30 -08:00
abhishek
5154ba1539
bug 6361: this is a good point to commit; 1st round of refactor is done, code is clean compiling and ms is deploying
2010-12-16 15:37:19 -08:00
alena
b383aaceec
bug 7517: Added an ability to specify vm's host name during vm Deploy using "name" parameter. The parameter is optional.
...
status 7517: resolved fixed
Name should follow these rules:
* must be between 1 and 63 characters long and may contain only the ASCII letters 'a' through 'z', the digits '0' through '9', and the hyphen ('-').
* can not start with a hyphen, and must not end with a hyphen
Once name is set (during vm deploy), it can't be modified.
2010-12-15 15:52:16 -08:00
alena
d673686f5f
Added Availability field for NetworkOffering. Added updateNetworkOffering API command
2010-12-13 18:28:33 -08:00
Alex Huang
790bf40be6
Forgot what i change but must be important
2010-12-10 17:20:31 -08:00
anthony
a2de4f7cf5
fixed isNetworkAWithinNetworkB
2010-12-10 15:36:33 -08:00
Alex Huang
8ac694bf55
changes from testing
2010-12-10 09:29:23 -08:00
Alex Huang
2d4432d87e
network shutdown code
2010-12-10 08:38:20 -08:00
edison
b7cdae2688
fix for migration
2010-12-04 15:02:03 -08:00
edison
2e3ef1408c
refactor
2010-12-04 14:59:40 -08:00
edison
e99cc740e6
add more checks in alloctor
2010-12-04 14:59:39 -08:00
edison
41fdbfc65e
new allocator
2010-12-04 14:59:39 -08:00
Alex Huang
9a70ee54f0
portforwarding is working
2010-12-03 08:48:03 -08:00
Alex Huang
bb78986ddb
port forwarding working
2010-12-03 08:48:02 -08:00
Alex Huang
223688d0bf
Port forwarding rules and load balancing rules rewrite
2010-12-03 08:48:02 -08:00
Kelven Yang
83736a1af5
Add URI component encoding to URI util class to help utilize URL info in hypervisor host address
2010-11-30 16:23:15 -08:00
Kelven Yang
54f177cacc
1) Make generic dao be able to persist UTF-8 string for internationalization support
...
2) Undo gson Unicode escape in API response object to avoid double escaping which can break Javascript from getting correct text content
3) Correct API layer in dealing with character encoding
4) Remove double escape in cloud.core.js
2010-11-30 09:40:54 -08:00
Alex Huang
1e44925564
api refactoring
2010-11-21 12:00:21 -08:00
Alex Huang
5b4a6f27db
Changed networkconfigurations to network as per Sheng's suggestion
2010-11-19 15:44:42 -08:00
alena
8ca10c91bd
bug 7218: Alex fixed componets locator
...
status 7218: resolved fixed
2010-11-19 11:25:35 -08:00
Chiradeep Vittal
c53e165eaa
bug 6971: bring back l2tp port 1701
2010-11-18 14:06:01 -08:00
Alex Huang
a73e3dc9ac
new networking can be set by use.new.networking
2010-11-17 17:51:17 -08:00
Chiradeep Vittal
31e17b907d
bug 6971: ensure no conflicts with portforwarding rules for vpn udp ports
...
also, do not open up port 1701 -- only used on ppp interface not public interface
also clean up password generator, make it easier to use and more secure
moved some constants to NetUtils
heuristic to determine if an ip is one-to-one nat'ted
2010-11-17 15:32:50 -08:00
Chiradeep Vittal
43d5219258
fix components.xml handling in agent
2010-11-17 11:03:00 -08:00
Alex Huang
2628b0c994
more componentlocator changes
2010-11-17 04:49:38 -08:00
Alex Huang
e22968b5fc
more componentlocator changes
2010-11-17 04:39:47 -08:00
Kelven Yang
40e8cb83a6
update eclipse project settings for removal of gsson1.3
2010-11-16 23:00:40 -08:00
Alex Huang
ed31497188
ComponentLocator changes
2010-11-16 04:28:15 -08:00
Alex Huang
17afeade00
better componentslocator
2010-11-16 04:28:14 -08:00
Alex Huang
5f90a8adb0
Checking in to do git pull...stupid git
2010-11-05 16:10:22 -07:00
Alex Huang
e27bb550fe
Harmony among gurus
2010-11-03 21:18:31 -07:00
Chiradeep Vittal
b2659de59c
password and username validator utils
2010-11-03 14:02:13 -07:00
Alex Huang
560d7a275e
Removed InternalErrorException. Renamed the lock methods on the DAO objects to be more understandable.
2010-11-02 12:25:08 -07:00
Alex Huang
6311644e08
Successful creation of domr and uservm with all programming done correctly.....yahooo
2010-11-02 12:25:08 -07:00
Chiradeep Vittal
1e0eb04442
Add VPN apis, some systemvm changes for vpn
2010-11-01 10:27:49 -07:00
Alex Huang
14f80f2e13
domain router up and running...now on to patching through the network between the domain router and the vm
2010-10-29 12:16:58 -07:00
alena
fe2fc63692
Fixed command line tool
2010-10-29 09:15:28 -07:00
Kris McQueen
b4ef066846
bug 6782: fix NPEs associated with looking up the account after it's been deleted. When cleaning up the account, we delete the accountVO first, then stop/destroy VMs, routers, etc. During this cleanup, there are times when the account needs to be retrieved, and since it's been removed it has to be found by id 'including removed' in order to find it.
...
status 6782: resolved fixed
2010-10-27 18:23:23 -07:00
edison
066d94f6f9
Add cloud-tool into FOSS
2010-10-26 18:05:28 -07:00
Alex Huang
4f9f249218
make console proxy work again with the new network configuration
2010-10-26 17:37:29 -07:00
Alex Huang
2bc938c3f8
checkins for problems.
2010-10-26 09:35:24 -07:00
Alex Huang
f58063911e
deploy vm completed
2010-10-26 09:35:24 -07:00
Kris McQueen
7e72045ecd
Merging the fix to bug 6680 to master branch by hand due to differences in the code between 2.1.x and master. The fix is for join conditions in GenericDaoBase, making sure to only add non-null / non-empty where clauses to the query string, and to recursively prepare all join parameters since there might be sub-join clauses in the query.
2010-10-25 15:01:49 -07:00
Alex Huang
d5d8f27cad
Added more changes to the api
2010-10-21 15:11:49 -07:00
Kelven Yang
2c919c5c01
Make unique name conforming with the name generated in template installation for routing template, some other minor fixes
2010-10-15 16:36:02 -07:00
Kris McQueen
2740ba6c40
final merge of master->2.1.refactor preparing for merge back into master
2010-10-12 14:46:24 -07:00
Kelven Yang
e12f9ad19d
Allow Script to execute under a specified working directory
2010-09-29 18:40:50 -07:00
Kelven Yang
4534299092
Improve SynchronizationEvent
2010-09-29 18:40:49 -07:00
Kris McQueen
848ce60097
Merging master into 2.1.refactor, resolve the merge conflicts as best I can. New commands related to extracting template/iso/volume and related to instance groups were refactored to the new API framework.
2010-09-28 15:47:14 -07:00
alena
9b10074c2a
Added missing license info to the bunch of files
2010-09-27 19:08:03 -07:00
Alex Huang
c443867f28
more changes
2010-09-27 15:14:38 -07:00
alena
0f2f356874
bug 6277: listVirtualMachines with group=-1 would return all vms that don't belong to any group. As a part of the fix, changed Dao layer to be able to make different types of Joins - Inner, Right, Left, etc.
...
status 6277: resolved fixed
2010-09-23 10:43:17 -07:00
Alex Huang
c0d8422d69
more changes
2010-09-22 10:43:59 -07:00
Alex Huang
22652e7ace
got the vm created
2010-09-22 10:43:59 -07:00
Alex Huang
8acba8fbd1
more checkins
2010-09-22 10:43:59 -07:00
alena
0c659af24a
Implemented DB migration from 2.1.x to 2.2.x for Instance Grous feature. Added missing Daos to migration-components.xml (AccountDao, ResourceCoundDao, InstanceGroupDao, InstanceGroupVmMapDao).1
2010-09-21 18:53:18 -07:00
Alex Huang
bebe79ebc9
more work from alex
2010-09-17 13:37:53 -07:00
Kris McQueen
3f6a438d92
Refactoring the AsyncJobManager to queue jobs appropriately if there is a need to synchronize execution on an object, e.g. a router. API developers can now call command.synchronizeCommand(String, Long) to force the command to be synchronized on a particular object type [the string arg] with a particular id [the long arg]. When synchronizeCommand() is invoked, an exception maybe thrown by the framework (AsyncCommandQueued exception) to force the business logic to abort. The command will then be queued and invoked at the appropriate time. The synchronizeCommand() is re-entrant and will be a no-op if the command has already been queued and is now ready for execution.
2010-09-16 19:05:06 -07:00
Alex Huang
327924a9ad
More changes for refactoring
2010-09-15 18:00:54 -07:00
Kris McQueen
a8112f65de
When using session based authentication, we now store the parameters in the session as part of the login processing, instead of returning those parameters so that the caller has to update the session. Authentication now throws an exception on failure and the caught exception is where the session is invalidated.
2010-09-13 17:04:11 -07:00
root
76e5cf3321
renamed dao methods to correctly reflect what they do
2010-09-09 18:01:50 -07:00
Alex Huang
d094ff3afb
more changes from merge
2010-09-09 13:29:24 -07:00
jessica
6ec5455579
If no translation is found, return original word (i.e. English word)
2010-08-31 14:58:33 -07:00
jessica
f04e1351bc
add CloudResourceBundle.java to com.cloud.utils
2010-08-31 14:58:31 -07:00
Kelven Yang
b91c910a94
Test & Debug register template on vmware
2010-08-26 13:35:46 -07:00
Kelven Yang
23a38bc2be
Debug & Test template copy from secondary storage to primary stroage on vmware
2010-08-25 18:17:20 -07:00
Alex Huang
20b26082db
bug 5764: changing from networkoffering to network profile
2010-08-24 00:00:43 -07:00
Kelven Yang
ff02e07a33
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2010-08-18 21:44:37 -07:00
edison
3106c2ae3f
Issue #: 5954
...
Status 5954: resolved fixed
exclude link local gateway
2010-08-18 17:44:39 -07:00
Kelven Yang
792fdf91b8
1) Add host_master table for tracking VMWare vShpere servers
...
2) Add SynchronizationEvent for in-process event synchronization
3) Move VMware files out of FOSS code base
2010-08-18 17:30:11 -07:00
Manuel Amador (Rudd-O)
07addfed62
If git build sccs file is present, catenate it to standard output with these brand new commands
2010-08-11 18:14:55 -07:00
Manuel Amador (Rudd-O)
14ae76781e
Committing Kris' big merge
2010-08-11 16:02:57 -07:00
Manuel Amador (Rudd-O)
ac730ec496
Branch 2.1.refactor committed
2010-08-11 09:13:42 -07:00
Manuel Amador (Rudd-O)
05c020e1f6
Source code committed
2010-08-11 09:13:29 -07:00