Commit Graph

7099 Commits

Author SHA1 Message Date
Edison Su 1a29cdbf43 detect centos 6.0 2011-08-29 17:57:10 -07:00
Edison Su bd7248196f sleep 30 sec if it is the first time to install cloud-agent in case the network is not coming up 2011-08-29 15:49:10 -07:00
Edison Su dbe7cdf4b0 bug 11217: only work on the snapshot whose state is "backedup" and is not removed
status 11217: resolved fixed
2011-08-29 15:23:33 -07:00
Edison Su 367405ac42 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:10:22 -07:00
alena dd239ff25e bug 11290: insert VPN config values as a part of 229-2210 upgrade
status 11290: resolved fixed
2011-08-29 11:19:44 -07:00
Edison Su 749303c402 bug 10931: if local.storage.uuid not found, generate a new one instead of throw exception
status 10931: resolved fixed
2011-08-29 11:05:48 -07:00
Kelven Yang 15a66cde58 another regression fix 2011-08-26 18:31:55 -07:00
Kelven Yang 2ac7e73da8 fix the regression 2011-08-26 18:26:03 -07:00
alena 0e8a64e681 Reverted wrong commit for logging in HostDaoImpl 2011-08-26 17:48:37 -07:00
Kelven Yang 9a6fbf1bfc bug 11263: only update host Id when VM is in running state when detected external VM migration 2011-08-26 16:24:40 -07:00
Jessica Wang 7d09d87ec7 bug 11274: cloudStack - remove "power by cloud.com" in the lower right corner. 2011-08-26 16:12:25 -07:00
Sheng Yang 32bb0cebef Revert "bug 11266: Add lockfile for scripts in system vm"
This last minute check in is lack of test, revert it for 2.2.10, push it to
2.2.11.

This reverts commit a6d28f9e988a5a1044307f6b75f95c6835f940b9.
2011-08-26 14:07:12 -07:00
Jessica Wang 1953869634 bug 11274: cloudStack - change log icon from "cloud.com" to "cloudstack". 2011-08-26 12:21:03 -07:00
Alex Huang e9d48bfb45 bug 11275: don't try to reconnect to storage pools not in maintenance mode 2011-08-26 10:32:48 -07:00
alena 9580e560be Fixed the bug in extractTemplate - do ignoreCase comparison when verify the download mode. 2011-08-26 10:09:55 -07:00
Naredula Janardhana Reddy 8a9d0fb0a2 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 10:06:04 +05:30
Sheng Yang 9d665245d4 bug 11266: Add lockfile for scripts in system vm
Otherwise it's easy to trigger the racy issue.

This one just contained fix for reconfigLB.sh
2011-08-25 19:35:50 -07:00
Jessica Wang 144a7bb8fc bug 11261: cloudStack - host page - Edit Host action - (1) make hosttags editable. (2) consolidate update OS category from dialog box to main screen. 2011-08-25 17:23:21 -07:00
alena 92ed5a49d2 Set firewall.rule.ui.enabled to false by default 2011-08-25 16:10:18 -07:00
Jessica Wang 80ec132cc8 bug 11260: cloudStack - create system service offering dialog: add network rate field. 2011-08-25 15:25:21 -07:00
Kelven Yang b4123700dd bug 11162: support memory overprovisioning in VMware 2011-08-25 15:10:57 -07:00
Jessica Wang d2cd62d39a bug 11255: cloudStack - IP address page - add a missing semicolon. 2011-08-25 14:59:15 -07:00
Jessica Wang eac33e5d9d bug 11255: cloudStack - IP address page - Create Firewall rule - fix a bug on Google Chrome that changing protocol dropdown (e.g. from TCP to ICMP) wouldn't correctly hide/show related input fields. 2011-08-25 14:25:23 -07:00
Jessica Wang c07c427f80 bug 11255: cloudStack - IP address page - Create Firewall rule - fix a JavaScript syntax bug. 2011-08-25 14:18:33 -07:00
alena 1c1ef85833 bug 11260: Take networkRate for domR's guest and public interface from the corresponding system service offering 2011-08-25 14:11:27 -07:00
prachi 6164da188c 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:55:24 -07:00
alena 066ebc1368 bug 11185: support multiple CIDR on overlapping port ranges for firewall rules
status 11185: resolved fixed
2011-08-25 12:00:44 -07:00
David Nalley 4374bb6774 bug 11223: ensure all config files are %config(noreplace) in the spec
status 11223: resolved fixed
2011-08-25 10:24:44 -04:00
David Nalley 67f5d34c4c bug 11258: add wget as a requires for cloud-agent-scripts
status 11258: resolved fixed
2011-08-25 10:11:32 -04:00
Naredula Janardhana Reddy c3efad4827 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-25 18:35:42 +05:30
alena a971aaa39e 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:41:55 -07:00
alena 623e6c97df 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:45:01 -07:00
Jessica Wang 421bd9b025 cloudStack - add new translation labels. 2011-08-24 14:08:40 -07:00
Jessica Wang 06c0f92add cloudStack - pass "forVirtualNetwork=false" when creating IP range for public network in an security-group-enabled (advanced) zone. 2011-08-24 14:03:39 -07:00
Kelven Yang 4f1270d3d7 bug 11219: use local storage flag from service offering when it is ROOT disk 2011-08-24 13:34:24 -07:00
alena b4e022a9b4 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:18:04 -07:00
Edison Su 993b5f5ba5 bug 11217: add secondary storage id into snapshot, if it's an empty snapshot
status 11217: resolved fixed
2011-08-24 11:07:52 -07:00
Edison Su af0d150ac1 bug 11217: add secondary storage id into snapshot, if it's an empty snapshot
status 11217: resolved fixed
2011-08-24 11:07:48 -07:00
alena 97b148b03d bug 11060: use lockTable instead of rowLock when createDomR/createDhcp
status 11060: resolved fixed
2011-08-24 10:56:24 -07:00
alena e4db9f4518 Removed unused imports 2011-08-24 10:18:34 -07:00
Naredula Janardhana Reddy 2ffa0e9c0a Revert "bug 11191: Added global config to disable/enable rp_filter for domR(public interfaces)"
This reverts commit d966906374d4a0cb8fa57326a1f7625c871f64fd.
2011-08-24 13:40:42 +05:30
Naredula Janardhana Reddy 1190e70f22 Revert "bug 11191:"
This reverts commit 6e59b94d6be8a9638df3e4f3de3b0993961da631.
2011-08-24 13:40:04 +05:30
Naredula Janardhana Reddy b7cf081281 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:12:52 +05:30
Sheng Yang 59fe551ebb 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:13:14 -07:00
Sheng Yang 4901c18d7a Add more debug info 2011-08-23 17:59:20 -07:00
Alex Huang 2cc457e2db Added environment variables to not control pool master 2011-08-23 15:47:03 -07:00
prachi 2a9ee90fdd Bug 11213 - UserConcentratedPod returning wrong list of pods
Changes:
- Needed to add parentheses to the query to get correct results.
2011-08-23 12:06:40 -07:00
alena d62398bf21 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 11:53:04 -07:00
Alex Huang db24adccf4 bug 11212: disable vlan network when vm fails to start. It is still possible for it leak. For example, if the VM object wasn't constructed and we already failed but those cases are less likely and it's not absolutely necessary to disable vlan. 2011-08-23 11:26:33 -07:00
Naredula Janardhana Reddy 56d4a10be3 bug 11191: Added global config to disable/enable rp_filter for domR(public interfaces) 2011-08-23 20:01:35 +05:30