Commit Graph

3154 Commits

Author SHA1 Message Date
Edison Su c90397bd0e bug 11217: only work on the snapshot whose state is "backedup" and is not removed
status 11217: resolved fixed
2011-08-29 15:29:34 -07:00
Edison Su e09e4e5bed bug 11217: add db upgrade script, if sechost_id is missing of a snapshot, add one got from presnapshot_id
status 11217: resovled fixed
2011-08-29 15:29:14 -07:00
alena 19ee92a528 bug 11196: fixed the code when gson serialization was done twice
status 11196: resolved fixed
2011-08-29 14:48:09 -07:00
alena 4a4e832fdb bug 11290: insert VPN config values as a part of 229-2210 upgrade
status 11290: resolved fixed
2011-08-29 11:20:57 -07:00
alena 6ea450d362 Reverted wrong commit for logging in HostDaoImpl 2011-08-26 17:48:10 -07:00
Kelven Yang bf814aeadd bug 11263: only update host Id when VM is in running state when detected external VM migration 2011-08-26 16:27:42 -07:00
alena 686f9406e1 Fixed the bug in extractTemplate - do ignoreCase comparison when verify the download mode. 2011-08-26 10:11:18 -07:00
Nitin 56c59bb5d5 bug 11244: Thread updating "op_host_capacity" table shouldn't do updates for removed pods/zones.
status 11244: resolved fixed
2011-08-26 18:56:37 +05:30
Naredula Janardhana Reddy 701ddbfc1d bug 11253:
Added New value "link-local"  to  global config network.loadbalancer.haproxy.stats.visibility . With this change it can take new parameter "link-local" value apart from the existing 3 values global,guest-network,disabled.
       global -  stats visible from public network
       guest-network - stats visible only to guestnetwork.
       link-local - stats visible only to link local network
       disabled - stats disabled.
2011-08-26 15:25:45 +05:30
alena 2a0e596f15 Set firewall.rule.ui.enabled to false by default 2011-08-25 16:11:03 -07:00
Kelven Yang 80f5b9683f bug 11162: merge fix from 2.2.10 premium 2011-08-25 15:37:26 -07:00
Kelven Yang c74ae5d61f bug 11162: support memory overprovisioning in VMware 2011-08-25 15:37:26 -07:00
prachi e11d2f4093 Bug 9921 - template tags
-Added missing import statement.
2011-08-25 15:18:21 -07:00
prachi 916177b691 Bug 9921 - template tags
-Upgrade path from 2.2.10 to 2.2.11

Conflicts:

	server/src/com/cloud/upgrade/PremiumDatabaseUpgradeChecker.java
2011-08-25 15:18:19 -07:00
prachi 089b23f7a6 Bug 9921 - template tags
Changes:
- CreateTemplate and RegisterTemplate now support adding a template tag. It is a string value. This is root-admin only action - only admin can add template tags.
- ListTemplates will return the template tag in response.
- HostAllocator changed to use template tag along with the existing tag on service offering. If both tags are present, allocator now finds hosts satisfying both tags. If no hosts have both tags, allocation will fail.
- DB changes to add new column to vm_template table.
- DB upgrade changes for upgrade from 2.2.10 to 2.2.11

Conflicts:

	server/src/com/cloud/api/ApiResponseHelper.java
	server/src/com/cloud/template/TemplateAdapterBase.java
	server/src/com/cloud/vm/UserVmManagerImpl.java
2011-08-25 15:18:18 -07:00
alena 1ea383e96f bug 11260: Take networkRate for domR's guest and public interface from the corresponding system service offering 2011-08-25 14:13:23 -07:00
prachi 1baf90b18b Bug 11261 - Allow to update host tags
Changes:
- Changes to updateHostCmd to accepts hosttags parameter
- Changes to wipe out existing tags and save new ones in host_tags DB.
- UpdateHost is Admin only operation - so only root admin can update host tags
2011-08-25 12:58:37 -07:00
alena e902599847 bug 11185: support multiple CIDR on overlapping port ranges for firewall rules
status 11185: resolved fixed

Conflicts:

	server/src/com/cloud/network/firewall/FirewallManagerImpl.java
2011-08-25 12:06:28 -07:00
Abhinandan Prateek 0d14faec34 bug 11181: taking care of a boundary condition with 0 user VM 2011-08-25 15:36:08 +05:30
Edison Su 7b034a68c0 TESTClient: more features: all the api will go through 8080 with apikey/securitykey, both keys are generated dynamically when you deploy your setup, add list/map type for api, and bug fix 2011-08-24 18:45:11 -07:00
alena f5dacdb473 bug 11242: check if db object is already removed before generating the Debug log. It can happen in case when deleteHost command is called many times in parallel for the same host
status 11242: resolved fixed
2011-08-24 15:44:58 -07:00
Kelven Yang 65744569c3 bug 11219: use local storage flag from service offering when it is ROOT disk 2011-08-24 15:03:39 -07:00
alena d32dbcbf7b Method signature change 2011-08-24 15:00:41 -07:00
alena 488b995299 bug 11236: domainAdmin/regularUser can edit/delete/copy/extract Public template/iso only if it was created by them. They still can use/see public template/iso when execute list/deploy/attachIso commands. Root admin can operate with other people templates w/o any restrictions.
status 11236: resolved fixed
2011-08-24 14:48:22 -07:00
alena 0ce47f5cdf bug 11237: 1) Remove capacity records when corresponding pod/zone is removed 2) On api layer check if zone exists before listing capacity record
status 11237: resolved fixed
2011-08-24 13:19:27 -07:00
Edison Su be249bb10a bug 11217: add secondary storage id into snapshot, if it's an empty snapshot
status 11217: resolved fixed
2011-08-24 11:05:19 -07:00
alena 524ed0b15c bug 11060: use lockTable instead of rowLock when createDomR/createDhcp
status 11060: resolved fixed
2011-08-24 11:01:02 -07:00
Edison Su 3786d42853 bug 11217: add secondary storage id into snapshot, if it's an empty snapshot
status 11217: resolved fixed
2011-08-24 10:47:47 -07:00
Nitin f4eb81f9b8 bug 10972: Improve logging - put in the hostid and hostname on which the vm launches.
status 10972: resolved fixed
2011-08-24 18:00:09 +05:30
root eda107daae removing spurious debug statement 2011-08-24 16:48:52 +05:30
Abhinandan Prateek a6ab4ac3ad bug 11181: batching the select statements 2011-08-24 16:24:07 +05:30
Naredula Janardhana Reddy 0e4de58d4e bug 11191:
Added global config to enable/disable rp_filter for domR.
   previous commit: d966906374d4a0cb8fa57326a1f7625c871f64fd

   Test Case-1 :
      1) Set network.disable.rpfilter  global config to true
      2) Restart the domR
      3) check the settings reflected in proc filesystem
           - for public interface like eth2,eth3 : /proc/sys/net/ipv4/conf/eth2/rp_filter should have 0 , and rest other interfaces should have value of 1
   Test Case-2 :
      1) set network.disable.rpfilter global config to false
      2) Restart the domR
      3) check the settings reflected in proc filesystem
           - for public interface like eth2,eth3 : /proc/sys/net/ipv4/conf/eth2/rp_filter should have 1 , and rest other interfaces should also have value of 1
2011-08-24 13:36:43 +05:30
Naredula Janardhana Reddy b78f66f597 bug 11191: Added global config to disable/enable rp_filter for domR(public interfaces) 2011-08-24 13:36:16 +05:30
frank ca7fb65ca2 full opensource 2011-08-23 19:23:49 -07:00
Sheng Yang f5e939b4a5 bug 11214: Don't try to start the running router again
It's very like caused by StartRouterCmd sent to the running router. I can
reproduce it by issue a StartRouterCmd to a running redundant router. And this
patch should the following exception:

Exception: com.cloud.exception.ResourceUnavailableException: Resource
[VirtualNetworkApplianceManagerImpl$$EnhancerByCGLIB$$565b4d45:0] is
unreachable: There are already two redundant routers with IP 10.91.32.126, they
are r-5-VM(5) and r-4-VM(4)

status 11214: resolved fixed
2011-08-23 18:20:28 -07:00
Sheng Yang 4bdd56a63e Add more debug info 2011-08-23 17:59:38 -07:00
Kelven Yang 98212299b5 Move VMware/Premium Secondary storage VM to opensource 2011-08-23 14:33:05 -07:00
prachi 38e858e38d Bug 11213 - UserConcentratedPod returning wrong list of pods
Changes:
- Needed to add parentheses to the query to get correct results.
2011-08-23 12:04:33 -07:00
alena ac47c87c40 bug 11204: when search for domR/dhcp, include Role to the corresponding search to eliminate getting "LB" network element in the response
status 11204: resolved fixed
2011-08-23 12:00:50 -07:00
alena eb2351fd5d Fixed listNetwork by id 2011-08-23 01:06:06 -07:00
Kelven Yang c312ad4b99 bug 11208: use cleanup instead of scheduling to stop based on server state 2011-08-22 17:36:11 -07:00
Kelven Yang 773065de9e bug 11208: When agent reported state is out of sync with CloudStack, stop VM when its state in CloudStack is not in Running or Migrating 2011-08-22 16:38:36 -07:00
alena c2732850f4 bug 11202: added "networkRate" param to service offering api responses 2011-08-22 13:35:43 -07:00
alena 033765f93f Added networkRate parameter to createServiceOffering api command 2011-08-22 12:02:08 -07:00
alena 20a518f3ac Fixed security issue in listNetworks 2011-08-22 10:50:30 -07:00
prachi 3d4767c94c Merge Bug 11186 from 2.2.8mango
Bug 11186- Cannot restart existing VM if the cluster is disabled after the
VM has been created

Changes:
 - We should not check for the cluster 'allocation_state' while starting an
existing VM provided it has storage already allocated. But if volumes are
deleted and new storage needs to be allocated, then we will not allow the VM
start.
- However we should still prohibit adding new VMs in that cluster.
2011-08-20 21:02:09 -07:00
anthony 2e2e550cc4 reversed funtion parameter 2011-08-19 18:41:59 -07:00
frank b607e4aa1c Merge branch '2.2.y' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 2.2.y 2011-08-19 17:29:57 -07:00
frank 32ee2dbe2c Remove baremetal specific parameters from AddHostCmd 2011-08-19 17:12:23 -07:00
frank cbbf80cee3 Use class.getSimpleName in ResourceListener 2011-08-19 17:06:58 -07:00