Kelven Yang
1648a2396d
bug 10874: don't invalid run session of other management server even if it detects it is unreachable as the event may just be temporary network condition
2011-09-08 14:20:29 -07:00
anthony
a369885a0f
1. added timeout in Command Class, then each command can configure itself timeout, if timeout is not configed, use the default timeout , which is 30 minute
...
2. added following configurable timeout
PrimaryStorageDownloadWait("Storage", TemplateManager.class, Integer.class, "primary.storage.download.wait", "10800", "In second, timeout for download template to primary storage", null),
CreateVolumeFromSnapshotWait("Storage", StorageManager.class, Integer.class, "create.volume.from.snapshot.wait", "10800", "In second, timeout for create template from snapshot", null),
CopyVolumeWait("Storage", StorageManager.class, Integer.class, "copy.volume.wait", "10800", "In second, timeout for copy volume command", null),
CreatePrivateTemplateFromVolumeWait("Storage", UserVmManager.class, Integer.class, "create.private.template.from.volume.wait", "10800", "In second, timeout for CreatePrivateTemplateFromVolumeCommand", null),
CreatePrivateTemplateFromSnapshotWait("Storage", UserVmManager.class, Integer.class, "create.private.template.from.snapshot.wait", "10800", "In second, timeout for CreatePrivateTemplateFromSnapshotCommand", null),
BackupSnapshotWait("Storage", StorageManager.class, Integer.class, "backup.snapshot.wait", "10800", "In second, timeout for BackupSnapshotCommand", null),
2011-09-07 19:18:36 -07:00
Kelven Yang
7ce4aa1d23
bug 11362: Make VM network adapter device type be selectable based on VM-specific details
2011-09-07 17:58:01 -07:00
Kelven Yang
a73f41e56c
bug 11360: make user_vm_details generic to all VMs instead of user-only VMs, VM details info will be carried down to hypervisor resource
2011-09-07 15:37:50 -07:00
alena
620f83d547
bug 11348: make content type for "json" files configurable
...
status 11348: resolved fixed
2011-09-07 14:20:07 -07:00
keshav
37c74b35ab
Support for inline SRX/F5.
2011-09-07 14:18:42 -07:00
keshav
2e87fcb06d
Support for inline SRX/F5.
2011-09-07 14:15:27 -07:00
Chiradeep Vittal
2c995c597b
fix mocks
2011-09-07 14:07:50 -07:00
Chiradeep Vittal
fbfb1b8f5b
move interval to listener -- allows it to be configurable if needed
2011-09-07 13:58:49 -07:00
Chiradeep Vittal
22c1e66a6c
clean up tests for security group manager v2
2011-09-07 13:58:49 -07:00
Chiradeep Vittal
3f9922ca01
Add more detail when unable to schedule cleanup
2011-09-07 13:58:49 -07:00
Chiradeep Vittal
9b75fab343
Retry only a few times
2011-09-07 13:58:49 -07:00
Chiradeep Vittal
3403ccdaf1
change some logs to debug level
2011-09-07 13:58:49 -07:00
Chiradeep Vittal
13f416698a
fix merge problem
2011-09-07 13:58:49 -07:00
Chiradeep Vittal
2027049fd6
if the xenserver host cannot do bridge firewalling do not attempt to retry the security rule updat
2011-09-07 13:58:49 -07:00
Chiradeep Vittal
cdbfb5fb0b
added a few more dangerous JMX operations
2011-09-07 13:58:48 -07:00
Chiradeep Vittal
549749a2d7
Add ability to trigger ruleset updates from JMX
2011-09-07 13:58:48 -07:00
Chiradeep Vittal
65414903b7
Add the ability to disable some vms from being scheduled
2011-09-07 13:58:48 -07:00
Chiradeep Vittal
1ddda37e13
enable logging of the management server id
2011-09-07 13:58:48 -07:00
Chiradeep Vittal
78ded9c78e
jconsole doesn't understand Ternary
2011-09-07 13:58:48 -07:00
Chiradeep Vittal
3c5becbd95
Enable monitoring over JMX
2011-09-07 13:58:48 -07:00
Chiradeep Vittal
d531f3af29
Dequeue the vm with the largest id first -- this ensures that newly started vms get updated early
2011-09-07 13:58:48 -07:00
Chiradeep Vittal
b0be029cb2
Retry 3 times on deadlock: if not updated, then throw a runtime exception to roll back the vm start
2011-09-07 13:58:48 -07:00
Chiradeep Vittal
b7c1296534
make signature calculation consistent across management servers
2011-09-07 13:58:48 -07:00
Chiradeep Vittal
4b11e5e508
retry a transaction if it deadlocks
2011-09-07 13:58:48 -07:00
Chiradeep Vittal
d532bec118
fix perf. issue in deploy vm. also remove dead code in dao
2011-09-07 13:58:47 -07:00
Chiradeep Vittal
c504ce1aaf
if true, this could lead to the dog chasing its own tail
2011-09-07 13:58:47 -07:00
Chiradeep Vittal
8006ed159b
only update sequence number when asked to. full sync SHOULD NOT request sequence number updates since this will lead to the dog chasing its own tail
2011-09-07 13:58:47 -07:00
Chiradeep Vittal
ed666cb01a
Avoid going back to the nics table for information we already have
2011-09-07 13:58:47 -07:00
Chiradeep Vittal
2611d1d61f
thread.yield() to attempt to induce deadlocks only
2011-09-07 13:58:47 -07:00
Chiradeep Vittal
46200d122e
try using multi inserts to overcome deadlock during batch update
2011-09-07 13:58:47 -07:00
Chiradeep Vittal
3c45a7a195
Reduce batch size to 16 to avoid sql errors
2011-09-07 13:58:47 -07:00
Chiradeep Vittal
d6448d9fb8
useful logging
2011-09-07 13:58:47 -07:00
Chiradeep Vittal
c8712401ca
unit test for SG mgr v2
2011-09-07 13:58:47 -07:00
Chiradeep Vittal
c5fea7a03c
use the new implementation of SG manager
2011-09-07 13:58:47 -07:00
Chiradeep Vittal
8c6fe3a9af
Use hashset since it is 50% faster. we can use treeset when we support priority
2011-09-07 13:58:47 -07:00
Chiradeep Vittal
ed867d0799
unnecessary statement
2011-09-07 13:58:46 -07:00
Chiradeep Vittal
68dcad8ce6
Mocks for all
2011-09-07 13:58:46 -07:00
Chiradeep Vittal
0cc3a1e3f8
WIP: implement a queue where inserting a job for an existing vm does not create a new job
2011-09-07 13:58:46 -07:00
Chiradeep Vittal
6465ccff1b
WIP : memory based queueing
2011-09-07 13:58:46 -07:00
Chiradeep Vittal
fc274739f0
bug 10997: unnecessary database operation
2011-09-07 13:58:46 -07:00
Chiradeep Vittal
5172272d99
bug 10997: No need to go further when we don't have a proper job to process
2011-09-07 13:58:46 -07:00
Alex Huang
3a087c2e62
schedule the work after transaction
2011-09-07 13:58:46 -07:00
Alex Huang
47957c85d9
missed one file
2011-09-07 13:58:46 -07:00
Alex Huang
0900b232fc
one big transaction to see if it's any faster
2011-09-07 13:58:45 -07:00
alena
668276e22c
bug 11326: don't try to transfer the agent if it's a forward agent
...
status 11326: resolved fixed
Also added more logging to the agent rebalance code.
2011-09-07 12:49:02 -07:00
anthony
9842a9aed3
bug 10078:
...
1. introduce migratewait in global configuration, the default value is 1 hour
2. use async xapi VM migration API
status 10078: resolved fixed
2011-09-07 12:40:30 -07:00
kishan
3a6c226bc9
bug 11345: Compare current and previous network stats before updating. Ignore stats if the current stats are not same as the prev stats. Set NetworkUsageAnswer log level to debug
2011-09-07 13:16:11 +05:30
alena
03958369e0
bug 11331: allow extending vnet range as a part of updateZone call
...
status 11331: resolved fixed
2011-09-06 17:41:38 -07:00
alena
654bcdeb5e
bug 10751: don't remove already removed templates during the account cleanup
...
status 10751: resolved fixed
2011-09-02 16:10:00 -07:00
alena
7cea149dc2
bug 11002: userVmDao - create searchBuilder as a part of dao init process (otherwise it's not threadsafe)
...
status 11002: resolved fixed
2011-09-02 15:51:24 -07:00
Kelven Yang
a7ac75f920
bug 11304: restore host status after initialization failure
2011-09-02 15:17:57 -07:00
anthony
57e731b60e
set timeout for CheckOnHostCommand to 50 s
2011-09-02 15:01:06 -07:00
anthony
238ffd0a9b
put getConnection into try
2011-09-02 15:00:58 -07:00
alena
a357dcc728
bug 11259: ROOT admin can extract template/iso even when it's not mark as extractable
...
status 11259: resolved fixed
2011-09-02 12:33:30 -07:00
alena
0242dd51ab
bug 11332: don't try to log vm's information when the vm is already Expunged
...
status 11332: resolved fixed
Conflicts:
server/src/com/cloud/vm/dao/VMInstanceDaoImpl.java
2011-09-02 12:08:16 -07:00
Sheng Yang
96cf40972c
bug 11305: Remove router stop logic from disconnect host.
...
Now the logic is: if we can only connect to one of the two redundant routers, we
would stop the one that can't be connected. If we fail to program both routers,
just let it go.
2011-08-31 19:27:17 -07:00
Sheng Yang
5e450e9852
bug 11305: Stop disconnected redundant virtual router if we can process with the connected one
...
When we apply rules or start new VM, we may encounter some running routers that
we can't program. That can due to network issue or host is down or vCenter is
disconnected, etc. To keep the synchronization, we would stop them, but only
when there is the other router we've successfully updated. If both routers are
unable to communicate with, we simply give up and report it user.
2011-08-31 19:15:38 -07:00
Kelven Yang
1216aebbc0
bug 10765: add japanese keyboard support for linux OSes
2011-08-31 18:17:38 -07:00
alena
78b2df8549
Do account permission checks for snapshots the way it's done for all other ControlledEntities
2011-08-31 17:53:48 -07:00
frank
996d6302eb
Bug 8966 - Oracle VM (OVM) support
...
configure hostname of host for OCFS2
small fixes
2011-08-31 15:37:16 -07:00
kishan
a6d196e96c
bug 11316: In 2.2.y, removed new template upgrade changes. Added upgrade path from 2210 to 2211. Moved existing changes to 2211to2212
...
status 11316: resolved fixed
2011-08-31 15:11:36 +05:30
kishan
a7b760a482
bug 11316: Removed new template upgrade changes. Added upgrade path from 2210 to 2211. Existing changes moved to 2211to2212 upgrade
...
status 1316: resolved fixed
2011-08-31 15:01:39 +05:30
alena
4f6914d56b
bug 11298: give detailed error message when failed to authenticate a user
...
status 11298: resolved fixed
2011-08-30 16:52:52 -07:00
alena
aaf46356bb
Mark account as cleanup_required=0 when cleanup was finished successfully
2011-08-30 14:10:07 -07:00
alena
4dd4b41344
Don't remove the domain when it has accounts that are removed, but require cleanup
2011-08-30 14:10:00 -07:00
alena
60ce12b892
Fixed multipe problems in account cleanup process:
...
* don't try to delete the template when it's already removed
* no need to perform permission check when deleteFirewallRule is called by System (as a part of cleanupAccount process for instance)
2011-08-30 11:22:56 -07:00
alena
5e28e5e3f1
Fixed the bug when networkRate for the domR's guest network wasn't taken from the service offering
2011-08-30 10:40:54 -07:00
Murali Reddy
f0fa75f793
bug 11179: template url and format are not validated
...
added check to verify url ends with extension same as the template format specified
2011-08-30 16:23:06 +05:30
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
c3b6fd561c
bug 11230, 11229: merge fix from 2.2.10 branch, fix Eclipse project settings for premium-move
2011-08-24 15:16:59 -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
frank
016700737c
Bug 8966 - Oracle VM (OVM) support
...
OCFS2 support -- reconfigure OCFS2 nodes when delete host
2011-08-19 17:06:48 -07:00
frank
7350d12fff
Bug 8966 - Oracle VM (OVM) support
...
OCFS2 support -- use cluster name as OCFS2 cluster name
2011-08-19 17:06:35 -07:00
frank
0f109dd037
Introduce new resource life cycle listener
2011-08-19 17:06:12 -07:00
Edison Su
eb72d340e2
fix typo
2011-08-19 16:15:17 -07:00
frank
18f87c2108
Merge branch 'cvm' into 2.2.y
...
Conflicts:
api/src/com/cloud/api/BaseCmd.java
cloud.spec
core/src/com/cloud/storage/template/DownloadManagerImpl.java
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/host/dao/HostDao.java
server/src/com/cloud/network/security/SecurityGroupListener.java
server/src/com/cloud/storage/StorageManagerImpl.java
server/src/com/cloud/storage/listener/StoragePoolMonitor.java
server/src/com/cloud/vm/UserVmManagerImpl.java
server/src/com/cloud/vm/VirtualMachineManagerImpl.java
utils/src/com/cloud/utils/SerialVersionUID.java
2011-08-19 16:08:35 -07:00
Edison Su
de25a63ba8
release the check
2011-08-19 16:06:13 -07:00
Edison Su
5696543359
disable attach volume to a vm if volume state is not in allocated or ready state
2011-08-19 14:27:13 -07:00
Edison Su
eada883b5e
bug 11183: put volume state into "Creating" state if it's created from snapshot.
...
status 11183: resolved fixed
2011-08-19 13:46:51 -07:00
Abhinandan Prateek
601708c3e6
bug 11094: delinking api layer objects from dao layer
2011-08-19 15:21:03 +05:30
Sheng Yang
a961dd913f
Update redundant router status even router is down
...
We need to update the status to UNKNOWN if router is down(also ensure we can't
contact the router if the state is Stopped in our database).
2011-08-18 22:51:13 -07:00
Edison Su
df6bee4061
add template for simulator
2011-08-18 11:37:50 -07:00
Edison Su
ea102aa045
add host guid in migrate command
2011-08-18 11:03:40 -07:00
Edison Su
1bc7631bf2
finally, test framework works now
2011-08-18 10:51:31 -07:00
Kelven Yang
9c47f6bd94
Use row lock instead of global lock when creating a new domain
2011-08-18 10:41:49 -07:00
alena
0cdb67fdc7
bug 11167: no need to lock account when create security group to ensure that the group name is unique for account. If group already exists in the db, and we try to persist it again, mysql constraint (groupName, accountId) will fail and exception will be thrown.
...
status 11167: resolved fixed
2011-08-18 10:16:20 -07:00
frank
523a32edaa
Fix baremetal planner reply to non-baremetal VM when migration
2011-08-18 10:14:16 -07:00
Abhinandan Prateek
2df6e5cc69
fixed execptions while adding second host
2011-08-18 16:26:00 +05:30
Kelven Yang
97e95fce82
bug 10834: when VMware host is down, don't try to restat VMs on other host. VMware prohibits VM relocation when host is down
2011-08-17 18:09:31 -07:00
alena
c82a373327
Defined missing length field for VO classes
2011-08-17 15:10:07 -07:00
alena
6291554576
bug 11154: host can go in Maintenance state only after all vms are migrated from it
...
status 11154: resolved fixed
2011-08-17 12:03:53 -07:00
Murali Reddy
37512883f1
bug 11148: VMs that got stopped during Host Maintenance have host_id associated with them
...
status 11148: resolved fixed
enabled vm stop, if the host is last valid host in cluster
2011-08-17 18:11:23 +05:30
Kelven Yang
a9c67d23fa
bug 11099: Let VM sync to cooperate with migration process
2011-08-16 15:23:01 -07:00
Sheng Yang
b10f560be5
Fix NPE when a router is fail to start
...
Also enforce the check for restartNetworkCommand
2011-08-16 11:43:36 -07:00
alena
356728ae19
Fixed spelling mistake
2011-08-16 09:52:00 -07:00
Kelven Yang
5fc66d1c61
re-enable HA logic on VM state synchronization for VMware
2011-08-15 17:00:43 -07:00
alena
5fd0ff5610
Added missing license headers
2011-08-15 14:24:28 -07:00
alena
8f3e83d2bc
bug 10567: In Basic zone, throw an exception with Pod scope when vm failed to be added to the network - so we retry to start it in a different pod
2011-08-15 11:20:45 -07:00
alena
3945eec0df
Fixed the bug in allocator where cluster was added to avoid set as pod
2011-08-15 10:43:59 -07:00
alena
6f436b6b0b
Improved logging in 229 to 2210 upgrade
2011-08-15 10:21:20 -07:00
Sheng Yang
d1721669ea
bug 11122: Fix router startup
...
The new created router got hostId = 0.
status 11122: resolved fixed
2011-08-15 10:21:20 -07:00
alena
73fe2cbb89
Fixed db upgrade issue for 229-2210 firewall rules
2011-08-15 10:20:34 -07:00
Sheng Yang
23674a5386
bug 11105: Fix router with disconnected host
...
We keep the stopped router there, but continue with the ones we can use.
status bug 11105: resolved fixed
2011-08-15 10:20:34 -07:00
alena
05713a20e8
bug 11114: when release static nat as a part of vm expunge, do searchIncludingRemoved in nics table as the nics are marked as Removed before static nat is released
...
status 11114: resolved fixed
2011-08-15 10:18:45 -07:00
alena
47e8d2b29c
Fixed error message
2011-08-15 10:18:44 -07:00
alena
c8cf17f6da
Revert "fix NPE when listvolume if vm got destroyed"
...
This reverts commit 9bdaa9d967a6390cc1655ce7344d5af474890e4c.
2011-08-15 10:18:44 -07:00
alena
d8a9612ef7
Remove firewall rule along with pf/staticNat/lb rule if the pf/staticNat/lb failed to create due to network rule conflict
2011-08-15 10:18:44 -07:00
Edison Su
ec978f0716
fix NPE when listvolume if vm got destroyed
2011-08-15 10:18:10 -07:00
alena
891f02f4d4
Resend firewall rules on domR restart
2011-08-15 10:18:10 -07:00
Naredula Janardhana Reddy
c63f9fbca2
bug 10561: allowing to create a firewall rule with sameport range but different protocols
2011-08-15 10:18:10 -07:00
alena
803255b0ba
bug 11029: db upgrade from 2.2.9 to 2.2.10 includes firewall_rule upgrade now
...
status 11029: resolved fixed
Commit also includes the following:
* map firewall rule to pf/lb/staticNat/vpn when the firewall rule is created as a part of pf/lb/staticNat/vpn rule creation
* when delete firewall rules, also delete related firewall rule
2011-08-15 10:18:09 -07:00
Sheng Yang
08a2f30785
bug 11122: Fix router startup
...
The new created router got hostId = 0.
status 11122: resolved fixed
2011-08-13 00:15:53 -07:00
Sheng Yang
ee90c51a77
bug 11105: Fix router with disconnected host
...
We keep the stopped router there, but continue with the ones we can use.
status bug 11105: resolved fixed
2011-08-12 19:15:52 -07:00
alena
25ddb22724
Revert "fix NPE when listvolume if vm got destroyed"
...
This reverts commit b6518399987a17c791f22b991dcea36d57866269.
2011-08-12 17:30:13 -07:00
Edison Su
2548269238
fix NPE when listvolume if vm got destroyed
2011-08-12 14:40:46 -07:00
Alex Huang
7ac3c818a9
bug 11079: fixed a bug with autoboxing
2011-08-12 14:14:15 -07:00
Murali Reddy
cc60989a68
bug 10923: changes for snapshot command to carry primary storage pool path
2011-08-12 17:43:18 +05:30
Nitin
5ef0c96e70
bug 11096: ExtractTemplate - For private template choose the correct sec storage host id since its not present in all the sec storage now.
2011-08-12 14:30:34 +05:30
Sheng Yang
932f8a7144
Add alert and log for redundant router state change
2011-08-11 23:37:01 -07:00
Kelven Yang
c498cf3ec6
Disable HA in CloudStack HA manager under VMware
2011-08-11 18:09:11 -07:00
Sheng Yang
23e6b96c98
Redundant router script fix, also fix CheckRouterTask
2011-08-11 17:57:00 -07:00
Chiradeep Vittal
d7f332d16b
do not release ip for advanced networking / regular LB usage
2011-08-11 17:42:50 -07:00
Chiradeep Vittal
51af0db682
mass merge 2.2.10
2011-08-11 16:41:52 -07:00
alena
5080e8ba33
No need to apply static nat for ip which is not static nat enabled
2011-08-11 16:00:16 -07:00
Sheng Yang
b63b3fcf05
Skip the null Host for CheckRouterTask
2011-08-11 14:29:49 -07:00
Kelven Yang
9e1ee30ea3
bug 11019: Let VM sync to coordinate with possible VM-relocation under VMware when VM is in starting time
2011-08-11 14:28:39 -07:00
alena
10034bc196
Fixed rule validation for static nat rules
2011-08-11 14:03:49 -07:00
Sheng Yang
d6e99567ce
Skip the null Host for CheckRouterTask
2011-08-11 13:22:31 -07:00
Sheng Yang
0f0d705ae0
Fix redundant router switch back to single router
...
The existed redundant router network didn't change.
2011-08-11 12:49:26 -07:00
Sheng Yang
f28291cedb
Fix redundant router switch back to single router
...
The existed redundant router network didn't change.
2011-08-11 12:48:56 -07:00
keshav
df5f48c093
Added parameter to enable the firewall rule UI to the list capabilities API.
2011-08-11 12:03:06 -07:00
keshav
d47eb46faf
Added parameter to enable the firewall rule UI to the list capabilities API.
2011-08-11 11:42:02 -07:00
alena
477e5d6389
bug 10561: reapply static nat on the backend as a part of domR restart and network restart
2011-08-11 11:19:09 -07:00
Alex Huang
1079a77024
bug 11043: rverted the bad fix
2011-08-11 10:27:02 -07:00
Alex Huang
15f86d3d93
bug 11043: rverted the bad fix
2011-08-11 10:25:31 -07:00
alena
278f2a401f
bug 10561: intermediate checkin for enable/disableStaticNat.
...
1) On enableStaticNat command we actually send the command to the backend (we used to just upgrade the DB in the past). The backend command carries sourceIp and destIp, and creates IP to IP mapping on the domR.
2) On disableStaticNat for the Ip address in addition to cleaning up port ranges, we also delete IP to IP mapping on the domR.
2011-08-11 10:19:22 -07:00
Chiradeep Vittal
17a8234140
should be able to apply firewall rules to static natted ips
2011-08-10 22:53:07 -07:00
Chiradeep Vittal
b33f08053c
bug 11072: one more
2011-08-10 22:04:21 -07:00
Chiradeep Vittal
375da4da1a
bug 11072: icky icky icky
2011-08-10 20:40:13 -07:00
alena
e874109839
bug 11071: when elb service is enabled, don't check supported protocols as the provider is NULL in data_center table
...
status 11071: resolved fixed
2011-08-10 19:25:04 -07:00
alena
0805dbd3fb
Fixed rule validation for ICMP protocol
2011-08-10 19:11:26 -07:00
alena
13a9c1d589
Fixed capability check in rule validation
2011-08-10 18:23:13 -07:00
keshav
8dd86ff803
Added configuration parameter to enable/disable the firewall rule UI.
2011-08-10 18:19:52 -07:00
Sheng Yang
81a6de4eb7
Fix existed single router network after enable redundant router feature
2011-08-10 18:08:05 -07:00
Sheng Yang
8c70e06572
Fix existed single router network after enable redundant router feature
2011-08-10 18:07:42 -07:00
alena
3c29f00de1
bug 11013: Basic zone setup - pass domRs from other pods to addVirtualMachineToNetwork() method only when network.dns.basiczone.updates is set to "all"
...
status 11013: resolved fixed
2011-08-10 16:03:48 -07:00
keshav
1bb057d113
Added configuration parameter to enable/disable the firewall rule UI.
2011-08-10 15:56:01 -07:00
Sheng Yang
a9fd65b9c3
Clean up restart Network
2011-08-10 15:02:48 -07:00
Sheng Yang
18f2df44a1
Clean up restart Network
2011-08-10 15:02:08 -07:00
Sheng Yang
16119d5cac
Clean up VirtualRouterElement.restart()
2011-08-10 13:23:52 -07:00
Sheng Yang
bcf5058eda
Clean up VirtualRouterElement.restart()
2011-08-10 13:23:30 -07:00
alena
956445960a
Throw ResourceUnavailableException when rules/ips fail to apply on the backend
2011-08-10 12:56:25 -07:00
alena
fe3dd44bec
ICMP protocol is supported in createFirewallRule command only; throw an error if specified in createPF/StaticNat/LB rule
2011-08-10 12:56:25 -07:00
Sheng Yang
e1de9f5bec
bug 11021: Add ReservationStrategy.Managed to prevent sourceNat from release
...
status 11021: resolved fixed
2011-08-10 12:52:19 -07:00
Sheng Yang
58a13c0d5a
bug 11021: Add ReservationStrategy.Managed to prevent sourceNat from release
...
status 11021: resolved fixed
2011-08-10 12:51:43 -07:00
Sheng Yang
87041202c0
bug 11045: Fix exception exit of CheckRouterTask
...
Catch all the exception and come back to work.
status 11045: resolved fixed
2011-08-10 12:05:44 -07:00
Sheng Yang
6e0eeb132e
bug 11045: Fix exception exit of CheckRouterTask
...
Catch all the exception and come back to work.
status 11045: resolved fixed
2011-08-10 12:05:22 -07:00
alena
32b53351ff
Fixed response processing in createFirewallRule command
2011-08-10 11:36:34 -07:00
Chiradeep Vittal
ba38d4d4f2
change it back to false since ui now handles false
2011-08-10 10:21:36 -07:00
Chiradeep Vittal
3f3c64025b
change it back to false since ui now handles false
2011-08-10 10:20:45 -07:00
Abhinandan Prateek
949ad3f4c4
bug 10561: readding source cidr changes to firewall rules
2011-08-10 13:55:37 +05:30
Abhinandan Prateek
9bba09857e
bug 10561: readding source cidr changes to firewall rules
2011-08-10 13:52:42 +05:30
anthony
e5e85d05e9
bug 10695: add XCP 1.0 support
...
status 10695: resolved fixed
Conflicts:
core/src/com/cloud/hypervisor/xen/resource/CitrixHelper.java
2011-08-09 19:51:32 -07:00
Sheng Yang
c76bfbaf15
bug 10640: Update redundant virtual router allocation algorithm
...
Try to put routers to two different primary storages with two hosts, not the same
host.
2011-08-09 18:25:36 -07:00
Sheng Yang
501dc0d9f4
bug 10640: Update redundant virtual router allocation algorithm
...
Try to put routers to two different primary storages with two hosts, not the same
host.
2011-08-09 18:21:28 -07:00
Sheng Yang
f85880c2a6
Revert "Catch domr creation exception"
...
This reverts commit 6d55408e1f0e1c98fe2a9d4cf51babc6a3308a14.
2011-08-09 15:58:10 -07:00
Sheng Yang
15cad8ba8e
Revert "Catch domr creation exception"
...
This reverts commit 2eff1d0eb9e39e4a8d702bb9867b9e95bb276b3e.
2011-08-09 15:57:46 -07:00
Sheng Yang
f558f74863
Catch domr creation exception
2011-08-09 15:03:27 -07:00
Sheng Yang
bfaa56d471
Catch domr creation exception
2011-08-09 15:03:04 -07:00
Kelven Yang
fe9ccf33b5
Seperate template cleanup control to enable template preloading
2011-08-09 13:38:27 -07:00
Kelven Yang
75c9d43f2f
Seperate template cleanup control to enable template preloading
2011-08-09 13:31:23 -07:00
Sheng Yang
8249c072ee
Add more detail log for startVirtualRouter
2011-08-09 11:16:33 -07:00
Sheng Yang
980c4b9120
Change router to FAULT state if anything goes wrong on fail-over
2011-08-09 11:09:20 -07:00
Abhinandan Prateek
311afeae23
bug 10731: reverting back source cidr changes for loadbalancer and portforwarding
2011-08-09 16:01:48 +05:30
Chiradeep Vittal
e466f49fc6
for now keep supportELB for virtualized as public instead of false
2011-08-09 01:09:14 -07:00
Chiradeep Vittal
179368ea32
get lb working on advanced mode again
2011-08-09 01:02:58 -07:00
Chiradeep Vittal
64efcf0443
Merge branch '2.2.8' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 2.2.8
2011-08-08 22:42:10 -07:00
Chiradeep Vittal
301bf049d1
fix compile issues
2011-08-08 22:03:08 -07:00
Chiradeep Vittal
924961d898
merge nectarine
2011-08-08 21:45:37 -07:00
alena
ae9ba8996a
Fixed restarNetwork for networks of type Direct - was broken with checkin bfdb4d2d989ed00adcbbf5455731cc2980afcb7b
2011-08-08 21:33:34 -07:00
alena
c5502fb8aa
Fixed the bug when domR was re-created as a part of implement() method in network gurus with sourceNatIp address belonging to incorrect user (System user instead of network owner).
2011-08-08 21:17:24 -07:00
alena
06d007337a
bug 10561: intermidiate checkin for FirewallRuleFeature
...
1) Added new apis: createFirewallRule, deleteFirewallRule, listFirewallRules
2) Modified existing apis - added boolean openFirewall parameter to createPortForwardingRule/createIpForwardingRule/createRemoteAccessVpn. If parameter is set to true, open firewall on the domR before creating an actual PF rule there
Modified backend calls appropriately.
3) Schema changes for firewall_rules table:
* startPort/endPort can be null now
* added icmp_type, icmp_code fields (can be not null only when protocol is icmp)
4) Added new manager - FirewallManagerImpl
2011-08-08 20:59:40 -07:00
Kelven Yang
a3fb501378
adjust to merged changes
2011-08-08 18:44:14 -07:00
Kelven Yang
39a3d82f11
Add prepareTemplate command(admin only) to allow pre-loading template into primary storage
2011-08-08 18:37:26 -07:00
anthony
1a070f4c1b
bug 11014:
...
1. if there is no storage pool, don't try to start system VM
2. not use "consoleproxy.restart" as other meaning
status 11014: resolved fixed
2011-08-08 18:28:34 -07:00
Naredula Janardhana Reddy
12cadca538
Revert "bug 10561: Allowing ICMP traffic through static NAT"
...
This reverts commit 5e74e24bb359456967866cb2c6cc0f6f73570f97.
2011-08-08 17:59:05 -07:00
Chiradeep Vittal
c5a999757a
get ELB working on 2.2.8
2011-08-08 17:58:35 -07:00
Chiradeep Vittal
1228e6ed27
merge ELB / nectarine branch
2011-08-08 15:21:20 -07:00
Chiradeep Vittal
8277584b8a
merge ELB / nectarine branch
2011-08-08 15:20:56 -07:00
frank
c89425325b
Bug 8966 - Oracle VM (OVM) support
...
OCFS2 support -- add files
2011-08-08 13:32:27 -07:00
frank
c881bae64e
Bug 8966 - Oracle VM (OVM) support
...
OCFS2 support -- use ComponentLocater to load OCFS2 manager
2011-08-08 13:30:15 -07:00
Naredula Janardhana Reddy
9e9ae52dbf
Revert "bug 10561: Allowing ICMP traffic through static NAT"
...
This reverts commit 5e74e24bb359456967866cb2c6cc0f6f73570f97.
2011-08-09 00:08:07 +05:30
Chiradeep Vittal
1e82b65983
Ensure upgrade picks up new db configs
2011-08-05 18:13:52 -07:00
Chiradeep Vittal
b4a6f2103a
ensure that we pick an idle elb vm in the same pod as the ip
2011-08-05 17:46:42 -07:00
frank
c6fba0fd42
Bug 8966 - Oracle VM (OVM) support
...
OCFS2 support -- prepare OCFS2 nodes
2011-08-05 17:46:29 -07:00
Chiradeep Vittal
ec7c9a2f7e
bug 10998: maintain lb id in map table
...
status 10998: resolved fixed
2011-08-05 17:37:11 -07:00
keshav
b8c9205000
Changed findOrCreateDhcpServers() to check if start IP is null before retrieving an IP address object
2011-08-05 17:03:20 -07:00
Chiradeep Vittal
bb313a61f0
bug 10659: reuse unused elb vms if they are not gceed already
2011-08-05 15:17:58 -07:00
Chiradeep Vittal
0e5cf4831d
remove accidental commit
2011-08-05 14:11:19 -07:00
alena
797263265e
bug 10994: Fixed NPE in destroySystemVm api
...
status 10994: resolved fixed
2011-08-05 12:45:57 -07:00
Chiradeep Vittal
5552b650ff
Merge branch 'guru' into 2.2.8.nectarine
2011-08-05 12:27:47 -07:00
Chiradeep Vittal
68a450b5a4
initialize search builder
2011-08-05 12:26:15 -07:00
Chiradeep Vittal
60e21d5611
initialize search builder
2011-08-05 12:17:19 -07:00
Chiradeep Vittal
ac8b833fb0
Ensure lb vm enables only those services that are necessary. ensure default route
2011-08-05 12:16:55 -07:00
Sheng Yang
7a3edd74d5
Fix missing lock releasing in VirtualNetworkApplianceManagerImpl.java
2011-08-05 12:14:42 -07:00
Sheng Yang
7638f8e7a7
bug 10991: Determine existing redundant router using both state and host id
...
Seems in some condition, when a router is stopped, it's host_id != null.
status 10991: resolved fixed
2011-08-05 11:36:35 -07:00
Abhinandan Prateek
415db5a126
bug 10969: name of VM is instance name, instead of display name
...
status 10969: resolved fixed
2011-08-05 13:16:39 +05:30
Abhinandan Prateek
51e43be06c
bug 10969: name of VM is instance name, instead of display name
...
status 10969: resolved fixed
2011-08-05 13:14:28 +05:30
Abhinandan Prateek
0f2a9b6a69
bug 10748: fixed it when the VM acts as a dhcp server only
...
status 10748: resolved fixed
2011-08-05 12:02:54 +05:30
Abhinandan Prateek
c460a1b80b
bug 10748: fixed it when the VM acts as a dhcp server only
...
status 10748: resolved fixed
2011-08-05 11:58:48 +05:30
Chiradeep Vittal
0c408d8da5
handle elb vm restart
2011-08-04 22:05:48 -07:00
Kelven Yang
19567df49b
bug 10765: fix step 2 - programming VNC server to let it chose the right keyboard mapping to load into
2011-08-04 18:27:45 -07:00
Chiradeep Vittal
61fd6a79c8
ensure elb vm is managed by elb manager
2011-08-04 17:02:27 -07:00
Kelven Yang
d9392a6aa7
guard GlobalLock lock with finally clause
2011-08-04 16:19:28 -07:00
anthony
41759c153d
bug 10964: if snapshot's volume's templateId is NULL, change snapshot version from 2.1 to 2.2 directly, not upgrade snapshot is needed.
...
status 10964: resolved fixed
2011-08-04 16:08:50 -07:00
anthony
3272241440
bug 9255: do NOT allow creating snapshot/snapshotpolicy against System VM volume
...
status 9255: resolved fixed
2011-08-04 15:28:38 -07:00
Edison Su
1d49275ca8
release capacity if current state is in starting and not transit to running
2011-08-04 14:26:21 -07:00
Edison Su
ccdfe240bd
don't put cpu/mem into reserved capacity if failed to start/stop vm
2011-08-04 14:26:21 -07:00
Chiradeep Vittal
e936a52f10
merge changes from parent branch
2011-08-04 12:39:25 -07:00
alena
6882b39a1e
Fixed upgrade for volumes table
2011-08-04 11:22:25 -07:00
alena
4abb737c04
Fixed upgrade for volumes table
2011-08-04 11:22:04 -07:00
alena
294e30d7c2
Merged 228-229 db upgrade from 228 branch
2011-08-04 10:19:23 -07:00
alena
3d0758691f
bug 10954: when start a vm, always check if it's being started in original pod; if not - release old ip address, and allocate the new one from the new pod
...
status 10954: resolved fixed
Conflicts:
setup/db/db/schema-228to229.sql
2011-08-04 10:01:06 -07:00
alena
527c3b024f
bug 10954: when start a vm, always check if it's being started in original pod; if not - release old ip address, and allocate the new one from the new pod
...
status 10954: resolved fixed
2011-08-03 20:46:33 -07:00
Chiradeep Vittal
e5c4bf4e28
bug 10659: manage elb vms independently of virtualnetworkappliance.
2011-08-03 18:55:01 -07:00
Sheng Yang
a46c2cb650
Send CheckRouter command only when router is running
2011-08-03 16:57:43 -07:00
alena
da4b39279d
Added 229 to 2210 upgrade path
...
Conflicts:
server/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
setup/db/db/schema-228to229.sql
2011-08-03 10:23:27 -07:00
alena
cf7e351cbf
bug 10921: remove obsolete keys during 2.1.x to 2.2.9 upgrade
...
status 10921: resolved fixed
Conflicts:
server/src/com/cloud/upgrade/dao/Upgrade228to229.java
2011-08-03 10:15:09 -07:00
Naredula Janardhana Reddy
46427fef91
bug 10561: Allowing ICMP traffic through static NAT
2011-08-03 21:15:02 +05:30
Abhinandan Prateek
b74c398d76
domain syntax check for zoneupdate
2011-08-03 14:41:04 +05:30
Abhinandan Prateek
cd78c5cb9b
bug 10812: putting key in ZoneConfig and other nomenclature changes
2011-08-03 14:32:28 +05:30
Abhinandan Prateek
6dd519ddd4
bug 10812: putting key in ZoneConfig and other nomenclature changes
2011-08-03 14:16:08 +05:30
Abhinandan Prateek
7e727be42c
bug 10748: use external dnses if set thru global config (dhcp otpion 6)
2011-08-03 12:34:02 +05:30
Chiradeep Vittal
8ccfdc08de
handle release of ip on deletion of loadbalancer rule
2011-08-02 20:31:37 -07:00
alena
8d47c53735
Revert "bug 10435: removed vpn feature"
...
This reverts commit ea9e1b5d138950e8de49fce7ffdbb12a1c72c560.
Conflicts:
api/src/com/cloud/api/ResponseGenerator.java
scripts/vm/hypervisor/xenserver/vmops
server/src/com/cloud/configuration/Config.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManager.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
2011-08-02 18:12:57 -07:00
alena
e0033c5d9d
bug 10869: always allocate first ip address from the range for the dhcp server.
...
status 10869: resolved fixed
Here is the flow (design is approved by Will Chan):
1) If user specifies custom ip address, and this ip is not the first ip in the range, the dhcp server gets the ip.
2) If user specifies custom ip address, and this ip is the first ip in the range, the dhcp server will get the random ip address from the range.
2) If user doesn't specify custom ip address, we always try to allocate first ip address from the range for the dhcp server; if this ip is already allocated, the dhcp server will get the random ip from the range.
This will work for:
* domR's Guest network
* dhcp's Direct network
2011-08-02 17:42:12 -07:00
anthony
fc70e15059
fixed build
2011-08-02 17:24:22 -07:00
Chiradeep Vittal
e725c8ffeb
Ensure gc is slower, make some configs visible
2011-08-02 17:16:57 -07:00
anthony
dc7ff2b5ad
Bug 10197:
...
implement pool-wise VM sync,
For XenServer, VM fullSync is pool-wise now, VM deltaSync is still per host
2011-08-02 16:52:24 -07:00
anthony
5f9884d97a
Bug 10197:
...
1. don't try HA vms if host hypervisor version changes
2. fixed a bug related to VM full sync with hosttrack enabled
2011-08-02 16:48:27 -07:00
alena
21afd1785a
bug 10938: do search includingRemoved when generate the log for the vm state transition. The fix is needed for the specific case when expunge interval is really small, and vm gets expunged right after it's state transitioned to Destroyed, but before the log for state transition is generated
...
status 10938: resolved fixed
2011-08-02 16:10:23 -07:00
Alex Huang
f043f63eaa
Merged changes from 2.2.8.zucchini
2011-08-02 15:33:48 -07:00
Chiradeep Vittal
fd1dbe9683
bug 10884: do not lock if not necessary
2011-08-02 13:51:26 -07:00
Alex Huang
5c543ffdb1
bug 10884: fixed a bug where the security group keeps processing a vm that has been removed
2011-08-02 10:45:29 -07:00
alena
bdb44c6850
bug 10916: don't return removed entries when do listDiskOfferings by regular user
...
status 10916: resolved fixed
2011-08-02 09:46:17 -07:00
alena
dd7ba12949
bug 10916: don't return removed entries when do listDiskOfferings by regular user
...
status 10916: resolved fixed
2011-08-02 09:44:44 -07:00
Alex Huang
92b8b29fe4
Revert "sg improvements. don't use global lock"
...
This reverts commit 1d9961c588976a910d60c6420487c29a9080b73a.
2011-08-02 03:49:30 -07:00
Alex Huang
79ddba246d
Revert "looks like lock tables don't return the tables locked"
...
This reverts commit 76781c10f8534acdd6f81c46952f88ade941e269.
2011-08-02 03:48:57 -07:00
Abhinandan Prateek
9009026eba
bug 10748: use external dns
...
status 10748: resolved fixed
2011-08-02 15:35:13 +05:30
Abhinandan Prateek
70b9769bd5
putting a check for domain name list
2011-08-02 15:22:49 +05:30
Alex Huang
91550836cf
looks like lock tables don't return the tables locked
2011-08-02 02:10:47 -07:00