Sheng Yang
abcf246293
bug 11513: Fix public IP release in advance network
...
We should only persist DomR's public ip, not console proxy and ssvm.
Reviewed-by: Edison
2011-09-21 19:16:41 -07:00
alena
ae56bd11e0
bug 11513: always wrap marking IP address with Releasing state and actual IP deallocation in Transaction
...
Reviewed-by:edison@citrix.com
Conflicts:
server/src/com/cloud/network/guru/DirectPodBasedNetworkGuru.java
2011-09-21 18:42:47 -07:00
alena
9f9b60a287
1) Added resource limits for the Projects - the same as for the account
...
2) Added "Project" limit type for the Domain object
2011-09-21 17:09:49 -07:00
frank
ce3d810f51
Bug 11522 - New agent manager
...
introduce ResourceState and ResourceStateAdapter
2011-09-21 16:52:39 -07:00
frank
443385471f
Bug 11522 - New agent manager
...
change angent state machine to state machine 2
2011-09-21 16:48:33 -07:00
Edison Su
b1b11a6928
bug 11047: change the put storage pool into maintenance mode: 1. only look at the available storoge pool in its own dc to decide to start vms created on it. 2. if start vm failed, don't throw exception, as these vms are marked stopped already, admin can start these vm by himself.
...
status 11047: resolved fixed
Reviewed-by: frank
2011-09-21 16:20:33 -07:00
alena
4d89066b2c
bug 11515: reapply all firewall rules for the IP address when VPN related rules are being revoked
...
status 11515: resolved fixed
Reviewed-by: will@cloud.com
2011-09-21 09:50:32 -07:00
Nitin
f49578c23a
bug 11051: ListZones - Introduce a flag 'showCapacitites'. When its true it will start displaying all the capacitites (as objects in the response) for the respective zone. Also correcting the summation logic for List cluster, pod and zone commands
2011-09-21 16:59:16 +05:30
alena
a1331d1cfc
Intermidiate checkin to Project feature:
...
1) Introduce new managers - ProjectManager and DomainManager. Moved all domain related code from AccountManager to DomainManager.
2) Moved some code from ManagementServerImpl to the correct managers.
3) New resource limit for Domain - Project
2011-09-20 18:35:28 -07:00
alena
bddc2b9e45
bug 11487: catch all exceptions in cleanupAccount, and mark the account for cleanup when the exception is caught.
...
status 11487: resolved fixed
Reviewed-by: will@cloud.com
2011-09-20 10:33:06 -07:00
alena
b6f58b77b8
bug 11462: 1) when delete PF rule, revoke corresponding firewall first (if exists) 2) never remove PF rule from the table when corresponding firewall rule wasn't removed yet
...
status 11462: resolved fixed
Reviewed-by: edison@cloud.com
Conflicts:
server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java
2011-09-20 10:32:57 -07:00
alena
459b32cc6a
bug 11493: no need to do cross domain checks for the templates as domain level templates are not supported. We support only public (everybody can see and use) and private (only owner can see and use unless changed with updateTemplatePermissions call)
...
status 11493: resolved fixed
Reviewed-by: will@cloud.com
2011-09-20 10:31:57 -07:00
Nitin
7bcbdeb834
bug 11051: ListPods - Introduce a flag 'showCapacitites'. When its true it will start displaying all the capacitites (as objects in the response) for the respective cluster.
2011-09-20 15:59:45 +05:30
Nitin
4a5f6faca2
bug 11051: ListClusters - Introduce a flag 'showCapacitites'. When its true it will start displaying all the capacitites (as objects in the response) for the respective cluster.
2011-09-20 14:33:46 +05:30
Edison Su
a02ae53417
bug 11495: set bootable as user selected for iso/templates
...
status 11495: resolved fixed
Reviewed-by:alena@citrix.com
2011-09-19 17:48:55 -07:00
alena
03bd7d0c96
bug 11480: verify account/user state when do single signon verification
...
status 11480: resolved fixed
Reviewed-by: kelven@cloud.com
2011-09-19 10:57:18 -07:00
alena
ba64010cb5
bug 11470: 1) fixed listResourceLimits 2) Fixed -1 to be treated as unlimited for all the resources
...
status 11470: resolved fixed
2011-09-19 09:47:07 -07:00
prachi
0eea1cb733
Bug 11404 - VM was in Running state, had null for a pod_id, basically didnt allow creation of subsequent vm's
...
Reviewed-by: Alex
Changes:
- When management server starts, it goes through all the pending work items from op_it_work table and schedules HA work for each. It used to mark each item as done. Instead we should keep the item as pending and let it get marked as Done after the HA work is done.
- Changes in VirtualMachineMgr::advanceStop() :
a) if we find a VM with null hostId, we stop the VM only if it is forced stopped.
b) if VM state transition to Stopping fails,for state Starting and Migrating we try to find the pending work item and then do cleanup the VM. In case state is Stopping we can cleanup directly.
c) We proceed releasing all resources only if state transitioned to 'Stopping'.
- Changes in HA:
a) Depend on VirtualMachineMgr::advanceStop() in case host is not found to do VM cleanup
- When Vm state between mgmt server and agent syncs from starting -> running, mark any pending work item as done.
Conflicts:
server/src/com/cloud/vm/VirtualMachineManagerImpl.java
2011-09-15 19:06:19 -07:00
alena
117de2a61a
Do agent disconnect when agent rebalance fails
...
Reviewed-by: Alex Huang
2011-09-15 18:37:06 -07:00
prachi
6b82ba3ff9
Bug 11457 - NullPointerException while synching VM state from Starting -> Running between management server and agent
...
Reviewed-by: Kelven and Alex
Changes:
- Added log statements about the podId during deploying a VM.
2011-09-15 16:16:24 -07:00
prachi
df17ce5648
Bug 11457 - NullPointerException while synching VM state from Starting -> Running between management server and agent
...
reviewed-by: Alex/Kelven
Changes:
1. UserVmManagerImpl :: finalizeStart()
Added null check for the cmds.getAnswers() object. Return ‘true’ if null.
2. VirtualMachineManagerImpl :: advanceStart()
Move the line to set PodId to the vm being started above the state transition where hostId gets set, so that podId is not null in case management server goes down when vm starts on the agent. On restart, podId is not updated during fullsync. So this will prevent podId remaining null.
vm.setPodId(dest.getPod().getId());
2011-09-15 16:16:15 -07:00
keshav
60d69aabb2
In inline SRX/F5 mode, collect outbound usage for LB rules from the SRX.
2011-09-15 14:45:06 -07:00
Sheng Yang
c67594ef50
bug 11300: Make restartNetwork destroy and recreate DHCP server
...
status 11300: resolved fixed
2011-09-15 11:56:31 -07:00
alena
2138f86bb3
bug 11447: don't do security group check if both groups belong to the same domain
...
status 11447: resolved fixed
2011-09-15 10:08:00 -07:00
Nitin
d53c3f0798
bug 11051: Listing Secondary Storage - also show the total and used storage. Listing Storage pools show the realtime storage stats and correctly populate the allocated storage.
2011-09-15 15:53:31 +05:30
Naredula Janardhana Reddy
10fb507609
bug 11372:
...
Added two New values "all" and "default" to global config "network.loadbalancer.haproxy.stats.visibility" . With this change, it can take six possible value:
global - stats visible from public network.
guest-network - stats visible only to guestnetwork.
link-local - stats visible only to link local network(for xen and kvm).
disabled - stats disabled.
all - stats available on public,guest and link-local. (Newly added)
default - stats availble on the serving http port, this does need any specific http port.(Newly added)
Except "default" and "disabled", all the rest of 4 need to configure the stats port.
2011-09-15 11:46:34 +05:30
Murali Reddy
bb7b6d5eee
fixing build break due to commit edbd3a862ce16cce1b22f54c843d33f8f6cf809c
2011-09-15 11:40:46 +05:30
anthony
6ecc981e25
bug 9777: introduce Error status for snapshot, if snapshot creation fails, it will be in Error status
...
status 9777: resolved fixed
2011-09-14 18:14:02 -07:00
Kelven Yang
1b9552ea74
Let VmwareInvestigator return fake but meaningful investigation result
2011-09-14 17:04:28 -07:00
Sheng Yang
c85902b04c
bug 11307: Using latest query result rather than set bumpup to false
...
After the host is disconnected, we can't get latest result, but it's not safe to
think it's priority bump up flag changed.
2011-09-14 16:26:48 -07:00
Sheng Yang
f19fca6ec6
Fix restartNetwork wrongly report stop failure
2011-09-14 16:24:43 -07:00
Sheng Yang
474d1a6034
bug 11307: Add destroyRouter command
2011-09-14 16:23:42 -07:00
Sheng Yang
684a603a6e
bug 11307: Add cleanup parameter to restartNetwork command
...
Default set it to true. When cleanup=false, restartNetwork would only
re-implement the network, but don't destroy current existed routers.
2011-09-14 16:23:34 -07:00
Sheng Yang
e330e97f4b
bug 11307: Mark router as to-be-stopped, rather than force stop it.
...
Force stop the router would release all the resources it used, but router may
still running. Add a column "stop_pending" in the database, and stop it when the
router come back.
Admin would able to choose to force destroy such router, then recover the
network using restartNetwork command with cleanup=false.
2011-09-14 16:23:17 -07:00
Sheng Yang
ebd67feae7
bug 11307: Rewrite the redundant router's priority
...
Now the very first router's priority would be 100, and the second one would be
100 - 2 + 1 = 99.
2011-09-14 16:22:33 -07:00
Sheng Yang
dfd36e4ae2
bug 11307: Add Bumped field for domain_router
...
Only used for redundant virtual router.
2011-09-14 16:22:11 -07:00
Sheng Yang
b987123daa
bug 11307: Let CheckRouterAnswer() parse the return result
2011-09-14 16:21:33 -07:00
alena
bb9fda3435
Fixed the problem in addDhcpEntry code when _dnsBasicZoneUpdates was never reset once set to false.
...
Conflicts:
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
2011-09-14 16:11:01 -07:00
Kelven Yang
7a64d8fda4
add VmwareInvestigator and VmwareFencer, use short worker VM name to avoid vCenter truncation
2011-09-14 15:15:26 -07:00
anthony
313b624373
bug 9777: only allow to delete snapshot in BackedUp status
...
status 9777: resolved fixed
2011-09-14 14:16:19 -07:00
alena
5f9246114b
bug 10435: use "hostName" instead of "name" as a search filed in listSystemVms
...
status 10435: resolved fixed
2011-09-14 11:01:37 -07:00
alena
b7f45cfbd6
bug 11434: don't execute destroy call when vm is already in Destroyed/Expunging state
...
status 11434: resolved fixed
2011-09-14 10:33:45 -07:00
prachi
ea97ce2a93
Bug 11430 - add host > Host Tags field missing from DB + UI even when host tags specified in add host 2.2.y -> 2.2.12 KVM
...
Changes:
A KVM agent always connects to the management server itself, we dont have to do direct connect. This part of code was missing updating the DB host entry with hosttags.
Corrected the code to save the hosttags while adding a KVM host.
2011-09-14 10:27:07 -07:00
Murali Reddy
78a5b651ac
bug 11425: dont count direct IP in resource count while updating resource count through API
...
status 11425: resolved fixed
2011-09-14 22:52:30 +05:30
Nitin
20f0707755
bug 11190: My changes got reverted. Putting them back - Treating the max account limits with -1 values as infinite
2011-09-14 19:35:48 +05:30
anthony
d6cbd2b6bc
bug 11275:
...
remove heartbeat entry for this Primary Storage, when put this Primary Storage into maintenance mode
create heartbeat entry for this Primary Storage, when cancal maintenance for this Primary Storage
status 11275: resolved fixed
2011-09-13 22:15:21 -07:00
frank
71385f7cc0
check hypervisorType and StoragePoolType in OCFS2 manager when delete host
...
don't take lock in processResourceEvent()
2011-09-13 17:35:58 -07:00
alena
45c595d558
Don't update resource count for system account
2011-09-13 16:58:54 -07:00
alena
569427ba1f
bug 11036: if resource_count record is missing for account or domain, insert it during the management server startup (with count=0)
...
status 11036: resolved fixed
2011-09-13 15:23:27 -07:00
anthony
f071ce571c
bug 10949: if a cluster doesn't have any hosts, set cluster guid to new one when add host to this cluster.
...
status 10949: resolved fixed
2011-09-13 13:53:23 -07:00
alena
b05c69f3b3
bug 11246: return lb rule Id in the async response for createLoadBalancer api
...
status 11246: resolved fixed
2011-09-13 12:08:12 -07:00
anthony
c5bc16ef42
XcpServerDiscoverer is only for XenServer
2011-09-13 11:11:55 -07:00
kishan
d2293137c7
bug 11199: Moved DB upgrade changes to schema-2211to2212-premium
...
status 11199: resolved fixed
2011-09-13 23:28:54 +05:30
alena
f6a79c603f
bug 11036: resource count update is refactored
...
status 11036: resolved fixed
1) Use row locks instead of global lock when update resource_count table. When update resource_count for account, make sure that we lock account+all related domains
2) Insert resource_count records for account/domain at the moment when account/domain is created.
3) As a part of DB upgrade, insert missing resource_count records for all non-removed accounts/domains
Conflicts:
core/src/com/cloud/alert/AlertManager.java
server/test/com/cloud/agent/MockAgentManagerImpl.java
2011-09-13 10:47:36 -07:00
anthony
ae64c56c12
bug 11413: when mark host ad disconnected, set lastping to now - pingtimeout
...
status 11413: resolved fixed
2011-09-12 18:50:07 -07:00
Chiradeep Vittal
3cb4ad4934
Add more detail when unable to schedule cleanup
...
clean up tests for security group manager v2
move interval to listener -- allows it to be configurable if needed
fix mocks
Enhanced logging for security group manager (from zucchini)
fix merge issues
merge issues
2011-09-12 18:22:55 -07:00
Chiradeep Vittal
1f3c6efb81
Retry only a few times
2011-09-12 18:20:24 -07:00
Chiradeep Vittal
fae5e84699
if the xenserver host cannot do bridge firewalling do not attempt to retry the security rule updat
...
change some logs to debug level
2011-09-12 18:20:24 -07:00
Chiradeep Vittal
65fb83035f
Enable monitoring over JMX
...
Add the ability to disable some vms from being scheduled
Add ability to trigger ruleset updates from JMX
added a few more dangerous JMX operations
2011-09-12 18:20:24 -07:00
Chiradeep Vittal
d81bc5a375
Dequeue the vm with the largest id first -- this ensures that newly started vms get updated early
2011-09-12 18:20:23 -07:00
Chiradeep Vittal
925f5f2f09
Retry 3 times on deadlock: if not updated, then throw a runtime exception to roll back the vm start
2011-09-12 18:20:23 -07:00
Chiradeep Vittal
82fcfe8edc
make signature calculation consistent across management servers
2011-09-12 18:20:23 -07:00
Chiradeep Vittal
37b4384990
retry a transaction if it deadlocks
2011-09-12 18:20:23 -07:00
Chiradeep Vittal
cfbbe4c031
fix perf. issue in deploy vm. also remove dead code in dao
2011-09-12 18:20:23 -07:00
Chiradeep Vittal
c21a214372
if true, this could lead to the dog chasing its own tail
2011-09-12 18:20:23 -07:00
Chiradeep Vittal
5dba8cf430
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-12 18:20:23 -07:00
Chiradeep Vittal
6252d605c1
Avoid going back to the nics table for information we already have
2011-09-12 18:20:23 -07:00
Chiradeep Vittal
d03c5af720
make instance_id unique to allow usage of ON DUPLICATE KEY
...
useful logging
Reduce batch size to 16 to avoid sql errors
try using multi inserts to overcome deadlock during batch update
2011-09-12 18:20:23 -07:00
Chiradeep Vittal
b52d1157e9
use the new implementation of SG manager
2011-09-12 18:20:22 -07:00
Chiradeep Vittal
4cd6a9217c
Use hashset since it is 50% faster. we can use treeset when we support priority
2011-09-12 18:20:22 -07:00
Chiradeep Vittal
2fc782b8ba
Add basic Mocks for some managers
2011-09-12 18:20:22 -07:00
Chiradeep Vittal
abf4754503
New security group mgr WIP : memory based queueing
2011-09-12 18:20:22 -07:00
Chiradeep Vittal
f41b352d36
revert egress rules implementation pending review
...
Reverts a19212703b9734ebd44ebf55cfdd81ebdc9d7fe4
Reverts 24e4e44b8f0712a37147a3777833de3f9e24829e
2011-09-12 14:45:58 -07:00
Chiradeep Vittal
d817f3c364
Revert "bug 10617: Added Egress rules to Security groups."
...
revert pending review
This reverts commit a19212703b9734ebd44ebf55cfdd81ebdc9d7fe4.
2011-09-12 14:45:58 -07:00
Chiradeep Vittal
e216686029
Revert "bug 10617: Intermediate checking"
...
revert pending review
This reverts commit 561b27565512d438db3d8896df6f97b644b0b498.
2011-09-12 14:45:58 -07:00
Nitin
cbe996e1ce
bug 11403: Making hypervisor_type of xs-tools.iso (id=200) as XenServer. Made the corresponding DB changes as well.
2011-09-13 03:07:32 +05:30
Kelven Yang
41926cb038
bug 11377: remove the restriction on VMware in API layer to let it support VM manual migration
2011-09-12 14:28:32 -07:00
frank
d828f4e434
Bug 11350 - Baremetal destroy instance doesnt power off machine
...
status 11350: resolved fixed
2011-09-12 14:17:43 -07:00
anthony
299ae3ed91
fixed typo
2011-09-12 12:38:56 -07:00
kishan
b30827a0ec
bug 9778: Log snapshot create event only if the snapshot is in not removed state after backingUp to secondary. Log snapshot delete event for backed up snapshots only
...
status 9778: resolved fixed
2011-09-12 20:22:30 +05:30
kishan
5928a9b370
bug 9778: Log snapshot create event only if the snapshot is in not removed state after backingUp to secondary. Log snapshot delete event for backed up snapshots only
...
status 9778: resolved fixed
2011-09-12 20:01:19 +05:30
Nitin
3e096afba6
bug 10974: Fixed a bug in the search for listRouters API. The bug was introduced due to change in the VmInstancVO where the name field was changed to hostName. This went unnoticed in the DAO layer as we dont throw an exception but an assert error.
2011-09-12 16:51:17 +05:30
Nitin
002d0fda5a
bug 11190: Treating the max account limits with -1 values as infinite. When acquiring a lock to check for resourceLimitExceeded if the lock times out then return as limit exceeded.
2011-09-12 14:26:15 +05:30
Kelven Yang
3c41775184
1) Increase working buffer size to 1M when downloading/uploading VMDK, hopefully can improve OVF exporting/importing performance. 2) use atomic SQL operation to get rid of global lock usage
2011-09-09 17:07:09 -07:00
Naredula Janardhana Reddy
f9b0962ad9
bug 10617: Intermediate checking
...
Changes :
- Fixing API doc +response name + errorMessage
- Adding seperate events to Egress rules
- Egress rules Using the same database table as that of ingress with new column type.
Pending Tasks:
- db upgrade
- database table rename from security_ingress_rule to generic name, renaming some of the jave class from ingress to generic name.
- Retesting on kvm
2011-09-09 18:14:19 +05:30
Nitin
50efe56335
bug 11051: listHostsCmd - Fixed the capacity and stats response. Also removed the unwarranted code.
2011-09-09 14:23:13 +05:30
kishan
4e663bbef9
bug 8338: Added usage.aggregation.range parameter. Also included in 2211 to 2212 upgrade
2011-09-09 13:43:13 +05:30
prachi
d854923ac5
Bug 11200 - maximum number of guests per host
...
Manual Migration should fail if the destination host chosen by Admin already has max guest VMs running.
2011-09-08 18:33:55 -07:00
prachi
4ad9ac5e71
Bug 11200 - maximum number of guests per host
...
Changes:
To make sure migration does not attempt to pick a host that has running VMs more than the max guest VM's limit:
- Changed manual migration to call host allocators to return a list of hosts suitable for migration. Host allocators check for the max guest VM limit.
- Earlier we returned hosts with enough capacity but now Host Allocators make other checks along with capacity. So the list of hosts returned are hosts that have enough capacity AND satisfy all other conditions like host tags, max guests limit etc. Or in other words Allocators dont return the hosts that dont satisfy all conditions even if they have capacity.
-Therefore, now we mark the list of hosts returned for manual migration as 'suitable' hosts instead of 'hasenoughCapacity' in the HostResponse.
- HA migration already calls allocators, so no change is needed there.
2011-09-08 18:08:31 -07:00
keshav
e3252e5e66
Excluded external firewall/LB from host stats collection, and included them in ping checks
2011-09-08 16:43:37 -07:00
Kelven Yang
aa7f06d7eb
bug 11384: deprecate vmware.guest.nic.device.type global configuration variable
2011-09-08 16:11:17 -07:00
alena
6e6b6ab2ab
Fixed the bug in AgentLB: consider only hosts of type=Routing when calculate average load
2011-09-08 14:57:04 -07:00
Kelven Yang
a118880836
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:22:52 -07:00
anthony
4423da06a2
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:17:54 -07:00
Kelven Yang
905df61aac
bug 11362: Make VM network adapter device type be selectable based on VM-specific details
2011-09-07 17:58:42 -07:00
Kelven Yang
f70958809b
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:42:40 -07:00
prachi
84868b7f9c
Bug 11200 - maximum number of guests per host
...
Changes:
- Adding a new table 'hypervisor_capabilities' that will record capabilities for each hypervisor version. Added db schema changes for this.
- Currently a few capabilities have been added, namely, 'max_guests_limit' and 'security_group_enabled'
- Added a new column 'hypervisor_version' to host table. StartupRouting command now takes in this parameter. It should be set when a host connects.
- If a host's hypervisor version is not present, we find all the capabilities rows for that hypervisor type and use the first record.
- 'max_guests_limit' is the maximum number of running guest Vms that a host can have for the given hypervisor.
- Host Allocators use this limit and skip a host if the number of running VMs on that host exceeds this limit.
2011-09-07 14:53:05 -07:00
alena
b883b25a12
bug 11348: make content type for "json" files configurable
...
status 11348: resolved fixed
2011-09-07 14:22:01 -07:00
alena
ba2c6695cc
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.
Conflicts:
server/src/com/cloud/agent/manager/ClusteredAgentManagerImpl.java
2011-09-07 12:47:25 -07:00
anthony
13ee22d421
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:36:17 -07:00
kishan
066537a565
bug 4282: Removed caching of signatures. Added detailed error message expires parameter parsing
2011-09-07 17:51:09 +05:30
alena
47d9cbd2ee
bug 11331: allow extending vnet range as a part of updateZone call
...
status 11331: resolved fixed
2011-09-06 17:40:28 -07:00
kishan
f9d5a46871
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-05 18:41:42 +05:30
Naredula Janardhana Reddy
3c1f6fd24b
bug 10467: Incorrect display of domain router linklocalmac address and linklocal netmask fixed
2011-09-05 13:42:12 +05:30
alena
3c0396bb20
bug 10751: don't remove already removed templates during the account cleanup
...
status 10751: resolved fixed
2011-09-02 16:06:55 -07:00
alena
b93318cb73
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:52 -07:00
Kelven Yang
4d3d47f01c
bug 11304: restore host status after initialization failure
2011-09-02 15:19:36 -07:00
anthony
c683fda236
set timeout for CheckOnHostCommand to 50 s
2011-09-02 15:01:32 -07:00
anthony
c7fb330914
put getConnection into try
2011-09-02 15:01:28 -07:00
alena
eb9b5c1f65
bug 11259: ROOT admin can extract template/iso even when it's not mark as extractable
...
status 11259: resolved fixed
2011-09-02 12:37:15 -07:00
alena
ecd99ad379
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:39 -07:00
Sheng Yang
4e5ce5690a
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.
Conflicts:
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
2011-08-31 19:29:32 -07:00
Sheng Yang
01eb08a384
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:57 -07:00
alena
8b5f2c758e
Do account permission checks for snapshots the way it's done for all other ControlledEntities
2011-08-31 18:15:08 -07:00
frank
0c0fe8c1b3
Bug 8966 - Oracle VM (OVM) support
...
configure hostname of host for OCFS2
small fixes
2011-08-31 17:25:04 -07:00
Kelven Yang
0421eafba0
bug 10765: add japanese keyboard support for linux OSes
2011-08-31 15:53:01 -07:00
kishan
8d5e7ff659
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:16:12 +05:30
kishan
2ff1e4f92a
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 14:19:20 +05:30
alena
39b78ee17c
bug 11298: give detailed error message when failed to authenticate a user
...
status 11298: resolved fixed
2011-08-30 16:51:45 -07:00
alena
d65bef383c
Mark account as cleanup_required=0 when cleanup was finished successfully
2011-08-30 14:09:14 -07:00
alena
8f9b929e3f
Don't remove the domain when it has accounts that are removed, but require cleanup
2011-08-30 14:09:01 -07:00
alena
09f8d8ee4c
Fixed the bug when networkRate for the domR's guest network wasn't taken from the service offering
2011-08-30 10:41:17 -07:00
Naredula Janardhana Reddy
854f81962f
bug 10617: Added Egress rules to Security groups.
...
Description :
API's:
- Two new api's authorizeSecurityGroupEgress,revokeSecurityGroupEgressCmd are added. These two API's are similer to ingress rule API's.
- authorizeSecurityGroupEgress :Authorizes a particular egress rule for this security group . Usageof API is very similer to that of authorizeSecurityGroupIngress except that instead of source cidr there will be destination cidr. By default like ingress, all the outgoing flows are blocked.
- revokeSecurityGroupEgress : It is similer to revokeSecurityGroupIngress api, It removes the egress rule.
- listSecurityGroup API's response changed. It include's egress list apart from the existing ingress rules in the output of the API.
Hypervisors :
- It is implemented in Xen and KVM.
Pending Tasks : Blocking using destination security groups.
Previous commits: c9fda641673df7701f44963ef27e1d488f121219 , 24e4e44b8f0712a37147a3777833de3f9e24829e
2011-08-30 16:28:35 +05:30
Murali Reddy
279d21ee92
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:15:58 +05:30
Edison Su
03e33f16bf
bug 11217: only work on the snapshot whose state is "backedup" and is not removed
...
status 11217: resolved fixed
2011-08-29 15:28:01 -07:00
Edison Su
60cbef1fb8
bug 11217: add db upgrade script, if sechost_id is missing of a snapshot, add one got from presnapshot_id
...
status 11217: resovled fixed
Conflicts:
server/src/com/cloud/upgrade/dao/Upgrade229to2210.java
2011-08-29 15:27:53 -07:00
alena
41be3716e3
bug 11196: fixed the code when gson serialization was done twice
...
status 11196: resolved fixed
2011-08-29 14:50:18 -07:00
Murali Reddy
9abb544865
bug 6876: netscaler MPX & VPX support
...
- adding supprt for Netscaler VPX & MPX load blancers
- implemented for virtual networking
- works only with new fetched public IP, inline support is not added yet
2011-08-30 00:14:05 +05:30
alena
0b95ad2f0f
bug 11290: insert VPN config values as a part of 229-2210 upgrade
...
status 11290: resolved fixed
2011-08-29 11:22:42 -07:00
Murali Reddy
9a10f2b402
bug 6876: netscaler MPX & VPX support
...
- adding supprt for Netscaler VPX & MPX load blancers
- implemented for virtual networking
- works only with new fetched public IP, inline support is not added yet
more details will be added in the bug
2011-08-29 19:26:08 +05:30
alena
9ecd2058e7
Reverted wrong commit for logging in HostDaoImpl
2011-08-26 17:49:12 -07:00
Kelven Yang
ebfe43d15c
bug 11263: only update host Id when VM is in running state when detected external VM migration
2011-08-26 16:28:58 -07:00
alena
482528ce8c
Fixed the bug in extractTemplate - do ignoreCase comparison when verify the download mode.
2011-08-26 10:11:30 -07:00
Nitin
294f3953a4
bug 11244: Thread updating "op_host_capacity" table shouldn't do updates for removed pods/zones.
...
status 11244: resolved fixed
2011-08-26 18:58:52 +05:30
Naredula Janardhana Reddy
cbed4c7a44
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:21:29 +05:30
alena
a11b7de9fe
Set firewall.rule.ui.enabled to false by default
...
Conflicts:
server/src/com/cloud/configuration/Config.java
2011-08-25 16:12:55 -07:00
Kelven Yang
9ace681547
bug 11162: merge fix from 2.2.10 premium
2011-08-25 15:38:43 -07:00
Kelven Yang
97a7dddf7d
bug 11162: support memory overprovisioning in VMware
2011-08-25 15:38:28 -07:00
alena
35b551a199
bug 11260: Take networkRate for domR's guest and public interface from the corresponding system service offering
2011-08-25 14:15:12 -07:00
prachi
1fefdd628d
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 13:01:57 -07:00
alena
8c53dbcdd7
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
Conflicts:
api/src/com/cloud/network/firewall/FirewallService.java
server/src/com/cloud/network/firewall/FirewallManagerImpl.java
server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java
server/src/com/cloud/network/rules/RulesManagerImpl.java
2011-08-25 12:21:11 -07:00
prachi
16986c01c8
Bug 9921 - template tags
...
-Added missing import statement.
2011-08-25 12:16:09 -07:00
prachi
b6851e631e
Bug 9921 - template tags
...
-Upgrade path from 2.2.10 to 2.2.11
2011-08-25 12:09:21 -07:00
prachi
05440f0905
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
2011-08-25 12:03:59 -07:00
Abhinandan Prateek
cd01f7dab2
bug 11181: taking care of a boundary condition with 0 user VM
2011-08-25 15:38:48 +05:30
Naredula Janardhana Reddy
9feb05ac13
bug 10617: This is Intermediate commit for Egress rules implementation in security groups.
...
previous commit: c9fda641673df7701f44963ef27e1d488f121219 ( this under bug 1067, typing error)
changes: 1) partially implemented listing of egress rules along with ingress rules.
2) partially implemneted egress rules for KVM
2011-08-25 12:18:33 +05:30
Edison Su
9391938908
fix conflict
2011-08-24 18:47:09 -07:00
alena
0355c26f03
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:48:18 -07:00
Kelven Yang
a51383e296
bug 11219: use local storage flag from service offering when it is ROOT disk
2011-08-24 15:17:53 -07:00
alena
ee9fbf10b6
Method signature change
2011-08-24 14:56:37 -07:00
alena
e3f179844e
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:35 -07:00
frank
85f18ff256
fix build, add test rpm back
2011-08-24 13:24:51 -07:00
Edison Su
9a6fc7de45
bug 11217: add secondary storage id into snapshot, if it's an empty snapshot
...
status 11217: resolved fixed
2011-08-24 11:05:45 -07:00
alena
9544d42908
bug 11060: use lockTable instead of rowLock when createDomR/createDhcp
...
status 11060: resolved fixed
2011-08-24 11:01:23 -07:00
Edison Su
9a65935809
bug 11217: add secondary storage id into snapshot, if it's an empty snapshot
...
status 11217: resolved fixed
2011-08-24 10:48:10 -07:00
Nitin
4b6d072490
bug 10972: Improve logging - put in the hostid and hostname on which the vm launches.
...
status 10972: resolved fixed
2011-08-24 18:04:46 +05:30
root
01044c5b2d
removing spurious debug statement
2011-08-24 16:47:29 +05:30
Abhinandan Prateek
bd439831ad
bug 11181: batching the select statements
2011-08-24 16:34:28 +05:30
Naredula Janardhana Reddy
470ffcb652
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:32:07 +05:30
Naredula Janardhana Reddy
145a4aad37
bug 11191: Added global config to disable/enable rp_filter for domR(public interfaces)
2011-08-24 13:30:23 +05:30
frank
b3478c377e
Full opensource
2011-08-23 19:52:19 -07:00
Sheng Yang
fb6fb03175
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:34 -07:00
Sheng Yang
2888247b74
Add more debug info
2011-08-23 17:59:54 -07:00
Kelven Yang
4f8a52f94c
Move VMware/Premium Secondary storage VM to opensource
2011-08-23 14:43:39 -07:00
alena
d3eb9db7fa
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
Conflicts:
server/src/com/cloud/network/element/VirtualRouterElement.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManager.java
2011-08-23 12:05:53 -07:00
prachi
40d348ff8b
Bug 11213 - UserConcentratedPod returning wrong list of pods
...
Changes:
- Needed to add parentheses to the query to get correct results.
2011-08-23 11:53:48 -07:00
alena
c9e60d703d
Fixed listNetwork by id
2011-08-23 01:03:40 -07:00
alena
8a7feb8ec1
Merge branch '2.2.y'
...
Conflicts:
agent/src/com/cloud/agent/resource/computing/LibvirtComputingResource.java
api/src/com/cloud/agent/api/routing/LoadBalancerConfigCommand.java
api/src/com/cloud/agent/api/to/FirewallRuleTO.java
api/src/com/cloud/agent/api/to/IpAddressTO.java
api/src/com/cloud/agent/api/to/PortForwardingRuleTO.java
api/src/com/cloud/api/ApiConstants.java
api/src/com/cloud/api/BaseCmd.java
api/src/com/cloud/api/ResponseGenerator.java
api/src/com/cloud/api/commands/CreateFirewallRuleCmd.java
api/src/com/cloud/api/commands/CreateIpForwardingRuleCmd.java
api/src/com/cloud/api/commands/CreateLoadBalancerRuleCmd.java
api/src/com/cloud/api/commands/CreatePortForwardingRuleCmd.java
api/src/com/cloud/api/commands/DeleteLoadBalancerRuleCmd.java
api/src/com/cloud/api/commands/ListCapabilitiesCmd.java
api/src/com/cloud/api/commands/UpdateNetworkCmd.java
api/src/com/cloud/api/response/CapabilitiesResponse.java
api/src/com/cloud/network/Network.java
api/src/com/cloud/network/NetworkService.java
api/src/com/cloud/network/firewall/FirewallService.java
api/src/com/cloud/network/lb/LoadBalancingRule.java
api/src/com/cloud/network/lb/LoadBalancingRulesService.java
api/src/com/cloud/network/rules/FirewallRule.java
api/src/com/cloud/network/rules/RulesService.java
api/src/com/cloud/offering/NetworkOffering.java
client/tomcatconf/commands.properties.in
cloud.spec
core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java
core/src/com/cloud/hypervisor/xen/resource/CitrixHelper.java
core/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
core/src/com/cloud/storage/template/DownloadManagerImpl.java
core/src/com/cloud/vm/DomainRouterVO.java
debian/cloud-deps.install
patches/systemvm/debian/config/etc/init.d/cloud-early-config
patches/systemvm/debian/config/root/ipassoc.sh
patches/systemvm/debian/config/root/loadbalancer.sh
scripts/vm/hypervisor/kvm/rundomrpre.sh
scripts/vm/hypervisor/xenserver/vmops
server/src/com/cloud/agent/manager/AgentAttache.java
server/src/com/cloud/agent/manager/AgentManagerImpl.java
server/src/com/cloud/agent/manager/AgentMonitor.java
server/src/com/cloud/agent/manager/ClusteredAgentManagerImpl.java
server/src/com/cloud/alert/ClusterAlertAdapter.java
server/src/com/cloud/api/ApiResponseHelper.java
server/src/com/cloud/api/ApiServer.java
server/src/com/cloud/cluster/ClusterManagerImpl.java
server/src/com/cloud/configuration/Config.java
server/src/com/cloud/configuration/ConfigurationManager.java
server/src/com/cloud/configuration/ConfigurationManagerImpl.java
server/src/com/cloud/configuration/DefaultComponentLibrary.java
server/src/com/cloud/deploy/FirstFitPlanner.java
server/src/com/cloud/ha/HighAvailabilityManagerImpl.java
server/src/com/cloud/host/dao/HostDaoImpl.java
server/src/com/cloud/hypervisor/xen/discoverer/XcpServerDiscoverer.java
server/src/com/cloud/network/LoadBalancerVO.java
server/src/com/cloud/network/NetworkManager.java
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/network/dao/FirewallRulesDao.java
server/src/com/cloud/network/dao/FirewallRulesDaoImpl.java
server/src/com/cloud/network/element/DhcpElement.java
server/src/com/cloud/network/element/VirtualRouterElement.java
server/src/com/cloud/network/firewall/FirewallManagerImpl.java
server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManager.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
server/src/com/cloud/network/rules/FirewallManager.java
server/src/com/cloud/network/rules/FirewallRuleVO.java
server/src/com/cloud/network/rules/PortForwardingRuleVO.java
server/src/com/cloud/network/rules/RulesManagerImpl.java
server/src/com/cloud/network/rules/StaticNatRuleImpl.java
server/src/com/cloud/network/security/SecurityGroupListener.java
server/src/com/cloud/network/security/SecurityGroupManagerImpl.java
server/src/com/cloud/offerings/NetworkOfferingVO.java
server/src/com/cloud/server/ConfigurationServerImpl.java
server/src/com/cloud/server/ManagementServerImpl.java
server/src/com/cloud/storage/StorageManager.java
server/src/com/cloud/storage/StorageManagerImpl.java
server/src/com/cloud/storage/dao/VMTemplateHostDaoImpl.java
server/src/com/cloud/storage/download/DownloadMonitorImpl.java
server/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
server/src/com/cloud/upgrade/dao/Upgrade228to229.java
server/src/com/cloud/upgrade/dao/Upgrade229to2210.java
server/src/com/cloud/user/AccountManagerImpl.java
server/src/com/cloud/vm/UserVmManagerImpl.java
server/src/com/cloud/vm/VirtualMachineManagerImpl.java
server/src/com/cloud/vm/dao/DomainRouterDao.java
server/src/com/cloud/vm/dao/DomainRouterDaoImpl.java
setup/db/create-index-fk.sql
setup/db/create-schema.sql
setup/db/db/schema-222to224.sql
setup/db/db/schema-227to228.sql
setup/db/db/schema-228to229.sql
setup/db/db/schema-229to2210.sql
tools/testClient/README
ui/scripts/cloud.core.instance.js
utils/src/com/cloud/utils/SerialVersionUID.java
utils/src/com/cloud/utils/db/ConnectionConcierge.java
utils/src/com/cloud/utils/db/Merovingian2.java
utils/src/com/cloud/utils/db/Transaction.java
utils/src/com/cloud/utils/nio/Link.java
utils/src/com/cloud/utils/nio/NioConnection.java
utils/src/com/cloud/utils/time/InaccurateClock.java
2011-08-22 20:28:30 -07:00
alena
c2732850f4
bug 11202: added "networkRate" param to service offering api responses
2011-08-22 13:35:43 -07:00
alena
0b061529b1
bug 11202: added "networkRate" param to service offering api responses
2011-08-22 13:34:47 -07:00
alena
31a022c720
Added networkRate parameter to createServiceOffering api command
...
Conflicts:
server/src/com/cloud/configuration/ConfigurationManager.java
server/src/com/cloud/configuration/ConfigurationManagerImpl.java
2011-08-22 12:05:34 -07:00
alena
033765f93f
Added networkRate parameter to createServiceOffering api command
2011-08-22 12:02:08 -07:00
alena
0998b04098
Fixed security issue in listNetworks
...
Conflicts:
server/src/com/cloud/network/NetworkManagerImpl.java
2011-08-22 10:51:44 -07:00
alena
20a518f3ac
Fixed security issue in listNetworks
2011-08-22 10:50:30 -07:00
prachi
8755044ea9
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:12:15 -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
7084c270d3
reversed funtion parameter
2011-08-19 18:48:49 -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
7a7662b01b
fix typo
2011-08-19 16:15:52 -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
56244c7c47
release the check
2011-08-19 16:07:55 -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
1c49481305
disable attach volume to a vm if volume state is not in allocated or ready state
2011-08-19 14:26:47 -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
Edison Su
8bbed3caea
bug 11183: put volume state into "Creating" state if it's created from snapshot.
...
status 11183: resolved fixed
2011-08-19 13:45:35 -07:00
Abhinandan Prateek
8d4c7208a4
bug 11094: delinking api layer objects from dao layer
2011-08-19 15:23:49 +05:30
Abhinandan Prateek
601708c3e6
bug 11094: delinking api layer objects from dao layer
2011-08-19 15:21:03 +05:30
Sheng Yang
843e41752f
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:23 -07:00
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
Naredula Janardhana Reddy
4369b0ba96
bug 1067:
...
- covered basic impelementation for xen, need to test corner cases.
- Not implemneted: kvm, vmware , listing of egress rules.
2011-08-19 11:10:16 +05:30
alena
2c1df02ba1
Removed unused imports
2011-08-18 15:02:04 -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
6349b63942
Use row lock instead of global lock when creating a new domain
2011-08-18 10:42:12 -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
0afa6f052f
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:37 -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
035001bd19
Fix baremetal planner reply to non-baremetal VM when migration
2011-08-18 10:14:40 -07:00
frank
523a32edaa
Fix baremetal planner reply to non-baremetal VM when migration
2011-08-18 10:14:16 -07:00
Abhinandan Prateek
c2a769d993
fixed execptions while adding second host
2011-08-18 16:28:19 +05:30
Abhinandan Prateek
2df6e5cc69
fixed execptions while adding second host
2011-08-18 16:26:00 +05:30
Kelven Yang
fdedbbc00e
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:11:55 -07:00
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
d726b26180
Defined missing length field for VO classes
2011-08-17 15:13:28 -07:00
alena
c82a373327
Defined missing length field for VO classes
2011-08-17 15:10:07 -07:00
alena
441d9d765c
bug 11154: host can go in Maintenance state only after all vms are migrated from it
...
status 11154: resolved fixed
2011-08-17 12:04:11 -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
b87c5ba331
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:14:31 +05:30
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
9366290423
Fix NPE when a router is fail to start
...
Also enforce the check for restartNetworkCommand
2011-08-16 11:43:47 -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
Edison Su
449a12870b
finally, test framework works now
2011-08-16 10:30:52 -07:00
Edison Su
ed7214c710
add host guid in migrate command
2011-08-16 10:30:52 -07:00
Edison Su
48342ff6e2
remove unnecessary transcation
2011-08-16 10:30:52 -07:00
Edison Su
0be1510496
add template for simulator
2011-08-16 10:30:51 -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
11d06f3d6a
Added missing license headers
2011-08-15 14:24:46 -07:00
alena
5fd0ff5610
Added missing license headers
2011-08-15 14:24:28 -07:00
alena
dfb37faa01
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:28:14 -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
812a1f3f7b
Fixed the bug in allocator where cluster was added to avoid set as pod
2011-08-15 10:44:07 -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
bb6c2d48f5
bug 11122: Fix router startup
...
The new created router got hostId = 0.
status 11122: resolved fixed
Conflicts:
server/src/com/cloud/network/element/VirtualRouterElement.java
2011-08-13 00:21:35 -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
fbd9e2159d
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:16:07 -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
287a695664
Revert "fix NPE when listvolume if vm got destroyed"
...
This reverts commit d028454ab46f1e901e2517dd64a0b8a9780c9968.
2011-08-12 17:32:20 -07:00