Commit Graph

121 Commits

Author SHA1 Message Date
Kelven Yang 81968b2325 Add string util function to retrieve exception info
Conflicts:

	utils/src/com/cloud/utils/StringUtils.java
2011-03-04 11:21:20 -08:00
Alex Huang 5f6f2837de Added logging to print out the transaction name on rollback 2011-03-04 11:13:15 -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