alena
25c2734e03
More stuff to Projects feature - added support for adding resources (vms, templates, isos) to the project
2011-10-05 13:24:25 -07:00
alena
998568283c
Don't allow to add accounts to the domain of type Project
...
Don't allow to manipulate (delete/update) accounts/domains of type Project
2011-10-05 13:24:25 -07:00
Sheng Yang
e72d38b15d
Revert "bug 11604: Assign guest ip for each router"
...
This reverts commit 42ab3c94c210d5a29289a5dfd0e44ae99c427f8b.
The commit may not fit for our new network as service framework, because we
would make single router and redundant router as two different service provider,
so the change of network offering should clean up the old network and then setup
new one. Make single router work as redundant router later make no sense in such
condition.
2011-10-04 17:58:15 -07:00
Sheng Yang
36511ab6fd
bug 11604: Assign guest ip for each router
...
Then every router would have one guest ip. The gateway ip would be used if the
router is not redundant, otherwise the guest ip would be used for guest network.
2011-10-04 16:24:15 -07:00
Sheng Yang
143ec3a4c5
Clean up priority calcuation/create new mac when create domain router
...
They're unnecessary.
2011-10-04 16:24:06 -07:00
frank
89e04458b6
Bug 11522 - New agent manager
...
move all listxxx interface from HostDao to managers(ResourceManager, SecondaryStorageVmManager etc) with decent name using SearchCriteria2
or direct call SearchCriteria2 on demand
2011-10-04 14:35:26 -07:00
Edison Su
ae83246acb
bug 11600: aquirelock before deleting a volume, which can be aquired by snapshot manager
...
status 11600: resolved fixed
2011-10-03 16:43:47 -07:00
prachi
083b458f03
Bug 11617 - Ensure the Deployment planner is choosing clusters based on aggregate capacity
...
Merge removed this import statement. Adding it back.
2011-10-03 15:46:41 -07:00
prachi
e0a179752d
Bug 11617: Ensure the Deployment planner is choosing clusters based on aggregate capacity
...
Changes:
- We were ordering clusters based on capacity of the first-fit host found in each cluster. Due to this, there were cases where we deployed VMs to one cluster instead of balancing off within clusters.
- Now we order the list of clusters by aggregate capacity and choose the ones that have enough capacity for the required VM in this order.
- This should balance the load between clusters instead of bombarding one.
Conflicts:
server/src/com/cloud/capacity/dao/CapacityDao.java
server/src/com/cloud/capacity/dao/CapacityDaoImpl.java
2011-10-03 15:37:38 -07:00
frank
683113cc38
Bug 11522 - New agent manager
...
get rid of all secondary storage interface from HostDao, instead, put them in
SecondaryStorageVmManager using SearchCriteria2 with decent name
2011-10-03 11:21:34 -07:00
frank
3947c9a126
Bug 11522 - New agent manager
...
Initailize SearchCriteria2 in order to replace search interface of DAO
2011-10-03 10:32:27 -07:00
prachi
9bd5e5871b
Bug 11481 - get manual live migration working with all VMs
...
Changes:
- Added a new API 'migrateSystemVm' backed by MigrateSystemVMCmd.java to migrate system VMs (SSVM, consoleproxy, domain routers(router, LB, DHCP))
- This is Admin only action
- The existing API 'migratevirtualmachine' is only for user VMs
2011-09-29 17:47:46 -07:00
Sheng Yang
b8f8989821
bug 11130: Update template and script version in the database when domR started
2011-09-29 14:51:20 -07:00
anthony
33b1055c01
timeout is not set for some commands
2011-09-29 13:09:05 -07:00
frank
a1193149a0
Bug 11522 - New agent manager
...
renamce updateResourceState to resourceStateTransitTo
2011-09-29 11:58:41 -07:00
alena
53b1b9f63b
bug 11603: for OSS build - update guru_name from GuestNetworkGuru to ExternalGuestNetworkGuru.
...
status 11603: resolved fixed
2011-09-29 10:43:01 -07:00
alena
d7267fb0c5
bug 11589: don't fail deleteVpn command when domR is in Stopped state.
...
status 11589: resolved fixed
Conflicts:
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
2011-09-29 10:22:14 -07:00
alena
12e25fb988
Implemented vm* api commands to be executed against the project
2011-09-29 10:20:51 -07:00
alena
eda1b53c76
Events for adding/removing project users
2011-09-29 10:20:51 -07:00
Murali Reddy
a623b2824b
bug 6876: netscaler integration
...
added external lb network usage and inline support
2011-09-29 18:59:46 +05:30
anthony
aef74ff521
bug 10579: disable pool vm sync and disable hostTrack for XenServer,
...
status 10579: resolved fixed
reviewed-by: alex
Conflicts:
core/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
2011-09-28 12:41:24 -07:00
Nitin
b9df06619a
bug 11051: ListPods/ListZones - Apply cpu overprovisioning explicitly as it is not applied when its stored in the db. Also avoid calculating the non shared storage for storage allocated capacity calculation.
2011-09-28 17:48:31 +05:30
kishan
806bfe33c4
bug 11581: During router start, create iptables NETWORK_STATS chain before adding rules for additional public interfaces into that chain
...
status 11581: resolved fixed
reviewed-by: Chiradeep
2011-09-28 16:46:45 +05:30
Nitin
da2696b2f6
bug 11051: ListCluster - Apply cpu overprovisioning explicitly as it is not applied when its stored in the db. Also avoid calculating the non shared storage for storage allocated capacity calculation.
2011-09-28 16:16:28 +05:30
Sheng Yang
1fb5030cca
Clean up global redundant_router config item
...
We would use network_offering option in 3.0 instead.
2011-09-27 16:50:24 -07:00
frank
b188a513ba
Bug 11522 - New agent manager
...
Secondary storage worked
2011-09-27 16:43:26 -07:00
frank
5efaed1d82
Bug 11522 - New agent manager
...
able to add host
2011-09-27 15:18:21 -07:00
frank
e5fca855c1
Bug 11522 - New agent manager
...
register/unregister resource state adapter in configure/stop of implementations
2011-09-27 11:51:03 -07:00
Abhinandan Prateek
83c6cf3db0
bug 10588: code to sync VM state at cluster level and dettached from ping command
2011-09-27 13:18:21 +05:30
alena
ccd47c1b21
Implemented Project Invitations
2011-09-26 17:47:20 -07:00
frank
e8c13e10c7
Bug 11522 - New agent manager
...
able to compile besides mycloud stuff
2011-09-26 16:55:20 -07:00
frank
caa8aaf6fe
Bug 11522 - New agent manager
...
clean up events, status of agent
2011-09-26 15:01:16 -07:00
Kelven Yang
d32241ec9c
bug 10971: support vSphere 5
2011-09-26 12:16:28 -07:00
frank
66c347bec5
Bug 11522 - New agent manager
...
clean up stale functions
2011-09-26 11:29:22 -07:00
frank
e8c3ff653d
Bug 11522 - New agent manager
...
move maintanenceFailed to ResourceManager
2011-09-23 16:54:28 -07:00
frank
bb4237336f
Bug 11522 - New agent manager
...
refine reconnectHost logic
2011-09-23 16:22:14 -07:00
frank
95dbf2ac73
Bug 11522 - New agent manager
...
move updatePassword to ResourceManager
2011-09-23 15:48:06 -07:00
frank
98900717dd
Bug 11522 - New agent manager
...
move umanageHost to ResourceManager
2011-09-23 15:40:52 -07:00
frank
7c5d3597a9
Bug 11522 - New agent manager
...
move cancelMaintenanceMode to ResourceManager
2011-09-23 15:32:58 -07:00
frank
f63e412ac9
Bug 11522 - New agent manager
...
moves migration to ResourceManager
2011-09-23 15:22:39 -07:00
frank
81665757de
Bug 11522 - New agent manager
...
move delete host to ResourceManager
2011-09-23 15:04:44 -07:00
frank
e0e5491c42
Bug 11522 - New agent manager
...
implements ResourceStateAdapter in a couple of components
2011-09-23 11:28:02 -07:00
alena
10308d1ea6
bug 11555: Fixed NPE happening during LB rule cleanup in case when createLB fails
...
status 11555: resolved fixed
Reviewed-by: frank@cloud.com
Conflicts:
server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java
2011-09-23 11:02:19 -07:00
alena
a8d3c7436a
bug 11550: rolled back the changes done to ConfigurationServerImpl during the resourceLimit refactor as it was leading to System/Admin account not being inserted to the DB
...
status 11550: resolved fixed
2011-09-23 09:42:07 -07:00
Sheng Yang
b96701a6c4
bug 11541: Change CheckRouterCommand timeout from default 10 minutes to 1 minute
...
Reviewed-by: Anthony Xu
status 11541: resolved fixed
2011-09-22 19:22:33 -07:00
alena
5c35b7f164
1) Resource limits for Projects
...
2) Security checker for Projects
2011-09-22 18:10:35 -07:00
Kelven Yang
b06543a8db
bug 11531: forget to include newly added JUnit test along with the fix, here it is
2011-09-22 16:22:24 -07:00
Kelven Yang
2a6de104e2
bug 11531: while taking snapshot on volume, if volume is attached to a VM instance and under VMware, check if there are other ongoing snapshot tasks for the VM instance.
2011-09-22 16:22:12 -07:00
frank
b5e3639263
Bug 11522 - New agent manager
...
replace handleConnect with handleConnectedAgent
2011-09-22 15:07:21 -07:00
Edison Su
ee59c26e93
bug 11513: another customer hits the same issue by associate ip in the basic zone
...
Reviewed-by: alena@citrix.com
2011-09-22 15:04:47 -07:00
Edison Su
211c7099a6
bug 11513: add more log in the cleanup network
...
Reviewed-by:alena@citrix.com
2011-09-22 15:04:43 -07:00
frank
0343cb79c3
Bug 11522 - New agent manager
...
replace simulateStart with createHostAndAgent
2011-09-22 14:42:05 -07:00
alena
a1cab92ae1
bug 11537: revoke related FirewallRules when do vmExpunge and ipAddress release.
...
status 11537: resolved fixed
Reviewed-by: edison@cloud.com
Conflicts:
server/src/com/cloud/network/firewall/FirewallManagerImpl.java
server/src/com/cloud/vm/UserVmManagerImpl.java
2011-09-22 14:01:02 -07:00
frank
0677232e06
Bug 11522 - New agent manager
...
complete ResourceAdapter relevant interface
2011-09-22 11:55:23 -07:00
alena
1561c7d2f9
bug 11468: create ROOT domain and admin user as a part of cloud-setup-databases, not during the management server startup to avoid multiple records insertion for the same domain
...
status 11468: resolved fixed
Reviewed-by: will@cloud.com
Conflicts:
server/src/com/cloud/server/ConfigurationServerImpl.java
2011-09-22 11:01:13 -07:00
kishan
2b9c0a695f
bug 11520: Include TrafficMonitor hosts also while scanning for direct agents to load
...
status 11520: resolved fixed
2011-09-22 13:34:37 +05:30
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
Chiradeep Vittal
9b424a762d
fix compilation of mocks
2011-09-13 09:22:52 -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
7e2c2c627f
unit test for SG mgr v2
2011-09-12 18:20:22 -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
1061738924
bug 11230, 11229: merge fix from 2.2.10 branch, fix Eclipse project settings for premium-move
2011-08-24 15:18:08 -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
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
4df7423f70
fix NPE when listvolume if vm got destroyed
2011-08-12 14:43:07 -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
kishan
83991a8494
bug 4282: Storing signatures cache using ehcache. ToDo- Relicate cache for clustered mgmt server setup
2011-08-12 20:27:20 +05:30
Murali Reddy
0969ba8063
bug 10923: changes for snapshot command to carry primary storage pool path
2011-08-12 17:45:02 +05:30
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
Nitin
f1d13729af
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 12:21:02 +05:30
Sheng Yang
12a49668d7
Add alert and log for redundant router state change
2011-08-11 23:37:17 -07:00
Sheng Yang
932f8a7144
Add alert and log for redundant router state change
2011-08-11 23:37:01 -07:00
Kelven Yang
e59c14a758
Disable HA in CloudStack HA manager under VMware
2011-08-11 18:10:07 -07:00
Kelven Yang
c498cf3ec6
Disable HA in CloudStack HA manager under VMware
2011-08-11 18:09:11 -07:00
Sheng Yang
29cc88571f
Redundant router script fix, also fix CheckRouterTask
2011-08-11 17:57:12 -07:00
Sheng Yang
23e6b96c98
Redundant router script fix, also fix CheckRouterTask
2011-08-11 17:57:00 -07:00
Kelven Yang
bbf20ac125
bug 11019: Let VM sync to coordinate with possible VM-relocation under VMware when VM is in starting time
2011-08-11 17:51:56 -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
576aec60e0
Skip the null Host for CheckRouterTask
2011-08-11 13:22:47 -07:00
Sheng Yang
d6e99567ce
Skip the null Host for CheckRouterTask
2011-08-11 13:22:31 -07:00
Sheng Yang
333510db0e
Fix redundant router switch back to single router
...
The existed redundant router network didn't change.
2011-08-11 12:49:44 -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
4da9b6bfb4
Added parameter to enable the firewall rule UI to the list capabilities API.
2011-08-11 11:54:41 -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
6e7ad8830f
bug 11043: Propagating fix
2011-08-11 10:30:03 -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
Nitin
56ce65710d
bug 5370: copy Template/Iso - generating the started and completed events.
...
status 5370: resolved fixed
2011-08-11 16:14:27 +05:30
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
76a8738227
Fix existed single router network after enable redundant router feature
2011-08-10 18:08:20 -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
keshav
57f1ee7ca1
Added configuration parameter to enable/disable the firewall rule UI.
2011-08-10 16:06:32 -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
94f93a60c3
Clean up restart Network
2011-08-10 15:02:58 -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
9569a7bbee
Clean up VirtualRouterElement.restart()
2011-08-10 13:24:00 -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
2d958c5d23
bug 11021: Add ReservationStrategy.Managed to prevent sourceNat from release
...
status 11021: resolved fixed
2011-08-10 12:52:10 -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
39452967b9
bug 11045: Fix exception exit of CheckRouterTask
...
Catch all the exception and come back to work.
status 11045: resolved fixed
2011-08-10 12:06:13 -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
kishan
219336e07c
bug 4282: Initial Checkin. Added new parameters expires, signatureversion. Checking expires time and storing used signatures in-memory locally implemented.
2011-08-10 19:52:43 +05:30
Nitin
93204ae862
bug 4957: copyTemplate: should compare template_host_ref.size to configuration.max.template.iso.size values before sending command to the backend .
...
status 4957: resolved fixed
2011-08-10 18:18:35 +05:30
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
anthony
33b3e02c17
bug 10695: add XCP 1.0 support
...
status 10695: resolved fixed
2011-08-09 19:49:12 -07:00
Sheng Yang
5f31d5008e
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:47 -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
keshav
1761024fda
Changed RuleTO classes to carry the source VLAN tag. Added guest network gateway to NetworkElementCommand.
2011-08-09 16:38:24 -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
frank
f377ac1cf7
Use class.getSimpleName in ResourceListener
2011-08-09 15:56:17 -07:00
alena
56d5054e39
Revert "bug 10561: Allowing ICMP traffic through static NAT"
...
This reverts commit 5e74e24bb359456967866cb2c6cc0f6f73570f97.
Conflicts:
server/src/com/cloud/network/rules/RulesManagerImpl.java
2011-08-09 15:51:57 -07:00
alena
4c4bff1c1e
Fixed restarNetwork for networks of type Direct - was broken with checkin bfdb4d2d989ed00adcbbf5455731cc2980afcb7b
2011-08-09 15:51:57 -07:00
alena
2fef12e3ac
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).
...
Conflicts:
server/src/com/cloud/network/element/DhcpElement.java
server/src/com/cloud/network/element/VirtualRouterElement.java
2011-08-09 15:51:57 -07:00
alena
6b9603bc4c
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
Conflicts:
api/src/com/cloud/api/BaseCmd.java
client/tomcatconf/commands.properties.in
server/src/com/cloud/api/ApiResponseHelper.java
server/src/com/cloud/configuration/DefaultComponentLibrary.java
server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java
server/src/com/cloud/network/rules/RulesManagerImpl.java
2011-08-09 15:51:56 -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
frank
433fe1c9da
Bug 8966 - Oracle VM (OVM) support
...
OCFS2 support -- reconfigure OCFS2 nodes when delete host
2011-08-09 14:06:51 -07:00
Kelven Yang
eb28549e6c
Seperate template cleanup control to enable template preloading
2011-08-09 13:42:50 -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
071a67dcb8
Change router to FAULT state if anything goes wrong on fail-over
2011-08-09 11:09:44 -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
Nitin
d763d809cc
bug 10848: Introducing an api - ListCapacityByType. Add the basic DB layer in the command.
2011-08-09 18:12:37 +05:30
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
bf13273889
adjust to merged changes
2011-08-08 18:46:00 -07:00
Kelven Yang
02e64f90de
Add prepareTemplate command(admin only) to allow pre-loading template into primary storage
2011-08-08 18:45:47 -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
455f9f642c
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:31:14 -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
frank
7e1fc2ca1a
Bug 8966 - Oracle VM (OVM) support
...
OCFS2 support -- use cluster name as OCFS2 cluster name
2011-08-08 18:22:43 -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
frank
6969d95784
Introduce new resource life cycle listener
2011-08-08 17:05:27 -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
e8c2fa4e8e
Remove baremetal specific parameters from AddHostCmd
2011-08-08 15:01:26 -07:00
frank
6aaf3d5ae0
Merge branch 'cvm'
...
Conflicts:
api/src/com/cloud/api/BaseCmd.java
api/src/com/cloud/storage/Storage.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/storage/StorageManagerImpl.java
server/src/com/cloud/vm/UserVmManagerImpl.java
server/src/com/cloud/vm/VirtualMachineManagerImpl.java
utils/src/com/cloud/utils/SerialVersionUID.java
2011-08-08 14:14:09 -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
Nitin
01582fcd40
bug 10848: Introducing an api - ListCapacityByType.
2011-08-06 20:09: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
keshav
0165f915b6
Changed findOrCreateDhcpServers() to check if start IP is null before retrieving an IP address object
2011-08-05 16:54:03 -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
6eacc11222
bug 10994: Fixed NPE in destroySystemVm api
...
status 10994: resolved fixed
2011-08-05 12:46:20 -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
ee62361250
Fix missing lock releasing in VirtualNetworkApplianceManagerImpl.java
2011-08-05 12:15:20 -07:00
Sheng Yang
7a3edd74d5
Fix missing lock releasing in VirtualNetworkApplianceManagerImpl.java
2011-08-05 12:14:42 -07:00
Sheng Yang
12bd2180a1
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:37:13 -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
kishan
695abd5c5a
bug 7826: Check for correct date range. Make DateFormat strict (turn off lenient)
...
status 7826: resolved fixed
2011-08-05 19:44:44 +05:30
Nitin
c009b56a60
bug 6653: Extract Api's - No need to encode the url's forward slash with %2F as we have the latest version of gson which doesnt err out on forward slash anymore.
...
status 6653: resolved fixed
2011-08-05 18:44:41 +05:30
Abhinandan Prateek
59d5080718
bug 10969: name of VM is instance name, instead of display name
...
status 10969: resolved fixed
2011-08-05 13:18:42 +05:30
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
dae2f4d958
bug 10748: fixed it when the VM acts as a dhcp server only
...
status 10748: resolved fixed
2011-08-05 12:07:59 +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
d10c8e2a1d
bug 10765: fix step 2 - programming VNC server to let it chose the right keyboard mapping to load into
2011-08-04 18:30:50 -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
83a9e74927
guard GlobalLock lock with finally clause
2011-08-04 16:20:31 -07:00
Kelven Yang
d9392a6aa7
guard GlobalLock lock with finally clause
2011-08-04 16:19:28 -07:00
anthony
7958ab566e
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:09:22 -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
5fbd0a7a5f
bug 9255: do NOT allow creating snapshot/snapshotpolicy against System VM volume
...
status 9255: resolved fixed
2011-08-04 15:32:45 -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
c37d75fc00
release capacity if current state is in starting and not transit to running
2011-08-04 14:28:40 -07:00
Edison Su
e5478457ee
don't put cpu/mem into reserved capacity if failed to start/stop vm
2011-08-04 14:28:33 -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
354bc8f684
Fixed upgrade for volumes table
2011-08-04 11:22:14 -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
Nitin
a3cb6d9a09
bug 9345: Remove pool_id from template_host_ref. Its not needed anymore. Also removed the unwarranted code.
...
status 9345: resolved fixed
2011-08-04 12:51:35 +05:30
alena
dfd0d7730e
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:47:44 -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
fc57860390
Send CheckRouter command only when router is running
2011-08-03 16:57:59 -07:00
Sheng Yang
a46c2cb650
Send CheckRouter command only when router is running
2011-08-03 16:57:43 -07:00
keshav
34a0c44f4f
Added a new table for inline load balancer deployments, to store mappings between public IPs and NICs.
2011-08-03 16:10:20 -07:00
alena
603de56c93
Merged fixes for 228-229 upgrade from 2.2.8 zucchini branch
2011-08-03 10:39:02 -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
Naredula Janardhana Reddy
954d8673c7
bug 10561: Allowing ICMP traffic through static NAT
2011-08-03 18:13:09 +05:30
Nitin
c73f5da276
bug 10725: add checksum to listIso and registerIso (its an optional parameter for this command).
...
status 10725: resolved fixed
2011-08-03 17:41:29 +05:30
Abhinandan Prateek
bf0e761be1
checking domain list syntax
2011-08-03 14:45:23 +05:30
Abhinandan Prateek
f6303c13fb
bug 10812: putting key in ZoneConfig and other nomenclature changes
2011-08-03 14:42:29 +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
alena
64eeb8d79b
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:41:03 -07:00
anthony
9df76d883d
fixed build
2011-08-02 17:32:03 -07:00
anthony
37dcec77bb
Bug 10197:
...
implement pool-wise VM sync,
For XenServer, VM fullSync is pool-wise now, VM deltaSync is still per host
Conflicts:
server/src/com/cloud/vm/VirtualMachineManagerImpl.java
2011-08-02 17:31:36 -07:00
anthony
bba811a714
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 17:29:16 -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
bdbc16f081
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:14:20 -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
9ad41d9fc8
bug 10916: don't return removed entries when do listDiskOfferings by regular user
...
status 10916: resolved fixed
2011-08-02 09:46:35 -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
Nitin
09c26e5671
bug 10775: copyTemplate - Compute checksum at source from now on because the checksum might be referring to the compressed template. Send this checksum for comparison.
2011-08-02 20:30:10 +05:30
Abhinandan Prateek
2f804dd799
bug 10748: use external dns, configurable thru global param
2011-08-02 16:21:55 +05:30
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
Naredula Janardhana Reddy
b3b32fce9b
bug 10811: public_hostname and public_ipv4 are set same as that of local_hostname, local_ipv4 only for Basic network
2011-08-02 13:53:26 +05:30
Naredula Janardhana Reddy
a790e79f44
bug 10811: public_hostname and public_ipv4 are set same as that of local_hostname, local_ipv4
2011-08-02 13:52:47 +05:30
Naredula Janardhana Reddy
580e8503cd
bug 10811: public_hostname and public_ipv4 are set same as that of local_hostname, local_ipv4 only for Basic network
2011-08-02 13:49:24 +05:30
Naredula Janardhana Reddy
2af0b22703
bug 10811: public_hostname and public_ipv4 are set same as that of local_hostname, local_ipv4
2011-08-02 13:28:44 +05:30
Abhinandan Prateek
4f3dec5f1c
bug 10812: adding domain suffixes to zone's router conf
2011-08-02 11:34:38 +05:30
Alex Huang
6905a1db1d
sg improvements. don't use global lock
2011-08-01 22:59:59 -07:00
Abhinandan Prateek
5cb3882349
bug 10812: adding domain suffixes to zone's router conf
2011-08-02 11:23:33 +05:30
Abhinandan Prateek
46be774ce8
bug 10812: adding domain suffixes to zone's router conf
2011-08-02 11:08:24 +05:30
Alex Huang
f150f68128
sg improvements
2011-08-01 22:09:41 -07:00
Chiradeep Vittal
efaa63a428
bug 10884: try out a global lock instead of per-vm locks
2011-08-01 18:52:06 -07:00
Kelven Yang
04528c821b
bug 10929: allow only OperationFailedToError event to trigger transition to Error state.
2011-08-01 18:40:29 -07:00
Kelven Yang
a6a2383561
bug 10929: allow only OperationFailedToError event to trigger transition to Error state.
2011-08-01 18:38:14 -07:00
Kelven Yang
40f42a784f
bug 10929: allow only OperationFailedToError event to trigger transition to Error state.
2011-08-01 18:33:02 -07:00
anthony
80684861cf
Bug 10197: do not check timeout against cluster which is not managed
2011-08-01 17:01:22 -07:00
anthony
7d02ed344e
Bug 10197: do not check timeout against cluster which is not managed
2011-08-01 17:00:58 -07:00
alena
95d858d1f2
bug 10927: Drop key i_snapshots__removed (if exists) and readd it. Done to fix inconsistency between 2.1.x to 2.2.9 and 2.2.x to 2.2.9 upgrades
2011-08-01 16:22:06 -07:00
alena
d63426119e
Fixed db upgrade to do 228 to 229 when do upgrade from 224 branch
...
Conflicts:
server/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
2011-08-01 15:48:42 -07:00
alena
a0977ee61f
Fixed db upgrade to do 228 to 229 when do upgrade from 224 branch
2011-08-01 15:44:42 -07:00
alena
d30fe74794
Added 229 to 2210 upgrade path
2011-08-01 15:42:16 -07:00
Chiradeep Vittal
b4b87b1de8
bug 10920: avoid deadlocks by avoiding locks on the index on step
2011-08-01 15:32:23 -07:00
alena
f4f51f0451
Revert "bug 10812: modifying dhcp option 119 on domR as per zone config"
...
This reverts commit 606ec843475911680adb743d7975bf7d584ab240.
2011-08-01 13:00:53 -07:00
nit
e910e513c9
bug 8677 , 8673 : listIsos - make the parameter - name work properly.
...
status 8677 , 8673: resolved fixed
2011-08-01 15:16:02 +05:30
nit
b7f16b8b34
bug 9860 : listIsos - make the parameter - name work properly.
...
status 9860: resolved fixed
2011-08-01 15:14:35 +05:30
Abhinandan Prateek
826a3d6ad0
bug 10812: modifying dhcp option 119 on domR as per zone config
...
status 10812: resolved fixed.
2011-08-01 14:44:31 +05:30
Chiradeep Vittal
3951699542
bug 10920: convert seconds to milliseconds
2011-07-30 18:19:58 -07:00
frank
eda4a61a96
Add DB integrity checker, it checks:
...
1. Are there multiple hosts connect to the same local storage pool due to 2.1.x bug
2. Is there any missed premium upgrade
either true answer of above cause mangemnt stopping and asking user to contact Cloud.com support
2011-07-30 17:22:33 -07:00
frank
50b665d713
Add DB integrity checker, it checks:
...
1. Are there multiple hosts connect to the same local storage pool due to 2.1.x bug
2. Is there any missed premium upgrade
either true answer of above cause mangemnt stopping and asking user to contact Cloud.com support
2011-07-30 17:22:09 -07:00
frank
ca78e49cbd
Add DB integrity checker, it checks:
...
1. Are there multiple hosts connect to the same local storage pool due to 2.1.x bug
2. Is there any missed premium upgrade
either true answer of above cause mangemnt stopping and asking user to contact Cloud.com support
2011-07-30 17:21:50 -07:00
frank
6c1cd20fff
Add DB integrity checker, it checks:
...
1. Are there multiple hosts connect to the same local storage pool due to 2.1.x bug
2. Is there any missed premium upgrade
either true answer of above cause mangemnt stopping and asking user to contact Cloud.com support
2011-07-30 17:16:33 -07:00
Chiradeep Vittal
f49469270e
bug 10920: avoid deadlocks by not using order by random
2011-07-30 12:54:50 -07:00
Chiradeep Vittal
b329f61782
Fix duplicate ip addresses returned for loadbalancing
2011-07-29 23:21:27 -07:00
frank
47c88d5499
Bug 10860 - PremiumUpgrade is not run when upgrading to 2.2.8 (edit)
...
run checker before any component loaded
2011-07-29 20:23:30 -07:00
frank
316ed91542
Bug 10860 - PremiumUpgrade is not run when upgrading to 2.2.8 (edit)
...
run checker before any component loaded
2011-07-29 20:22:39 -07:00
frank
67265eeaa7
Bug 10860 - PremiumUpgrade is not run when upgrading to 2.2.8 (edit)
...
run checker before any component loaded
2011-07-29 20:21:53 -07:00
frank
03fbe13f58
Add upgrade path to 2.2.9
...
Add files
2011-07-29 20:05:50 -07:00
frank
44f3ac98f6
A couple of things:
...
add 229 upgrade path
Bug 10860 - PremiumUpgrade is not run when upgrading to 2.2.8 (edit)
run checker before any components loaded
2011-07-29 20:05:50 -07:00
Edison Su
8bcad6960c
add rhel6.1 support
2011-07-29 20:05:01 -07:00
Edison Su
22483a9c13
add RHEL 6.1 support
2011-07-29 19:14:15 -07:00
Kelven Yang
2335fc5be4
bug 10918: cap async-job execution thread pool to be 2/3 of maximum DB connection limit
2011-07-29 18:37:32 -07:00
Kelven Yang
2ce851d698
bug 10918: cap async-job execution thread pool to be 2/3 of maximum DB connection limit
2011-07-29 18:35:02 -07:00
Kelven Yang
1c4e1ba5a5
bug 10918: cap async-job execution thread pool to be 2/3 of maximum DB connection limit
2011-07-29 18:33:21 -07:00
anthony
ccc3c79466
private template may be downloaded to multiple secondary storage in a zone,
...
fixed it
2011-07-29 17:36:58 -07:00
anthony
50a2fc7111
private template may be downloaded to multiple secondary storage in a zone,
...
fixed it
2011-07-29 17:34:55 -07:00
Edison Su
d120b9cca4
bug 10770: don't select cluster if it's removed in firstfitplanner
...
status 10770: resolved fixed
2011-07-29 16:37:03 -07:00
anthony
93244b5b62
Bug 10197: if VM is already running, just return the host it is running on
2011-07-29 16:33:57 -07:00
anthony
31100824d7
Bug 10197: if VM is already running, just return the host it is running on
2011-07-29 16:33:33 -07:00
Chiradeep Vittal
41e6aeae96
bug 10884:
...
1. cleanup was scheduled wrong (seconds vs ms)
2. when finding a work item to do, lock one random row to reduce contentions by thundering herds of workers
3. cleanup thread also finds scheduled work items and gets threads to work on them. this way other mgmt servers can take jobs
4. add lots of trace logs
5. commit transactions when returning early
2011-07-29 16:28:06 -07:00
anthony
d48e97a368
bug 10768: root cause is StopCommand is not sent out in force stop,
...
status 10768: resolved fixed
2011-07-29 15:41:00 -07:00
Edison Su
595f9250b7
clean up public ip in secondary_storage_vm table after ssvm expunged
2011-07-29 15:30:32 -07:00
Edison Su
b9ab17bbf5
clean up public ip in secondary_storage_vm table after ssvm expunged
2011-07-29 15:28:16 -07:00
frank
b0b3f16dae
Two things:
...
Load non-routing resource in ClusteredAgentManager includes External DHCP, PxeServer, ExternalFirewall, ExternalLoadBalancer
Bug 9887 - baremetal: support for image operation (create template from guest disk) (edit)
changes in line with UI
2011-07-29 11:28:09 -07:00
frank
055ec48ae8
Two things:
...
Load non-routing resource in ClusteredAgentManager includes External DHCP, PxeServer, ExternalFirewall, ExternalLoadBalancer
Bug 9887 - baremetal: support for image operation (create template from guest disk) (edit)
changes in line with UI
2011-07-29 11:25:35 -07:00
Chiradeep Vittal
56d7be35f1
WIP
2011-07-29 11:04:54 -07:00
anthony
055e5c82c7
bug 9997:
...
put copy scripts in SetupCommand,
1. initiate returns host version,
2. if it doesn't match with DB, update DB, and reconnect the host.
status 9997: resolved fixed
2011-07-29 10:45:11 -07:00
Alex Huang
c00b9bf5aa
fixed problems with security group. it's possible for threads to disappear due to exceptions. Also it needed to define in memory transaction boundary
2011-07-29 10:41:36 -07:00
Chiradeep Vittal
1471b0a97a
Add parameter to ListPublicIpAddressCmd : forloadbalancing
2011-07-28 14:38:14 -07:00
Chiradeep Vittal
a6b1453254
minor cleanup
2011-07-28 14:38:14 -07:00
Kelven Yang
79cb5b7c19
bug 10834: fix step 2. Sending command to pool now only picks hosts that are in UP state
2011-07-28 14:32:28 -07:00
anthony
ffd07621cc
fixed a bug about putting cluster into Unmagaged status
2011-07-28 12:35:52 -07:00
anthony
e581c63f58
fixed a bug about putting cluster into Unmagaged status
2011-07-28 12:34:35 -07:00
Chiradeep Vittal
94be1584ac
fix build, better names
2011-07-28 10:20:58 -07:00
Nitin
63205f1f02
bug 10868: CheckAccess - If the domainId = -1 and the accountId is still valid then try and calculate the domainId. This case will be hit for all the entities which do not have domain id column in the DB table. What was happenning due to this was that we were not checking the domain hierarchy in such case which was leading to security leaks. Example - templates.
2011-07-28 17:11:14 +05:30
Nitin
527a668ca2
bug 10868: CheckAccess - If the domainId = -1 and the accountId is still valid then try and calculate the domainId. This case will be hit for all the entities which do not have domain id column in the DB table. What was happenning due to this was that we were not checking the domain hierarchy in such case which was leading to security leaks. Example - templates.
2011-07-28 17:01:26 +05:30
Chiradeep Vittal
2971e77401
change supportELB to report on which ips the ELB runs guest or public
2011-07-28 00:39:05 -07:00
Chiradeep Vittal
fae6fa790c
ELB VM: implement delete LB by deleting ELB vm
...
in the future we will manage a pool of vms more intelligently
2011-07-28 00:15:16 -07:00
Chiradeep Vittal
2162cdf283
WIP2: make creating an ELB bullet proof
2011-07-27 21:11:26 -07:00
Chiradeep Vittal
b240c4a645
WIP: make creating an ELB bullet proof
2011-07-27 21:11:26 -07:00
Kelven Yang
9d4aebd7e3
bug 10834: fix step 2. Sending command to pool now only picks hosts that are in UP state
2011-07-27 18:11:14 -07:00
Chiradeep Vittal
1226a49976
bug 10884: use the proper keys this time
2011-07-27 17:58:59 -07:00
frank
37fc68bcd3
Bug 10860 - PremiumUpgrade is not run when upgrading to 2.2.8
...
Use a new target "system-integrity-checker" in components.xml/components-premium.xml.
All checkers must be explicitly specified in XML file, they will execute before any components load
status 10860: resolved fixed
2011-07-27 17:47:09 -07:00
frank
9aae53fbb3
Bug 10860 - PremiumUpgrade is not run when upgrading to 2.2.8
...
Use a new target "system-integrity-checker" in components.xml/components-premium.xml.
All checkers must be explicitly specified in XML file, they will execute before any components load
status 10860: resolved fixed
2011-07-27 17:43:38 -07:00
frank
262e6784e5
Bug 10860 - PremiumUpgrade is not run when upgrading to 2.2.8
...
Use a new target "system-integrity-checker" in components.xml/components-premium.xml.
All checkers must be explicitly specified in XML file, they will execute before any components load
status 10860: resolved fixed
2011-07-27 17:41:38 -07:00
frank
1381c58fa1
Bug 10860 - PremiumUpgrade is not run when upgrading to 2.2.8
...
Use a new target "system-integrity-checker" in components.xml/components-premium.xml.
All checkers must be explicitly specified in XML file, they will execute before any components load
status 10860: resolved fixed
2011-07-27 17:32:12 -07:00
Chiradeep Vittal
0ee45261e7
set a flag so that api clients know whether to use the elb api
2011-07-27 16:00:59 -07:00
Chiradeep Vittal
8cc694a579
bug 10884: bump up thread pool and cleanup less often
2011-07-27 14:44:52 -07:00
Alex Huang
6fea146903
more index. moved op_lock to memory table to try it
2011-07-27 14:06:40 -07:00
Chiradeep Vittal
042c06fbb6
Make createLoadBalancer async
2011-07-27 12:00:08 -07:00
Chiradeep Vittal
b829cde18f
track ip to vm mapping
2011-07-27 12:00:08 -07:00
Chiradeep Vittal
07c2f6cdc7
differentiate between dhcp server and elb vm
2011-07-27 12:00:07 -07:00
Chiradeep Vittal
e1c5d4ef55
fix npe
2011-07-27 12:00:07 -07:00
Chiradeep Vittal
2447830c55
fix network type check
2011-07-27 12:00:07 -07:00
Chiradeep Vittal
cd8e069f80
Acquire an ip and launch an ELB vm
2011-07-27 12:00:07 -07:00
Sheng Yang
6c493bfb82
Add exception message for AgentManagerImpl.investigate()
2011-07-27 10:53:06 -07:00
Sheng Yang
3a8e13f968
Add exception message for AgentManagerImpl.investigate()
2011-07-27 10:52:48 -07:00
Sheng Yang
96568df702
Add exception message for AgentManagerImpl.investigate()
2011-07-27 10:51:44 -07:00
Naredula Janardhana Reddy
3c66075b8b
bug 10557: made more feature enhancement instead of bug- added more stats parametes as global config
2011-07-27 14:06:26 +05:30
Naredula Janardhana Reddy
93680fdc9e
Bug:10557
2011-07-27 14:05:47 +05:30
Naredula Janardhana Reddy
f0b1f3d229
bug 10557: made more feature enhancement instead of bug- added more stats parametes as global config
2011-07-27 13:42:14 +05:30
anthony
a449aa320f
fixed NPE, secondary storage VM host may not exist even the secondary storage VM is running
2011-07-26 17:42:01 -07:00
anthony
fb6228ef75
fixed NPE, secondary storage VM host may not exist even the secondary storage VM is running
2011-07-26 17:41:47 -07:00
anthony
4c8f5e0591
fixed NPE, secondary storage VM host may not exist even the secondary storage VM is running
2011-07-26 17:41:32 -07:00
anthony
7c951361c6
fixed NPE, secondary storage VM host may not exist even the secondary storage VM is running
2011-07-26 17:39:24 -07:00
Sheng Yang
b116f54741
Generate keystore using RSA rather than DSA
...
Also fix a typo.
2011-07-25 18:23:44 -07:00
Sheng Yang
4d20d21c95
Generate keystore using RSA rather than DSA
...
Also fix a typo.
2011-07-25 18:23:06 -07:00
Sheng Yang
611a1564cc
Generate keystore using RSA rather than DSA
...
Also fix a typo.
2011-07-25 18:22:30 -07:00
Alex Huang
200d2b9cd0
bug 10847: sg got executed in a big transaction leading to the deadlock
2011-07-25 17:41:11 -07:00
Alex Huang
9c627a15f3
Inaccurate clock new gets an mbean to control it
2011-07-25 16:01:31 -07:00
Alex Huang
c610925304
moved agent ping to in memory rather than db based
2011-07-25 15:21:06 -07:00
Alex Huang
1b56808be5
brought over agent ping uses the same db connection
2011-07-25 10:57:00 -07:00
Alex Huang
10ac7753ed
Switched ping to use the same db connection so that running out of db connections won't affect basic operations
2011-07-25 10:36:00 -07:00
Murali Reddy
5322accbc8
bug 10764: changing service offering drops cpu cap
...
status 10764: resolved fixed
2011-07-25 18:23:11 +05:30
Murali Reddy
9e90999aab
bug 10764: changing service offering drops cpu cap
...
status 10764: resolved fixed
2011-07-25 18:15:31 +05:30
Naredula Janardhana Reddy
96bacb85f8
Bug:10557
2011-07-25 17:40:33 +05:30
Alex Huang
3f18192df8
Make all connections READ COMMITTED isolation level instead of setting it everytime we get the db connection causing useless round trips
2011-07-23 14:58:32 -07:00
Alex Huang
429c1a0a18
changed a bunch of map logs to trace
2011-07-22 18:14:02 -07:00
Alex Huang
18fa544da1
changed a bunch of map logs to trace
2011-07-22 18:13:24 -07:00
Alex Huang
7464b6474e
changed a bunch of map logs to trace
2011-07-22 18:12:27 -07:00
Edison Su
cd531d7562
bug 10770: don't select cluster if it's removed in firstfitplanner
...
status 10770: resolved fixed
2011-07-22 15:10:25 -07:00
Edison Su
8c1d77b23e
bug 10770: don't select cluster if it's removed in firstfitplanner
...
status 10770: resolved fixed
2011-07-22 15:06:33 -07:00
Alex Huang
12cd5db620
deleted a file by mistake
2011-07-22 11:39:16 -07:00
Alex Huang
b59c6b4ab6
propagate lock table fix
2011-07-22 11:35:47 -07:00
Alex Huang
44ce9488a6
propagate lock table fixes
2011-07-22 11:30:23 -07:00
Alex Huang
66713a490d
fixed problem with the standalone connection has open transaction
2011-07-22 11:25:43 -07:00
Nitin
bb60543fbf
bug 9452: listCapacity - when the hosts > 200 the host_id and storage_pool_id start colliding, to workaround that also compart the capacity type.
2011-07-22 19:56:01 +05:30
Nitin
65b0af0a9d
bug 9452: listCapacity - when the hosts > 200 the host_id and storage_pool_id start colliding, to workaround that also compart the capacity type.
2011-07-22 19:30:14 +05:30
Nitin
fb6a44d248
bug 9452: listCapacity - when the hosts > 200 the host_id and storage_pool_id start colliding, to workaround that also compart the capacity type.
2011-07-22 19:14:47 +05:30
Nitin
bb3d7013a9
bug 9452: ListCapacity - works now. Remove all the pagination logic.
2011-07-22 13:12:44 +05:30
anthony
e666cf5e77
bug 10743: default local storage is ext in XenServer 6.0, add ext local storage support
2011-07-21 17:31:43 -07:00
Kelven Yang
3a6f3b71e0
bug 10791: add data integrity check upon management server startup
2011-07-21 17:08:29 -07:00
Kelven Yang
95b48ba222
bug 10791: add data integrity check upon management server startup
2011-07-21 17:07:21 -07:00
keshav
4ce137ef2e
Added account ID to IpAddressTO and NetworkElementCommand.
2011-07-21 16:44:13 -07:00
alena
c21273d23a
bug 10734: removed global lock in "DirectAgentScanTimerTask". This lock used to prevent the task from executing on multiple management server simultaniously.
...
status 10734: resolved fixed
2011-07-21 16:18:43 -07:00
alena
d6112b1632
Revert "bug 10373: Intermediate checkin for Domain level guest Virtual networks"
...
This reverts commit e5c25f3868965e36c4bff1c78ca4552a8c852241.
Conflicts:
server/src/com/cloud/configuration/Config.java
server/src/com/cloud/network/NetworkManagerImpl.java
2011-07-21 16:04:55 -07:00
alena
66f879e400
Revert "bug 10373: added config parameter "domain.level.virtual.network" to the db upgrade scripts"
...
This reverts commit c18e1a020357c0c42454656c070fa4827f8c0703.
Conflicts:
setup/db/db/schema-228to229.sql
2011-07-21 16:03:01 -07:00
alena
b1d5b5a51d
2 fixes for Agent Load Balancer:
...
* when management server dies and notifies other management servers about this, the running management server has to cleanup host_transfer records belonging to the died management server
* issue agent load balancing task only when agent load (number of connected agents in the system) exceeds "agent.load.threshold" - 70% by default
2011-07-21 15:43:52 -07:00
alena
ee98887176
2 fixes for Agent Load Balancer:
...
* when management server dies and notifies other management servers about this, the running management server has to cleanup host_transfer records belonging to the died management server
* issue agent load balancing task only when agent load (number of connected agents in the system) exceeds "agent.load.threshold" - 70% by default
Conflicts:
server/src/com/cloud/configuration/Config.java
server/src/com/cloud/host/dao/HostDaoImpl.java
setup/db/db/schema-228to229.sql
2011-07-21 15:28:11 -07:00
alena
307741edcd
2 fixes for Agent Load Balancer:
...
* when management server dies and notifies other management servers about this, the running management server has to cleanup host_transfer records belonging to the died management server
* issue agent load balancing task only when agent load (number of connected agents in the system) exceeds "agent.load.threshold" - 70% by default
Conflicts:
server/src/com/cloud/configuration/Config.java
setup/db/db/schema-228to229.sql
2011-07-21 15:27:50 -07:00
Alex Huang
d7667180c5
bug 10816: more db lock controls
2011-07-21 13:38:37 -07:00
Alex Huang
abd3321077
bug 10799: propagate to 2.2.9
2011-07-21 11:30:03 -07:00
Alex Huang
f82aa97273
bug 10799: propagate to main
2011-07-21 11:27:10 -07:00
Alex Huang
45074e7cba
bug 10799: There are two problems. The deadlock was ate up but then the savepublicip call return true, causing the problem with the pod_vlan_map hitting a constraint problem. HostPodDao was used as the scope for the insufficient capacity exception which causes the virtualmachinemanager to not to retry starting the vm. It should have been HostPod instead of HostPodDao.
2011-07-21 11:22:55 -07:00
Nitin
0c91e938e1
bug 10290: Allow turning off router stats collector
...
Status 10290: resolved fixed
2011-07-21 19:52:32 +05:30
Nitin
1e0c7274ec
bug 10520: CAPACITY_TYPE_PUBLIC_IP and CAPACITY_TYPE_PRIVATE_IP - Change from remove and insert to the to the insert and update model. It doesnt seem like they are referenced for the allocators while creating a vm. Next might change them to calculating them on the fly.
2011-07-21 18:33:47 +05:30
Nitin
0bc6c7dc0e
bug 9452: ListCapacity - works now. Remove all the pagination logic.
2011-07-21 18:17:32 +05:30
Nitin
f6077e605f
bug 9452: ListCapacity - works now. Remove all the pagination logic.
2011-07-21 18:13:36 +05:30
Abhinandan Prateek
dff712f2a9
bug 10731: sending source cidrs to the required router element, on domR allowing these source cidrs thru iptables
...
status 10731: resolved fixed
2011-07-21 13:48:42 +05:30
Abhinandan Prateek
de34d6089d
bug 10731: sending source cidrs to the required router element, on domR allowing these source cidrs thru iptables
...
status 10731: resolved fixed
2011-07-21 13:40:06 +05:30
Nitin
358c9eba05
bug 10624: ExtractVolume - code change for multiple secondary storage.
2011-07-21 11:11:04 +05:30
Nitin
5b834edea2
bug 10624: ExtractVolume - code change for multiple secondary storage.
2011-07-21 11:10:47 +05:30
alena
c03d360968
bug 10373: added config parameter "domain.level.virtual.network" to the db upgrade scripts
2011-07-20 18:21:15 -07:00
alena
3167c49687
bug 10736: when deploy vm in Basic zone, 1) send vmData/Password info to the Dhcp running in the same pod 2) send dhcp information to all pods in the system only when network.dns.basiczone.updates has "all" value
...
status 10736: resolved fixed
2011-07-20 16:50:58 -07:00
anthony
9f2eaca6cb
Support XenServer 6.0 beta
2011-07-20 16:47:48 -07:00
anthony
d206bf7852
bug 10768: root cause is StopCommand is not sent out in force stop,
...
status 10768: resolved fixed
2011-07-20 16:47:48 -07:00
Alex Huang
109ef29e86
bug 10632: propagate to 2.2.9
2011-07-20 16:27:06 -07:00
Alex Huang
db8be16f98
bug 10632: propagated to 2.2.8.z
2011-07-20 16:11:59 -07:00
alena
6dc8e515f4
bug 10736: when restart dhcp in basic zone, generate vmData info only for vms in the same pod
2011-07-20 15:22:11 -07:00
alena
f290b7cc14
bug 10736: when restart dhcp in basic zone, generate vmData info only for vms in the same pod
2011-07-20 15:21:26 -07:00
alena
36edf298e7
bug 10373: Intermediate checkin for Domain level guest Virtual networks
2011-07-20 13:44:26 -07:00
anthony
d4ae9483cb
bug 10768: root cause is StopCommand is not sent out in force stop,
...
status 10768: resolved fixed
2011-07-20 12:11:21 -07:00
kishan
28119036b8
bug 10398: Added scheduled job, alert and interval config param for usage sanity check
2011-07-20 17:20:11 +05:30
kishan
6b4c61a348
bug 10382: Move volume delete events to destroyVolume method
...
status 10382: resolved fixed
2011-07-20 11:22:31 +05:30
kishan
ddd416a492
bug 10382: wrapped usage events in txn
2011-07-20 11:19:39 +05:30
kishan
427b73a2b9
bug 10372: Added Vm State Machine listener for usage events
...
status 10372: resolved fixed
2011-07-20 11:13:56 +05:30
anthony
811063f769
bug 10197: enable trackVmHostChange for XenServer
2011-07-19 15:53:41 -07:00
anthony
20cbe7e739
bug 10197: enable trackVmHostChange for XenServer
2011-07-19 15:52:45 -07:00
anthony
bef3b480cd
bug 10197:
...
The step to upgrade xenserver,
1. put cluster in Unmanaged state through UI , then MS will not talk to hosts in the cluster
2. upgrade xenserver according to XenServer upgrade guide.
3. put cluster in Managed state through UI, then MS will reconnect hosts
TODO,
1. UI
2. vm pool sync , leveraged from kelven's work
2011-07-19 15:44:37 -07:00
anthony
3881e13387
bug 10197:
...
The step to upgrade xenserver,
1. put cluster in Unmanaged state through UI , then MS will not talk to hosts in the cluster
2. upgrade xenserver according to XenServer upgrade guide.
3. put cluster in Managed state through UI, then MS will reconnect hosts
TODO,
1. UI
2. vm pool sync , leveraged from kelven's work
2011-07-19 15:26:25 -07:00
Sheng Yang
8d2e41abd1
bug 10429: Enable redundant virtual router for 2.2.9
...
status 10429: resolved fixed
2011-07-19 15:06:20 -07:00
Sheng Yang
fa623c04e2
bug 10640: Redundant virtual router: Try to deploy the second virtual router to different pod/cluster/host/storagepool
...
The old strategy is to deploy the second virtual router to diffent host only.
status 10640: resolved fixed
2011-07-19 15:06:15 -07:00
Sheng Yang
e5e76881c6
Redundant virtual router: Try to deploy the second virtual router to different pod/cluster/host/storagepool
...
The old strategy is to deploy the second virtual router to diffent host only.
2011-07-19 14:26:37 -07:00
alena
1a38c8547d
bug 10605: updateNetworks api command - restart the network if networkDomain is updated.
...
updateNetwork command is async now
Conflicts:
server/src/com/cloud/network/NetworkManagerImpl.java
2011-07-19 12:09:25 -07:00
Sheng Yang
0449ba6c8c
Fix restartNetwork command on destroying virtual router
2011-07-19 11:56:02 -07:00
Sheng Yang
aa8fc81790
Fix restartNetwork command on destroying virtual router
2011-07-19 11:55:16 -07:00
alena
c48c3edfbc
bug 10271: don't include removed records when search for local storage pool
...
status 10217: resolved fixed
2011-07-19 11:10:53 -07:00
alena
8c9fe2ec71
bug 9871: deployVm - check network's zone when do vm deployment
...
status 9871: resolved fixed
Conflicts:
server/src/com/cloud/vm/UserVmManagerImpl.java
2011-07-19 11:10:53 -07:00
alena
3468d1b7ea
bug 9894: listSnapshots by domain admin - do recursive search if domainid is not specified in the request
...
status 9894: resolved fixed
2011-07-19 11:10:53 -07:00
alena
630e8d9db4
bug 9991: do account permission check in getCloudIdentifier api
...
status 9991: resolved fixed
2011-07-19 11:10:53 -07:00
alena
c663217b00
bug 9642: listVms by regular user using domainId parameter will work only when domainId specified is the domainId the caller belongs to.
...
status 9642: resolved fixed
2011-07-19 11:10:52 -07:00
alena
fa312617f1
bug 9723: fixed listServiceOfferings to work right with isSystem/domainId parameters
...
status 9723: resolved fixed
Conflicts:
server/src/com/cloud/server/ManagementServerImpl.java
2011-07-19 11:10:52 -07:00
alena
81117f325d
bug 9743: respect id/accountName/domainId parameters when call is executed by the regular user
...
status 9743: resolved fixed
2011-07-19 11:10:52 -07:00
alena
5be1f94c0d
bug 9620: fixed updateUser api to make updates only for the fields that are specified in the request
...
status 9620: resolved fixed
2011-07-19 11:10:52 -07:00
alena
8b100f7c4d
bug 10409: added domainSuffix parameters to account/domain objects
...
Conflicts:
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/upgrade/dao/Upgrade228to229.java
server/src/com/cloud/user/AccountManagerImpl.java
setup/db/db/schema-228to229.sql
2011-07-19 11:10:52 -07:00
Sheng Yang
3100d4b22f
Update RestartNetworkCmd to reimplment the network
...
Because the redundant router config may change.
Back port from 8c7c9a4b499ceee8a07f1f3a2b908d4a128aef32 partly.
2011-07-19 10:53:21 -07:00
alena
19f7c9e26f
Close ResultSet and PreparedStatement when gather vm information during the listVirtualMachines call
2011-07-19 10:33:34 -07:00
alena
ca87603925
Throw correct types of exceptions when fail to create account
2011-07-19 10:33:34 -07:00
alena
d970c13cf2
bug 10417: Basic zone - send vm data info only to the dhcp server in the same pod
...
status 10417: resolved fixed
Conflicts:
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
2011-07-19 10:33:34 -07:00
alena
e2eac341a4
bug 10710: Basic zone setup - send dhcp entries to all domRs (in every Pod) only when network.dns.basiczone.updates is set to "all"
...
status 10710: resolved fixed
Conflicts:
server/src/com/cloud/configuration/Config.java
server/src/com/cloud/vm/dao/DomainRouterDaoImpl.java
setup/db/db/schema-228to229.sql
2011-07-19 10:33:34 -07:00
kishan
14a8cbdc28
throw exception after intercepting to log error event
2011-07-19 18:39:32 +05:30
kishan
427b70e572
bug 10276: Throw exception for account APIs failure
...
status 10276: resolved fixed
2011-07-19 18:38:54 +05:30
Abhinandan Prateek
57f41a3a05
bug 10731: added optional paramter source cidr
2011-07-19 12:21:39 +05:30
Abhinandan Prateek
24510cd5fb
bug 10731: adding optional paramter for cidr
2011-07-19 12:10:48 +05:30
Sheng Yang
978b2640e2
Backport VirtualNetworkApplianceManager
...
Also:
1. Discard VPN related change.
2. Add network.dns.basiczone.updates in Config.java
3. Add findByNetworkOutsideThePod() for DomainRouterVO
Tested with VLAN and basic mode, works.
Disable redundant virtual router temporaily, would enable it after more testing.
2011-07-18 18:30:05 -07:00
Sheng Yang
44d4113ae6
bug 10429: backport redundant router
...
Part 2
commit 797839360c65cd348d2eb20630521177ab0919de
bug 9154: redundant virtual router
commit 8ff7f230204d4d3a7a4adee75523a9a84f4276fe
bug 9154: Replace domain_router.is_master with domain_router.redundant_state in DB
commit 230b99e9e0b152648f1dd2a5eab6f22315b8e7b4
bug 9154: Add redundant state to DomainRouterResponse
commit ccefb5ff5e83d713798a347c99bce1a0d04b4317
bug 9154: Add router fault state report
commit 7a3090378f9785caecf741b70554f6ea17c41764
bug 9154: Send alert if found two virtual routers in master state
commit 66831056e4bf27665871bccd24e6159071564847
bug 9154: Code clean up
commit bf3f58a85741fa7118bd848a42d8b21baa4478d4
bug 9154: Add isRedundantRouter to DomainRouterResponse
2011-07-18 18:30:02 -07:00
Sheng Yang
4bc8686513
bug 10429: Backport redundant virtual router
...
Part 1
This backport contained:
commit 52317c718c25111c2535657139b541db0c9d1e1f
bug 9154: Initial check in for enabling redundant virtual router
commit 54199112055d754371bfb141168fb5538bf6d6ea
Add host verification for CheckRouterCommand
commit cef978a228c90056ead9be10cbc4de74c2b8de76
Fix CheckRouterAnswer's isMaster report
commit 4072f0a6991ac3b63601a1764fbe14188965f62f
Some build fixes and code refactoring for redundant router
commit 4d3350b7cd8ee2706a9bace4437fc194e36c8dd5
Redundant Router: Fix OVS
commit 6a228830e7c46d819fa0c3317e159e041337e887
Fix findByNetwork()/findByNetworkAndPod()'s return
commit c627777b3d5bdbcd60db4032cebd349a5b1ecd83
Redundant Router: Fix isVmAlive()
commit e1275d2514adc41f8744f5107d4069c38be195f1
Only issue CheckRouterCommand to redundant routers
And all modification to the scripts till
commit 4e3942462ed3fde3a3d7011e95839e2128fba514
logging changes
in the master branch.
2011-07-18 18:29:56 -07:00
Alex Huang
d54f6d536a
propagating transaction isolation fix for merovingian2
2011-07-18 16:48:49 -07:00
Alex Huang
5590cd93ce
bug 10716: Changed the connection's isolation level to allow for more concurrency
2011-07-18 16:32:12 -07:00
alena
7a04334b60
bug 10734: removed global lock in "DirectAgentScanTimerTask". This lock used to prevent the task from executing on multiple management server simultaniously.
...
status 10734: resolved fixed
2011-07-18 15:00:13 -07:00
alena
62270fe62e
bug 10734: removed global lock in "DirectAgentScanTimerTask". This lock used to prevent the task from executing on multiple management server simultaniously.
...
status 10734: resolved fixed
2011-07-18 14:32:57 -07:00
Alex Huang
392c03ce6f
propagated db connection savings from master
2011-07-18 14:22:49 -07:00
Alex Huang
e52a97b969
Switched ping to use the same db connection so that running out of db connections won't affect basic operations
2011-07-18 14:22:49 -07:00
frank
244de00b65
Bug 9887 - baremetal: support for image operation (create template from guest disk)
...
Resolved fixed
2011-07-18 13:57:03 -07:00
Nitin
149c8d4b03
bug 9596: Extract Template/ISO - make extractable = false by default. Make changes to cleanup the extract URL's for multiple sec. storage.
...
status 9596: resolved fixed
2011-07-18 10:28:59 -07:00
Nitin
85b8205522
bug 10520: CAPACITY_TYPE_PUBLIC_IP and CAPACITY_TYPE_PRIVATE_IP - Change from remove and insert to the to the insert and update model. It doesnt seem like they are referenced for the allocators while creating a vm. Next might change them to calculating them on the fly.
2011-07-18 22:08:19 +05:30
Nitin
b3957d525b
bug 9596: Extract Template/ISO - make extractable = false by default. Make changes to cleanup the extract URL's for multiple sec. storage.
...
status 9596: resolved fixed
2011-07-18 12:10:51 +05:30
anthony
10f1499438
bug 10680: changing guest.network.device in global config also change existing hosts guest.network.device, reconnect will use network information in host_details
...
status 10680: resolved fixed
2011-07-15 18:20:16 -07:00
anthony
4a30f38dd4
bug 10680: changing guest.network.device in global config also change existing hosts guest.network.device, reconnect will use network information in host_details
...
status 10680: resolved fixed
2011-07-15 18:17:53 -07:00
alena
93090d867d
bug 10297: make default page size unlimited (-1)
2011-07-15 16:02:37 -07:00
alena
15aa7d9102
bug 10297: make default page size unlimited (-1)
2011-07-15 16:01:44 -07:00
alena
9c7aade3d1
bug 10733: fixed/added incorrect/missing keys in 228 to 229 upgrade
...
status 10733: resolved fixed
Conflicts:
setup/db/db/schema-228to229.sql
2011-07-15 15:10:11 -07:00
alena
f67c771410
bug 10733: fixed/added incorrect/missing keys in 228 to 229 upgrade
...
status 10733: resolved fixed
2011-07-15 15:07:11 -07:00
alena
0d84cde633
bug 10409: added domainSuffix parameters to account/domain objects
2011-07-15 14:40:39 -07:00
alena
84edb80c0c
bug 10687: respect "bootable" parameter when listIso
...
status 10687: resolved fixed
2011-07-15 14:28:53 -07:00
alena
21afc889d0
bug 10438: always return success on disableAccount when it got disabled successfully in the DB. If his vms failed to stop on the backend, mark account for cleanup and let background thread to do the cleanup job
...
status 10438: resolved fixed
2011-07-15 14:27:58 -07:00
alena
5300dd52a9
bug 4706: added one more parameter - "ipaddress" to deployVm api. This parameter will apply to default network of vm
...
status 4706: resolved fixed
Merge from master to 2.2.8 branch
Conflicts:
server/src/com/cloud/vm/UserVmManagerImpl.java
2011-07-15 14:23:28 -07:00
alena
0d2787e2db
bug 4706: allow to specify which ip address from the network to take when do vm deployment. The model is supported for multiple network case as well.
...
status 4706: resolved fixed
Merge from master to 2.2.8 branch
Conflicts:
api/src/com/cloud/api/ApiConstants.java
server/src/com/cloud/network/NetworkManager.java
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/network/guru/GuestNetworkGuru.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
server/src/com/cloud/vm/UserVmManagerImpl.java
2011-07-15 14:20:52 -07:00
anthony
0c53bddb16
bug 10628: root cause is CheckHealthCommand return false, XenServerInvestigator is not called
...
status 10628: resolved fixed
2011-07-15 10:12:54 -07:00
anthony
f15fae8983
bug 10705: don't need to print trace
...
status 10705: resolved fixed
2011-07-15 10:12:37 -07:00
anthony
36bd6f5859
bug 10691: expand try-catch, and add more log
2011-07-15 10:12:25 -07:00
anthony
8722f35f91
bug 10691: add more log
2011-07-15 10:12:07 -07:00
Nitin
0dba08a431
bug 10520: CAPACITY_TYPE_PUBLIC_IP and CAPACITY_TYPE_PRIVATE_IP - Change from remove and insert to the to the insert and update model. It doesnt seem like they are referenced for the allocators while creating a vm. Next might change them to calculating them on the fly.
2011-07-15 20:03:32 +05:30
Kelven Yang
06ea7338a8
bug 10732: fix console proxy assignment issue - file was not saved, commit again
2011-07-14 21:56:51 -07:00
Kelven Yang
1081a3cfaa
bug 10732: fix console proxy assignment issue
2011-07-14 21:56:34 -07:00
Kelven Yang
1e24c6a745
bug 10732: fix console proxy assignment issue - file was not saved, commit again
2011-07-14 21:54:52 -07:00
Kelven Yang
028d235716
bug 10732: fix console proxy assignment issue
2011-07-14 21:52:16 -07:00
anthony
18003deedf
bug 10628: root cause is CheckHealthCommand return false, XenServerInvestigator is not called
...
status 10628: resolved fixed
2011-07-14 20:42:26 -07:00
Kelven Yang
281201be8e
Make cluster request timeout to be configurable
2011-07-14 18:23:23 -07:00
Kelven Yang
61676ff3ea
Make cluster request timeout to be configurable
2011-07-14 18:11:32 -07:00
alena
731c3bc20a
bug 10710: Basic zone setup - send dhcp entries to all domRs (in every Pod) only when network.dns.basiczone.updates is set to "all"
...
status 10710: resolved fixed
2011-07-14 16:28:13 -07:00
Alex Huang
161b7f1cad
Switched ping to use the same db connection so that running out of db connections won't affect basic operations
2011-07-14 10:48:07 -07:00
alena
3b3a99ce43
bug 10727: fixed duplicated usage event generation when create volume from snapshot
...
status 10727: resolved fixed
Conflicts:
server/src/com/cloud/storage/StorageManagerImpl.java
2011-07-14 10:34:55 -07:00
alena
d11ac32f08
bug 10727: fixed duplicated usage event generation when create volume from snapshot
...
status 10727: resolved fixed
2011-07-14 10:28:28 -07:00
Nitin
1a6d859f22
bug 10718: checkSumSync - remove it as we dont require it.
...
status 10718: resolved fixed
2011-07-14 16:48:42 +05:30
Nitin
721ac489b2
bug 10718: checkSumSync - remove it as we dont require it.
...
status 10718: resolved fixed
2011-07-14 16:45:20 +05:30
kishan
f198b892e9
throw exception after intercepting to log error event
2011-07-14 11:51:14 +05:30
anthony
b9803a05ae
bug 10705: don't need to print trace
...
status 10705: resolved fixed
2011-07-13 18:35:56 -07:00
alena
f76a5e0043
Throw correct types of exceptions when fail to create account
2011-07-13 18:25:13 -07:00
alena
1979d1d065
bug 10681: for serviceOfferings, diskOfferings, templates/isos return records with not null Removed field on findById method call
...
status 10681: resolved fixed
Conflicts:
server/src/com/cloud/server/ManagementServerImpl.java
2011-07-13 18:25:13 -07:00
anthony
b6d4c3e86d
bug 10691: expand try-catch, and add more log
2011-07-13 18:24:14 -07:00
alena
25206e6257
bug 10681: for serviceOfferings, diskOfferings, templates/isos return records with not null Removed field on findById method call
...
status 10681: resolved fixed
2011-07-13 17:16:07 -07:00
anthony
72b405948b
bug 10691: add more log
2011-07-13 11:47:58 -07:00
Kelven Yang
11527ad914
bug 10699: log on listener registration
2011-07-12 16:58:55 -07:00
Kelven Yang
280a93a83d
bug 10699: more log for this
2011-07-12 16:14:58 -07:00
Kelven Yang
40145b0b8b
add logging to clustering notification
2011-07-12 16:14:58 -07:00
Nitin
df3855420d
bug 10624: ExtractVolume - code change for multiple secondary storage.
2011-07-12 20:30:43 +05:30
kishan
b8a19e73af
bug 6128: Throw exception when applying port forwarding rule fails
...
status 6128: resolved fixed
2011-07-12 16:41:17 +05:30
kishan
59399966c2
bug 7127: Added action event for lock user
...
status 7127: resolved fixed
2011-07-12 14:56:23 +05:30
alena
1acfa6013d
Close ResultSet and PreparedStatement when gather vm information during the listVirtualMachines call
2011-07-11 18:26:15 -07:00
alena
738811305b
bug 10687: respect "bootable" parameter when listIso
...
status 10687: resolved fixed
2011-07-11 18:06:39 -07:00
alena
50dce6d5a0
bug 10438: always return success on disableAccount when it got disabled successfully in the DB. If his vms failed to stop on the backend, mark account for cleanup and let background thread to do the cleanup job
...
status 10438: resolved fixed
2011-07-11 17:45:50 -07:00
alena
73574ebf5b
Do regular vm stop (not forced=true) when disableAccount
2011-07-11 17:35:35 -07:00
alena
67f76b5192
Do regular vm stop (not forced=true) when disableAccount
2011-07-11 17:35:22 -07:00
anthony
72098e4ebd
bug 10688: if the template is not installed in the primary storage, the asking zie is doubled, fixed by using physical size for template
...
status 10688: resolved fixed
2011-07-11 17:32:19 -07:00
anthony
0e9d1a8d1d
bug 10688: if the template is not installed in the primary storage, the asking zie is doubled, fixed by using physical size for template
...
status 10688: resolved fixed
2011-07-11 17:28:30 -07:00
Kelven Yang
6d8eb45bad
add logging to clustering notification
2011-07-11 17:16:23 -07:00
Kelven Yang
0fa8b65cde
bug 10656: check OutOfMemoryError in critical path, fix run.sh to let it be able to monitor process termination
2011-07-11 16:33:19 -07:00
alena
506ca6cff3
bug 10686: generate volume.delete usage event (along with vm.destroy) when vm fails to create/start.
...
status 10686: resolved fixed
Also updated 227 to 228 db upgrade to insert missing usage_event records
Conflicts:
server/src/com/cloud/vm/UserVmManagerImpl.java
2011-07-11 16:13:22 -07:00
alena
cc9a629cea
bug 10686: generate volume.delete usage event (along with vm.destroy) when vm fails to create/start.
...
status 10686: resolved fixed
Also updated 227 to 228 db upgrade to insert missing usage_event records
2011-07-11 16:11:05 -07:00
Alex Huang
1d2a529556
put big log trace in firstfit planner in to trace instead of debug
2011-07-11 14:37:52 -07:00
Alex Huang
f5d5ed5dce
put big log trace in firstfit planner in to trace instead of debug
2011-07-11 14:37:36 -07:00
Kelven Yang
e4bd357c53
bug 10677: add client side time out to cluster servlet interface
2011-07-11 13:37:33 -07:00
Kelven Yang
b9f00ccbab
bug 10677: add client side time out to cluster servlet interface
2011-07-11 12:08:12 -07:00
alena
bb6468b814
Fixed typo
2011-07-11 10:31:42 -07:00
alena
98b728bf70
Fixed typo
2011-07-11 10:31:25 -07:00
alena
edb68eb6b7
More logging to agent lb
2011-07-11 10:29:57 -07:00
alena
f348b2f324
More logging to agent lb
2011-07-11 10:29:04 -07:00
Sheng Yang
b9c740bcfd
Update keystore generation cmdline
2011-07-11 10:19:40 -07:00
Sheng Yang
964cef3767
Update keystore generation cmdline
2011-07-11 10:18:39 -07:00
Nitin
8a54013812
bug 10624: ExtractVolume - code change for multiple secondary storage.
2011-07-11 20:33:07 +05:30
kishan
8069a45a26
bug 10276: Throw exception for account APIs failure
...
status 10276: resolved fixed
2011-07-11 14:09:38 +05:30
Alex Huang
186654b299
find templates that are not removed
2011-07-09 13:37:45 -07:00
Alex Huang
fb8c3c032a
find templates that are not removed
2011-07-09 13:37:26 -07:00
Alex Huang
e0cce66bcc
got rid of dos eol which seems to confuse jdk in generating line numbers
2011-07-09 13:35:52 -07:00
Alex Huang
26b3c26974
got rid of dos eol which seems to confuse jdk in generating line numbers
2011-07-09 13:35:06 -07:00
Alex Huang
852cf0e6c7
fix migration npe when recovering
2011-07-09 08:32:10 -07:00
Alex Huang
db5afa4994
fix migration npe when recovering
2011-07-09 08:31:44 -07:00
alena
864a04ea6d
bug 10671: list domain level networks for children domains when domainId is not specified
...
status 10671: resolved fixed
2011-07-08 21:17:32 -07:00
alena
cad925bc6b
bug 10671: list domain level networks for children domains when domainId is not specified
...
status 10671: resolved fixed
2011-07-08 21:11:51 -07:00
Kelven Yang
72cbd65db2
bug 10668: add DB upgrade scripts for 2.2.7 to 2.2.8 upgrade
2011-07-08 18:12:13 -07:00
Alex Huang
ea48d40e5f
connection conierge to deal with connections that are not returned to pools
2011-07-08 18:04:57 -07:00
Alex Huang
c679fc078a
bug 10632: allow volume to be recreated when it is in recreating state
2011-07-08 18:04:57 -07:00
anthony
cae81c9a66
bug 10669: it is due to there is a templatehostref for this template, whose status is not DOWNLOADED
...
fixed by only check ready templatehostref for ISO download
status 10669: resolved fixed
2011-07-08 17:39:19 -07:00
anthony
dda3f220d6
bug 10669: it is due to there is a templatehostref for this template, whose status is not DOWNLOADED
...
fixed by only check ready templatehostref for ISO download
status 10669: resolved fixed
2011-07-08 17:37:34 -07:00
alena
9db9d3f36f
When release public ip address, make a search by ip+networkId instead of ip+accountId as ipAddress is unique in network only.
2011-07-08 15:55:15 -07:00
alena
47f519f5de
When release public ip address, make a search by ip+networkId instead of ip+accountId as ipAddress is unique in network only.
2011-07-08 15:47:25 -07:00
frank
12d6f53898
Bug 10660 - ConfigurationServer loads failed because DB upgrade happens after it
...
resolved fixed
2011-07-08 15:20:41 -07:00
frank
7b1b56548a
Bug 10660 - ConfigurationServer loads failed because DB upgrade happens after it
...
resolved fixed
2011-07-08 14:49:50 -07:00
Edison Su
0dacd3913a
bug 10423: agent in ssvm needs to add default keystore, as we copying templates through https://**realhostip .**
...
status 10423: resolved fixed
2011-07-08 13:49:43 -07:00
Edison Su
a24eef5c81
add new option to force destroy vm when delete host, if the VMs are created on local storage
2011-07-08 13:49:05 -07:00
Edison Su
492bf2371c
bug 10092: fix the Long compare
...
status 10092: resolved fixed
2011-07-08 13:32:54 -07:00
Edison Su
d3093048f8
bug 10303: don't show system vm template for templatefilter == (self and feature)
...
status 10303: resolved fixed
2011-07-08 13:31:49 -07:00
Edison Su
8306bf7ee5
fix ebtable cleanup issue: on ubuntu, it's not got deleted if vm is stopped
2011-07-08 13:31:34 -07:00
Edison Su
902f8172e3
bug 10293: don't destroy volume if it's not created
...
status 10293: resolved fixed
2011-07-08 13:19:32 -07:00
Edison Su
76d4636823
bug 10190: add log if failed to delete host when host is in UP state
2011-07-08 13:19:16 -07:00
alena
40211d186d
Fixed the case when vm failed to start when corresponding domR was in Stopped state
2011-07-08 11:50:00 -07:00
Alex Huang
040cffafca
bug 10447: don't set the reservation id to null
2011-07-08 11:36:52 -07:00
Alex Huang
b23c2a3c53
bug 10447: don't set the reservation id to null
2011-07-08 11:36:30 -07:00
alena
62a570484c
fix db upgrade from 2.2.6 to 2.2.8
...
Conflicts:
setup/db/db/schema-227to228.sql
2011-07-08 09:51:50 -07:00
alena
27ef3a1d2d
bug 10651: added missing keys to 227 to 228 db upgrade
...
status 10651: resolved fixed
Conflicts:
setup/db/db/schema-227to228.sql
2011-07-08 09:49:19 -07:00
alena
70b1c69ef3
bug 10651: added missing keys to 227 to 228 db upgrade
...
status 10651: resolved fixed
2011-07-08 09:45:12 -07:00
Alex Huang
44666b6333
fixed the problem that vms in starting state were not being cleaned up when management server restarts
2011-07-08 00:05:55 -07:00
Alex Huang
aa757f0303
fixed the problem that vms in starting state were not being cleaned up when management server restarts
2011-07-08 00:05:29 -07:00
anthony
4c0fce700b
bug 10639: if register iso for all zones, zoneId is -1,
...
fixed
status 10639: resolved fixed
2011-07-07 21:03:09 -07:00
anthony
093af8afdf
bug 10639: if register iso for all zones, zoneId is -1,
...
fixed
status 10639: resolved fixed
2011-07-07 21:01:15 -07:00
anthony
fc5c657980
bug 10608:
...
only one primary storage in a cluster can be in PrepareMaintenance mode
2011-07-07 19:43:43 -07:00
anthony
f2117197f5
bug 10608:
...
only one primary storage in a cluster can be in PrepareMaintenance mode
2011-07-07 19:40:04 -07:00
Kelven Yang
d0de1a5b94
bug 10620: allow ISO attachment failure to propogate up
2011-07-07 17:02:51 -07:00
Kelven Yang
25d2c893e6
bug 10620: allow ISO attachment failure to propogate up
2011-07-07 17:00:51 -07:00
anthony
01a04935aa
bug 10611: MS puts primary storage into cancelmaintenace mode, then try to start VMs which were running on top of it, but failed because primary storage is in cancelmaintenace mode
...
fixed
status 10611: resolved fixed
2011-07-07 16:21:23 -07:00
anthony
a7f8b66813
bug 10611: MS puts primary storage into cancelmaintenace mode, then try to start VMs which were running on top of it, but failed because primary storage is in cancelmaintenace mode
...
fixed
status 10611: resolved fixed
2011-07-07 16:20:25 -07:00
alena
80ede648e3
bug 10629: fixed regression bug in listVms - security group name and display text weren't returned
...
status 10629: resolved fixed
2011-07-07 15:48:02 -07:00
alena
a2abb3ce18
bug 10417: Basic zone - send vm data info only to the dhcp server in the same pod
...
status 10417: resolved fixed
2011-07-07 15:48:01 -07:00
alena
b92abc5333
bug 10629: fixed regression bug in listVms - security group name and display text weren't returned
...
status 10629: resolved fixed
2011-07-07 15:42:44 -07:00
frank
3c1a375978
Bug 9887 - baremetal: support for image operation (create template from guest disk)
...
Resolved fixed
2011-07-07 15:34:42 -07:00
anthony
b885915f1e
bug 10628: if private network and storage network use the same nic, MS will start HA very quickly within 20 seconds, it breaks heartbeat check, which require 60 seconds interval. add 60s sleep before trying to HA on VMs
...
status 10628: resolved fixed
2011-07-07 12:39:46 -07:00
anthony
931dcff710
bug 10628: if private network and storage network use the same nic, MS will start HA very quickly within 20 seconds, it breaks heartbeat check, which require 60 seconds interval. add 60s sleep before trying to HA on VMs
...
status 10628: resolved fixed
2011-07-07 12:36:39 -07:00
anthony
9b640085ab
bug 10618: fixed NPE
...
status 10618: resolved fixed
2011-07-07 10:24:22 -07:00
anthony
dd6972ee07
bug 10618: fixed NPE
...
status 10618: resolved fixed
2011-07-07 10:23:29 -07:00
Nitin
17e4e7014f
bug 10602: Fix NPE in StatsCollector - ssvm might not be up so check for that.
...
status 10602: resolved fixed
2011-07-07 13:49:37 +05:30
Nitin
9f13b46d61
bug 10602: Fix NPE in StatsCollector - ssvm might not be up so check for that.
...
status 10602: resolved fixed
2011-07-07 13:45:40 +05:30
anthony
47296e64ac
bug 10587: correctly use transaction
...
status 10587: resolved fixed
Conflicts:
server/src/com/cloud/storage/StorageManagerImpl.java
2011-07-06 18:57:36 -07:00
anthony
4040b39fe1
bug 10587: correctly use transaction
...
status 10587: resolved fixed
2011-07-06 18:55:15 -07:00
alena
a2531b60f9
bug 10605: updateNetworks api command - restart the network if networkDomain is updated.
...
updateNetwork command is async now
2011-07-06 18:00:15 -07:00
Kelven Yang
efa431ed1b
Add data integrity check for Console Proxy/SSVM/Domain Router
2011-07-06 17:31:39 -07:00
Kelven Yang
e522ecb3a1
Add data integrity check for Console Proxy/SSVM/Domain Router
2011-07-06 17:22:21 -07:00
alena
9be9a970c9
bug 10409: added domainSuffix parameters to account/domain objects
2011-07-06 16:57:19 -07:00
Alex Huang
ee2670edc7
Some operations on the lock table allowed through jmx
2011-07-06 16:10:18 -07:00
Alex Huang
7e9836dfd0
Some operations on the lock table allowed through jmx
2011-07-06 16:09:05 -07:00
anthony
f1bee86263
fixed a NPE
2011-07-06 16:07:53 -07:00
anthony
90cb2dea6a
add more logs
2011-07-06 16:07:46 -07:00
anthony
67e2f130d0
fixed a NPE
2011-07-06 16:07:29 -07:00
Edison Su
79f5ece7dc
fix NPE in put primary storage into maintainance mode
2011-07-06 16:05:22 -07:00
alena
2fca9d0a49
bug 10603: fixed NPE in listTemplates
...
status 10603: resolved fixed
2011-07-06 14:22:40 -07:00
alena
4727b1229e
bug 10603: fixed NPE in listTemplates
...
status 10603: resolved fixed
2011-07-06 14:21:38 -07:00
alena
a8a9b37824
bug 10553: allow networkDomain update for Guest system network in Basic zone
...
status 10553: resolved fixed
2011-07-06 14:16:04 -07:00
alena
01a47e0717
bug 10553: allow networkDomain update for Guest system network in Basic zone
...
status 10553: resolved fixed
2011-07-06 12:01:09 -07:00
anthony
dc492c5d9e
add more logs
2011-07-06 11:54:00 -07:00
Nitin
fb981be800
bug 10580: Making necessary changes to stats collection to entertain multiple secondary storage.
...
status 10580: resolved fixed
2011-07-06 18:20:17 +05:30
Nitin
1c73e378da
bug 10580: Making necessary changes to stats collection to entertain multiple secondary storage.
...
status 10580: resolved fixed
2011-07-06 18:15:18 +05:30
kishan
561f415d5a
bug 10382: Move volume delete events to destroyVolume method
...
status 10382: resolved fixed
2011-07-06 18:08:48 +05:30
Abhinandan Prateek
2aa1f3e596
bug 10570: fixed ISO id and name
...
status 10570: resolved fixed
2011-07-06 11:26:10 +05:30
Abhinandan Prateek
c62ad3d11a
bug 10570: fixed ISO id and name
...
status 10570: resolved fixed
2011-07-06 11:23:23 +05:30
frank
05c7995153
Bug 10559 - Couldn't add baremetal template/image throught the ui, zone id passed in was negative
...
resolved fixed
2011-07-05 19:35:26 -07:00
frank
38c0772507
Bug 10560 - Baremetal template created 5 entries when added (edit)
...
resolved fixed
2011-07-05 19:35:15 -07:00
Kelven Yang
399e6a673b
bug 10577: implemente VMware CPU reservation based on CPU overprovisioning factor
2011-07-05 18:05:17 -07:00
Kelven Yang
51f93a6020
bug 10577: implemente VMware CPU reservation based on CPU overprovisioning factor
2011-07-05 17:34:38 -07:00
frank
3c4671aac5
Bug 10560 - Baremetal template created 5 entries when added (edit)
...
resolved fixed
2011-07-05 17:22:46 -07:00
frank
4a8812af68
Bug 10559 - Couldn't add baremetal template/image throught the ui, zone id passed in was negative
...
resolved fixed
2011-07-05 16:41:51 -07:00
alena
deca4337c5
Fixed deployVm with sshKeyPair via 8096 port - take account info from the vm's owner, not from the caller
2011-07-05 13:37:39 -07:00
alena
ba95181dc4
Fixed deployVm with sshKeyPair via 8096 port - take account info from the vm's owner, not from the caller
2011-07-05 13:35:29 -07:00
alena
bb1f000414
createSshKeys command - fixed the case when admin couldn't create a key for another user via 8096 port.
...
registerSshKeys command - added ability for admin to register key for another user
Fixed NPE in registerUserKeys command - used to happen in failure case, when invalid publicKey was specified
2011-07-05 12:10:52 -07:00
alena
c31605d51f
createSshKeys command - fixed the case when admin couldn't create a key for another user via 8096 port.
...
registerSshKeys command - added ability for admin to register key for another user
Fixed NPE in registerUserKeys command - used to happen in failure case, when invalid publicKey was specified
2011-07-05 12:08:43 -07:00
Abhinandan Prateek
5f12ea73a8
bug 8962: Completed moving VM from one account to another.
2011-07-04 13:15:40 +05:30
Nitin
857f8ca0f9
Fixing the merge - adding import which wasnt present
2011-07-04 12:12:18 +05:30
Nitin
62aab14e05
bug 8915: Adding events for TEMPLATE.CREATE, TEMPLATE.DELETE, ISO.DELETE, ISO.ATTACH, ISO.DETACH.
...
Status 8915: resolved fixed
2011-07-04 12:01:04 +05:30
Nitin
90ae601fc8
bug 10112: generarting the right url for corresponding hypervisors for extract template.
...
status 10112: resolved fixed
2011-07-04 11:59:58 +05:30
Edison Su
d548e8fc38
fix db upgrade from 2.2.6 to 2.2.8
2011-07-01 19:16:14 -07:00
anthony
401e5ce0e9
handle register template/iso to all zones
...
Conflicts:
api/src/com/cloud/api/ResponseGenerator.java
2011-07-01 17:42:59 -07:00
anthony
2bd3f6c74e
handle register template/iso to all zones
2011-07-01 17:06:43 -07:00
anthony
c0f22970d3
per angie, Below sequence doesn't work
...
1. copy template1 from z1 to z2
2. remove template1 from z2
3. copy tempalte1 from z1 to z2 again,
4. template1 for z2 doesn't show up in MyTemplate
fixed
2011-07-01 16:19:38 -07:00
anthony
09562e771c
per angie, Below sequence doesn't work
...
1. copy template1 from z1 to z2
2. remove template1 from z2
3. copy tempalte1 from z1 to z2 again,
4. template1 for z2 doesn't show up in MyTemplate
fixed
2011-07-01 16:17:18 -07:00
anthony
494f29702b
fixed list featured template
2011-07-01 16:09:18 -07:00
anthony
010858da0d
fixed list featured template
2011-07-01 16:08:17 -07:00
Kelven Yang
7512689dc8
bug 10546: move sending agent command out of transaction
2011-07-01 15:49:48 -07:00
Kelven Yang
7e6e097b58
bug 10482: use version-based systemvm ISO in secondary storage to solve the upgrade issue
2011-07-01 14:09:58 -07:00
Kelven Yang
3b46e7c695
bug 10482: use version-based systemvm ISO in secondary storage to solve the upgrade issue
2011-07-01 14:02:09 -07:00
alena
17f785f07a
Intermidiate checkin for Projects feature; added 3 new apis - create/delete/listProject(s) - as a part of checkin
2011-07-01 13:19:12 -07:00
Alex Huang
f28a2b40a3
bug 10501: This is really Kelven's bug but I'll fix it for him anyways. DAO code already have a way to extract the DB connection from a transaction that is stored in the TLS. There's no real reason for the DAO code to add special semantics to use a different DB connection. That can be done by simply switching the transaction before it even reached the dao code. Think about it. Why would anyone want to call one dao function, switch transaction, and then switch back. The right thing is for the caller to switch transaction, call a series of dao codes, and switch it back. That's the semantics I changed to. By doing this, it also eliminates the number of debug messages in this bug.
2011-07-01 11:03:37 -07:00
Alex Huang
cfc25d01be
bug 10501: This is really Kelven's bug but I'll fix it for him anyways. DAO code already have a way to extract the DB connection from a transaction that is stored in the TLS. There's no real reason for the DAO code to add special semantics to use a different DB connection. That can be done by simply switching the transaction before it even reached the dao code. Think about it. Why would anyone want to call one dao function, switch transaction, and then switch back. The right thing is for the caller to switch transaction, call a series of dao codes, and switch it back. That's the semantics I changed to. By doing this, it also eliminates the number of debug messages in this bug.
2011-07-01 11:03:12 -07:00
kishan
9a6c567269
bug 10503: Skip usage events when StopAnswer details is Vm does not exist
...
status 10503: resolved fixed
2011-07-01 18:27:27 +05:30
kishan
fd6900a3d8
bug 10382: wrapped usage events in txn
2011-07-01 18:11:56 +05:30
kishan
36d7ee5634
bug 10372: Added Vm State Machine listener for usage events
...
status 10372: resolved fixed
2011-07-01 16:37:53 +05:30
Nitin
7677a2bfee
bug 10112: generarting the right url for corresponding hypervisors for extract template.
...
status 10112: resolved fixed
2011-07-01 13:58:47 +05:30
Abhinandan Prateek
2a2611d6f6
group id is optional
2011-07-01 13:20:57 +05:30
Abhinandan Prateek
4120a07526
group id is optional
2011-07-01 13:17:32 +05:30
alena
9b54b8761a
bug 10538: avoid duplicated config values insertion when multiple management servers start at the same time
...
status 10538: resolved fixed
2011-06-30 18:26:52 -07:00
alena
e0c74004f1
bug 10538: avoid duplicated config values insertion when multiple management servers start at the same time
...
status 10538: resolved fixed
2011-06-30 18:24:28 -07:00
anthony
da179d7f46
clean up
2011-06-30 15:15:06 -07:00
anthony
e0d05f8b49
bug 10533: do not use daos in upgrade code
...
status 10533: resolved fixed
2011-06-30 15:15:06 -07:00
anthony
12113c4ee8
clean up
2011-06-30 15:14:24 -07:00
anthony
a125219dda
bug 10533: do not use daos in upgrade code
...
status 10533: resolved fixed
2011-06-30 15:12:57 -07:00
anthony
a217baebf6
bug 5873: Checking if scmbug works
...
status 5873: resolved fixed
2011-06-30 14:06:20 -07:00
anthony
9f8d515b2e
bug 5873: Checking if scmbug works
...
status 5873: resolved fixed
2011-06-30 14:04:16 -07:00
alena
b2942572e7
bug 10453: fixed NPE in startRouter command - used to happen when domR start was called for existing domR as a part of networkImplement
...
status 10453: resolved fixed
2011-06-30 11:35:51 -07:00
Abhinandan Prateek
c15723a716
bug 10526: adding root device, volume type
2011-06-30 22:02:39 +05:30
Abhinandan Prateek
ae665d4b11
bug 10526: adding root device, volume type
2011-06-30 21:58:44 +05:30
Abhinandan Prateek
6c17fd3c7d
bug 10526: added state
2011-06-30 21:13:09 +05:30
Abhinandan Prateek
c6bccec8ad
bug 10526: added state
2011-06-30 21:07:22 +05:30
Nitin
62078ffef2
bug 8915: Adding events for TEMPLATE.CREATE, TEMPLATE.DELETE, ISO.DELETE, ISO.ATTACH, ISO.DETACH.
...
Status 8915: resolved fixed
2011-06-30 16:31:02 +05:30
Abhinandan Prateek
6cfc59b454
bug 10489: addign object type to response
2011-06-30 13:31:55 +05:30
root
6553ae7df4
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2011-06-30 13:18:57 +05:30
Abhinandan Prateek
978d811333
bug 10489: adding object name to response so that the front end displays it properly
2011-06-30 13:14:56 +05:30
Nitin
c510c0540a
bug 10422: Correcting host capacity checker thread runs. Removing the thread.sleep method and using the scheduleWithFixedDelay to execute the thread at fixed delays. Also making the hostCapacityChecker thread use the common function used by computeCapacityListener.
...
status 10422: resolved fixed
2011-06-30 13:00:44 +05:30
Abhinandan Prateek
c30225c2af
bug 10489: self review updates
2011-06-30 11:07:37 +05:30
Abhinandan Prateek
6ba0b35295
bug 10489: improving listVM performance: Combined various queries to get Vm details into one single join, reduced the time required to 1/5
2011-06-30 11:05:18 +05:30
Abhinandan Prateek
8bdbfc78ea
bug 10489: self review updates
2011-06-30 10:52:03 +05:30
Abhinandan Prateek
f34252f2e0
bug 10489: improving listVM performance: Combined various queries to get Vm details into one single join, reduced the time required to 1/5
2011-06-30 09:55:35 +05:30
anthony
1503bacc7c
fixed template deletion
2011-06-29 20:36:42 -07:00
anthony
5fc6d74b95
fixed template deletion
2011-06-29 20:36:15 -07:00
anthony
c4c36c5f62
bug 10511:
...
in template sync,
1. skip all templates with url null
2. if the template is private, and there is no record for this template in this secondary storage host, skip it
status 10511: resolved fixed
Conflicts:
server/src/com/cloud/storage/download/DownloadMonitorImpl.java
2011-06-29 20:08:20 -07:00
anthony
5aba50deb9
bug 10511:
...
in template sync,
1. skip all templates with url null
2. if the template is private, and there is no record for this template in this secondary storage host, skip it
status 10511: resolved fixed
2011-06-29 20:02:14 -07:00
anthony
b6eafd7102
bug 10512: lock on snapshot entry instead of volume entry
...
status 10512: resolved fixed
2011-06-29 18:54:53 -07:00
anthony
253ae79876
bug 10512: lock on snapshot entry instead of volume entry
...
status 10512: resolved fixed
2011-06-29 18:53:41 -07:00
anthony
ed614c4f52
bug 10511: lock on snapshot entry instead of volume entry
...
status 10511: resolved fixed
2011-06-29 18:41:55 -07:00
anthony
43de3ec249
bug 10511: lock on snapshot entry instead of volume entry
...
status 10511: resolved fixed
2011-06-29 18:40:18 -07:00
anthony
2fb5de8852
fixed several template issues
...
merge createtemplateresponse and createteisoresponse
on UI template
only show template corresponding hypervisor exists
Conflicts:
api/src/com/cloud/api/ResponseGenerator.java
server/src/com/cloud/storage/StorageManager.java
2011-06-29 18:31:13 -07:00
anthony
446d08187b
fixed several template issues
...
merge createtemplateresponse and createteisoresponse
on UI template
only show template corresponding hypervisor exists
2011-06-29 15:56:01 -07:00
Alex Huang
7a4af21f72
bug 10322: Transaction is using the new Merovingian
2011-06-29 15:34:53 -07:00
alena
e16e0597c9
bug 10497: always execute next command in sequence, even when the current one fails to complete; otherwise all the remaining commands will be stuck in the queue forever
...
status 10497: resolved fixed
2011-06-29 15:17:29 -07:00
alena
13f67a3d56
bug 10497: always execute next command in sequence, even when the current one fails to complete; otherwise all the remaining commands will be stuck in the queue forever
...
status 10497: resolved fixed
2011-06-29 14:16:59 -07:00
Alex Huang
81213c2be2
bug 10322: Transaction is using the new Merovingian
2011-06-29 12:35:30 -07:00
Alex Huang
c8c84af109
bug 10322: integrated into cluster management
2011-06-29 12:03:36 -07:00
Alex Huang
fefc798197
bug 10322: better mannered merovingians
2011-06-29 12:03:22 -07:00
Alex Huang
687e9f6e67
bug 10322: arrival of the next generation Merovingians
2011-06-29 12:03:05 -07:00
Alex Huang
27809e651e
bug 10322: arrival of the next generation Merovingians
2011-06-29 12:02:53 -07:00
Alex Huang
63f552995f
bug 10322: integrated into cluster management
2011-06-29 12:01:43 -07:00
Alex Huang
e16a013335
bug 10322: better mannered merovingians
2011-06-29 12:01:43 -07:00
Alex Huang
2219269e83
bug 10322: arrival of the next generation Merovingians
2011-06-29 12:01:43 -07:00
Alex Huang
cbee5a6044
bug 10322: arrival of the next generation Merovingians
2011-06-29 12:01:43 -07:00
alena
e10020e710
bug 10496: fixed various problems in scanDirectAgentToLoad code (1) case when loadSize=clusterSize wasn't working 2) Long value comparison was done incorrectly)
...
status 10496: resolved fixed
2011-06-29 11:41:45 -07:00
alena
5134b44ff5
bug 10496: fixed various problems in scanDirectAgentToLoad code (1) case when loadSize=clusterSize wasn't working 2) Long value comparison was done incorrectly)
...
status 10496: resolved fixed
2011-06-29 11:27:01 -07:00
anthony
cf83700bf4
fixed buld
2011-06-29 10:56:48 -07:00
alena
16da7e07ac
Added more logging to DirectAgentsLoad task
2011-06-29 09:30:22 -07:00
alena
1581828dda
Added more logging to DirectAgentsLoad task
2011-06-29 09:29:46 -07:00
Nitin
91e016114e
bug 10422: Correctly populating the used and reserved capacity in ComputeCapacityListener Status 10422: resolved fixed
2011-06-29 15:40:47 +05:30
Nitin
1eb8e61c43
bug 10422: accidentally removed the code for sourceTemplate id when the the volume is created out of template. Checking it in.
...
status 10422: resolved fixed
2011-06-29 15:27:06 +05:30
Nitin
474d666f79
bug 10422: accidentally removed the code for sourceTemplate id when the the volume is created out of template. Checking it in.
...
status 10422: resolved fixed
2011-06-29 14:34:24 +05:30
Nitin
a2bdcf5159
bug 10422: accidentally removed the code for sourceTemplate id when the the volume is created out of template. Checking it in.
...
status 10422: resolved fixed
2011-06-29 14:34:23 +05:30
anthony
7d060d3388
list template will list ready template if there is, if not, list in progress, if not list other
2011-06-28 19:18:10 -07:00
anthony
0ca489c40b
fixed template checksum command
2011-06-28 19:17:57 -07:00
anthony
d902d313b7
fixed a template creation bug
...
Conflicts:
server/src/com/cloud/storage/StorageManager.java
2011-06-28 19:17:34 -07:00
anthony
e186369c51
use correct secondary storage when creating template from snapshot
2011-06-28 19:16:34 -07:00
anthony
260e4dbb51
list template will list ready template if there is, if not, list in progress, if not list other
2011-06-28 19:03:46 -07:00
anthony
90cdf16509
fixed template checksum command
2011-06-28 19:03:46 -07:00
anthony
f85fb432ba
fixed a template creation bug
2011-06-28 17:55:21 -07:00
anthony
b058a0226d
use correct secondary storage when creating template from snapshot
2011-06-28 16:58:15 -07:00
Kelven Yang
1edf772f92
bug 10480, 10494: NPE fix in VirtualMachineManagerImpl, move keystore upgrade sql to upgrade225to226.sql
2011-06-28 15:00:34 -07:00
Kelven Yang
0059dd0e57
bug 10480, 10494: NPE fix in VirtualMachineManagerImpl, move keystore upgrade sql to upgrade225to226.sql
2011-06-28 14:57:02 -07:00
anthony
2602614fd3
set correct secondary storage host id in snapshot table
2011-06-28 14:08:39 -07:00
anthony
1e7399dd19
set correct secondary storage host id in snapshot table
2011-06-28 14:08:18 -07:00
alena
830c230b47
bug 10492: fixed upgrade from 2.2.6 to 2.2.8
...
status 10492: resolved fixed
2011-06-28 13:45:37 -07:00
alena
c7d17d2e3c
bug 10492: fixed upgrade from 2.2.6 to 2.2.8
...
status 10492: resolved fixed
2011-06-28 13:44:00 -07:00
anthony
89b39d6a1a
fixed compile warning
2011-06-28 11:00:16 -07:00
anthony
7cafe9eae4
fixed compile warning
2011-06-28 10:56:35 -07:00
root
d46d1da86c
bug 10455: accidentally removed the code for sourceTemplate id when the the volume is created out of template. Checking it in.
...
status 10455: resolved fixed
2011-06-28 19:55:09 +05:30
Nitin
35d4c304a9
bug 10455: CreatePrivateTemplate - If the volume's template id is null and it is ROOT (meaning that the vm was created out of a blank template) then take the source template id from the user vm table.
...
Status 10455: resolved fixed
2011-06-28 19:54:54 +05:30
root
dbc0abfa69
bug 10455: accidentally removed the code for sourceTemplate id when the the volume is created out of template. Checking it in.
...
status 10455: resolved fixed
2011-06-28 14:29:11 +05:30
Alex Huang
89269069f9
Added JMX to Transaction
2011-06-28 01:17:46 -07:00
Alex Huang
b7e4298c94
Added JMX to Transaction
2011-06-27 17:24:26 -07:00
anthony
d57f187963
bug 10410: show template per zone
...
status 10410: resolved fixed
2011-06-27 17:15:58 -07:00
anthony
461d256f74
bug 10410: show template per zone
...
status 10410: resolved fixed
2011-06-27 17:15:27 -07:00
anthony
761af73f24
bug 9855: two fixes.
...
1. can not cancel maintenace mode.
2. maintenance related modes are preserved through MS restart
status 9855: resolved fixed
2011-06-27 13:47:43 -07:00
anthony
468136be74
bug 9855: two fixes.
...
1. can not cancel maintenace mode.
2. maintenance related modes are preserved through MS restart
status 9855: resolved fixed
2011-06-27 13:48:12 -07:00
alena
e716245218
bug 10447: don't allow to use system networks for vm deployment in Advance zone
...
status 10447: resolved fixed
2011-06-27 12:32:32 -07:00
alena
4e20cfd0ef
bug 10447: don't allow to use system networks for vm deployment in Advance zone
...
status 10447: resolved fixed
2011-06-27 12:31:00 -07:00
anthony
9b56ac973e
host is stucked in prepareMaintenance mode if you put last host into maintenance mode,
...
fixed
Conflicts:
server/src/com/cloud/vm/VirtualMachineManagerImpl.java
2011-06-27 11:36:10 -07:00
anthony
3ab96b99af
host is stucked in prepareMaintenance mode if you put last host into maintenance mode,
...
fixed
2011-06-27 11:33:23 -07:00
Alex Huang
a59d70e7e4
bug 10375: fixed deadlock issue I think
2011-06-27 10:43:32 -07:00
alena
18dc85c765
Pass isForRebalance parameter to processConnect method of all the listeners - some listeners don't have to be notified when connection happens as a a part of Agent Rebalance process (VirtualMachineManagerImpl listener for instance)
2011-06-27 10:37:00 -07:00
alena
826f5eedf1
bug 10447: don't notify VirtualMachineManager listener when do host rebalance - vm sync is not needed in this case.
...
status 10447: resolved fixed
2011-06-27 10:37:00 -07:00
alena
9461ad9ddf
bug 10445: Submit rebalancing task in a separate thread for each host
...
status 10445: resolved fixed
2011-06-27 10:37:00 -07:00
alena
f9d6685d18
bug 10456: get accountId info from the volume record when create template from volume
...
status 10456: resolved fixed
2011-06-27 10:37:00 -07:00
alena
41f12eb642
Pass isForRebalance parameter to processConnect method of all the listeners - some listeners don't have to be notified when connection happens as a a part of Agent Rebalance process (VirtualMachineManagerImpl listener for instance)
2011-06-27 10:20:41 -07:00
alena
52fab0e35e
bug 10456: get accountId info from the volume record when create template from volume
...
status 10456: resolved fixed
2011-06-27 10:20:40 -07:00
alena
0bf34f3612
bug 10447: don't notify VirtualMachineManager listener when do host rebalance - vm sync is not needed in this case.
...
status 10447: resolved fixed
2011-06-27 10:20:40 -07:00
alena
fce33bcd76
bug 10445: Submit rebalancing task in a separate thread for each host
...
status 10445: resolved fixed
2011-06-27 10:20:40 -07:00
Alex Huang
791dd9777b
logging changes
2011-06-27 10:19:53 -07:00
Alex Huang
97b562fc2a
logging changes
2011-06-27 10:18:40 -07:00
Nitin
5810b838ed
bug 10455: CreatePrivateTemplate - If the volume's template id is null and it is ROOT (meaning that the vm was created out of a blank template) then take the source template id from the user vm table.
...
Status 10455: resolved fixed
2011-06-27 17:20:42 +05:30
Kelven Yang
f3d7d075ee
bug 10449: handle the case when cluster servlet may be called during management server initialization phase
2011-06-24 18:14:11 -07:00
Kelven Yang
217ab1a851
bug 10150: we need to be told about management network group name for ESXi to pick up the correct one when there are multiple VMKernel ports be configured in vCenter
2011-06-24 18:13:53 -07:00
Kelven Yang
a295e381a7
bug 10449: handle the case when cluster servlet may be called during management server initialization phase
2011-06-24 18:12:25 -07:00
Kelven Yang
6cdbd1f2bb
bug 10150: we need to be told about management network group name for ESXi to pick up the correct one when there are multiple VMKernel ports be configured in vCenter
2011-06-24 18:12:25 -07:00
Edison Su
3642aef4c6
bug 10423: agent in ssvm needs to add default keystore, as we copying templates through https://**realhostip .**
...
status 10423: resolved fixed
2011-06-24 14:45:47 -04:00
alena
56799fcbaa
Added upgrade path from 2.2.7 to 2.2.8
2011-06-24 12:07:33 -07:00
alena
67be5512c8
Added upgrade path from 2.2.7 to 2.2.8
2011-06-24 11:31:08 -07:00
Kelven Yang
1db2667c54
bug 10029: update mshost state instead of removing it
2011-06-24 11:18:28 -07:00
Kelven Yang
0be54ec4b6
bug 10029: update mshost state instead of removing it
2011-06-24 11:16:40 -07:00
alena
74f34a0e0c
bug 10435: removed vpn feature
...
status 10435: resolved fixed
2011-06-24 09:18:46 -07:00
nitin
83773978e3
bug 10290: Allow turning off router stats collector
...
Status 10290: resolved fixed
2011-06-24 16:27:17 +05:30
alena
f42f7d8945
Always add default security group when deploy vm in basic zone
2011-06-23 20:00:49 -07:00
Kelven Yang
3da61e7c27
bug 9605: use CIDR from default interface
2011-06-23 17:47:20 -07:00
Edison Su
28f0068151
add new option to force destroy vm when delete host, if the VMs are created on local storage
2011-06-23 20:36:13 -04:00
alena
9d76f6d719
Always add default security group when deploy vm in basic zone
2011-06-23 19:59:14 -07:00
Kelven Yang
3b93d353d6
bug 9605: use CIDR from default interface
2011-06-23 17:48:37 -07:00
Kelven Yang
a728f5b071
bug 10434: limit vCenter cluster size to be within VMFS limit
2011-06-23 17:24:08 -07:00
Kelven Yang
e37959e2c0
bug 10434: limit vCenter cluster size to be within VMFS limit
2011-06-23 17:21:46 -07:00
Kelven Yang
f91122654b
bug 10176: add cluster listener registration back
2011-06-23 14:52:15 -07:00
Kelven Yang
8490fc2bf5
bug 10176: add cluster listener registration back
2011-06-23 14:50:58 -07:00
alena
d380ce0897
bug 4706: added one more parameter - "ipaddress" to deployVm api. This parameter will apply to default network of vm
...
status 4706: resolved fixed
2011-06-23 11:31:39 -07:00
alena
38ffe66b66
bug 10424: send userData information only when vm is in one of the following states: Running, Starting, Stopping, Migrating
...
status 10424: resolved fixed
2011-06-23 11:06:52 -07:00
alena
d196f1262f
bug 10424: send userData information only when vm is in one of the following states: Running, Starting, Stopping, Migrating
...
status 10424: resolved fixed
2011-06-23 11:03:52 -07:00
alena
123cf6c30a
bug 10408: fixed user_statistics upgrade for the case when account owns vm in Direct network, and corresponding domR belongs to another account
...
status 10408: resolved fixed
2011-06-23 10:11:32 -07:00
alena
bfc64fdcd3
bug 10408: fixed user_statistics upgrade for the case when account owns vm in Direct network, and corresponding domR belongs to another account
...
status 10408: resolved fixed
2011-06-23 10:09:58 -07:00
Murali Reddy
8eb9ee6a8b
Bug 10377 - API listAccounts return vmtotal=-14
2011-06-23 17:31:38 +05:30
Murali Reddy
1bfe6d8d72
Bug 10377 - API listAccounts return vmtotal=-14
2011-06-23 17:28:09 +05:30
Abhinandan Prateek
4922eda764
bug 10062: reverting the change as the error can be due to several factors in deployment of domain router
2011-06-23 10:56:21 +05:30
Abhinandan Prateek
a1622d9f75
bug 10062: reverting the change as the error can be due to several factors in deployment of domain router
2011-06-23 10:41:37 +05:30
root
8cdba6a7f5
Merge branch '2.2.8' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 2.2.8
2011-06-23 09:58:07 +05:30
anthony
62249f3eae
1. return message to UI if adding primary storage failed
...
2. delete primary storage entry if if adding primary storage failed
2011-06-22 18:44:33 -07:00
anthony
4bbed17d02
1. return message to UI if adding primary storage failed
...
2. delete primary storage entry if if adding primary storage failed
2011-06-22 18:39:21 -07:00
Kelven Yang
be38384e76
bug 10414: update VM sync logic and capacity management to sync VM state change initiated from external source
2011-06-22 18:25:35 -07:00
Kelven Yang
7f8b129dc5
bug 10414: update VM sync logic and capacity management to sync VM state change initiated from external source
2011-06-22 18:23:43 -07:00
alena
4335b8b179
bug 10416: fixed the bug in agentLoadBalancerPlanner
...
status 10416: resolved fixed
2011-06-22 17:14:14 -07:00
Sheng Yang
6e405efe01
bug 10311: Update UpdateNetworkCmd, allow change networkOfferingId
...
And restart/re-implement the network if networkOfferingId is changed.
2011-06-22 15:30:39 -07:00
Sheng Yang
0d750dacc2
bug 10311: Update create network_offering API
2011-06-22 15:30:39 -07:00
alena
48c2f68af0
bug 10416: fixed the bug in agentLoadBalancerPlanner
...
status 10416: resolved fixed
2011-06-22 17:16:04 -07:00
alena
b8e15a833b
bug 10406: fixed concurrency problem happening during Agent Transfer Monitor task
...
status 10406: resolved fixed
2011-06-22 14:14:41 -07:00
Alex Huang
129f40d0cb
bug 10375: trying to reduce the scope of the transaction
2011-06-22 16:34:14 -07:00
alena
979e3a2d56
bug 10406: fixed concurrency problem happening during Agent Transfer Monitor task
...
status 10406: resolved fixed
2011-06-22 14:12:22 -07:00
Murali Reddy
1d4bee51e7
Bug 10012: Vague error event created when user attempted to exceed limit set for a given resource
...
status 10012: resolved fixed
2011-06-22 13:06:59 +05:30
Murali Reddy
34a36b7009
Bug 10012: Vague error event created when user attempted to exceed limit set for a given resource
...
status 10012: resolved fixed
2011-06-22 13:00:59 +05:30
alena
4fcb406f2b
bug 4706: allow to specify which ip address from the network to take when do vm deployment. The model is supported for multiple network case as well.
...
status 4706: resolved fixed
2011-06-21 16:41:43 -07:00
Edison Su
54a4af2a0c
bug 10092: fix the Long compare
...
status 10092: resolved fixed
2011-06-21 14:33:43 -04:00
alena
d08abadc19
Keep "encode.api.response" parameter in ApiServer class; initialize it as a part of init() method
2011-06-21 11:07:31 -07:00
alena
daad9e4b81
Keep "encode.api.response" parameter in ApiServer class; initialize it as a part of init() method
2011-06-21 11:05:57 -07:00
Alex Huang
da402fdd35
added back @DB annotation
2011-06-21 10:44:46 -07:00
Alex Huang
07354b441c
added back @DB annotation
2011-06-21 10:44:32 -07:00
Abhinandan Prateek
098f68d18e
bug 10340: added cidrs in response
...
The input can take multiple cidrs as in 10.91.28.0/24,169.254.2.0/24,56.89.0.0/16
2011-06-21 22:57:36 +05:30
Abhinandan Prateek
b6d2ec505e
bug 10340: added cidrs in response
...
The input can take multiple cidrs as in 10.91.28.0/24,169.254.2.0/24,56.89.0.0/16
2011-06-21 22:55:17 +05:30
Alex Huang
a254e90ab3
Renamed IPAssoc to IpAssoc to be consistent with agent commands
2011-06-21 10:15:42 -07:00
Alex Huang
8459ae0beb
Renamed IPAssoc to IpAssoc to be consistent with agent commands
2011-06-21 09:25:29 -07:00
Murali Reddy
c9dbda493a
Bug 10174 - Should not return public and featured templates for accounts that do not have access to their respective zones
...
pushing 2.2.8 fix to master
2011-06-21 19:50:48 +05:30
Murali Reddy
83ee4e653c
Bug 10174 - Should not return public and featured templates for accounts that do not have access to their respective zones
...
status 10174: resolved fixed
2011-06-21 19:20:25 +05:30
Alex Huang
22e28b4941
bug 10368: better fix for the db connection problem.
2011-06-20 16:31:32 -07:00
Alex Huang
36ceb02abe
removed useless manager declarations
2011-06-20 16:31:32 -07:00
Alex Huang
a58d730e34
bug 10368: Print out the hash code of the db connection instead of the toString(). Changed the transaction in changeToStart() method to be of a shorter interval so it won't cause so many db connection exceptions
2011-06-20 16:31:32 -07:00
Alex Huang
78d19f8690
bug 10368: better fix for the db connection problem.
2011-06-20 16:30:38 -07:00
alena
4005c7bcce
bug 10193: modified description field for login api call in API docs
...
status 10193: resolved fixed
2011-06-20 16:25:08 -07:00
alena
2f5e51a382
bug 10193: modified description field for login api call in API docs
...
status 10193: resolved fixed
2011-06-20 16:23:04 -07:00
Alex Huang
dc605655a0
removed useless manager declarations
2011-06-20 16:20:48 -07:00
alena
2e3fff5b94
bug 10219: Untagged vlan ranges in Public network should have the same subnet
...
status 10219: resolved fixed
2011-06-20 16:17:34 -07:00
alena
bc1d199353
bug 10219: Untagged vlan ranges in Public network should have the same subnet
...
status 10219: resolved fixed
2011-06-20 16:15:37 -07:00
Kelven Yang
50c1652172
bug 8996: make VMsync to track host change
2011-06-20 16:13:46 -07:00
Kelven Yang
7279dad925
bug 8996: make VMsync to track host change
2011-06-20 16:12:33 -07:00
Sheng Yang
be216bf975
bug 9154: Add redundancy capability to VirtualRouterElement
...
Also move redundancy checking to VirtualRouterElement
2011-06-20 14:47:22 -07:00
Sheng Yang
470c80a2c6
bug 9154: Update addVirtualMachineIntoNetwork to accept routers as parameter
2011-06-20 14:47:22 -07:00
alena
1f087371e0
bug 9620: fixed updateUser api to make updates only for the fields that are specified in the request
...
status 9620: resolved fixed
2011-06-20 11:48:32 -07:00
Alex Huang
e4f42d0e52
bug 10368: Print out the hash code of the db connection instead of the toString(). Changed the transaction in changeToStart() method to be of a shorter interval so it won't cause so many db connection exceptions
2011-06-20 11:30:23 -07:00
alena
5fe49efc9f
bug 9743: respect id/accountName/domainId parameters when call is executed by the regular user
...
status 9743: resolved fixed
2011-06-20 11:22:23 -07:00
alena
3671ff63f2
bug 9723: fixed listServiceOfferings to work right with isSystem/domainId parameters
...
status 9723: resolved fixed
2011-06-20 10:51:33 -07:00
alena
62516b00cf
bug 9642: listVms by regular user using domainId parameter will work only when domainId specified is the domainId the caller belongs to.
...
status 9642: resolved fixed
2011-06-20 10:32:19 -07:00
alena
f1339d4d6d
bug 9991: do account permission check in getCloudIdentifier api
...
status 9991: resolved fixed
2011-06-20 10:16:16 -07:00
alena
6a12a1c3cf
bug 10359: don't allow system network deletion
...
status 10359: resolved fixed
2011-06-20 09:30:44 -07:00
Abhinandan Prateek
79e38f0a1f
bug 10305: for a systemvm only applicable system vm offering should be displayed
...
status 10305: resolved fixed
While creating a system vm offering specify the type. If no type specified the default to domainrouter.
While requesting a set of system offering specify the paramter systemvmtype.
2011-06-20 20:11:50 +05:30
alena
336235e5e3
bug 10359: don't allow system network deletion
...
status 10359: resolved fixed
2011-06-20 09:23:07 -07:00
Abhinandan Prateek
976aab77bb
bug 10305: for a systemvm only applicable system vm offering should be displayed
...
status 10305: resolved fixed
While creating a system vm offering specify the type. If no type specified the default to domainrouter.
While requesting a set of system offering specify the paramter systemvmtype.
2011-06-20 20:01:40 +05:30
Abhinandan Prateek
30ba637a04
bug 10313: on trying to delete a default offering throw error
2011-06-19 15:12:16 +05:30
Abhinandan Prateek
94a278a638
bug 10313: on trying to delete a default offering throw error
2011-06-19 15:07:45 +05:30
Abhinandan Prateek
cf15573d06
bug 10313: marking default system offering as default so that they should not be deleted
...
status 10313: resolved fixed
2011-06-19 12:30:07 +05:30
Abhinandan Prateek
db29a56eaf
bug 10313: marking default system offering as default so that they should not be deleted
...
status 10313: resolved fixed
2011-06-19 12:16:06 +05:30
Kelven Yang
cf26f107a7
bug 9485: allow configurable ethernet card type in VMware. this is a short-term solution to fullfill customer's request, in longer term, we need to allow custoer select appropriate adapter type at per-NIC basis
2011-06-17 18:02:59 -07:00
Kelven Yang
f5b5e750c8
bug 10350: vmware.additional.vnc.portrange.start and vmware.additional.vnc.portrange.size configuration variables are added
2011-06-17 18:02:48 -07:00
Kelven Yang
723a85c084
bug 10349: save pod_id along with host_id in state transition
2011-06-17 18:02:36 -07:00
Kelven Yang
287274ccea
bug 9485: allow configurable ethernet card type in VMware. this is a short-term solution to fullfill customer's request, in longer term, we need to allow custoer select appropriate adapter type at per-NIC basis
2011-06-17 17:58:43 -07:00
Kelven Yang
1739240287
bug 10350: vmware.additional.vnc.portrange.start and vmware.additional.vnc.portrange.size configuration variables are added
2011-06-17 17:58:43 -07:00
Kelven Yang
6cd178de8b
bug 10349: save pod_id along with host_id in state transition
2011-06-17 17:58:43 -07:00
Alex Huang
9d4311cc0a
bug 10352: fixed the issue. I mistakenly threw an exception when I was not suppose to
2011-06-17 17:18:28 -07:00
alena
d1bee20b4a
Validate network domain in upateNetwork command
2011-06-17 16:58:21 -07:00
alena
bb5eaf2f02
bug 9894: listSnapshots by domain admin - do recursive search if domainid is not specified in the request
...
status 9894: resolved fixed
2011-06-17 16:09:56 -07:00
Alex Huang
36ee97334b
bug 10352: fixed the issue. I mistakenly threw an exception when I was not suppose to
2011-06-17 17:18:04 -07:00
alena
9fa2e68be6
Validate network domain in upateNetwork command
2011-06-17 16:59:15 -07:00
Alex Huang
a5264297ed
bug 10341: propagate fix for concurrentoperationexception from 2.2.8
2011-06-17 08:46:41 -07:00
Edison Su
240ca7f1f0
bug 10303: don't show system vm template for templatefilter == (self and feature)
...
status 10303: resolved fixed
2011-06-17 10:49:27 -04:00
Alex Huang
3d0b30073e
bug 10341: deploying virtual router and deploying dhcp server should not be acquiring locks in lock table
2011-06-17 08:17:13 -07:00
alena
31647e299e
Use different method for getting component locator in EncodedStringTypeAdapter
2011-06-16 17:26:29 -07:00
Edison Su
ad5162ef86
fix ebtable cleanup issue: on ubuntu, it's not got deleted if vm is stopped
2011-06-16 19:26:24 -04:00
alena
f0e7d5e7ce
Use different method for getting component locator in EncodedStringTypeAdapter
2011-06-16 17:24:35 -07:00
Kelven Yang
2a6307f272
1) Remove customer field applied to virtual machine in VMware. 2) always track VM host change in VMware regardless whether or not native HA is enabled
2011-06-16 16:22:11 -07:00
alena
3098db2b31
bug 9871: deployVm - check network's zone when do vm deployment
...
status 9871: resolved fixed
2011-06-16 16:00:45 -07:00
alena
fc28a332c5
bug 10271: don't include removed records when search for local storage pool
...
status 10217: resolved fixed
2011-06-16 16:00:45 -07:00
Sheng Yang
d5ff0dfa12
bug 9154: Update NetworkOfferingVO field
2011-06-16 14:29:34 -07:00
alena
40d4bbeb11
bug 10088: Fixed apiXmlDoc generator to generate correct set of domain admin commands - got broken by checkin fff4112c0b2407e754318ea31f2f1bb7e92b8f12 "Introducing a new user role in cloudstack called RESOURCE_DOMAIN_ADMIN"
...
status 10088: resolved fixed
2011-06-16 12:14:55 -07:00
alena
cad16ed27f
bug 10325: renamed apiKey/secretKey to userApiKey/userSecretKey in updateUser api call
...
This reverts commit 927508215de383bdcc5b2e289e5103e011d72843.
2011-06-16 11:49:40 -07:00
alena
c0bca3c24d
bug 10088: Fixed apiXmlDoc generator to generate correct set of domain admin commands - got broken by checkin fff4112c0b2407e754318ea31f2f1bb7e92b8f12 "Introducing a new user role in cloudstack called RESOURCE_DOMAIN_ADMIN"
...
status 10088: resolved fixed
2011-06-16 12:17:51 -07:00
alena
57e4af6fd5
bug 10325: renamed apiKey/secretKey to userApiKey/userSecretKey in updateUser api call
...
This reverts commit 927508215de383bdcc5b2e289e5103e011d72843.
2011-06-16 11:47:54 -07:00
Murali Reddy
00bd79ffee
bug 9419: implement api to reset resource count
...
adding couple of fixes
2011-06-16 19:01:03 +05:30
Murali Reddy
c7e347e9a4
bug 9419: implement api to reset resource count
2011-06-16 19:00:42 +05:30
Murali Reddy
aa4f654929
bug 9419: implement api to reset resource count
...
added a command to reset resource count for account/domain based on real usage of resources
2011-06-16 18:59:38 +05:30
Murali Reddy
7ce2f0362f
bug 9419: implement api to reset resource count
...
adding couple of fixes
2011-06-16 17:38:20 +05:30
Abhinandan Prateek
afdb2f0871
bug 8962: moving vm: checked for basic networks
2011-06-16 15:11:42 +05:30
Kelven Yang
464d793754
1) Remove customer field applied to virtual machine in VMware. 2) always track VM host change in VMware regardless whether or not native HA is enabled
2011-06-15 18:37:38 -07:00
alena
ebd0382ea8
ApiResponseSerializer - no need to use reflection to get the field value
2011-06-15 17:41:09 -07:00
alena
ad9302dac6
ApiResponseSerializer - no need to use reflection to get the field value
2011-06-15 17:40:02 -07:00
alena
695041ad27
Fixed the bug in updateUser api - api/secretKey update didn't work correctly when request was signed using apiKey
2011-06-15 15:04:59 -07:00
Sheng Yang
9466106c40
bug 9154: Add isRedundantRouter to DomainRouterResponse
2011-06-15 14:39:28 -07:00
Edison Su
83f0623f30
bug 10205: download user upload template for each local secondary storage
...
status 10205: resolved fixed
2011-06-15 16:41:51 -04:00
alena
cab765f85e
Fixed the bug in updateUser api - api/secretKey update didn't work correctly when request was signed using apiKey
2011-06-15 15:02:07 -07:00
Sheng Yang
1616084f47
bug 9154: Code clean up
2011-06-15 12:15:28 -07:00
Edison Su
dca3405b8b
bug 10293: don't destroy volume if it's not created
...
status 10293: resolved fixed
2011-06-15 14:38:37 -04:00
Edison Su
2e8d1bbd6c
bug 10190: add log if failed to delete host when host is in UP state
2011-06-15 12:02:31 -04:00
Abhinandan Prateek
3429b6cde4
bug 8962: tested vm move from one account to another, successfully restarted
2011-06-15 17:55:03 +05:30
kishan
7a810d1df1
bug 7451: Added network offering action events
...
status 7451: resolved fixed
2011-06-15 16:56:18 +05:30
kishan
dfd3e128f5
bug 8879: Send network usage command for domain routers in Running state only
...
status 8879: resolved fixed
2011-06-15 14:17:30 +05:30
kishan
675ffe23e8
bug 8879: Send network usage command for domain routers in Running state only
...
status 8879: resolved fixed
2011-06-15 14:13:50 +05:30
kishan
090506d7f7
bug 9197: Added delete volume usage event when volume creation fails
...
status 9197: resolved fixed
2011-06-15 12:40:23 +05:30
kishan
8d87cf3506
bug 6770: Alert will be sent when deploying User VM fails
...
status 6770: resolved fixed
2011-06-15 12:40:23 +05:30
kishan
ed6809c53d
bug 8144: Added event for router start/stop and reboot
...
status 8144: resolved fixed
2011-06-15 12:40:23 +05:30
kishan
22577363ca
bug 8373: Added new API listEventTypes
2011-06-15 12:40:23 +05:30
kishan
2c24002de9
bug 8699: Added event for glabal config update
...
status 8699: resolved fixed
2011-06-15 12:40:23 +05:30
Abhinandan Prateek
61cdbd0e1f
bug 10062: better error message
...
status 10062: resolved fixed
2011-06-15 09:56:42 +05:30
Sheng Yang
2be4542a8e
bug 9154: Send alert if found two virtual routers in master state
...
Notice it's a simple version that assume both virtual routers are controlled by
same mgmt server. We can improve it later.
2011-06-14 20:51:03 -07:00
Abhinandan Prateek
db94ece73b
bug 10062: better error message
2011-06-15 10:05:45 +05:30
Sheng Yang
6f0edd9541
bug 9154: Add router fault state report
2011-06-14 20:33:18 -07:00
Sheng Yang
07a61686db
bug 9154: Add redundant state to DomainRouterResponse
2011-06-14 19:31:24 -07:00
Sheng Yang
aef562c69d
bug 9154: Replace domain_router.is_master with domain_router.redundant_state in DB
...
Then we can distingush BACKUP state from UNKNOWN state(which means we didn't get
valid answer from CheckRouterCommand).
2011-06-14 18:48:56 -07:00
Kelven Yang
d78616caa0
Fix compile issue in test code
2011-06-14 17:54:43 -07:00
Kelven Yang
2e3d1832b0
merge adding-host changes from 2.2.4
2011-06-14 17:54:43 -07:00
Kelven Yang
f7e4fc742f
merge adding host fix from 2.2.4
2011-06-14 17:54:42 -07:00
Kelven Yang
b27722b0db
merge adding-host changes from 2.2.4
2011-06-14 17:16:19 -07:00
Kelven Yang
24c87c306b
merge adding host fix from 2.2.4
2011-06-14 17:16:19 -07:00
Frank
c400253b54
Ignore hvm field in template
2011-06-14 14:41:34 -07:00
Alex Huang
2cda9a91e6
bug 9651: missing changes
2011-06-14 11:11:24 -07:00
Alex Huang
246c01b1ab
bug 9651: added tags to network response for ui
2011-06-14 11:11:24 -07:00
alena
f7814df488
bug 10265: 226 to 227 db upgrade - remove unique key constraint for "network_offerings.name" field (if exists)
...
status 10265: resolved fixed
2011-06-14 09:33:32 -07:00
alena
0a1e93e957
bug 10265: 226 to 227 db upgrade - remove unique key constraint for "network_offerings.name" field (if exists)
...
status 10265: resolved fixed
2011-06-14 09:32:26 -07:00
kishan
6744645ba5
bug 9197: Added delete volume usage event when volume creation fails
...
status 9197: resolved fixed
2011-06-14 16:01:56 +05:30
kishan
fe4329389f
bug 6770: Alert will be sent when deploying User VM fails
...
status 6770: resolved fixed
2011-06-14 15:02:27 +05:30
kishan
0629592caf
bug 8144: Added event for router start/stop and reboot
...
status 8144: resolved fixed
2011-06-14 14:24:52 +05:30
alena
7cd9f2d022
Reverted commit made by mistake
...
This reverts commit bd40212c3b5e885f89d7b43a6e8ccc14fb6d19fb.
2011-06-13 22:53:40 -07:00
alena
78852376e2
Reverted commit made by mistake
...
This reverts commit bd40212c3b5e885f89d7b43a6e8ccc14fb6d19fb.
2011-06-13 22:53:05 -07:00
alena
b9ebc5ad16
Added findRequest() method to ClusteredAgentAttache - needed for cancelling requests in transfer queue
2011-06-13 22:44:23 -07:00
alena
769ec409d7
Added findRequest() method to ClusteredAgentAttache - needed for cancelling requests in transfer queue
2011-06-13 22:43:34 -07:00
alena
b2b4a63fd3
Some fixes to agent lb code:
...
* Schedule agent LB as a TimerTask as it can take time for the management server to start; and it can accept rebalance requests only when it's up and running
* Removed Starting state from mshost as it's not being used anywhere
* Fixed the bug where requests weren't routed properly from the old host owner to the new one.
2011-06-13 22:31:49 -07:00
alena
00a35314bb
Some fixes to agent lb code:
...
* Schedule agent LB as a TimerTask as it can take time for the management server to start; and it can accept rebalance requests only when it's up and running
* Removed Starting state from mshost as it's not being used anywhere
* Fixed the bug where requests weren't routed properly from the old host owner to the new one.
2011-06-13 22:28:22 -07:00
Alex Huang
59fc206664
bug 10260: propagate ha and deployment planner fixes
2011-06-13 17:33:10 -07:00
Alex Huang
63113661d1
bug 10260: propagate ha and deployment planner fixes
2011-06-13 17:33:09 -07:00
Alex Huang
d39048faca
bug 10260: propagate ha and deployment planner fixes
2011-06-13 17:33:09 -07:00
anthony
e91e0b4174
bug 9997:
...
put copy scripts in SetupCommand,
1. initiate returns host version,
2. if it doesn't match with DB, update DB, and reconnect the host.
status 9997: resolved fixed
2011-06-13 16:45:13 -07:00
Alex Huang
1ac7276942
bug 10260: propagate ha and deployment planner fixes
2011-06-13 17:36:32 -07:00
Alex Huang
1561275838
bug 10260: propagate ha and deployment planner fixes
2011-06-13 17:35:34 -07:00
Alex Huang
1d7e70acd1
bug 10260: propagate ha and deployment planner fixes
2011-06-13 17:35:20 -07:00
alena
a0b1c3bd7a
bug 10232: Introduced new gson builder - used for api reponse only
...
It fixed the problem when the queryAsyncJobResult response was encoded twice.
UI still has some problems - no decoding is done on "Instances" tab
2011-06-13 13:19:20 -07:00
alena
107910ae09
bug 10232: Introduced new gson builder - used for api reponse only
...
It fixed the problem when the queryAsyncJobResult response was encoded twice.
UI still has some problems - no decoding is done on "Instances" tab
2011-06-13 13:17:43 -07:00
alena
1d21522e57
bug 10233: listNetworks - don't default isSystem=false when id parameter is specified
...
status 10233: resolved fixed
2011-06-13 09:53:26 -07:00
alena
3127acde93
bug 10233: listNetworks - don't default isSystem=false when id parameter is specified
...
status 10233: resolved fixed
2011-06-13 09:51:30 -07:00
alena
36469da8fa
API response encoding is false by default
2011-06-13 09:38:18 -07:00
alena
113623cb07
API response encoding is false by default
2011-06-13 09:30:56 -07:00
kishan
5a6664ab12
bug 8373: Added new API listEventTypes
2011-06-13 19:11:12 +05:30
nit
197dc6cf6e
registerIso - remove hardcoding of GuestosId when its None. Retrieve it from DB.
2011-06-13 19:04:27 +05:30
Murali Reddy
b625bb1d27
bug 9419: implement api to reset resource count
2011-06-13 16:32:26 +05:30
kishan
8ae65de6b3
bug 8699: Added event for glabal config update
...
status 8699: resolved fixed
2011-06-13 15:34:27 +05:30
Abhinandan Prateek
a4bdeffd61
bug 8962: changes for vms using virtual network
2011-06-13 14:56:00 +05:30
Murali Reddy
6310991bdc
bug 9419: implement api to reset resource count
...
added a command to reset resource count for account/domain based on real usage of resources
2011-06-13 10:55:57 +05:30
Alex Huang
d01e20c443
bug 10094: The problem was we added code that won't add any more ha work items if it already has one. However, that is wrong. HA Manager stores the existing snapshot of the VM state machine. Before working on HA for a VM, it checks to see if that snapshot has been changed. So by not scheduling HA work, we've effectively made HA not work under multi-failure situations. I've fixed by removing that code and instead at the time of performing HA, do a quick check to see if there are pwork underway for the same VM and work scheduled in the future for that VM. If there are work scheduled in the future, then we simply cancel the current work. If there are already work underway, then we retry again in 1 minute.
2011-06-12 09:25:48 -07:00
Alex Huang
6137f216b1
bug 10094: The problem was we added code that won't add any more ha work items if it already has one. However, that is wrong. HA Manager stores the existing snapshot of the VM state machine. Before working on HA for a VM, it checks to see if that snapshot has been changed. So by not scheduling HA work, we've effectively made HA not work under multi-failure situations. I've fixed by removing that code and instead at the time of performing HA, do a quick check to see if there are pwork underway for the same VM and work scheduled in the future for that VM. If there are work scheduled in the future, then we simply cancel the current work. If there are already work underway, then we retry again in 1 minute.
2011-06-12 09:18:21 -07:00
Alex Huang
2688d61a1e
bug 10222: fixed issue with associate ip introduced more than one nic. The problem is that associate ip automatically creates a nic but doesn't have sufficient information to properly creates so it uses what it knows for sure is the naming pattern to do it. However, we changed the naming pattern and it broke. I fixed it by passing all of the information in the ipaddressTO object.
2011-06-11 13:45:28 -07:00
Alex Huang
44d15d38b0
bug 10222: fixed issue with associate ip introduced more than one nic. The problem is that associate ip automatically creates a nic but doesn't have sufficient information to properly creates so it uses what it knows for sure is the naming pattern to do it. However, we changed the naming pattern and it broke. I fixed it by passing all of the information in the ipaddressTO object.
2011-06-11 13:45:00 -07:00
Sheng Yang
2971fb32fb
bug 9516: Fix network.throttling.rate on DomR other vnifs
...
It's due to nobody tell getNetworkRate() it's the router who want to get network
throttling rate, then the function failed to follow the policy.
status 9516: resolved fixed
2011-06-10 19:52:59 -07:00
Sheng Yang
79c5013ee2
bug 9516: Fix network.throttling.rate on DomR other vnifs
...
It's due to nobody tell getNetworkRate() the id of router, then the function is
fail to follow the policy.
status: resolved fixed
2011-06-10 19:24:45 -07:00
alena
ef3ea765bf
bug 9697: encode api response values
...
status 9697: resolved fixed
Do encoding for ASCII chars only (done to eliminate problems with multiple language support)
To disable encoding, set "encode.api.response" to false
2011-06-10 18:10:44 -07:00
alena
f4ad575270
Revert "Temp fix to encode username, account name, and email before they are returned from the API"
...
This reverts commit e07221761a57b2c3df715bd939734f6661ebd976.
2011-06-10 18:10:36 -07:00
alena
cd7c74538b
bug 9697: encode api response values
...
status 9697: resolved fixed
Do encoding for ASCII chars only (done to eliminate problems with multiple language support)
To disable encoding, set "encode.api.response" to false
2011-06-10 17:45:15 -07:00
alena
b888db2ac6
Revert "Temp fix to encode username, account name, and email before they are returned from the API"
...
This reverts commit e07221761a57b2c3df715bd939734f6661ebd976.
2011-06-10 17:45:15 -07:00
Frank
5f5509ac00
use isHvm of template to decide to boot a HVM vm
2011-06-10 14:35:46 -07:00
Kelven Yang
1e9efb2f86
bug 10214: merge fixes from 2.2.8/2.2.4
2011-06-10 14:29:01 -07:00
Edison Su
22d60ba621
bug 10195: if host is in Alert state, listvmcmd will mark the state of all the vms on the host as "Unknown"
...
status 10195: resolved, fixed
2011-06-10 14:15:50 -04:00
Kelven Yang
5f7f885c6a
bug 10214: merge fix from 2.2.4 branch
2011-06-10 12:08:22 -07:00
alena
e74fef711c
bug 9655: removed restriction for Direct networks - now can create 2 networks with diff vlans and the same subnet
...
status 9655: resolved fixed
2011-06-10 10:40:26 -07:00
alena
c66c3c5bf0
bug 9655: removed restriction for Direct networks - now can create 2 networks with diff vlans and the same subnet
...
status 9655: resolved fixed
2011-06-10 10:39:00 -07:00
Sheng Yang
d9fb62d819
Only issue CheckRouterCommand to redundant routers
2011-06-09 18:15:04 -07:00
kishan
4b4d7abad1
bug 9891: update network_id for ExternalFirewall and ExternalLoadBalancer device_types
...
status 9891: resolved fixed
2011-06-09 17:01:53 -07:00
kishan
64b7cea7c7
bug 9891: update network_id for ExternalFirewall and ExternalLoadBalancer device_types
...
status 9891: resolved fixed
2011-06-09 17:01:45 -07:00
alena
53bdd625b8
bug 9579: allow domain name suffix update for existing networks.
...
Block update only in these cases:
* when DNS capability AllowDnsSuffixModification is false for the network
* when target network has running network elements (dhcps or domRs)
Conflicts:
server/src/com/cloud/vm/dao/DomainRouterDao.java
server/src/com/cloud/vm/dao/DomainRouterDaoImpl.java
2011-06-09 16:24:48 -07:00
Sheng Yang
7e2fe6b6c9
Redundant Router: Fix isVmAlive()
2011-06-09 15:41:12 -07:00
kishan
4c454d36d3
bug 9891: update network_id for ExternalFirewall and ExternalLoadBalancer device_types
...
status 9891: resolved fixed
2011-06-09 16:57:54 -07:00
kishan
09c5351bbf
bug 9891: update network_id for ExternalFirewall and ExternalLoadBalancer device_types
...
status 9891: resolved fixed
2011-06-09 16:54:40 -07:00
alena
b9325a28dd
bug 9579: allow domain name suffix update for existing networks.
...
Block update only in these cases:
* when DNS capability AllowDnsSuffixModification is false for the network
* when target network has running network elements (dhcps or domRs)
2011-06-09 16:10:24 -07:00
alena
f06818704b
Revert "bug 10199: don't allow network offering Name modification."
...
This reverts commit 97f2b9936a8b9e3a057116d327b058253458b4ef.
Use the following solution instead:
* add unique_name field to the network_offerings table. Use this filed as a unique offering identifier in the code
* Added db upgrade steps to 225to226 sql script
Conflicts:
server/src/com/cloud/offerings/NetworkOfferingVO.java
2011-06-09 13:34:50 -07:00
alena
4fdb6186af
Revert "bug 10199: don't allow network offering Name modification."
...
This reverts commit 97f2b9936a8b9e3a057116d327b058253458b4ef.
Use the following solution instead:
* add unique_name field to the network_offerings table. Use this filed as a unique offering identifier in the code
* Added db upgrade steps to 225to226 sql script
2011-06-09 13:32:53 -07:00
Alex Huang
9c72759007
bug 9651: update network working now
2011-06-09 11:54:47 -07:00
Alex Huang
b07835c557
bug 9651: update network working now
2011-06-09 11:54:12 -07:00
alena
8180e55469
bug 10199: don't allow network offering Name modification.
...
UI has to be fixed as well
2011-06-09 10:05:28 -07:00
nit
a9ccd0d51f
bug 8677 , 8673 : listIsos - make the parameter - name work properly.
...
status 8677 , 8673: resolved fixed
2011-06-09 16:30:36 +05:30
Abhinandan Prateek
8e4ec4ce09
bug 8962: moving vm from one account to other
2011-06-09 15:02:47 +05:30
nit
8a4e060dc9
bug 9860 : listIsos - make the parameter - name work properly.
...
status 9860: resolved fixed
2011-06-09 14:29:55 +05:30
alena
c57248aa4e
bug 10199: don't allow network offering Name modification.
...
UI has to be fixed as well
2011-06-08 17:42:04 -07:00
Kelven Yang
9ddebcfa16
Fix the annoying NPE in StatsCollector
2011-06-08 17:00:20 -07:00
Alex Huang
b1de7ece25
bug 9651: we're saving the tags twice.
2011-06-08 15:55:37 -07:00
alena
404e09f6ee
Agent LoadBalancing in cluster management server setup is enabled by default now
2011-06-08 15:09:49 -07:00
Kelven Yang
497e586329
Fix the annoying NPE in StatsCollector
2011-06-08 17:10:44 -07:00
Alex Huang
575ac62926
bug 9651: propagating 3fd50fd8634958727f4c64c9d1fb7fa27e07e4c8
2011-06-08 15:58:01 -07:00
alena
2ca4cc174d
Agent LoadBalancing in cluster management server setup is enabled by default now
2011-06-08 15:04:50 -07:00
alena
8948c3dd84
1) listNetworks for domain level network case: fixed search to do multiple joins between the tables instead of querying all the data and making search for each entry.
...
2) Added new config parameter 'allow.subdomain.network.access' - default value is true. If it's set to false, the child domain can't use the network of the parent domain
Conflicts:
server/src/com/cloud/network/NetworkManagerImpl.java
2011-06-08 12:00:19 -07:00
alena
f81ddc1f7b
1) listNetworks for domain level network case: fixed search to do multiple joins between the tables instead of querying all the data and making search for each entry.
...
2) Added new config parameter 'allow.subdomain.network.access' - default value is true. If it's set to false, the child domain can't use the network of the parent domain
2011-06-08 11:55:36 -07:00
Sheng Yang
872116890b
Fix findByNetwork()/findByNetworkAndPod()'s return
...
Add null check and some missed empty check.
2011-06-08 11:45:42 -07:00
Frank
379cbc1d55
Store all parameters of url call to BaseCmd.fullUrlParams so there will be no
...
changes in future API because all parameters can be retrieve from API command itself
2011-06-08 10:25:15 -07:00
Edison Su
36fa0fbf52
bug 10177: fix multiple local secondary storage: when we starting vm, only choose the local secondary storage that related to the planned computing host
...
status 10177: resolved, fixed
2011-06-08 11:14:59 -04:00
Edison Su
00268632ac
bug 10177: fix multiple local secondary storage: when we starting vm, only choose the local secondary storage that related to the planned computing host
...
status 10177: resolved, fixed
2011-06-07 20:22:16 -04:00
Sheng Yang
7f6a3bca4c
Redundant Router: Fix OVS
2011-06-07 18:02:28 -07:00
Sheng Yang
1d26d736c9
Redundant Router: Fix VPN
2011-06-07 17:34:00 -07:00
Alex Huang
65fc9bf847
bug 9651: added tags to network response for ui
2011-06-07 15:08:04 -07:00
Sheng Yang
0c92bf5b79
Some build fixes and code refactoring for redundant router
2011-06-07 14:47:46 -07:00
Sheng Yang
5db86e6c20
Fix CheckRouterAnswer's isMaster report
...
If we got invalid/unsuccessed answer from CheckRouterAnswer, set master to
false.
Also add missed scripts.
2011-06-07 14:47:46 -07:00
Sheng Yang
7462aa8539
Add host verification for CheckRouterCommand
...
We only send CheckRouterCommand to the hosts managed by current management
server.
2011-06-07 14:47:45 -07:00
Sheng Yang
62ac899091
bug 9154: Initial check in for enabling redundant virtual router
...
This patch enable redundant virtual routers.
1. To enable this feature, db need to be updated using follow SQL by now(we
would get a UI way later):
UPDATE network_offerings SET redundant_router=1 WHERE guest_type="Virtual" AND
system_only=0;
2. System would try to start up two routers at different hosts. But if there is
only one host in the zone, system would start up two routers on it.
3. The failover part is using keepalived, and connection tracking part is using
conntrackd. There would be one master router and one backup router. The status
of router(master or backup) can be query from the database table domain_router
now. Management server would update the status every 30s by default.
4. The routers for the same zone would use same external NIC(same ip and mac).
The script used for fail-over would ensure only one external NIC present in the
network at any time.
5. Currently management server don't got the ability to stop one of router is
both of them reported as master. The feature is in the todo list.
After two routers start up, disconnect anyone of them, the guest network
shouldn't be affected, and established connection(http, ssh, etc.) should still
works. The fail-over on gateway part should be 3~4 seconds.
Currently the patch works with KVM. Would deal with vmware and XenServer soon.
2011-06-07 14:47:45 -07:00
anthony
fd2ec19438
bug 9351: xen.max.product.version is not used, remove them
...
status 9351: resolved fixed
2011-06-07 14:45:53 -07:00
anthony
f0352fc2ed
bug 9351: xen.max.product.version is not used, remove them
...
status 9351: resolved fixed
2011-06-07 14:43:16 -07:00
Edison Su
0d064c46b4
listemplate should only list templates that owned by caller
2011-06-07 14:20:23 -04:00
Edison Su
04c7456ca1
remove the listnetwork, which causes mgt server uses 100% cpu, if you have 600 records in networks table
2011-06-07 13:43:51 -04:00
Edison Su
4529e1c615
Revert "listemplate should only list templates that owned by caller"
...
This reverts commit df1ba3b3f437644c5e565676c1d617b90bb28072.
2011-06-07 13:41:49 -04:00
Frank
fda31e75ed
Add Ovm to hypervisor list
2011-06-07 10:29:34 -07:00
Edison Su
6540154420
listemplate should only list templates that owned by caller
2011-06-07 12:33:11 -04:00
anthony
416efeb59a
bug 10152: supoort XenServer 5.6 service pack 2
...
status 10152: resolved fixed
2011-06-07 10:39:57 -07:00
nit
679159ccf4
bug 9922 : My ISOs shouldnt list Featured ISOs when the user is not the owner of those isos.
...
status 9922: resolved fixed
2011-06-07 12:22:49 +05:30
alena
158807c877
Fixed unittest
2011-06-06 16:52:11 -07:00
alena
a03e2b8a12
Added upgrade path from 225 to 226
...
Conflicts:
server/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
2011-06-06 13:55:50 -07:00
alena
64252b48f2
bug 10166: drop account_id/domain_id fields (if exist) in domain_router table
...
status 10166: resolved fixed
2011-06-06 13:55:50 -07:00
alena
9a2cc8008b
Db upgarde: changed 225-226 to be 226-227
2011-06-06 13:55:50 -07:00
will
5913c5a441
Added an acknowledge process for the registration complete process of cloudzones. Only after a expires=true will the token be truly expired.
2011-06-06 11:47:59 -07:00
nit
c46ddeab2d
bug 9886 : ExtractVolume - Put in the ACL layer check and allow datadisk to be extractable if they pass the acl layer check.
...
status 9886: resolved fixed
2011-06-06 16:12:29 +05:30
kishan
b82fac179a
bug 9785: Added Vlan Assign Release events
...
status 9785: resolved fixed
2011-06-06 13:33:21 +05:30
alena
14cdc7de14
bug 9127: covered failure scenarios for agent LB.
...
status 9127: resolved fixed
The feature is completed; please file separate bugs if any issue arises during the testing.
Wiki link describing how agentLB works: http://intranet.lab.vmops.com/engineering/release-2.2-features/agent-load-balancing
2011-06-05 17:35:30 -07:00
Alex Huang
019cc78976
Fixes problems in routing between management servers
2011-06-05 16:06:54 -07:00
Alex Huang
a0ce3da191
fixed problem with header
2011-06-05 13:51:29 -07:00
Sheng Yang
7cf312674b
bug 10135: Fix clustered agent manager's version bug
...
We are using v1 now, instead of v3. This bug result in all the commands from
the other clustered management server would be sent to agentmanager, and then dropped.
status 10135: resolved fixed
2011-06-04 21:28:03 -07:00
Sheng Yang
ff86c865e2
bug 10135: Add SSL encryption for non-NIO link
...
Now Link.write() support SSL encryption. And since there is no user of
Link.read(), we comment it out.
2011-06-04 21:27:18 -07:00
Alex Huang
d9e0bcfa1e
bug 10126: Renamed getPodId() to getPodIdToDeployIn()
2011-06-03 22:17:08 -07:00
will
f9867a6475
Temp fix to encode username, account name, and email before they are returned from the API
2011-06-03 17:08:10 -07:00
anthony
db6aa765a3
bug 10146 : fixed NPE
...
status 10146 : resolved fixed
2011-06-03 15:52:31 -07:00
Edison Su
94b3890542
fix the race condition for download template
2011-06-03 13:19:48 -04:00
nit
dbb1ed3645
bug 9729 : Remove redundant permission check from deployvm cmd.
...
status 9729: resolved fixed
2011-06-03 18:07:54 +05:30
alena
635a1075de
bug 9127: intermediate checkin for agent load balancer
2011-06-02 21:47:54 -07:00
Frank
53f807e28c
allow ovm migrate
2011-06-02 19:25:49 -07:00
Frank
4a3c4815b9
Fix another vm.getPodId issue
2011-06-02 14:34:34 -07:00
will
87b4b993c7
bug 10090: encoded the endpoint as well as the username for the accounts in the register callback response
2011-06-02 13:53:55 -07:00
Edison Su
9ec9d74514
zone can be deleted now
2011-06-02 12:33:37 -04:00
alena
52aab0e441
Use correct field name when search for management server by State
2011-06-02 10:18:30 -07:00
Alex Huang
d140ca7555
Fixes the issue where the Job-Executor can hit an exception in cleanup and eventually the entire executor pool is gone.
2011-06-02 09:54:34 -07:00
Alex Huang
018b1c7ce9
Fixed problem that Kirk saw at upgrading between 2.2.3 and 2.2.5 at one of mour customers. The host address for storage pool is not an ip address and should not have been shrunk to 40 characters
2011-06-02 09:44:13 -07:00
nit
c0ce175227
bug 8184 : listSystemVms - return gateway which is equal to the Gateway of Nic belonging to Network with trafficType=Public for Advanced zone, and trafficType=Guest in Basic zone.
...
status 8184: resolved fixed
2011-06-02 18:04:58 +05:30
nit
0ebce2024b
bug 9729 : Permission change - allow root admin to use anybody's private template.
...
status 9729: resolved fixed
2011-06-02 15:14:32 +05:30
Frank
741a19c944
Fix vm.getPodId issue
2011-06-01 19:04:27 -07:00
Edison Su
4a47d19c84
fix delete zone: many times, you just can't delete a zone, even you clean up all the resources
2011-06-01 20:26:29 -04:00
Alex Huang
bc67b2a973
bug 9651: update now also shows tags
2011-06-01 17:50:04 -07:00
Alex Huang
2ceadec326
bug 9651: tags parameter added to createnetwork
2011-06-01 17:36:14 -07:00
alena
df403c953d
bug 10080: update nic profile with DNS info for the nics with reservation_strategy=Create
...
status 10080: resolved fixed
2011-06-01 17:05:32 -07:00
Edison Su
f7414b83aa
fix listtempalte and listiso, if there are multiple secondary storage
2011-06-01 16:01:51 -04:00
anthony
d02e4fb37f
bug 10100 : if there are more than one hypervisor type in one zone, create_template_from_snapshot may be sent to host with diferent hypervisor type
...
status 10100 : resolved fixed
2011-06-01 15:30:22 -07:00
Frank
9961e1ca2a
Fix NPE when reboot vm
...
vm.podId has different meaning than you think
2011-06-01 11:54:20 -07:00
Edison Su
d9b61f26da
fix dettach iso issue: if dettach iso failed on hypervisor, mgt server still regards it as success, then you can't attach another ISO to the vm again unless your stop/start the VM
2011-06-01 10:37:04 -04:00
Abhinandan Prateek
3c88f21645
bug 7553: misinterpreted passed domainid as user domain in last commit, fixed
2011-06-01 20:37:29 +05:30
Abhinandan Prateek
1af3790a05
bug 7553: throw errors if non ROOT ADMIN user tries to access the system offerings
2011-06-01 17:32:41 +05:30
Frank
6618440202
Add tempalte processor for ovm
2011-05-31 19:02:50 -07:00
anthony
fed7d1ebdb
delete secondary storage,
...
1. check if there are snapshotsin this secondary storage, if yes , fails
2. check if there are private templatesin this secondary storage , if yes, fails
2011-05-31 17:57:10 -07:00
Jessica Wang
8c4e831cfb
bug 7553: cloudStack - server-side - make listRouters API return “serviceofferingname” and “serviceofferingid”.
2011-05-31 17:40:30 -07:00
Jessica Wang
a690d6169d
bug 7553: fix a server-side bug - listServiceOffering API didn't take in "issystem" parameter.
2011-05-31 14:44:22 -07:00
anthony
5a052dba74
do NOT list secondary storage VM host in UI
2011-05-31 12:10:04 -07:00
Alex Huang
8754f8fab8
bug 9651: checked in missing files
2011-05-31 10:27:50 -07:00
Alex Huang
0ab12edd6c
network tagging changes
2011-05-31 09:49:27 -07:00
Alex Huang
67ff27496d
tags added
2011-05-31 09:48:34 -07:00
Murali Reddy
6de2bef7cd
bug 9973: listReourceLimits A domain-admin of domain X can view Resource Limits from other domain
...
adding additional checks, and moving old code to access checkers
status 9973: resolved fixed
2011-05-31 14:00:27 +05:30
Abhinandan Prateek
b5aeb6fa0e
bug 9909: upload manager support multiple secondary storage
2011-05-31 12:00:40 +05:30
nit
024bd039da
bug 9729 : Permission change - allow admin to use anybody's private template.
...
status 9729: resolved fixed
2011-05-30 13:01:52 +05:30
Abhinandan Prateek
d006fd141c
bug 9909: upload manager support multiple secondary storage
2011-05-30 12:39:15 +05:30
Edison Su
59a6e2157a
fix user data, and template sync
2011-05-27 19:44:26 -04:00
Frank
b06d477425
Fix hostTags, when there is no tag the hostTags is a empty list
2011-05-27 17:19:06 -07:00
anthony
37c6314360
bug 10048: do NOT sync private template to other secondary storage in one zone
...
status 10048: resolved fixed
2011-05-27 17:10:27 -07:00
nit
714ab83fa1
bug 9596 : Make the iso extractable by default.
...
status 9596: resolved fixed
2011-05-27 16:19:26 +05:30
nit
77de414c81
bug 9596 : Make the template extractable by default. Allow only a ROOT Admin to change the flag once a template is submitted/created (Done through updateTemplatePermissions)
...
status 9596: resolved fixed
2011-05-27 15:44:35 +05:30
Edison Su
2279f8f962
fix register local storage: if host is reinstalled, local storage uuid is changed, we need to register a new local storage in db
2011-05-26 22:59:56 -04:00
anthony
7a266b9321
bug 10046: size in diskofferingVO is in type now
...
status 10046: resolved fixed
2011-05-26 13:51:08 -07:00
nit
6256c88be6
bug 9724 : ListEvents API - add granularity till the hours, minutes and seconds level. The new format that startDate and endDate expect are yyyy-MM-dd HH:mm:ss. To honour backward compatibility these parameters can also be in the old format yyyy-MM-dd. I have added this to the parameter documentation. Also changed is the log message for throwing error in case of parsing exception.
...
status 9724: resolved fixed
2011-05-26 21:21:28 +05:30
anthony
559c334eeb
bug 9779: release lock for exception
...
status 9779: resolved fixed
2011-05-25 19:50:28 -07:00
alena
cd6d933e48
Better logging for cluster agent rebalancing
2011-05-25 18:59:26 -07:00
anthony
37e6ded80c
bug 10023: only set ip route for internal DNS
...
status 10023: resolved fixed
2011-05-25 17:39:20 -07:00
will
7b27f3dfae
bug 9982: Forgot to add the errortext when returning an error for using an invalid token.
2011-05-25 16:06:51 -07:00
will
fef2c58996
bug 9982: Ensuring that the registration token is used only once.
2011-05-25 16:06:49 -07:00
anthony
2fdedfa14a
db upgrade for multiple secondary storages
2011-05-25 14:15:43 -07:00
Frank
44a0fff2ec
baremetal able to enter maintenance mode, delete host
2011-05-25 12:13:19 -07:00
alena
388aea7be3
bug 9127: intermediate checkin for agent load balancer
2011-05-24 19:04:50 -07:00
alena
7fe3290d1b
Fixed security issue in api - regular user can operate only with his own resources (except for the template - when the template is public, it's available for everyone)
2011-05-24 18:45:13 -07:00
alena
c0d84f3de8
Insert default security group to network_groups table when do upgrade from 21x to 22x branch
2011-05-24 18:45:01 -07:00
alena
55692fd7cf
bug 9127: intermediate checkin for agent load balancer
2011-05-24 18:45:00 -07:00
anthony
4696e5066b
fixed snapshot limitation issue
2011-05-24 14:55:19 -07:00
anthony
9d758866af
bug 9958:
...
1. send purge command only once.
2. in downloadlistener, there are two hosts, one is secondary storage host, the other is secondary storage VM host for this secondary storage.
status 9958: resolved fixed
2011-05-24 14:17:03 -07:00
Murali Reddy
9f93fee7b6
Revert "bug 9785: events around VLAN assign/release"
...
pulling out as action event is required not the usage event
This reverts commit 7052e5451878a1595cb5b0d359a3a4482d9f9bc7.
2011-05-24 15:08:42 +05:30
Murali Reddy
8ad3fbf9d2
bug 9785: events around VLAN assign/release
...
adding usage event for new VLAN allocation for the account from the zone vlans
2011-05-24 13:55:22 +05:30
Alex Huang
0dfc44582b
bug 9651: Adding network tags
...
Also changes in Request logging.
2011-05-23 15:51:50 -07:00
Edison Su
ba63e5d103
bug 9937: move use.local.storage to FOSS
2011-05-22 14:39:45 -04:00
Alex Huang
d7f527f8ac
get rid of compile error
2011-05-21 15:41:12 -07:00
alena
3d3bfcddaa
bug 9858: added missing security checks to listAsyncJobs command
...
status 9858: resolved fixed
Conflicts:
server/src/com/cloud/api/ApiServer.java
2011-05-21 15:00:50 -07:00
Edison Su
2f8235dbd2
fix local seconeary storage related issues(sync/download templates, etc) for mycloud
2011-05-21 12:05:02 -04:00
Abhinandan Prateek
5ad41e09ae
bug 7553: Virtual Router service offering
2011-05-21 22:21:12 +05:30
alena
30e8ed3ab6
Don't allow to specify security groups when deployVm in Vmware setup.
...
Also fixed a couple of other problems:
* verify security group ids before vm creation
* don't create "default" security group (if missing) as a part of deployVm process when vm is deployed from vmWare template
2011-05-20 18:52:58 -07:00
anthony
ce83525b5a
bug 3224:
...
don't need to call abandon
2011-05-20 18:48:30 -07:00
anthony
5fa3f0fca8
bug 3224:
...
fixed a DB Exception
5-ThreadPoolExecutor.runWorker:1110-ThreadPoolExecutor$Worker.run:603; called by -Transaction.rollback:783-Transaction.removeUpTo:726-Transaction.close:549-DatabaseCallback.interceptComplete:72
2011-05-19 19:02:41,242 WARN [utils.nio.Task] (AgentManager-Handler-1:null) Caught the following exception but pushing on
com.cloud.utils.exception.CloudRuntimeException: DB Exception on: com.mysql.jdbc.JDBC4PreparedStatement@4faae357: INSERT INTO usage_event (usage_event.type, usage_event.created, usage_event.account_id, usage_event.zone_id, usage_event.resource_id, usage_event.resource_name, usage_event.offering_id, usage_event.template_id, usage_event.size, usage_event.resource_type, usage_event.processed) VALUES (_binary'TEMPLATE.CREATE', '2011-05-20 02:02:41', 2, 2, 202, _binary'anth-te', null, 2, -1, null, 0)
at com.cloud.utils.db.GenericDaoBase.persist(GenericDaoBase.java:1218)
at com.cloud.event.dao.UsageEventDaoImpl$$EnhancerByCGLIB$$377dce70.CGLIB$persist$22(<generated>)
at com.cloud.event.dao.UsageEventDaoImpl$$EnhancerByCGLIB$$377dce70$$FastClassByCGLIB$$30e2aaaf.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215)
at com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:35)
at com.cloud.event.dao.UsageEventDaoImpl$$EnhancerByCGLIB$$377dce70.persist(<generated>)
at com.cloud.storage.download.DownloadMonitorImpl.handleDownloadEvent(DownloadMonitorImpl.java:410)
at com.cloud.storage.download.DownloadListener.setDownloadInactive(DownloadListener.java:358)
at com.cloud.storage.download.DownloadCompleteState.onEntry(DownloadCompleteState.java:44)
at com.cloud.storage.download.DownloadListener.transition(DownloadListener.java:240)
at com.cloud.storage.download.DownloadListener.processAnswers(DownloadListener.java:224)
at com.cloud.agent.manager.AgentAttache.processAnswers(AgentAttache.java:258)
at com.cloud.agent.manager.AgentManagerImpl$AgentHandler.processResponse(AgentManagerImpl.java:2319)
at com.cloud.agent.manager.AgentManagerImpl$AgentHandler.doTask(AgentManagerImpl.java:2334)
at com.cloud.agent.manager.ClusteredAgentManagerImpl$ClusteredAgentHandler.doTask(ClusteredAgentManagerImpl.java:537)
at com.cloud.utils.nio.Task.run(Task.java:85)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
Caused by: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Out of range value for column 'size' at row 1
2011-05-20 17:12:48 -07:00
Abhinandan Prateek
7bb1d00d14
bug 7553: Virtual Router service offering
2011-05-20 11:22:30 +05:30
anthony
99be3718cf
bug 3224:
...
multiple secondary storage, copying template between zone works
2011-05-19 19:07:44 -07:00
alena
24e86c109e
bug 9941: fixed listVolumes api - use leftouter join with vm_instance table because instance_id is NULL for detached volumes
...
status 9941: resolved fixed
Conflicts:
server/src/com/cloud/api/ApiResponseHelper.java
server/src/com/cloud/server/ManagementServerImpl.java
2011-05-19 18:49:12 -07:00
alena
7bae4e3155
Fixed upgrade bug related with the fact that some db upgrade steps were missed in 2.2.0/2.2.1 to 2.2.2 db upgrade
2011-05-19 15:37:59 -07:00
Alex Huang
567d946ab0
template listing fix
2011-05-19 15:26:24 -07:00
alena
016a50633c
bug 9939: create 'default' security group for default "admin" user only after ensuring that it doesn't exist already
...
status 9939: resolved fixed
Conflicts:
server/src/com/cloud/server/ConfigurationServerImpl.java
2011-05-19 11:25:59 -07:00
Abhinandan Prateek
770e317218
bug 7553: Virtual Router service offering
2011-05-19 19:18:33 +05:30
Abhinandan Prateek
9de370be61
do not propogate password changes if Attache is ConnectedAgentattache
2011-05-19 19:18:33 +05:30
Murali Reddy
5769fde46b
bug 7194:New API for adding range of public & private ports in port forwarding rule addition
...
adding support for port ranges in port forwarding rules.
2011-05-19 18:32:09 +05:30
kishan
6bd8cece48
bug 8830: added source template id to template usage records
...
status 8830: resolved fixed
2011-05-19 16:53:33 +05:30
alena
7ca66c132d
bug 9934: implemented another way to check if the foreign key already exists
...
status 9934: resolved fixed
2011-05-18 20:38:55 -07:00
alena
5148725916
Fixed bunch of db upgrade bugs.
2011-05-18 17:38:49 -07:00
Alex Huang
2b650acc17
more gson crap
2011-05-18 11:01:46 -07:00
kishan
bcd358b756
bug 8866: Use 86400 instead of 84600 for seconds in a day
2011-05-18 16:48:33 +05:30
alena
93bd3c8588
Added upgrade path from 224 to 225 to DbUpgradeChecker
...
Conflicts:
server/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
2011-05-17 21:08:41 -07:00
Alex Huang
9c69a983ba
session info within sequence numbers
2011-05-17 18:01:11 -07:00
anthony
8cdd8a01b1
multiple secondary storage fix
2011-05-17 16:47:27 -07:00
alena
b963429063
Added upgrade from 224 to 225
...
Conflicts:
server/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
2011-05-17 16:43:53 -07:00
anthony
d380b55d23
multiple secondary storage fix
2011-05-17 16:10:30 -07:00
Alex Huang
0ba6091ca7
better way to log the agent request and response. Introduced the idea of via agents in the request header
2011-05-17 16:02:44 -07:00
Alex Huang
e552f118af
propagated bf8afdbc7af3c0e9fbc90c841fedec57ac7b8cdf
2011-05-17 16:02:44 -07:00
anthony
1501503656
multiple secondary storages fix
2011-05-17 16:01:35 -07:00
alena
392672b9f9
Updated schema file name for 2.2.5-2.2.6 upgrade
2011-05-17 15:28:33 -07:00
alena
b5ab92af89
Upgrade from 2.2.5 to 2.2.6
2011-05-17 15:22:59 -07:00
alena
33bf819afc
bug 9873: create default security group for the default admin
...
status 9873: resolved fixed
2011-05-17 15:08:13 -07:00
alena
c2afcdec52
bug 9873: always add default security group to the SG list when deploy vm in 1) Basic zone 2) Advance zone using SG enabled network
...
status 9873: resolved fixed
Following fixes were made as a part of the checkin:
* When deploy user vm and SG doesn't exist in the DB, create it automatically.
* SecurityGroup enabled use vm start: if map to default group is not present in security_group_vm_map table, create one.
* Added "name" (securityGroupName) parameter back to deleteSecurityGroup/authorizeSecurityGroupIngress/deployVm. Mutually exclusive with security group id parameter.
Conflicts:
api/src/com/cloud/api/commands/AuthorizeSecurityGroupIngressCmd.java
api/src/com/cloud/api/commands/DeleteSecurityGroupCmd.java
api/src/com/cloud/api/commands/DeployVMCmd.java
server/src/com/cloud/api/ApiDBUtils.java
server/src/com/cloud/vm/UserVmManagerImpl.java
2011-05-17 15:08:13 -07:00
anthony
ef42b21c1d
fixed template download
2011-05-17 15:00:10 -07:00
anthony
384f30101e
fixed template download
2011-05-17 14:01:12 -07:00
alena
b5aabfab75
bug 9898: fixed attachIso by domain admin - no need to make permission check when iso is public
...
status 9898: resolved fixed
2011-05-17 11:11:13 -07:00
Alex Huang
ea9703997b
proxy agent
2011-05-17 07:12:58 -07:00
anthony
a19e5284d0
more check
2011-05-16 19:44:33 -07:00
alena
efcb41ff28
Fixed listSystemVms api call to return consoleProxy and SSVM vms only if systemvmtype is not specified in the request
2011-05-16 17:55:38 -07:00
anthony
9c4964bc1b
fixed merge
2011-05-16 16:54:00 -07:00
anthony
a0357a6af0
multiple secondary storage
...
local secondary storage should work, didn't test yet
2011-05-16 16:37:15 -07:00
anthony
d835067f40
multiple secondary storage support
...
template download works
creating snapshot works
creating volume/template from snapshot works
2011-05-16 16:37:15 -07:00
anthony
ba6b2ca670
initial checkin for multiple secondary storage
2011-05-16 16:37:15 -07:00
Alex Huang
eb4fd2fb53
Database upgrade from 2.2.2 to 2.2.4 was broken.
2011-05-16 16:32:08 -07:00
Alex Huang
4582f59d21
Database upgrade from 2.2.2 to 2.2.4 was broken.
2011-05-16 16:31:40 -07:00
keshav
d66227d0fb
Fixed method to refer to the right provider.
2011-05-16 15:14:55 -07:00
alena
308cbf91fc
bug 9879: throw insufficient address capacity exception with pod information in it when fail to allocate public ip address in specific pod
...
status 9879: resolved fixed
2011-05-16 15:05:00 -07:00
keshav
5d5363965d
Changed usage code to look up stats by network ID.
2011-05-16 14:41:47 -07:00
keshav
17abb3e5d4
Added a method to look up public IPs that are used for static NAT rules.
2011-05-16 11:56:48 -07:00
Sheng Yang
b4605fbf2f
Fix SSL Keystore path in the development version
...
Now the cloud.keystore would at the same path as file "db.properties", which
should make both development version and distribution version happy.
2011-05-16 11:28:45 -07:00
Alex Huang
5ce631e9d7
Separated resource management and agent management code. It's not all done but at least we make a first step
2011-05-16 10:55:18 -07:00
Alex Huang
c3c15b8435
Added some annotations for logging commands
2011-05-16 10:55:18 -07:00
Alex Huang
ab49c70add
Added some annotations for logging commands
2011-05-16 10:55:18 -07:00
Edison Su
981c497e1f
Don't apply @DB on a private method
2011-05-16 10:04:08 -04:00
kishan
b738408f7d
bug 8866,4942: Added support for Direct Network Usage collection
...
status 8866,4942: resolved fixed
2011-05-16 18:31:41 +05:30
Abhinandan Prateek
733a892aa4
return true on success
2011-05-16 16:02:35 +05:30
Abhinandan Prateek
542e3d6f53
bug 6451: host username/password should be changable through API
...
Propogate update password to other managment server nodes in a cluster.
2011-05-16 15:57:35 +05:30
Abhinandan Prateek
d161337710
bug 6451: host username/password should be changable through API
...
Password is queued, on error next password is used.
2011-05-16 12:08:05 +05:30
alena
a4619c8347
bug 9859: added missing permission checks to queryAsyncJobResult API
...
status 9859: resolved fixed
Conflicts:
server/src/com/cloud/async/AsyncJobManagerImpl.java
2011-05-13 14:03:12 -07:00
Abhinandan Prateek
f73ed92090
bug 8115: Source IP filtering in Virtual Router
...
We don't want to send an empty cidr param
2011-05-13 15:41:02 +05:30
Alex Huang
4ee5f1ca42
Better logging and better finalize
2011-05-12 17:02:35 -07:00
Alex Huang
753b6a00a6
faster agent connection
2011-05-12 16:57:09 -07:00
Alex Huang
028f12f1b9
Removed the check for statuses in marking hosts as disconnected
2011-05-12 16:48:02 -07:00
Edison Su
47380dc20e
fix add host
2011-05-12 15:03:15 -04:00
kishan
d456f89095
bug 8866: Direct Network Usage, TrafficSentinel support added, work in progress
2011-05-12 19:43:47 +05:30
nit
bc360f499d
bug 9397 : CreateTemplate - generate MD5 checksum of the template. The code will calculate the checksum after the template has been created in the secondary storage. This code would be executed by ssvm. This would be agnostic of the way the template was created (not hypervisor specific).
...
status 9397: resolved fixed
2011-05-12 18:13:29 +05:30
Abhinandan Prateek
d752a94838
bug 8115: Source IP filtering in Virtual Router
...
Passing the additional source cidrs paramter to the xapi.
2011-05-12 13:37:43 +05:30
keshav
435e178eef
Added a new service to enabled zone-wide, shared source NAT rules.
2011-05-11 15:35:26 -07:00
alena
0f0dcc1964
bug 9827: call destroyVolume() method only after ensuring that the volume is not destroyed already.
...
status 9827: resolved fixed
2011-05-11 14:12:19 -07:00
Chiradeep Vittal
f1ea4d0c19
bug 9809: resume iso download (broken by multihypervisor)
...
status 9809: resolved fixed
2011-05-11 12:04:20 -07:00
Edison Su
8368355b31
add cluster guid
2011-05-11 11:26:50 -04:00
Edison Su
b33a180001
add kvm script is changed
2011-05-11 11:24:59 -04:00
alena
7292706a9f
bug 9841: added missing permission checks to the deleteTemplate/deleteIso API
...
status 9841: resolved fixed
Conflicts:
server/src/com/cloud/template/TemplateManagerImpl.java
2011-05-11 10:39:49 -07:00
Jessica Wang
fe8d81e246
bug 9765: This is NOT an UI bug. This is a server-side bug. UI calls DeployVM API with ServiceOfferingID parameter (NOT ServiceOfferingDescription parameter). Then, server-side gets ServiceOfferingDescription by ServiceOfferingID and send it to DomR WITHTOUT escaping it first. DomR doesn't support full range of unicode character set. Therefore, DomR fails to accept metadata that has non-ascii code (error: "vm_data failed"). This check-in will send Unicode-escaped string of metadata "service-offering", "availability-zone" and "local-hostname" to DomR. Data Consumer of VM-data service needs to unescape the content accordingly.
2011-05-10 17:57:44 -07:00
Edison Su
feb226b8e9
fix compiler error
2011-05-10 16:39:25 -04:00
Edison Su
882919ae40
fix system vm template download issue
2011-05-10 16:10:31 -04:00
alena
6075419977
bug 9821: fixed search by keyword in listVirtualMachines command
...
status 9821: resolved fixed
2011-05-10 12:28:30 -07:00
alena
ad05706f18
bug 9791: check if user is authorized to use a private template for vm creation
...
status 9791: resolved fixed
2011-05-10 10:39:25 -07:00
Alex Huang
34188f2f0a
added the AND
2011-05-10 09:50:40 -07:00
Alex Huang
154c6d9021
Propagating 1345af2a0e84684a804bde5b281c30df72f148a0
2011-05-10 05:52:39 -07:00
Alex Huang
efedf018c8
propagate b3aea1878395af343e18382b7f1c376b5be04567
2011-05-10 05:48:29 -07:00
Alex Huang
6805788f7d
added ping back
2011-05-10 05:45:47 -07:00
Alex Huang
08bb454241
Eliminate the initialize call if we know someone else is connecting to a host
2011-05-10 05:45:30 -07:00
Alex Huang
80b6df17b9
make agent load size configurable
2011-05-10 05:45:06 -07:00
Alex Huang
da0fdfcfed
Propagate db2fc1713c79e931cfa0f1580943ed80d2b12c8c
2011-05-10 05:45:04 -07:00
nit
d91999533b
bug 9397 : CreateTemplate - generate MD5 checksum of the template. The code will calculate the checksum after the template has been created in the secondary storage. This code would be executed by ssvm. This would be agnostic of the way the template was created (not hypervisor specific).
2011-05-10 12:26:00 +05:30
Abhinandan Prateek
029a9e6a8a
bug 9815: ClassCastException: com.cloud.agent.api.Answer cannot be cast to com.cloud.agent.api.StopAnswer
...
status 9815: resolved fixed
The type cast should be done after making sure that the command was successful. Otherwise you may have the base Answer returned.
2011-05-10 11:41:20 +05:30
alena
7cb11b09f5
bug 9796: throw an exception when try to create volume/template from the non-ready snapshot
...
status 9796: resolved fixed
2011-05-09 16:35:09 -07:00
anthony
e96118f0be
bring server-setup back
2011-05-09 11:10:19 -07:00
Abhinandan Prateek
a6fac0d768
added annotation and fixes
2011-05-09 19:41:13 +05:30
Abhinandan Prateek
2984b0607f
bug 8115: source ip filtering
...
Created a table for source cidrs list.
Created necessary Daos and VOs.
Updated PortForwardingRulesDao to persist/update non null list of cidrs.
For deletion depending on ON DELETE CASCADE.
2011-05-09 17:41:50 +05:30
prachi
486c75ea4b
Bug 9780 - ComputeCapacityListener should not use 'cpu.overprovisioning.factor' while adding capacity entries
...
Changes:
Reapplying the changes from fix 9539 that were missing in ComputeCapacityListener.java
Change is to not consider cpu.overprovisioning.factor while creating CPU capacity entries.
This factor is applied by allocators to the values in the capacity table. Capacity table should contain the actual CPU value and not the overprovisioned CPU value.
2011-05-06 18:05:12 -07:00
alena
2df6b0a6e1
bug 9774: display non-ready templates. Added "state" field to all snapshot* api responses.
2011-05-06 16:48:27 -07:00
Frank
963db44482
Bug 9768 - BAREMETAL: teplates not showing up in ui after being added
...
resolved: fixed
2011-05-06 15:50:33 -07:00
Kelven Yang
346ee18f6a
fix a regression in ConsoleProxyManagerImpl.java
2011-05-06 15:44:45 -07:00
prachi
4c89cc57ae
Bug 9652: Need to provide a way to specify deployment plan during VM start
...
Changes:
- Throw an exception if the deployment plan passed into start() cannot be satisfied by the current constraints (such as root volume is already created in a pool in a different
cluster).
2011-05-06 14:39:53 -07:00
anthony
330f1815fa
1. in 2.1.x some hosts don't have cluster.guid in host_details
...
2. loading one host failure should not affect loading other hosts
Conflicts:
server/src/com/cloud/agent/manager/ClusteredAgentManagerImpl.java
2011-05-06 12:35:51 -07:00
alena
fc0bb46f10
bug 9760: added missing permission check to listTemplates api (didn't work when id parameter was specified in the request)
...
status 9760: resolved fixed
2011-05-06 11:19:15 -07:00
Frank
4e2935dc37
Fix other stupid string comparsions
2011-05-06 10:21:05 -07:00
Alex Huang
43c3c775f2
bug 9741: somehow some of the removed code got back into the code path. Must have hit one undo too many.
2011-05-05 17:57:06 -07:00
Alex Huang
c692e4f4be
No Point in checking down hosts
2011-05-05 17:57:06 -07:00
Alex Huang
7bc25643a9
propagating fix from 2.2.4
2011-05-05 17:57:06 -07:00
Alex Huang
b2cf4e39ea
propagate fix from 2.2.4
2011-05-05 17:57:06 -07:00
Alex Huang
117a81acf6
cleanup agent manager
2011-05-05 17:57:06 -07:00
Alex Huang
66f19c6318
white space checks
2011-05-05 16:15:33 -07:00
Alex Huang
0ee7e7678a
Propagate fixes from 2.2.4
2011-05-05 16:13:46 -07:00
anthony
2d52813ff2
fixed build /start management server
2011-05-05 16:12:19 -07:00
Kelven Yang
7c2bcefe71
bug 9371: serve client request only with running proxy VMs, serialize proxy VM launch
2011-05-05 14:59:20 -07:00
anthony
10c4c14ad5
swift integration checkin
2011-05-05 13:55:29 -07:00
alena
5bd9fc5f35
bug 9745: Fixed security issue in listAccounts api call
...
status 9745: resolved fixed
2011-05-05 11:20:27 -07:00
alena
275bab0d91
bug 9740: fixed DB upgrade for Direct Tagged networks in Advance zone
...
status 9740: resolved fixed
Conflicts:
server/src/com/cloud/upgrade/dao/Upgrade218to22.java
2011-05-05 11:20:27 -07:00
alena
d2e6e912c9
DB upgrade: Reverting partial commit
2011-05-05 11:20:27 -07:00
alena
41f04ffbc5
Removed unused logging
2011-05-05 11:20:27 -07:00
alena
8377580725
bug 9738: DB upgrade - fixed NPE happening during events migration
...
status 9738: resolved fixed
2011-05-05 11:20:27 -07:00
alena
fbdb663970
Fixed bunch of DB upgrade bugs related with the fact that DB was manually upated in 2.1.x setup (some records were deleted from the DB)
2011-05-05 11:20:27 -07:00
alena
b1c3c8c1d9
bug 9734: update op_ha_work table in mysql file instead of java code
...
status 9734: resolved fixed
2011-05-05 11:20:27 -07:00
Edison Su
592807c036
fix NPE
2011-05-05 11:19:59 -04:00
prachi
b66b3f1c45
Bug 9584 - Delete pod - Failed - there are storage volumes for this pod
...
Changes:
- For 'volumes' and 'vm_instance' table, query needed to filter out the records with non-null 'removed' values
2011-05-05 11:05:48 -07:00
Frank
3b0fb655a9
New hypervisor type
2011-05-04 18:58:57 -07:00
Edison Su
fd08ebfb57
there are more than one secondary storage in one zone
2011-05-04 15:52:52 -04:00
Jessica Wang
48765a8ae9
bug 9534: CloudStack API - extend listServiceOfferings API to return limitCpuUse.
2011-05-04 15:27:07 -07:00
prachi
9aba817256
Bug 9652: Need to provide a way to specify deployment plan during VM start
...
Changes:
- Added a new parameter to pass in deployment plan during vm start
- If a hostId is passed in to the DeployVMCmd (only allowed for a root admin to test a host), a plan is passed in to start the vm in that host's datacenter, pod and cluster and on that host
- If a plan is passed in during start, but if the VM's root volume is READY, then plan of the root volume takes precedence. In that case the plan passed in is not used.
2011-05-04 15:02:52 -07:00
alena
040bdab1f1
bug 9734: remove records having non-existing hostId from op_ha_work table
...
status 9734: resolved fixed
2011-05-04 13:49:06 -07:00
alena
b60abeccfb
DB upgrade: respect domain hierarchy when update resource_count for domain during the upgrade
2011-05-04 13:49:06 -07:00
Murali Reddy
d6b892e053
bug 9720: 2.1.x to 2.2.x upgrade: need to create Domain level records in resource_count table
...
pushing 2.2.4 changes
2011-05-04 19:54:01 +05:30
alena
2e0bba7926
bug 9722: db upgrade - when upgrade user_statistics, skip ExternalFirewall/ExternalLb records
...
status 9722: resolved fixed
2011-05-03 18:57:03 -07:00
alena
33b3cb2c1a
bug 9693: generate usage event when release Direct ip address.
...
status 9693: resolved fixed
2 more fixes with this commit:
* bug 9692 is fixed - we don't increment resource count when Direct ip address is allocated.
* as a part of 2.2.2->2.2.4 upgrade resource_count for public_ip records is recalculated - count only Virtual Ip addresses
Conflicts:
server/src/com/cloud/network/NetworkManager.java
2011-05-03 18:56:52 -07:00
Alex Huang
fba1c95512
bug 9615: Part of the HA cleanup
2011-05-03 16:34:53 -07:00
kishan
77e48b8683
bug 9678: update user statistics in cloud_usage. Send network usage command to routers of virtual network only
...
status 9678: resolved fixed
2011-05-04 02:38:25 +05:30
Chiradeep Vittal
948df86f5d
accidental commit
2011-05-03 10:46:13 -07:00
Chiradeep Vittal
8609e72e89
Already merged into master
2011-05-03 10:41:32 -07:00
Chiradeep Vittal
35066e235c
merge from zonesfeature -- float overprovisioning factor
2011-05-03 10:41:31 -07:00
Chiradeep Vittal
936893e70a
zonesfeature merge: no idea where this system.out came from
2011-05-03 10:41:31 -07:00
Chiradeep Vittal
7a29f8dc48
more fixes prior to pushing the merge
2011-05-03 10:41:31 -07:00
Chiradeep Vittal
a32c39cccd
Merge from zonesfeature
2011-05-03 10:41:31 -07:00
Chiradeep Vittal
b42ebf4872
Build fixes after first pass at merge
2011-05-03 10:41:31 -07:00
Chiradeep Vittal
303e2a7481
Start of zonesfeature / mycloud/cloudkit
2011-05-03 10:40:17 -07:00
Chiradeep Vittal
87867c8f39
for mycloud: if no system vm required do not start it
2011-05-03 11:40:44 -07:00
alena
9ef6f9ff54
bug 9663: do account permission check against the volume when create snapshot
...
status 9663: resolved fixed
Conflicts:
api/src/com/cloud/storage/snapshot/SnapshotService.java
2011-05-03 11:38:01 -07:00
kishan
76a30cc76f
bug 9686,9676,9677: Create usage events for existing resources for port forwarding, load balancer and network offering usage
...
status 9686,9676,9677: resolved fixed
2011-05-03 20:01:28 +05:30
Murali Reddy
8a90f3665f
Bug 8391: remove guest.ip.network global config param
...
removing unused global config parameters guest.ip.network and guest.netmask
status 8391: resolved fixed
2011-05-03 13:14:00 +05:30
nit
2f9efc6424
bug 9664: username parameter for API listuser should search for exact string
...
status 9664: resolved fixed
2011-05-03 12:33:56 +05:30
Abhinandan Prateek
db916401a0
bug 6451: XenServer username/password should be changable through API
...
status 6451: resolved fixed
2011-05-03 09:45:49 +05:30
alena
5d332f0f30
bug 9688: remove orphaned lb/vm mappings as a part of db upgrade (there was a bug in 2.1.x when the LB rule was removed, but mapping was left in the DB)
...
status 9688: resolved fixed
To verify that the rule was removed:
* make sure that there is no record with lb id in load_balancer table
* verify that lb.delete event was generated for this rule
2011-05-02 19:05:27 -07:00
Kelven Yang
824f0586f7
Add manager context to CleanupMaid to allow management service access in cleanup() method
2011-05-02 18:28:38 -07:00
Jessica Wang
747ab40f48
fix a bug - adding a cluster of type XenServer returned an error.
2011-05-02 16:54:53 -07:00
alena
0d95cc8130
bug 9683: DB upgrade - generate usage_event for source nat ip addresses
...
status 9683: resolved fixed
2011-05-02 16:43:51 -07:00
alena
941392a470
bug 9675: Usage DB upgrade - set missing fields for snapshot.create/snapshot.delete events
...
status 9675: resolved fixed
2011-05-02 16:43:43 -07:00
alena
6253253388
bug 9674: Usage db upgrade - set resource_name for volume.create/volume.delete usage events
...
status 9674: resolved fixed
2011-05-02 16:43:35 -07:00
alena
b5e0affee4
bug 9672: usage db upgrade - set resource_id for NET.IPASSIGN/RELEASE events
...
status 9672: resolved fixed
2011-05-02 16:43:26 -07:00
prachi
1d4a59ce73
Bug 9666 - hostId and spoolId overlap in op_host_capacity table
...
Changes:
- When a host connects, we check if it has a CPU and RAM entry in capacity table. If the entry is found, the values are updated if possible. If the entry is not found a new one is inserted.
- The searchCriteria used to check if CPU entry is present was wrong. We were passing in a criteria which did not specify capacityType. So for hostId >= 200, the serach would return capacity entries of storage pools also since poolIDs start from 200 onwards.
- Since an entry was found (although the wrong one), we tried to update it. But update does not happen since the capacity ranges dont match.
And a new insert for CPU also does not happen since an entry is found.
- So as a result CPU entries are never inserted in the table for hostIds >=200
- As a fix, corrected the search criteria.
- During VM deployment, when the entry is not found, we get a NPE. Added a null check to avoid that.
2011-05-02 15:17:30 -07:00
Alex Huang
8c8354a00e
bug 8745: we decided on not implementing revert on the agent because it really requires business logic above. Stop if the checkSsh doesn't work
2011-05-02 14:47:49 -07:00
alena
e17d00a583
bug 9682: DB upgrade - create vm.destroy event in usage_events table
...
status 9682: resolved fixed
2011-05-02 13:50:26 -07:00
Murali Reddy
d95d831faa
bug 9595 : Negative resource counts exception when destroying VM account
...
pushing 2.2.4 changes
2011-05-02 12:53:51 +05:30
alena
5469fc4c01
bug 9658: added missing indexes to 2.1.x-2.2.x upgrade files
...
status 9658: resolved fixed
2011-05-01 12:54:23 -07:00
anthony
93eb893c22
misuse instanceName and name, which causes vm sync behavior weirdly
2011-04-29 19:01:46 -07:00
Frank
d23658022b
Template Adapter:
...
Return correct adapter by hypervisor type
2011-04-29 18:21:37 -07:00
Alex Huang
2daa318009
Removed a potentially dangerous
2011-04-29 17:56:17 -07:00
Alex Huang
6ce656220f
bug 9643: propagate fix from 2.2.4
2011-04-29 17:51:42 -07:00
alena
b7e4ec1749
bug 9564: 1) For all list commands set pageSize() to default.page.size if not specified 2) When pageSize is specified in the request, and it's more than default.page.size - throw an exception
...
status 9564: resolved fixed
2011-04-29 16:57:38 -07:00
prachi
b2b01bfcd2
Bug 8830 - Return parent template ID from templates created off of a snapshot
...
Changes:
- Added a new column `source_template_id` to vm_template table to carry the parent/source template ID from which the tempalte was created
- Added the column in db upgrade 224 to 225
- Changed code to save the source_template_id if there is one associated to the volume/ volume from which the snapshot was taken
- API response returns the sourcetemplateid field, if set, in all template usecases.
2011-04-29 15:40:59 -07:00
Kelven Yang
b6364627a3
Decode the url content sent from UI first as URL has encoded url as a whole
2011-04-29 14:17:43 -07:00
anthony
7c105681b2
cluster guid is set up when old host reconnect happens after upgrade, prohibit adding host to the cluster before guid is etup
2011-04-29 14:13:25 -07:00
anthony
bb13fa07f7
bug 9617: fixed snapshot upgrade from 223 to 224
...
status 9617: resolved fixed
2011-04-29 14:13:25 -07:00
anthony
bbc470ed4f
bug 9619: handle two types of domr name
...
status 9619: resolved fixed
2011-04-29 14:13:25 -07:00
alena
671ec62358
bug 9623: set ha_enable to false for consoleProxy vms and service_offering.
...
status 9623: resolved fixed
Also set ram_size to 1024 for console proxy offering during the upgrade
Conflicts:
core/src/com/cloud/vm/SecondaryStorageVmVO.java
server/src/com/cloud/agent/manager/allocator/impl/UserConcentratedAllocator.java
server/src/com/cloud/consoleproxy/ConsoleProxyManagerImpl.java
server/src/com/cloud/storage/allocator/LocalStoragePoolAllocator.java
server/src/com/cloud/storage/secondary/SecondaryStorageManagerImpl.java
2011-04-29 11:53:07 -07:00
alena
b9a2b72047
Fixed a bug in XmlApiDocReader
2011-04-29 10:19:06 -07:00
Alex Huang
99bc15f64a
changed getName to getHostname
2011-04-29 08:34:10 -07:00
nit
f5cc308e77
bug 7140: Add MAC address in response list of LlistVirtualMachines API.
...
status 7140: resolved fixed
2011-04-29 18:41:46 +05:30
prachi
25fd7cd999
Merging changes from zonesfeature branch: Adding dhcp_provider parameter to UpdateZoneCmd
2011-04-28 23:28:14 -07:00
prachi
86b386e8c0
Merging changes from zonesfeature branch for Bug 8026 - discern proper cluster/pod/zone for added host (and refactor AgentManagerImpl)
...
- CreateZone API creates a zoneToken, inserts in DB and returns it in the
response
- UpdateZone API takes in 'details' map that is loaded to data_center_details
2011-04-28 23:08:58 -07:00
alena
11ef6bbbe2
bug 9638: fixed bunch of DB upgrade bugs
...
status 9638: resolved fixed
Conflicts:
server/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
utils/src/com/cloud/utils/net/NetUtils.java
2011-04-28 18:30:40 -07:00
alena
c6d5682579
Modify keys for security groups in java code instead of sql file (need to check if the key exists before dropping it)
...
Conflicts:
server/src/com/cloud/upgrade/dao/Upgrade218to22.java
2011-04-28 18:23:38 -07:00
Kelven Yang
9b86ef7942
bug 9022: turn off HA for SSVM and Console Proxy VM
2011-04-28 18:03:11 -07:00
Sheng Yang
cf114fc7af
Enable SSL for mgmt servers and agents
...
The port remains 8250.
The keystore saved at /etc/cloud/management/cloud.keystore. We also include one
fail-safe keystore/certificate for fallback if we are unable to generate
certificate and keystore. If we use fail-safe keystore, a warning and calltrace would be show.
Notice you need to upgrade agent, as well as systemVM's images.
2011-04-28 17:41:29 -07:00
keshav
828b68186c
Added a check for duplicate public networks.
2011-04-28 16:10:48 -07:00
will
4b803d1676
Added default endpointe URL and renamed cloudkit to mycloud in the complete registration servlet.
2011-04-28 16:05:38 -07:00
will
633d024b7c
- Merge all CloudZones Registration feature into master
2011-04-28 16:05:36 -07:00
Alex Huang
2aa280ed14
Removed the ugly cglib name
2011-04-28 15:45:09 -07:00
Alex Huang
53949833ac
bug 9456: added the host id that was already tried to avoid list. Added more debug logs in case that condition happens.
2011-04-28 14:44:46 -07:00
prachi
c2824edc03
Bug 9446: Investigator reports that a system vm is down even if it isn't....
...
Changes:
- Added new Investigator 'ManagementIPSystemVMInvestigator' that checks if Vm is alive only for System VM's that have a management IP address.
- If no management IP is found, ping test cannot be done, so this investigator would return null in that case.
- Current implementation InvestigatorImpl is renamed as 'UserVmDomRInvestigator' and does the ping test for user VMs only.
- Corrected the ping test code that was checking a hard-coded string. Now if the ping answer is negative, we just return null
- Added the new investigator to components.xml
2011-04-28 12:28:51 -07:00
Kelven Yang
814fe02c59
Recalculate and update host used capacity (mem & cpu) in upgrade (2.1.x to 2.2.y)
...
Conflicts:
server/src/com/cloud/upgrade/dao/Upgrade218to22.java
2011-04-28 10:11:01 -07:00
alena
6352851e43
More logging to consoleProxy start command
2011-04-28 01:19:42 -07:00
alena
f8742adcd5
bug 9621: set addressFormat during NicProfile creation
...
status 9621: resolved fixed
2011-04-27 23:19:43 -07:00
alena
485f7a10cc
bug 9621: dbUpgrade - set reservation strategy to be Create for Guest Nics in Basic zone
...
status 9621: resolved fixed
Conflicts:
server/src/com/cloud/upgrade/dao/Upgrade218to22.java
setup/db/db/schema-222to224.sql
2011-04-27 22:51:56 -07:00
alena
012d2f1a5d
Fixed upgrade from 2.1.9 to 2.2.x
2011-04-27 22:49:28 -07:00
alena
b8f2a69c05
bug 9622: update mode for nics
...
status 9622: resolved fixed
2011-04-27 20:57:27 -07:00
Frank
ef10dab968
Intrdouce adapter to template manager
...
small fix
2011-04-27 14:04:37 -07:00
Frank
504eb25c37
Intrdouce adapter to template manager.
2011-04-27 14:04:37 -07:00
alena
2aa5f8996b
listNetworks: allow seeing Guest system network in Basic zone
2011-04-27 13:57:24 -07:00
Alex Huang
cc8bdf354b
storage stats can be such that it doesn't work if one storage pool cannot be reached.
2011-04-27 13:56:52 -07:00
Alex Huang
b4f6cdda66
bug 9610: Added VERSION table and related index change
2011-04-27 13:56:52 -07:00
Alex Huang
5b361e5e8f
bug 9597: Fixed the recreatable problem. Also added the 2.2.1 upgrade step
2011-04-27 13:56:52 -07:00
prachi
209be1065b
Bug 9585 - Existing Data Disk is being destroyed and recreated on Stop and Start of a User VM.
...
Changes:
- When the ROOT volume of a VM is found to be READY, changed planner to reuse the pool for every volume(root or data) that is READY and that has a pool not in maintenance and not in avoid state
- If ROOT volume is not ready, we dont care about the DATA disk. Both would get re-allocated.
- When a pool is reused for a ready volume, Planner does not call storagepool allocators. And such volumes are not assigned a pool in the deployment destination returned by the planner. Accordingly StorageManager :: prepare method wont recreate these volumes since they are not mentioned in the destination.
2011-04-27 11:36:51 -07:00
alena
81e7b25217
Fixed ipAssoc in Basic zone (elastic IP)
2011-04-27 11:15:30 -07:00
kishan
42a9c49712
bug 8866: ignore network usage for system account
2011-04-27 19:44:52 +05:30
kishan
341e553b8a
bug 8866: added support for direct network usage tracking using traffic sentinel
2011-04-27 19:03:02 +05:30
Murali Reddy
c12ccbd06f
Bug 9534 : implement CPU cap
...
Introducing new boolean flag in service offering to restrict the user VM's CPU utilization to what service offering it is entitled for.
2011-04-27 13:54:45 +05:30
Abhinandan Prateek
7960a499dc
bug 6451: XenServer username/password should be changable through API
2011-04-27 12:14:51 +05:30
Abhinandan Prateek
0fc005f20a
bug 6451: XenServer username/password should be changable through API
2011-04-27 12:08:02 +05:30
alena
508fef2269
Apply nic profile to nic: don't set reservationStrategy for DB object when it's value is NULL
2011-04-26 17:51:49 -07:00
alena
584718ceb6
bug 9571: respect allocatedOnly flag in listPublicIpAddresses API
...
status 9571: resolved fixed
2011-04-26 17:51:49 -07:00
Alex Huang
9909371eaa
bug 9445: Signal alert for the host if a primary storage pool was unavailable on that host
2011-04-26 15:09:36 -07:00
alena
4290abb57c
bug 9578: when deploy dhcp in Basic zone, put pod information to deploymentPlan
...
status 9578: resolved fixed
2011-04-26 14:57:40 -07:00
prachi
6e39019b6a
Bug 9548 [Cloud Stack Upgrade - 2.1.8 to 2.2.4] System VM's Volumes Recreation is not happening on an event of New Volume creation Failures
...
Changes:
- Reason was that the old volume's templateId was being updated before volume creation was attempted. So on the retry, we dint find a difference in volume's templateId and VM's templateId and did not enter the recreation logic.
- Fix is to update the new volume's templateId with the VM's templateId while creating the new volume. The old volume's templateId stays the same and the volume is marked as 'Destroy' when a new volume is created.
2011-04-26 11:35:24 -07:00
alena
5db28c57e4
bug 9492: allow security group removal when it has ingress rules, but not assigned to any vms yet
...
status 9492: resolved fixed
2011-04-25 16:43:39 -07:00
alena
4953461e57
bug 8809: listHypervisors api - when zoneId=-1 is specified, only hypervisors availble in all zones are being returned
2011-04-25 10:39:51 -07:00
nit
49bb7dba00
bug 9013: Adding hypercisor type for xs-tools.iso when inserting it into vm_template.
...
status 9013: resolved fixed
2011-04-25 17:03:57 +05:30
alena
afa7d3f34d
bug 9563: fixed DB upgrade from 2.2.2/2.2.3 to 2.2.4
...
status 9563: resolved fixed
Also added unittest for 2.2.2 to 2.2.4 upgrade
Conflicts:
setup/db/db/schema-222to224.sql
2011-04-23 23:05:42 -07:00
alena
1915b51a83
DB upgrade: use is_static_nat field to distinguish between 2.2.1 and 2.2.2 versions
2011-04-23 21:24:37 -07:00
alena
1efc45a241
bug 9555: db upgrade for Basic zone - set default nic for the domR
...
status 9555: resolved fixed
2011-04-23 20:44:09 -07:00
alena
3c48d8d432
bug 9556: set ip_type=ip4 for guestVm nics in Basic zone setup
...
status 9556: resolved fixed
2011-04-23 20:43:37 -07:00
alena
b749c64d4e
bug 9550: get storagePool to Host mappings before doing processDisconnect because these references are being deleted as a part of processDisconnect call.
...
status 9550: resolved fixed
Conflicts:
server/src/com/cloud/agent/manager/AgentManagerImpl.java
server/src/com/cloud/storage/StorageManagerImpl.java
2011-04-23 20:43:24 -07:00
prachi
c157d3375c
More changes for Bug 9539 - cpu.overprovisioning.factor does not work
...
- After p4merge some weird character was getting added.
2011-04-22 18:17:08 -07:00
prachi
b84a7477f0
Bug 9539 - cpu.overprovisioning.factor does not work
...
Changes:
- Changed host allocators/planner to use cpu.overprovisioning.factor
- Removed following: while adding a new host, we were setting the total_cpu in op_host_capacity to be actual_cpu * cpu.overprovisioning.factor. Now we set it to actual_cpu.
- ListCapacities response now calculates the total CPU as actual * cpu.overprovisioning.factor (This change does not add anything new - listCapacities was pulling total CPU from op_host_capacity DB earlier which had the cpu.overprovisioning.factor applied already. Now we need to apply it over the DB entry.)
- HostResponse has a new field: 'cpuWithOverprovisioning' that returns the cpu after applying the cpu.overprovisioning.factor
- Db Upgrade 222 to 224 now updates the total_cpu in op_host_capacity to be the actual_cpu for each Routing host.
2011-04-22 18:09:31 -07:00
will
ff2d7fcf4a
bug 9468: DiskOfferings are now sorted by created date to keep consistent with other objects returned in CloudStack.
2011-04-22 15:12:59 -07:00
Kelven Yang
160b2e1114
Finalize custom certficate support. hook with UI
2011-04-22 13:45:09 -07:00
alena
7255d68875
HA: no need to investigate why vm was stopped on host when host is being Dicsonnected with investigate=false option
2011-04-22 13:38:25 -07:00
anthony
8271f034ce
bug 9541: fix one snapshot DB migrate, one java check and one script typo
...
status 9541: resolved fixed
2011-04-22 12:57:16 -07:00
alena
41e5e38fef
bug 9336: securityGroups can be used by other securityGroups in the same domain only; no cross domain SG authentication
...
status 9336: resolved fixed
Following changes were made:
* deleteSecurityGroup/authorizeSecurityGroupIngress - removed account/domainId parameters as SG is uniquely identified by id now
* removed account_name field from securityGroup DB table; removed allowed_security_group/allowed_sec_grp_acct from security_ingress_rule.
These values were used for api response generation only for performance purposes; added caching on API level to improve performance
* Added missing security checks for securityGroups/ingressRules
2011-04-22 11:35:29 -07:00
Kelven Yang
e69774e13a
Add console proxy management state, support certificate upload, all done except UI
2011-04-21 18:46:37 -07:00
alena
1a6d78eae4
Code cleanup. No need to declare runtime exceptions (CloudRuntimeException, InvalidParameterException, PermissionDenied exceptions)
2011-04-21 16:26:53 -07:00
alena
b83456f895
bug 9504: don't send DHCP entry command for Destroyed vm
...
status 9504: resolved fixed
2011-04-21 14:26:42 -07:00
alena
d7ec734b01
bug 9481: deployVm with Guest Virtual network - throw an exception when fail to acquire guest Ip address
...
status 9481: resolved fixed
2011-04-21 13:59:07 -07:00
alena
c844655825
bug 9488: throw InsufficientVirtualNetworkCapcityException when fail to allocate guest vnet as a part of network implement() call
...
status 9488: resolved fixed
2011-04-21 13:59:06 -07:00
alena
3d33fd7f92
deleteNetwork: return false when fail to cleanup network resources (LB/PF/StaticNat rules)
2011-04-21 13:59:06 -07:00
Murali Reddy
435c20c0cc
Bug 9273: resource cont going -ve
...
adding addtional check that ensure we decrease the count in advanceStart only on new vm creation.
2011-04-22 01:19:23 +05:30
nit
8cbdfe07c9
bug 8803: Allow to add an ISO with URL that doesn't end with ".iso". The check checks that the url path should end with an iso
...
status 8803: resolved fixed
2011-04-21 16:37:53 +05:30
nit
f55e83f607
List Iso/Templates - Cleaning the code for access rights using the centralized acl layer
2011-04-21 13:40:14 +05:30
alena
22ee7117f5
bug 9521: fixed NPE in finalizeCommandsOnStart() method by adding vm's nic to vm profile during the vm to vmProfile conversion.
...
status 9521: resolved fixed
Conflicts:
server/src/com/cloud/consoleproxy/ConsoleProxyManagerImpl.java
server/src/com/cloud/storage/secondary/SecondaryStorageManagerImpl.java
server/src/com/cloud/vm/VirtualMachineManagerImpl.java
2011-04-20 16:16:01 -07:00
alena
f881d394e2
bug 9415: deleteHost - cleanup vms running on the host to be removed
...
status 9415: resolved fixed
2011-04-20 15:50:10 -07:00
alena
63cd66beb0
Fixed the bug in listNetworks when isSystem parameter was ignored if it was specified along with account/domainId parameter
2011-04-19 18:30:55 -07:00
Kelven Yang
7103e1c9a7
global replacement to avoid using getClass().getName() for unique names
2011-04-19 17:26:41 -07:00
alena
c7e120a72e
Transform InvalidParameterValueException and PermissionDeniedException to proper API exceptions
2011-04-19 17:07:05 -07:00
Kelven Yang
6ed18b5583
Add keystore management and related JUNIT test case
2011-04-19 16:20:06 -07:00
alena
98baa7392e
bug 9383: createStaticNat rule - allow opening the same port for tcp/udp traffic
...
status 9383: resolved fixed
2011-04-18 17:55:41 -07:00
alena
4e5b6c902a
bug 9498: allow zone deletion when it has pods having not NULL removed field
...
status 9498: resolved fixed
2011-04-18 17:30:45 -07:00
alena
7d0528d693
bug 9493: fixed the bug in Basic zone when nic_count was updated incorrectly due to multiple domRs per network
...
status 9493: resolved fixed
2011-04-18 17:00:05 -07:00
alena
996d0edbc9
Throw server api exception with correct error code
2011-04-18 16:59:55 -07:00
alena
dd9c60e341
Update volumes having destroyed=127 with Destroyed state only after ensuring that corresponding account is removed, or instance is expunged
2011-04-18 16:59:45 -07:00
alena
57341081dc
Added more logging to DB upgrade code
2011-04-18 16:59:33 -07:00
alena
0efd44ddf7
bug 9483: delete records from template_spool_ref if corresponding storage pool doesn't exist any more
...
status 9483: resolved fixed
2011-04-15 17:09:02 -07:00
prachi
734e3f17c2
Bug 9331 - Even when there is no longer clusters in the pod, 'Delete Pod - Failed - because there are clusters in this pod'
...
Changes:
- Cluster entry is not removed from the table when a cluster is deleted because there are some foreign key constraints failing if the row delete is attempted. Instead the cluster is marked as 'removed'
- While deleting the pod changed the check to see if pod has any clusters - we now check that there are no clusters with removed column null.
- Also pod entry cannot be deleted from the db due to foreign key constraints. So added 'removed' column to Pod table host_pod_ref
- Now on deleting a pod, the pod will be marked as removed and pod name is set to null.
2011-04-15 16:04:16 -07:00
alena
5d6e2871ad
bug 9475: don't update vlan in "networks" tab for non-implemented guest networks
...
status 9475: resolved fixed
2011-04-15 13:42:50 -07:00
alena
55627a91d2
Fixed Db upgrade from 2.1.9 to 2.2.2 which wasn't supported before.
2011-04-15 10:19:56 -07:00
alena
51c837fc66
Fixed logging for remote access vpn code
2011-04-15 09:57:56 -07:00
alena
fa3b147853
218-222 upgrade - no need to update user statistics with deviceId if account doesn't own any domRs
2011-04-15 09:49:00 -07:00
Abhinandan Prateek
efa0417881
bug 5242: adding a host does not return useful error
...
status 5242: closed fixed
2011-04-15 17:28:46 +05:30
nit
8c5c58dc35
bug 9059: Host Details would account for Stopped VM's as well - basically they will take into account the reserved_capacity from op_host_Capacity table
...
status 9059: resolved fixed
2011-04-15 17:05:01 +05:30
nit
1d55d2fc05
bug 8703: delete op_host_capacity entries for host when host is successfully deleted.
...
status 8703: resolved fixed
2011-04-15 15:37:55 +05:30
nit
8567935561
bug 9221: Parse storage.overprovisioning.factor as a float rather than as an int.
...
Status 9221: resolved fixed
2011-04-15 13:46:51 +05:30
alena
ce37212610
bug 9453: Fixed PF rules upgrade.
...
status 9453: resolved fixed
1) Problem #1 was that in 2.1.x there was a bug when we didn't delete pf rules for expunged vms. These kind of rules will be ignored during the db upgrade
2) Problem #2 . We didn't trim the spaces for PF/LB ports in 2.1.x, and DB upgrade code was failing because of that.
2011-04-14 20:39:43 -07:00
alena
cdae8b091d
bug 9461: don't update user_statistics with the network id if the domR is already expunged
...
status 9461: resolved fixed
2011-04-14 17:59:22 -07:00
Edison Su
d6b5acb852
bug 8532,8755: don't create multiple HA work if there already has one of HAwork of this VM is created, but not finished
...
status 8532: resolved fixed
status 8755: resolved fixed
2011-04-14 17:46:54 -04:00
alena
b4a65a6766
bug 9453: domain path is not unique value, removed the constraint added during 2.1.8-2.2.2 upgrade
2011-04-14 17:03:11 -07:00
alena
52fe53f497
bug 9458: do searchIncludingRemoved when decrement resource count as corresponding domain might be removed already
...
status 9458: resolved fixed
Conflicts:
server/src/com/cloud/user/AccountManagerImpl.java
2011-04-14 15:39:51 -07:00
anthony
86f32e4735
bug 9455: when host is disconnected, also remove entry in storage_pool_host_ref
...
status 9455: resolved fixed
2011-04-14 14:31:16 -07:00
alena
7615ded08f
bug 9407: lock network when do deployDomR/deployDhcp to avoid 2 network elements start for the same network
...
status 9407: resolved fixed
Conflicts:
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
2011-04-14 13:35:02 -07:00
prachi
0fa06646ba
Bug 9310 - HostCapacityChecker thread does not cleanup reserved capacity for hosts that are not in 'Up' state
...
List all 'Routing' hosts irrespective of the State.
2011-04-14 13:24:14 -07:00
Frank
92155522f2
Add license header to files
2011-04-14 11:23:14 -07:00
anthony
60768d0014
bug 9411:
...
1. adding storage pool fails, remove the entry in DB
2. in introduce SR, create pbd for master host
status 9411: resolved fixed
2011-04-14 11:17:24 -07:00
Murali Reddy
9dddeaa5a5
Bug 9440: we specify the wrong disk size when attaching storage device with custom size offering
...
wrong usage of volume size which is in bytes for setting the size of disk offering which in MB
pushing 2.2.4 fix to master
2011-04-14 21:16:08 +05:30
Alex Huang
b84905530a
bug 9422: added rows in op_networks table to correspond to the rows in networks table
2011-04-14 03:57:18 -07:00
Alex Huang
38dd1d6ea9
bug 9422: added rows in op_networks table to correspond to the rows in networks table
2011-04-14 03:57:18 -07:00
Alex Huang
6936a666fd
removed some references to name
2011-04-14 03:54:34 -07:00
prachi
88c0126878
Bug 9187: modify userdata with update vm
...
Changes:
- UpdateVMCmd is changed to take in userData as a parameter
-The userData is updated in the DB if it is non-null.
2011-04-13 19:22:18 -07:00
prachi
1a3483ac4f
More changes for Bug 9438 - [Cloud Stack Upgrade - 2.1.8 to 2.2.4] Secondary Storage VM could not start after stopping it.
...
Added log statement to indicate that a pool is not chosen because the vm template has no entry in template_host_ref table.
2011-04-13 18:06:42 -07:00
alena
a8a0a70629
bug 9433: update network_id (if 0 or NULL) in user_statistics table
...
status 9433: resolved fixed
2011-04-13 17:51:11 -07:00
alena
694944e996
bug 9436: include page/pageSize/keyword to api xml doc for each list* command
...
status 9436: resolved fixed
Conflicts:
server/src/com/cloud/api/doc/ApiXmlDocWriter.java
2011-04-13 16:23:14 -07:00
alena
dad9dacc92
bug 9425: fixed detached volume removal.
...
status 9425: resolved fixed
2011-04-13 15:54:10 -07:00
alena
c9989a7ddf
bug 9420: update existing user_statistics records with device_id and device_type
...
status 9420: resolved fixed
2011-04-13 15:54:01 -07:00
Kelven Yang
1b9cbd9166
bug 9223, 9224: persist runid to form cluster session, based on cluster session and DB condition to issue isolation notification for self-fencing
2011-04-13 15:13:54 -07:00
prachi
b1700af146
Bug 9387: Recreate system vms if template id changed....
...
Changes:
While starting a System VM:
- We check, incase the ROOT volume is READY, if the templateID of the volume matches the SystemVM's template.
- If it does not match, we update the volumes' templateId and ask deployment planner to reassign a pool to this volume even if it is READY.
In general:
- If a root volume is READY, we remove its entry from the deploydestination before calling storagemanager :: prepare()
- StorageManager creates a volume if a pool is assigned to it in deploydestination passed to it.
- If a volume has no pool assigned to it in deploydestination, it means the volume is ready and has a pool already allocated to it.
2011-04-13 13:47:07 -07:00
Murali Reddy
9bf2d32884
Bug 9273 : resource counts going -ve
...
pushing 2.2.4 fix in to master
2011-04-13 17:43:12 +05:30
anthony
e0ba2a2fa6
clean up transation code
2011-04-12 18:56:49 -07:00
prachi
80fe0b584d
More changes for Bug 9387:
...
- Update system vm_instance's template_id if it does not match the system vm template.
- Use _templateDao.findSystemVMTemplate to find the latest system vm template.
2011-04-12 18:20:01 -07:00
prachi
47f43df01b
More changes for 9387:
...
Checks in StorageManagerImpl :: prepare() method to avoid NPE's if DeployDestination passed in is null.
2011-04-12 18:19:59 -07:00
prachi
47c31a077a
Bug 9387 - Recreate system vms if template id changed...
...
Changes:
- Planner must reassign the storage pool if the template id for system vms has changed. StorageManager must then recreate the volume if the volume has been
reassigned. This is needed to do automatic update of the system template.
2011-04-12 18:19:58 -07:00
Chiradeep Vittal
b56c82e3b6
bug 9330: ensure that console proxies are always created from the same hypervisor type
2011-04-12 15:24:59 -07:00
Kelven Yang
2a45327a89
Miss out one place to use queue instead, this is for decoupling notification from heartbeat to avoid being potentially blocked in callbacks
2011-04-12 15:06:08 -07:00
Chiradeep Vittal
f37f7f36aa
bug 9330: discover system vm template for a given hypervisor type
2011-04-12 14:50:24 -07:00
alena
4d8df029d3
bug 8245: mark storage pool status as Removed before performing actual cleanup
...
status 8245: resolved fixed
2011-04-12 14:44:55 -07:00
nit
7d51bf41b6
bug 8710: Attaching resource domain account to a zone code
2011-04-12 18:22:26 +05:30
alena
acaab55c3e
bug 9391: removed source_id, source_type from "volumes" table as we don't use them any more
...
status 9391: resolved fixed
Conflicts:
server/src/com/cloud/network/NetworkManagerImpl.java
2011-04-11 18:19:10 -07:00
alena
52bf157387
bug 9398: removed resource_type from volumes table as we no longer use it. Corresponding db upgrade scripts are updated
...
status 9398: resolved fixed
Conflicts:
server/src/com/cloud/storage/StorageManagerImpl.java
2011-04-11 18:14:35 -07:00
alena
f6b8f23751
bug 9381: set accountId=domainId=1 for system vms in vm_instance table
...
status 9381: resolved fixed
2011-04-11 18:10:54 -07:00
alena
bb2d907d47
bug 9380: db upgrade - use the same case for 'hypervisor_type' in 'vm_instance' table
...
status 9380: resolved fixed
2011-04-11 18:10:42 -07:00
Kelven Yang
03afe54084
Regression fixes for adding openNew() to Transaction.java
2011-04-11 17:44:31 -07:00
Kelven Yang
149eb0fade
Use seperate DB connection to handle cluster management
2011-04-11 16:37:58 -07:00
anthony
ac223c197f
bug 9392: don't lock domr entry, otherwise updating domr state fails
...
status 9392: resolved fixed
2011-04-11 16:06:12 -07:00
Chiradeep Vittal
ae9180d33b
bug 9330: add kvm / vmware system vm template definitions
2011-04-11 15:46:37 -07:00
Frank
5645137f9c
reslove conflicts api/src/com/cloud/api/ApiConstants.java
2011-04-11 14:26:48 -07:00
Frank
105db3b15a
Merge branch 'baremetal' to master
...
modifies:
api/src/com/cloud/api/ApiConstants.java
api/src/com/cloud/api/commands/AddHostCmd.java
api/src/com/cloud/api/commands/CreatePodCmd.java
api/src/com/cloud/api/commands/DeployVMCmd.java
api/src/com/cloud/dc/Pod.java
api/src/com/cloud/network/NetworkService.java
server/src/com/cloud/agent/manager/AgentManagerImpl.java
server/src/com/cloud/configuration/ConfigurationManagerImpl.java
server/src/com/cloud/dc/HostPodVO.java
server/src/com/cloud/network/NetworkManager.java
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/vm/UserVmManagerImpl.java
setup/db/create-schema.sql
utils/src/com/cloud/utils/SerialVersionUID.java
2011-04-11 14:21:41 -07:00
prachi
c3d2bab81b
Some more changes for Bug 8932 - add md5 sum to list templates call:
...
Also changed 'RegisterTemplate' to take in a new optional parameter 'checksum'.
The value set to it is stored as-is in the DB in vm_template table, 'checksum' column.
2011-04-11 13:17:23 -07:00
Frank
0810831fd2
Bug 8208 - bare metal provisioning
...
set useexternalDHCP to false when creating pod
2011-04-11 10:41:45 -07:00
alena
4460d1cf2c
Fixed api xml doc writer
2011-04-11 09:33:36 -07:00
nit
debe236a8d
bug 8710: CONTD....Introducing a new user role in cloudstack called RESOURCE_DOMAIN_ADMIN. The role would have all the domain_admin rights and the rights to list zone,pods,clusters and so on. More info in the bug
2011-04-11 19:40:37 +05:30
kishan
782a22d95f
Usage upgrade changes
2011-04-11 18:49:52 +05:30
Murali Reddy
290c799b2c
Bug 9273 : [Stress Test] 'Count' in resource_count table has negative values
...
pushing 2.2.4 changes in to master
2011-04-11 15:37:53 +05:30
Murali Reddy
8b30507841
bug 9312: deleteAccount API does not decrement User VM resource count when VM is destroyed
...
pushing 2.2.4 changes to master branch
2011-04-11 14:35:06 +05:30
prachi
77ac511225
Bug 8932 - add md5 sum to list templates call
...
Modified TemplateResponse to contain a new field 'checksum' of the template. The value is pulled from the vm_template table, 'checksum' column.
2011-04-08 15:01:12 -07:00
prachi
b0b2d594a0
Bug 8018 - return cloud identifier in some instance metadata
...
There's an API call "getCloudIdentifier". it returns some UUID that uniquely identifies a cloud.
This bug is to set the value of the instace metadata field cloud-identifier to "CloudStack-{result of getCloudIdentifier}. This metadata is programmed into
the virtual router by the management server.
2011-04-08 10:50:12 -07:00
Murali Reddy
598503f094
bug 9129:can't create vm if an instance limit is set at root domain
...
pushing 2.2.4 fixes
2011-04-08 13:25:51 +05:30
Kelven Yang
5bf6df3d6c
bug 9328: always add explict route to domR
2011-04-05 17:21:24 -07:00
alena
aa094868fc
bug 8353: set dateFormat to "yyyy-MM-dd'T'HH:mm:ssZ" when initiate gson builder
...
status 8353: resolved fixed
2011-04-05 16:51:05 -07:00
prachi
191d689912
Bug 9045: No 'Starting job for VM.MIGRATE' & 'Successfully completed VM.MIGRATE' events shown for VM manual migration
...
Changes:
- Added the required 'ActionEvent' annotation to the API, so that the events get added.
2011-04-05 16:28:01 -07:00
anthony
2bcd7a13d4
hostid and poolid may overlap, fixed deletePoolStats
2011-04-05 15:43:21 -07:00
alena
0fdcba3f4f
bug 8855: introduced search by zoneId to listLoadBalancerRules api. Also added "zoneId" parameter to the response
...
status 8855: resolved fixed
2011-04-05 14:38:47 -07:00
prachi
92c0b3b82f
Bug 9309 - In Manual migration, do not consider 'reserved_capacity' when computing available memory in destination
...
Changes:
- Now while listing hosts for migration, capacity is calculated as total_capacity -used_capacity
instead of total_capacity -(used_capacity + reserved_capacity)
- Also, the capacity columns in op_host_capacity are now 'signed' type so that the subtractions in queries does not overflow.
- Added this to DB upgrade 222 to 224 change as well.
2011-04-05 14:06:32 -07:00
anthony
288a36d09f
Merge branch '2.2.4'
...
Conflicts:
api/src/com/cloud/configuration/ConfigurationService.java
core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java
server/src/com/cloud/api/ApiDBUtils.java
server/src/com/cloud/configuration/ConfigurationManagerImpl.java
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
setup/db/db/schema-21to22.sql
setup/db/db/schema-222to224.sql
utils/src/com/cloud/utils/exception/ExceptionUtil.java
2011-04-05 12:04:09 -07:00
Alex Huang
b86828bbbe
some formatting changes for agentmanager
2011-04-05 11:04:35 -07:00
Alex Huang
5f41eef6d1
Brought over edison's changes
2011-04-05 11:04:34 -07:00
Alex Huang
5d488b106d
bring changes to master from 2.2.4
2011-04-05 11:01:36 -07:00
Alex Huang
2230c24ab3
check in changes from 2.2.4
2011-04-05 11:01:35 -07:00
Alex Huang
075fba5899
stackmaid is now taskmanager
2011-04-05 10:17:22 -07:00
alena
61f968592b
bug 9306: set isolationUri/broadcastUri for SSVM/domR/CPVM public nics
...
status 9306: resolved fixed
2011-04-05 09:18:43 -07:00
Alex Huang
04099a4950
bug 9311: changed instance_id to nic_id
2011-04-05 09:12:55 -07:00
alena
49cbcac29f
bug 8959: fixed mac address generation for public ip addresses
2011-04-04 18:31:19 -07:00
alena
534623706d
bug 9305: set Mode field for domR/CPVM/SSVM nics
...
status 9305: resolved fixed
2011-04-04 18:31:07 -07:00
alena
9b4b0abcce
bug 8959: fixed mac address generation for public ip addresses
2011-04-04 18:26:11 -07:00
alena
c6b8c0ecfa
bug 9305: set Mode field for domR/CPVM/SSVM nics
...
status 9305: resolved fixed
2011-04-04 17:51:53 -07:00
prachi
204aa86686
Bug 9043 - VM manual migration - when destination host is out of memory for migration, VMs being migrated remained in 'migrating' state
...
Changes:
- When migration fails we try to do cleanup on the destination host agent. The AgentUnavailableException in this cleanup was not caught.
-Due to that other cleanup like reverting capacity allocated and vm state were skipped.
-Fix is to catch the AgentUnavailableException so that rest of the cleanup can happen.
- Also corrected the exceptions in various cases of migration failure.
- In case the VM is still starting, HA should schedule a retry. Introduced a special migration exception for handling this.
2011-04-04 17:39:27 -07:00
prachi
53f8ebf6f0
Bug 9043 - VM manual migration - when destination host is out of memory for migration, VMs being migrated remained in 'migrating' state
...
Changes:
- When migration fails we try to do cleanup on the destination host agent. The AgentUnavailableException in this cleanup was not caught.
-Due to that other cleanup like reverting capacity allocated and vm state were skipped.
-Fix is to catch the AgentUnavailableException so that rest of the cleanup can happen.
- Also corrected the exceptions in various cases of migration failure.
- In case the VM is still starting, HA should schedule a retry. Introduced a special migration exception for handling this.
2011-04-04 17:30:08 -07:00
Alex Huang
b2cab48e0c
bug 9308: changed instance_id to nic_id
2011-04-04 16:59:16 -07:00
alena
6736569d22
bug 9274: listPublicIpAddresses - don't list Direct ip addresses by default; list them only when "forVirtualNetwork=false" is specified in the request.
...
status 9274: resolved fixed
2011-04-04 15:47:23 -07:00
alena
a47a4c8cfe
bug 9272: fixed the race condition bug when we tried to remove vm from SG after it was expunged (expunge interval was really small, 60 sec).
...
status 9272: resolved fixed
When do search for vm, do includingRemoved search.
2011-04-04 15:47:14 -07:00
alena
f8fce16cac
bug 9274: listPublicIpAddresses - don't list Direct ip addresses by default; list them only when "forVirtualNetwork=false" is specified in the request.
...
status 9274: resolved fixed
2011-04-04 15:43:04 -07:00
alena
f2921b7f15
bug 9272: fixed the race condition bug when we tried to remove vm from SG after it was expunged (expunge interval was really small, 60 sec).
...
status 9272: resolved fixed
When do search for vm, do includingRemoved search.
2011-04-04 15:43:04 -07:00
Kelven Yang
1692caabe8
Make sure hooking of answer command callback be called for both sync/Async commands
2011-04-04 14:46:19 -07:00
Kelven Yang
918df1a838
missing one more place to notify answer commands
2011-04-04 14:44:24 -07:00
anthony
545aa50388
bug 9282: set cluster guid if it is null
...
status 9282: resolved fixed
2011-04-04 14:33:18 -07:00
Alex Huang
e8720cc1f7
bug 9300: changed the network id to management from storage for ssvm
2011-04-04 13:53:51 -07:00
alena
af4459f24f
Fixed list* api commands.
2011-04-04 11:36:49 -07:00
Kelven Yang
2759eefcf5
Add weight to command to help future load management, fix issues found in system vm pooling
2011-04-04 09:33:42 -07:00
Alex Huang
fc7f526090
bug 9282: changed the broadcast domain type for control and public network
2011-04-04 09:56:56 -07:00
Alex Huang
5a6d3dc55c
bug 9280: added gateway and cidr for control network
2011-04-04 09:50:16 -07:00
kishan
1e180de60b
Skip event migration when usage db doesn't exist
2011-04-04 18:36:39 +05:30
kishan
4f97d4652d
Skip event migration when usage db doesn't exist
2011-04-04 18:31:48 +05:30
alena
2aeacd5a4c
bug 3179: added "count" parameter to the response to all List* api commands
2011-04-01 19:29:08 -07:00
alena
29bfde9da4
Revert "bug 8898: allow service offering upgrade for Running vm"
...
This reverts commit 7668e1878a .
2011-04-01 18:16:14 -07:00
alena
097d415589
Revert "bug 8898: allow service offering upgrade for Running vm"
...
This reverts commit 7668e1878a .
2011-04-01 17:54:17 -07:00
Alex Huang
7ce3e22d36
bug 9259: added upgrade test suite
2011-04-01 17:01:53 -04:00
alena
b876ad2530
224 to 225 upgrade - use schema*.sql instead of data*.sql
2011-04-01 16:25:56 -07:00
alena
1359e88a6f
bug 9244: don't insert config value if it's already present in the DB.
...
status 9244: resolved fixed
2011-04-01 16:17:05 -07:00
alena
bf588166ed
bug 7704: network limits cleanup.
...
status 7704: resolved fixed
For user vm:
* for default network, take limit from the corresponding service offering
* for all additional networks, take limit from the network offerings
For domainRouter/SSVM/CPVM:
* get info from the network offering
Added new config parameter: "vm.network.throttling.rate". If nw_rate is NULL for serviceOffering, this parameter would be used for default vm's network
2011-04-01 15:48:32 -07:00
Alex Huang
8b34065623
bug 9259: added upgrade test suite
2011-04-01 10:32:23 -07:00
kishan
3c07db7e2d
bug 9239: Ignore optional zone Id for Snapshot delete events
...
status 9239: resolved fixed
2011-04-01 15:19:43 +05:30
kishan
7b55b41556
bug 9239: Ignore optional zone Id for Snapshot delete events
...
status 9239: resolved fixed
2011-04-01 15:15:00 +05:30
kishan
7f08061e72
Added missing semi-colon and corrected usage unit test error messages
2011-04-01 12:06:52 +05:30
prachi
492dd78f1c
Bug 9180 - Default local SR on XenServer won't be used
...
- Update the diskoffering for system VMs to change the value of use_local_storage, when the global config 'system.vm.use.local.storage' is changed.
2011-03-31 23:11:11 -07:00
prachi
e139cff9f0
Bug 9180 - Default local SR on XenServer won't be used
...
- Update the diskoffering for system VMs to change the value of use_local_storage, when the global config 'system.vm.use.local.storage' is changed.
2011-03-31 23:05:50 -07:00
anthony
513236b100
bug 9161: better fix
2011-03-31 18:23:32 -07:00
anthony
f3fbe7b9fe
bug 9161: findByOutstandingWork means find all works with step not equal Done
2011-03-31 18:01:42 -07:00
Kelven Yang
ea95ac1808
bug 8713 : finalize the implementation of supporting system vm pooling
2011-03-31 17:14:09 -07:00
alena
5f4054325a
bug 9248: generate events on service/diskOffering create/update/delete
...
status 9248: resolved fixed
2011-03-31 16:32:07 -07:00
anthony
2c85092316
bug 9161: better fix
2011-03-31 18:24:57 -07:00
anthony
afd7adc775
bug 9161: findByOutstandingWork means find all works with step not equal Done
2011-03-31 18:03:59 -07:00
alena
703537d222
bug 9248: generate events on service/diskOffering create/update/delete
...
status 9248: resolved fixed
2011-03-31 16:30:11 -07:00
alena
7e7c647dea
bug 9245: save ownerAccountId (instead of callerAccountId) to account_id field in async_job table. We already save caller info to user_id field
...
status 9245: resolved fixed
2011-03-31 15:31:27 -07:00
alena
2af8b32d31
bug 9245: save ownerAccountId (instead of callerAccountId) to account_id field in async_job table. We already save caller info to user_id field
...
status 9245: resolved fixed
2011-03-31 15:27:35 -07:00
anthony
db351f8cba
bug 9249: use interval type , not snapshot type
...
status 9249: resolved fixed
2011-03-31 13:55:34 -07:00
anthony
47eb018975
bug 9249: use interval type , not snapshot type
...
status 9249: resolved fixed
2011-03-31 13:51:09 -07:00
kishan
9a29e1d926
Added missing semi-colon and corrected usage unit test error messages
2011-03-31 18:16:44 +05:30
alena
eb696ab0ce
bug 9195: don't return domR/SSVM/CPVM volumes in listVolumes api response
...
status 9195: resolved fixed
2011-03-30 16:33:45 -07:00
alena
6d7f3da46a
For VirtualRouter apply networkThrottling rate of the GuestNetworkOffering to both Guest and Public networks.
2011-03-30 14:53:04 -07:00
alena
bb31bc779f
For VirtualRouter apply networkThrottling rate of the GuestNetworkOffering to both Guest and Public networks.
2011-03-30 14:49:15 -07:00
alena
a1a2717811
bug 9192: don't query for securityGroups when Vm's zone is security group disabled.
...
status 9192: resolved fixed
2011-03-30 09:40:45 -07:00
alena
eccef7022c
bug 9192: don't query for securityGroups when Vm's zone is security group disabled.
...
status 9192: resolved fixed
2011-03-30 09:39:29 -07:00
Prasanna Santhanam
41e7642825
don't do a cidr check for the simulator
2011-03-30 19:41:13 +05:30
Murali Reddy
1b251a5fc8
Bug 4061: support for Microsoft Hyper-V changes- part 1
2011-03-30 18:48:51 +05:30
Prasanna Santhanam
d431f70447
moving simulator classes to premium
2011-03-30 14:00:50 +05:30
Prasanna Santhanam
29ef62f795
refactoring the simulator for 2.2
2011-03-30 14:00:50 +05:30
kishan
e276d3b7fb
bug 7631: Convert unprocessed events to usage_events
...
status 7631: resolved fixed
2011-03-30 11:19:04 +05:30
kishan
f06972b180
bug 7631: Convert unprocessed events to usage_events
...
status 7631: resolved fixed
2011-03-30 11:09:21 +05:30
alena
c1db5aea31
Fixed NPE in listVirtualMachines command - when search for ROOT volume's storagePool type, assume that corresponding storagePool might be removed.
2011-03-29 20:21:26 -07:00
alena
dadab81721
Fixed NPE in listVirtualMachines command - when search for ROOT volume's storagePool type, assume that corresponding storagePool might be removed.
2011-03-29 20:17:49 -07:00
alena
90ec1dcd33
Allow to add Untagged network ranges to public virtual network in Basic zone
2011-03-29 19:44:12 -07:00
alena
efd4cfa297
bug 9201: listNetworkOfferings - return -1 when network_rate is Unlimited; if value is NULL - return global configuration value
...
status 9201: resolved fixed
2011-03-29 19:26:20 -07:00
alena
aab78874c7
bug 9201: listNetworkOfferings - return -1 when network_rate is Unlimited; if value is NULL - return global configuration value
...
status 9201: resolved fixed
2011-03-29 19:21:25 -07:00
alena
f04f2ab10c
bug 9192: More improvements to listVm performance - cache dataCenter/serviceOffering/Network/Template/Iso information on Api level
...
status 9192: resolved fixed
2011-03-29 19:18:30 -07:00
alena
2af46789cb
bug 9192: multiple improvementes to listVms command.
...
1) No longer do multiple searches involving "domain" table; only one join with domain is being done.
2) Do join with domain table only when command is executed by domainAdmin
3) Added index for "path" field in "domain" table
4) No longer do joins with account table as account_id is already present in vm_instance table.
2011-03-29 19:18:30 -07:00
Kelven Yang
64148f46f4
bug 8713: supporting structures for SSVM load management
2011-03-29 18:52:54 -07:00
alena
9f3f99f27f
bug 9192: More improvements to listVm performance - cache dataCenter/serviceOffering/Network/Template/Iso information on Api level
...
status 9192: resolved fixed
2011-03-29 18:42:44 -07:00
alena
46a80a599a
bug 9192: multiple improvementes to listVms command.
...
1) No longer do multiple searches involving "domain" table; only one join with domain is being done.
2) Do join with domain table only when command is executed by domainAdmin
3) Added index for "path" field in "domain" table
4) No longer do joins with account table as account_id is already present in vm_instance table.
2011-03-29 18:42:44 -07:00
anthony
f71986125a
bug 9210: remove storage pool entry if adding storage pool fails
...
status 9210: resolved fixed
2011-03-29 17:44:55 -07:00
Kelven Yang
0788d4a834
bug 8713 : cleanups
2011-03-29 15:10:34 -07:00
Kelven Yang
2e24a68f7f
bug 8713: use SystemVmLoadScanner for SSVM
2011-03-29 15:10:34 -07:00
Edison Su
ee3d6f5cea
bug 9205: resolved fixed
...
status 9205: fix NPE in usageEvent
2011-03-29 15:00:35 -04:00
alena
7ce9845fb7
No need to check if user vm exists during static nat port range creation. We already do it when enableStaticNat for the ip address
2011-03-29 13:46:18 -07:00
Edison Su
a7953c1e7a
bug 9205: resolved fixed
...
status 9205: fix NPE in usageEvent
2011-03-29 14:57:16 -04:00
Kelven Yang
8e727230ce
Use SystemVmLoadScanner for console proxy VMs
2011-03-29 11:19:01 -07:00
anthony
436dccb6d7
bug 9189: fixed it in master, modifystoragepool doesn't try to create/import any more, will port it to 2.1.x
2011-03-28 19:11:20 -07:00
Kelven Yang
2e284e1f75
Add system VM load scaner
2011-03-28 18:44:48 -07:00
will
a959726f38
bug 9200: Fixed issue when attempting to change the service offering of a VM who's current service offering has been deleted.
2011-03-28 18:15:13 -07:00
alena
f8a1278a80
Don't return rate_limit for the network offering when the limit value is NULL
2011-03-28 17:24:17 -07:00
alena
65a083b1db
bug 8831: no need for "isdedicatedtodomain" and "dedicateddomainid" parameters. If 1) network is private, return account/domainId 2)If network is shared for specific domain, return domainId only 3) If network is shared in zone, don't return account/domainId
...
status 8831: resolved fixed
2011-03-28 16:54:09 -07:00
Frank
bd3531b374
Bug 8208 - bare metal provisioning
...
exclude baremtal when handleTemplateSync
2011-03-28 16:45:55 -07:00
alena
d3357c6691
Set network limit to be 0 by default for Control/Management/Storage/Public networks (these networks are used by SSVM/ConsoleProxy/domR)
2011-03-28 15:48:11 -07:00
alena
5dec433529
bug 9188: remove all lb-vm DB mapping that are set with Revoke status after the LB rule is set on the backend
...
status 9188: resolved fixed
2011-03-28 15:48:11 -07:00
Kelven Yang
fa0dd8a228
Allow cluster management confliction detection to handle quick manageemnt server restarts
2011-03-28 15:14:51 -07:00
anthony
045b6ac319
bug 9184: allow detach a volume when the VM is in Destroyed status
...
status 9184: resolved fixed
2011-03-28 14:46:54 -07:00
anthony
8712334ae2
bug 9161:
...
add more log
2011-03-28 14:46:54 -07:00
alena
5d195b35c2
bug 9186: removeFromLoadBalancer - set firewall rule state to Add when the last Vm-LB mapping is removed
...
status 9186: resolved fixed
2011-03-28 13:20:05 -07:00
alena
fdf0f589af
bug 8902: added Removed field to "cluster" table
...
status 8902: resolved fixed
2011-03-28 10:50:09 -07:00
Alex Huang
b2eda8c71b
Changes to the planners
2011-03-28 09:48:33 -07:00
alena
8c61e10c08
bug 9158: introduced new parameter "storageId" to listVirtualMachines api.
...
status 9158: resolved fixed
1) Works for admins only
2) When specified, list only vms that have volumes on this storage
2011-03-25 18:26:59 -07:00
nit
ded1184548
bug 8710: Introducing a new user role in cloudstack called RESOURCE_DOMAIN_ADMIN. The role would have all the domain_admin rights and the rights to list zone,pods,clusters and so on. More info in the bug
2011-03-25 18:04:09 -07:00
alena
bb895a7b75
bug 8103: don't allow to remove host if it has Running/Stopping/Starting vms
...
status 8103: resolved fixed
2011-03-25 17:29:54 -07:00
alena
a8cc285ca9
bug 8934: set correct guest_type for default Xen Centos template. DB upgrade script is also updated.
...
status 8934: resolved fixed
2011-03-25 16:05:06 -07:00
alena
1932652125
bug 5912: Added events and logging for securityGroup create/delete
...
status 5912: resolved fixed
2011-03-25 15:23:18 -07:00
alena
92f01ba143
2.1.x to 2.2.2 upgrade for Domain level vlans
2011-03-25 15:23:18 -07:00
Kelven Yang
359dc18992
Fix possible duplicated JMX registration issue
2011-03-25 15:16:41 -07:00
Alex Huang
9d158dc060
Removed the async create status for volume now that our customers don't use it
2011-03-24 20:04:23 -07:00
alena
304d1cbb55
2.1.x to 2.2.2 DB ugrade - convert account specific vlans to account specific networks
2011-03-24 19:12:33 -07:00
alena
745aa1d66a
bug 8448: generate Alert when vm is scheduled for HA
...
status 8448: resolved fixed
2011-03-24 17:37:18 -07:00
alena
0c9e80eeab
bug 8976: don't allow to delete pod when it has clusters
...
status 8976: resolved fixed
2011-03-24 17:10:01 -07:00
Frank
cdaa1edfa5
Bug 8208 - bare metal provisioning
...
Set dhcp range of linmin DHCPD to empty, so it will not conflict with
our External DHCP
2011-03-24 16:50:23 -07:00
alena
237c57e74f
bug 9146: createNetwork via 8096 - assume that network is domain specific when domainId is not null and isShared = true.
...
status 9146: resolved fixed
2011-03-24 16:04:12 -07:00
alena
2f782305fd
bug 8897: allow to delete a zone when it has alerts
...
status 8897: resolved fixed
2011-03-24 15:00:17 -07:00
alena
a2619b902f
AssociateIPAddress - first IP associated with the network should always be a source nat
2011-03-24 14:25:20 -07:00
alena
dee2e59fb3
bug 8798: delete zone is fixed
...
status 8798: resolved fixed
2011-03-24 13:32:31 -07:00
alena
cced97c5fb
ipAssoc - verify that ip owner is the same as the owner of the network we are assigning ip to
2011-03-24 13:32:31 -07:00
Frank
8aa0ab99da
Bug 8208 - bare metal provisioning
...
Start vm on last stayed host if vm has lastHostId
2011-03-24 12:56:56 -07:00
prachi
514321cadf
Bug 6873: disable/enable mode for clusters (and pods and zones and hosts)
...
Fixed problems in setting default 'allocation_state'. It is now set to 'Enabled' by default if not provided in the API command.
2011-03-24 12:54:51 -07:00
Frank
6be5a9a3a9
Bug 8208 - bare metal provisioning
...
Don't ask secondary storage VM to download baremetal template.
Immediately make baremetal template ready after registerTemplateCmd
as well as listTemplateCmd
Use zone id instead of secondary storage VM id to identify baremetal
template in template_host_ref table
2011-03-24 12:15:08 -07:00
Edison Su
c93abe014c
fix listsecuritygroup
2011-03-24 11:08:00 -04:00
prachi
50244b79ab
Zone check in createNetwork for Bug 6873 - disable/enable mode for clusters (and pods and zones and hosts)
2011-03-23 22:20:53 -07:00
prachi
923f562aa8
Bug 6873: disable/enable mode for clusters (and pods and zones and hosts)
...
- Added a new flag 'allocation_state' to zone,pod,cluster and host
- The possible values for this flag are 'Enabled' or 'Disabled'
- When a new zone,pod,cluster or host is added, allocation_state is 'Disabled' by default.
- For existing zone,pod,cluster or host, the state is 'Enabled'.
- All Add/Update/List commands for each of zone,pod,cluster or host can now take a new parameter 'allocationstate'
- If 'allocation_state' is 'Disabled', Allocators skip that zone or pod or cluster or pod.
- For a root admin, ListZones lists all zones including the 'Disabled' zones. But for any other user, the 'Disabled' zones are not included in the response.
- For any usecase that creates/deploys/adds/registers a resource and takes in zone as parameter, now we check if the Zone is 'Disabled'. If yes then the operation cannot be performed by a user other than root-admin. Add volume, snapshot, templates are examples of this usecase.
- To enable the root admin to test a particular pod/cluster/host, deployVM command takes in 'host_id' parameter that can be passed in only by root admin.
If this parameter is passed in by the admin, allocators do not search for hosts and use that host only. StoragePools are searched in the cluster of that host.
If VM cannot be deployed to that host, allocators and deployVM fails without retrying
2011-03-23 22:15:35 -07:00
anthony
d2dc0a504b
put host into maintenance, if the VM can not migrate, just stop it
2011-03-23 16:50:59 -07:00
Kelven Yang
1c9196f9af
add vncPassword on hypervisor back
2011-03-23 16:18:22 -07:00
alena
bbc5bdd83b
Fixed NPE in diskOffering creation
2011-03-23 15:53:46 -07:00
Alex Huang
1a12b3a3de
system template upgrade
2011-03-23 15:45:39 -07:00
Alex Huang
b75a23b285
added support for 2.1.8 and 2.2.2 upgrade
2011-03-23 15:29:17 -07:00
anthony
bc0968d900
check the object before use it
2011-03-23 14:54:31 -07:00
Kelven Yang
1abbc007ba
bug 8954: only root admin can access console proxy, SSVM and DomR
2011-03-23 14:46:34 -07:00
alena
8de3bacd2b
bug 9026: added ability to turn off apiCommand/commandParameter for docGeneration
...
status 9026: resolved fixed
1) Don't expose following commands in doc:
* registerSSHKeyPair
* createSSHKeyPair
* deleteSSHKeyPair
* listSSHKeyPairs
2) Don't show "sshKeyPairName" parameter for deployVm command
2011-03-23 12:56:58 -07:00
alena
7dce8412e4
Fixed API xml doc generation
2011-03-23 12:12:29 -07:00
Kelven Yang
14faff534d
validate CPU speed in system service offering to auto-correct settings from old data set
2011-03-22 15:37:09 -07:00
anthony
41e75ab611
bug 9107: don't allow move volume if there are snapshot policy or snapshot on this volume
...
status 9107: resolved fixed
2011-03-22 14:40:21 -07:00
alena
404b288af4
Throw an exception when can't find network offering during zone creation
2011-03-22 14:06:14 -07:00
alena
718386a2b6
bug 8862: added updateNetwork api command. Can update name/displayText only
2011-03-22 11:26:56 -07:00
anthony
7f12876be1
bug 9087: destroy the source volume, after update the volume entry
...
status 9087: resolved fixed
2011-03-22 11:23:36 -07:00
Frank
8ac36a980c
Use Long type for version comparsion
2011-03-22 11:07:11 -07:00
alena
05be5acfda
bug 9066: don't allow enabling ha for vm created from Ha disbled service offering
...
status 9066: resolved fixed
2011-03-22 10:46:10 -07:00
alena
8906b77e19
bug 9097: default admin email is NULL. It can be reset later with updateUser API.
...
status 9097: resolved fixed
2011-03-22 10:25:13 -07:00
alena
e9a10c53dc
bug 8831: added 2 new parameters to create/listNetworks api: "isdedicatedtodomain" and "dedicateddomainid"
2011-03-22 10:17:08 -07:00
Alex Huang
e2a1057e17
domr restarted
2011-03-22 09:31:37 -07:00
alena
7c1a6e4884
bug 8831: API/Management server part is done for "Dedicate Network to domain". UI part is left
2011-03-21 18:17:59 -07:00
Alex Huang
109c4eae0e
restarting domr is close to working
2011-03-21 17:56:00 -07:00
Kelven Yang
b264866d2e
Perform and alert management.network.cidr configuration on management server startup
2011-03-21 16:46:43 -07:00
Frank
617ef5c178
Bug 8208 - bare metal provisioning
...
set pod to external dhcp server when adding external dhcp server
2011-03-21 16:39:49 -07:00
anthony
d0320896f3
fixed set_dhcp_entry issue, don't need to lock an router entry, start function will handle concurrent starting domr
2011-03-21 15:19:09 -07:00
alena
abb2e2b2ff
bug 8831: partial checkin for Domain specific Networks (includes DB changes)
2011-03-21 15:05:07 -07:00
Frank
b1d53893d7
Fix typo in ClusterDaoImpl.ZoneHyTypeSearch
2011-03-21 14:30:44 -07:00
Kelven Yang
7168278455
Console access API with API key, there is an issue that it actually depends on existing web session. This is the fix for it
2011-03-21 11:28:31 -07:00
Frank
d5abb202ec
Bug 8208 - bare metal provisioning
...
don't inherit from firstFitPlanner, using our baremetal planner
2011-03-21 10:48:21 -07:00
alena
505848bbbe
Fixed unittest
2011-03-21 10:29:11 -07:00
Alex Huang
d7e0f8dcc1
db upgrade
2011-03-19 10:33:13 -07:00
Alex Huang
82f7504832
checking in the upgrade stuff for now
2011-03-19 09:27:10 -07:00
alena
729595d005
bug 9050: fixed create/deleteVlanRange generation
...
status 9050: resolved fixed
2011-03-18 18:12:52 -07:00
alena
2027aa9a8a
bug 9044: don't cleanup vm resources if the vm is already expunged
...
status 9044: resolved fixed
2011-03-18 18:12:52 -07:00
prachi
8da874ca0b
Fixed the NPE at RecreateHostAllocator found when a Pod with no cluster was present in the system.
2011-03-18 18:08:47 -07:00
Frank
b4e18b7fbe
Bug 8208 - bare metal provisioning
...
use hostTags in addHostCmd
2011-03-18 18:04:34 -07:00
anthony
2b188b37dd
fixed start management server
2011-03-18 16:43:51 -07:00
alena
a27c4881ea
bug 7424: 0 value for network.throttling.rate global config param indicates that network throttling is disabled
...
status 7424: resolved fixed
2011-03-18 15:23:03 -07:00
anthony
28cfa24bd2
only 2.1 snapshot depends on template, if there is no 2.1 snapshot, template can be removed
2011-03-18 15:20:48 -07:00
prachi
5bbffcaa97
Changes to add 'cluster_id' to 'op_host_capacity' table for Db upgrade from 222 to 224
2011-03-18 12:14:48 -07:00
Alex Huang
639a8aca9d
new 222 to 224 missing file
2011-03-18 11:00:37 -07:00
Alex Huang
8723727de1
added 2.2.2 to 2.2.4
2011-03-18 10:41:58 -07:00
Alex Huang
093fa851fa
made the upgrade utility work with the current version
2011-03-18 10:06:38 -07:00
Alex Huang
d3ecf719ce
looks like everything is working except for snapshots
2011-03-18 09:14:05 -07:00
anthony
25d1a8dc4a
bug 8993: throw exception if creating snapshot on primary storage fails it may be due to previous creation desn't finish
...
status 8993: resolved fixed
2011-03-17 19:17:44 -07:00
Kelven Yang
65d4cc98be
Allow template re-deployment once template is deleted from hypervisor and CloudStack still holds out-dated status
2011-03-17 17:59:51 -07:00
alena
8d44058010
Fix for PF/LB 2.1.7 to 2.2.2 upgrade
2011-03-17 17:49:59 -07:00
anthony
8e741fb80d
bug 9024:
...
two issues here:
1. in some case, two sequent commands are sent out at the same time.
2. before starting a user VM , make sure domr is up
status 9024: resolved fixed
2011-03-17 17:30:19 -07:00
alena
96e83fe97f
bug 8146: Elastic IP support in Basic zone.
...
Following was done as a part of checkin:
1) NetworkOffering/Network:
* add PF service support for default Guest network offering.
* Add one more additional network - Public.
* Allow to enable external firewall in Basic zone.
2) Don't allow to deployVm in Public Network.
3) Allow to add vlan ip ranges to Public networks in Basic zone.
4) Associate IP - allow to associate with Direct vms.
5) Allow to create PF/Static nat rules. Rules are being sent to External Firewall Rule only.
6) Add PF support to External Firewall element.
2011-03-17 17:19:36 -07:00
will
ae549ed4d1
bug 8208: Added first addHost dialog to take into account baremetal requirements in the resource page.
...
- Standardized the addHost optional parameters for baremetal.
2011-03-17 16:29:31 -07:00
alena
10077be555
DB upgrade for LB rules
2011-03-17 11:52:23 -07:00
will
eb2a3d6f8e
bug 8208: Added support for adding baremetal clusters and baremetal templates.
2011-03-17 11:31:36 -07:00
Alex Huang
57cfdb8092
make 2.2.1 to 2.2.2 upgrade work
2011-03-17 10:42:48 -07:00
Alex Huang
b18b2a68b1
fixed unit test
2011-03-17 10:40:59 -07:00
alena
7eb20f8133
DB upgrade for port forwarding rules
2011-03-16 18:19:02 -07:00
Alex Huang
d50f2dd9c5
added the concept of system integrity checking before starting up the system
2011-03-16 18:00:22 -07:00
Alex Huang
8bec1e0b9f
added the concept of system integrity checking before a system starts
2011-03-16 17:59:34 -07:00
alena
579a9294bf
Removed vm_type update in DB 217 to 221 upgrade
2011-03-16 15:57:41 -07:00
alena
6be1681647
DB upgrade for Basic zone: upgrade domR/ssvm/consoleProxy nics
2011-03-16 14:14:14 -07:00
alena
95faeb620e
bug 8863: generate usage event when PF/LB/StaticNat rule is set with Revoke status, not when it's actually removed on the backend.
...
status 8863: resolved fixed
2011-03-16 09:41:50 -07:00
prachi
2076eec42b
Changes for Bug 8997 - Fail to create volume from snapshot: NPE at "allocateToPool(FirstFitStoragePoolAllocator.java:63)
...
- ClusterId passed in could be null
2011-03-15 18:40:33 -07:00
alena
63593c5057
bug 8510: increment resource count for volume after it's created
2011-03-15 18:06:00 -07:00
alena
7b5d7806d2
bug 8510: update resource count for template after the DB record is created. Decrement it if actual snapshot creation fails
2011-03-15 17:29:23 -07:00
alena
82f25426e7
domR start: program vm metadata even when userData is NULL
2011-03-15 17:29:23 -07:00
anthony
ebba4d9420
bug 8480: allow multiple hosts in maintenance mode
...
status 8480: resolved fixed
2011-03-15 16:35:01 -07:00
Chiradeep Vittal
8d791777db
Introduce zone (datacenter) details
2011-03-15 15:44:36 -07:00
Frank
d297eea96f
Bug 8208 - bare metal provisioning
...
do fullsync in baremetal resource
2011-03-15 15:29:52 -07:00
alena
d2f92f1c76
bug 8973: Create Virtual Guest network as a part of deployVm if corresponding networkOffering has availability=Required and no networkIds are specified
...
status 8973: resolved fixed
2011-03-15 15:06:52 -07:00
alena
d3f04b2b38
bug 8945: introduced "default.page.limit" config param (default value is 500). Used for pagination in API list* commands.
...
status 8945: resolved fixed
2011-03-15 15:06:52 -07:00
Alex Huang
397b338f09
cp ugprade done
2011-03-15 15:03:13 -07:00
Alex Huang
d2f61b00f3
ssvm ugprade done
2011-03-15 14:57:12 -07:00
Alex Huang
9b173d10d0
ssvm ugprade done
2011-03-15 14:47:09 -07:00
Kelven Yang
aef7a0771e
add long when default route is going to be changed
2011-03-15 12:11:54 -07:00
alena
68219eba31
Fixed create vlan range for Account - pick source nat ip address from account specific vlan
2011-03-15 10:23:40 -07:00
nit
a83c4256f1
AlertManager should check primary storage stats as well
2011-03-14 21:27:26 -07:00
nit
f88fb1e505
bug 8887 : Stats Calculation Improvement - Storage stats wont update DB anymore and would be kept "in memory" just like other stats. For the listCapacityCmd which consumes it (sec. storage used and primary storage used) this would be constructed using the in memory maps rather than DB which wont have sec storage and primary storage used in the DB anymore.
2011-03-14 18:45:00 -07:00
Frank
ffb900fc86
Bug 8208 - bare metal provisioning
...
Add useExternalDhcp option to createPodCmd
2011-03-14 16:42:59 -07:00
alena
bf1aae8413
bug 8730: perform permission check when listSshKeyPair
...
status 8730: resolved fixed
2011-03-14 16:03:25 -07:00
alena
1b880da804
bug 8728: deleteSshKey - make account permission check
...
status 8728: resolved fixed
2011-03-14 15:46:01 -07:00
alena
c32198838f
bug 8724: can create sshKeyPair in behalf of other users now
...
status 8724: resolved fixed
2011-03-14 15:37:50 -07:00
alena
aa8183e660
bug 8749: make account permission check in getVmPassword api
...
status 8749: resolved fixed
2011-03-14 15:27:04 -07:00
alena
1cf735c537
bug 8968: use search criteria when list security group by id
...
status 8968: resolved fixed
2011-03-14 13:45:11 -07:00
Kelven Yang
458998c609
bug 8960: add management.netaddr.cidr to CPVM and SSVM
2011-03-14 11:24:25 -07:00
alena
7b9b897459
Fixed the issue when admin can't deploy vm in behalf of another user. We were passing caller to deployVm always.
2011-03-14 11:08:59 -07:00
prachi
ed9a11c6b6
API changes for Bug 3316 - Manual live migration of Virtual Machines
...
This is a Root admin only functionality
---------------------
Service API changes:
---------------------
- ManagementServer will expose new API:
Pair<List<HostVO>, List<Long>> listHostsForMigrationOfVM(UserVm vm, Long
startIndex, Long pageSize)
The API returns list of all hosts in the VM's cluster minus the current host and also a list of hostIds that seem to have enough CPU and RAM capacity to host this VM.
- ListHostsCmd will call this service API if virtualmachineid is present in the request.
- MigrateVmCmd is the new command added that takes in virtualmachineid and destination hostid
- UserVmService will expose a new API: UserVm migrateVirtualMachine(UserVm vm, Host destinationHost)
------------------------------------
API throws error in following cases:
------------------------------------
- User is not a root Admin. (‘Permission denied’)
- A VM uses local storage, we cannot migrate it, so ‘listHosts’ will throw error.
- We fail to migrate the VM on the chosen host.
- API will support migration for XenServer only currently. So error is thrown
if hypervisor is not XenServer (e.g KVM, vSphere etc)
- Destination host is not in same cluster as source host.
- VM is not in running state
2011-03-11 17:49:53 -08:00
Alex Huang
b6f4ff33ca
domr upgraded
2011-03-11 16:53:01 -08:00
alena
346ca43714
bug 6892: update resourceCount for snapshot after the DB record is created; if snapshot fails to create on the backend - reduce resource count
...
Also fixed couple of other issues:
* usage event generation - generate event only when snapshot is created on primary and backed up on secondary
* zoneId was always set to 0 for snapshot.delete event, fixed this.
* Fixed resource_count decrement for manual snapshot deletion
2011-03-10 18:03:06 -08:00
Alex Huang
09d5bcc59c
direct network and ip address are ready
2011-03-10 15:58:40 -08:00
Kelven Yang
14c0eb74a0
Use the correct one to find ManagementServerHostVO
2011-03-10 15:32:58 -08:00
alena
4423e4d174
bug 8867: cidr is required for Direct network creation; remove this limitation later after we allow Shared network to have multiple ip ranges having different Cidrs
...
status 8867: resolved fixed
2011-03-10 14:40:35 -08:00
alena
3448513465
bug 8666: perform RFC1918 check for cidr of Guest Virtual cidr when 1) Create/Update zone 2) Create guest virtual network
...
status 8666: resolved fixed
2011-03-10 14:06:43 -08:00
Alex Huang
7b3a1e129f
nics are retrieved from user vms
2011-03-10 13:46:33 -08:00
alena
dee3aefecf
bug 8508: assign source nat ip address only during network implementation.
...
status 8508: resolved fixed
2011-03-10 13:34:35 -08:00
alena
5a44e03764
bug 8844: default and Public disk offerings have NULL domainId (to be consistent with serviceOfferings)
...
status 8844: resolved fixed
2011-03-10 12:10:55 -08:00
alena
975344a3ff
bug 8688: Network created from the networkOffering with Availability="Required" is required during the vm deployment in Advanced nonSecurityGroupEnabled zone
...
status 8688: resolved fixed
2011-03-10 11:27:17 -08:00
alena
e89fc252f2
bug 8851: Guest Virtual Network can't be shared
...
status 8851: resolved fixed
2011-03-10 10:35:52 -08:00
Kelven Yang
6b8f073f99
Fix issues for management server ping support in cluster management
2011-03-10 10:32:17 -08:00
anthony
7d7dee791a
bug 7877: prevent two mgmt servers connecting to one same host
...
status 7877: resolved fixed
2011-03-09 18:29:42 -08:00
alena
37d9b5ab50
bug 8849: Don't allow create Guest Virtual and Direct shared networks in Security Group enabled zone
...
status 8849: resolved fixed
2011-03-09 18:17:01 -08:00
alena
df3704e360
bug 8861: introduced optional zoneId parameter to listNetworkOfferings command
...
status 8861: resolved fixed
2011-03-09 18:05:53 -08:00
Alex Huang
851c3344fc
database upgrade
2011-03-09 17:56:11 -08:00
Alex Huang
e81f02f9b5
more changes for direct networks
2011-03-09 17:56:11 -08:00
Alex Huang
f1d01d5b77
user ip address for virtual network is done migrated
2011-03-09 17:56:11 -08:00
Kelven Yang
6203ba6bfe
bug 8558: improve cluster management
2011-03-09 17:18:48 -08:00
alena
b6ae35728e
bug 8816: 1) return linkLocal instead of private ip/netmask/mac in listRouters 2) return linkLocal/private ip/netmask/mac in listSystemVms response
2011-03-09 16:47:46 -08:00
alena
b5a36df966
listPublicIpAddresses - when do search by keyword, apply keyword to account search
2011-03-09 16:24:28 -08:00
alena
4f4683ec93
bug 8937: throw an Exception when fail to reapply Firewall rules as a part of network Implement
...
status 8937: resolved fixed
2011-03-09 16:24:28 -08:00
prachi
b9646afd48
Adding log statement in allocator while skipping a storagepool if it crosses the storage.capacity.threshold
2011-03-09 15:34:53 -08:00
Edison Su
96bb6a7b7c
fix NPE that template was deleted
2011-03-09 15:27:06 -05:00
prachi
34836aaaa5
Merging 2.1.8 fix to master : Bug 8801 - reserve some space for snapshots
...
StoragePoolAllocators need to respect storage.capacity.threshold in allocations - this was broken after StatsCollector started maintaining the primary storage Stats separately
Fixed allocator to refer the correct in-memory stats map.
2011-03-09 13:46:25 -08:00
alena
0c04007e04
bug 8734: search by keyword in listPublicIpAddresses command
...
status 8734: resolved fixed
2011-03-09 13:32:36 -08:00
alena
5129df106b
bug 8847: createUser api - "account" parameter is required now
...
status 8847: resolved fixed
2011-03-09 10:21:50 -08:00
Edison Su
670afd2331
bug 8875: add new management cidr configuration for vmware: if there are multiple management servers, each of them may talk to domR, so that means domR needs to know the routing to all the mgt servers.
...
status 8875: resolved fixed
2011-03-09 10:20:05 -05:00
Edison Su
ccab6c21c4
fix bug when one of template was deleted, then delpoyvm, got NPE
2011-03-09 10:20:05 -05:00
prachi
3624fee85d
Changed the interface in StoragePoolAllocator to avoid a potential NPE in LocalStoragePoolAllocator. Allocators were taking in an instance of VM enclosed inside VirtualMachineProfile.
...
However in case of createVolume from Snapshot, there is no VM associated. So VM passed is null and this can cause a NPE.
Allocators hardly use the VM instance. LocalStoragePoolAllocator was mainly using it for checking if host has capacity. But it need not do this check, since that is done by HostAllocators anyway.
So removing the use of VM in StoragePoolAllocators.
2011-03-09 10:12:04 -08:00
alena
7668e1878a
bug 8898: allow service offering upgrade for Running vm
2011-03-09 10:03:26 -08:00
alena
e25fbe3a89
bug 8885: enableAccount - account/domainID are required parameters now
...
status 8885: resolved fixed
2011-03-09 09:31:39 -08:00
alena
a50950bbef
221 to 222 DB upgrade for InstanceGroup. Unit test is included
2011-03-09 08:34:08 -08:00
anthony
c013d0a6c6
fixed unit test
2011-03-08 20:04:28 -08:00
anthony
5781aafdcb
fixed upgrade unittest
2011-03-08 18:24:11 -08:00
Frank
469280866d
Bug 8208 - bare metal provisioning
...
able to add external DHCP server
2011-03-08 17:29:33 -08:00
anthony
b32e8f23a6
bug 8712: since we add multiple concurrent policy back in 2.2.3, we only support upgrade from 2.1.7 to 2.2.3, otherwise some policies will be removed silently
...
need test this upgarde
2011-03-08 17:10:27 -08:00
anthony
5b1a421e62
bug 8712: prepare from snapshot db migration
2011-03-08 17:10:27 -08:00
Kelven Yang
33b3333d65
Add JMX support to async job management, active job details will be checked in jConsole
2011-03-08 16:34:17 -08:00
nit
47882e9809
bug 7433: In case of multiple zones deleting a tempate from a zone doesn't prevent a user from selecting it to deploy the VM in the same zone. It was still visible in the listTemplates. Made change to check for template_zone_ref and template_host_ref removed and destroyed columns. During deployVM disallow a vm to be deployed from a template that has been removed in the zone.
2011-03-08 15:41:10 -08:00
alena
fe267c2cb2
Basic zone 221 to 222 DB upgrade. Unit test is included
2011-03-08 15:32:55 -08:00
Frank
6c819c1491
Merge branch 'bareMetal'
...
Conflicts:
api/src/com/cloud/api/ApiConstants.java
api/src/com/cloud/api/commands/DeployVMCmd.java
api/src/com/cloud/offering/ServiceOffering.java
api/src/com/cloud/vm/UserVmService.java
client/tomcatconf/components.xml.in
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/service/ServiceOfferingVO.java
server/src/com/cloud/vm/UserVmManagerImpl.java
server/src/com/cloud/vm/VirtualMachineManagerImpl.java
2011-03-08 14:18:11 -08:00
Frank
20a7d95c06
Bug 8208 - bare metal provisioning
...
make an individual package and move to premium
2011-03-08 10:45:50 -08:00
Frank
5517046a66
Bug 8208 - bare metal provisioning
...
throw exception when pxe server is not per pod
2011-03-08 10:05:58 -08:00
alena
5842392ec1
bug 8146: Multiple network case (default network is Virtual) - for Direct networks dhcp servers set dns to the eth0 ip address of the domR belonging to virtualNetwork
...
bug 8146: resolved fixed
2011-03-07 19:56:25 -08:00
Kelven Yang
13c5a4ebcf
forget to add new files in
2011-03-07 19:43:37 -08:00
Kelven Yang
d0892a964d
Add JMX monitoring to cluster management
2011-03-07 18:40:33 -08:00
Alex Huang
35275c1615
added user ip address upgrade
2011-03-07 17:53:43 -08:00
alena
b20fafeaa4
bug 8874: rebootVm - don't try to implement already implemented network
...
status 8874: resolved fixed
2011-03-07 10:23:48 -08:00
alena
94fb0612f2
Fixed DB upgrade script - vm_type field can be NULL
...
Conflicts:
server/src/com/cloud/network/NetworkManagerImpl.java
2011-03-05 10:37:57 -08:00
Alex Huang
bda3264a77
networks are generated now from the domr
2011-03-04 18:07:26 -08:00
Alex Huang
f7ea6e17cd
break upgrade fix upgrade
2011-03-04 18:07:26 -08:00
Alex Huang
2d58d85a89
break upgrade fix upgrade
2011-03-04 18:07:26 -08:00
nit
7c127bf096
bug 8824: remove capacity entry when deleting secondary storage.
...
status 8824: resolved fixed
2011-03-04 17:40:43 -08:00
Kelven Yang
cbb5aa0e89
Allow to query management server node alive status
2011-03-04 17:39:26 -08:00
nit
f85ef91a8d
bug 8643: listCapacityCmd - Make the capacity calculation more optimal. Now the API wont recalculate the stats everytime its called. It would rely on the capacity checker thread running (configurable) every 5 mins to get the capacity. Change the initital delay of capacity check thread from 5 mins to 30 seconds so that we check capacity immediately as we log in.
...
status 8643: resolved fixed
2011-03-04 16:08:18 -08:00
Edison Su
6b6577d5e9
fix build on master
2011-03-04 15:22:30 -05:00
Edison Su
bec3f3c8a2
bug 8843: add vm into security group when vm is created
...
status 8843: resolved fixed
2011-03-04 13:04:44 -05:00
Alex Huang
263244c938
more logging
2011-03-04 11:37:35 -08:00
Alex Huang
40db230095
more changes for db upgrade
2011-03-04 11:09:24 -08:00
Edison Su
8eaa53f282
fix transaction rollback in security group listener, which cause state machine update failed
2011-03-04 10:58:24 -05:00
alena
e902e83d13
Fixed bug in xmlDocWriter: use "domain" parameter instead of "domainId" for "login" command
2011-03-04 10:31:58 -08:00
kishan
a61a92b0fe
bug 8675: Added action events for Domain commands
...
status 8675: resolved fixed
2011-03-04 16:59:19 +05:30
kishan
db7a0ddb75
bug 8672: Added action events for User commands
...
status 8672: resolved fixed
2011-03-04 16:45:49 +05:30
kishan
44ec214ad8
bug 8507: Generate usage event for empty snapshot
...
status 8507: resolved fixed
2011-03-04 16:01:58 +05:30
kishan
75def45063
bug 8536: Added delete volume usage event for Data volumes also when Vm goes to Error state
...
status 8536: resolved fixed
2011-03-04 15:38:07 +05:30
kishan
5df8e59132
bug 8098: Added destroy vm usage event when Vm goes to Error state
...
status 8098: resolved fixed
2011-03-04 15:30:06 +05:30
kishan
a560f59a2b
bug 8298: Avoid logging usage events for templates owned by system user
...
status 8298: resolved fixed
2011-03-04 14:36:57 +05:30
alena
715a929e91
Separate createVm methods for 1) vm in Basic zone 2) Vm with SecurityGroup in Advanced zone 3) Vm without SecurityGroup in AdvancedZone
2011-03-03 16:13:00 -08:00
Edison Su
9ad5139fda
fix delete security group rule
2011-03-03 13:44:48 -05:00
Alex Huang
4b09b69cb2
Basic network conversion
2011-03-03 11:06:49 -08:00
alena
f36ed9b51a
bug 8689: don't allow to reset Availability for default Direct network offering
...
status 8689: resolved fixed
2011-03-02 15:58:44 -08:00
alena
1025f16940
bug 8819: Don't allow upgrade system network offerings
...
status 8819: resolved fixed
2011-03-02 15:55:36 -08:00
alena
b3d27cbf17
bug 8689: default DirectNetworkOffering has availability=Optional
2011-03-02 14:26:28 -08:00
alena
b3ff533244
bug 8795: start domR after corresponding network is shutdown - implement network before starting the domR
...
status 8795: resolved fixed
Conflicts:
api/src/com/cloud/deploy/DeployDestination.java
2011-03-02 13:46:57 -08:00
abhishek
f0a74e6314
bug 8806: improvements to the flow; using group by to eliminate need for extra ds
2011-03-02 10:07:31 -08:00
abhishek
68aa8c4eb7
bug 8806: fixing list hypervisors
...
status 8806: resolved fixed
2011-03-02 08:45:26 -08:00
Alex Huang
f3b58a4b0a
removed a bunch of scripts that doesn't pass unittest
2011-03-02 00:16:54 -08:00
Alex Huang
d0a5816999
Added Premium upgrade
2011-03-01 23:47:36 -08:00
Frank
7fa053370e
Bug 8208 - bare metal provisioning
...
Add bare metal planner
2011-03-01 17:47:37 -08:00
Edison Su
53eb46dc2a
Add local storage support for kvm
2011-03-01 19:51:43 -05:00
alena
d764bf245b
Throw an error when fail to configure one of the nics for multiNic user Vm
2011-03-01 18:07:49 -08:00
Frank
ec7a6e6863
Bug 8208 - bare metal provisioning
...
Add LinMin username, password, apid fields in AddPxeServerCmd
2011-03-01 14:55:22 -08:00
Edison Su
c80335c9df
bug 8783: user vm fs is crashed, use O_DIRECT instead of O_DSYNC/O_SYNC in qemu, aka cache=none. Hope we can reduce the possibility of guest vm crashed.
...
status 8783: resolved fixed
2011-03-01 16:38:23 -05:00
abhishek
9345969543
bug 8796: adding another check in advanced zone with sec grp
2011-03-01 16:33:14 -08:00
abhishek
dbb03006b7
adding a migration step from 221 to 222 using alex's framework. this should only be used for alex's upgrade from 217 to 22, for 221 to 222 for 222 release, we still are providing the bash script for upgrade.
2011-03-01 16:00:14 -08:00
alena
a1e9f7d5c2
Return false when vm fails to stop
2011-03-01 14:45:39 -08:00
alena
a8e70cf9b4
bug 8763: Fixed account cleanup process - don't destroy networks when vm expunge failed
...
status 8763: resolved fixed
Conflicts:
server/src/com/cloud/user/AccountManagerImpl.java
2011-03-01 14:25:09 -08:00
Chiradeep Vittal
8ee2e311f1
bug 8380: use instance name
2011-03-01 14:07:30 -08:00
Chiradeep Vittal
ae1dc136c0
bug 8380: use instance name
2011-03-01 14:07:30 -08:00
Chiradeep Vittal
697b4f60db
bug 8380: use instance name status 8380: resolved fixed
2011-03-01 14:07:30 -08:00
Frank
35b7c26689
Bug 8208 - bare metal provisioning
...
able to start, stop, reboot, destroy VM
2011-03-01 11:40:40 -08:00
alena
24b57c5373
Regular user can create guest virtual network only
2011-03-01 10:46:25 -08:00
alena
0e032c5301
Fixed NPE in createVlanIpRange
2011-03-01 10:18:15 -08:00
alena
858578993f
Set specify_vlan=1 for Direct Network offering.
2011-03-01 10:01:58 -08:00
alena
f395005e0a
bug 8781: set dhcp/dns/userData providers to be DhcpServer in Basic zone; all other providers have to be null
...
status 8781: resolved fixed
2011-03-01 09:00:47 -08:00
kishan
65eaf27c5c
bug 8670, 8672: Added action events for account/user actions
...
status 8670: resolved fixed
2011-03-01 21:19:34 +05:30
abhishek
0ef191bed7
adding storage pool upgrade proc
2011-02-28 18:17:40 -08:00
Alex Huang
e3438d2ff0
upgrade data center is done.
2011-02-28 17:59:02 -08:00
prachi
c1f0aef550
More changes for Bug 7845 - Productize DeploymentPlanner
...
- After applying the User concentrated Pod heuristic, order of clusters within a pod (based on capacity) should remain intact
- Only change should be clusters of which pod to be considered first
2011-02-28 17:25:52 -08:00
alena
dd282f01e1
Fixed api xml generator - used to truncate some chars during api diff generation
2011-02-28 16:28:54 -08:00
alena
be76a51dbe
Api xml doc generator: define if command is sync or async in the xml doc
2011-02-28 16:28:54 -08:00
alena
7c7710c204
Allow network restart only for the networks in Setup and Implemented states.
2011-02-28 16:28:54 -08:00
anthony
cd27202a26
bug 8216: create volume from snapshot can take a disk_offering_id, if disk_offering_id is not specified, use the one from original volume
...
status 8216: resolved fixed
2011-02-28 16:28:41 -08:00
Alex Huang
8571d04034
unit testing is working again
2011-02-28 16:21:19 -08:00
Kelven Yang
2f5bacf980
bug 8768: merge fix in 2.2.2 to master
2011-02-28 15:59:21 -08:00
prachi
95c071e179
Bug 7845 - Productize DeploymentPlanner
...
The user concentrated pod heuristic should consider VMs for the given account that are in 'Running' or 'Stopped' state only.
2011-02-28 15:44:01 -08:00
Alex Huang
a517653adb
made changes
2011-02-28 14:37:30 -08:00
Alex Huang
ab3c719389
run the scripts
2011-02-28 14:37:30 -08:00
prachi
6a67bb1edb
More logging changes for
...
Bug 7845 Productize DeploymentPlanner
Bug 8317 Add better resource allocation failure messages
2011-02-28 13:47:52 -08:00
prachi
889827b63a
Bug 7845 - Productize DeploymentPlanner
...
Bug 7723 - merge or re-write host tagging into master / 2.2
Bug 7627 - Need more logging for Allocators
Bug 8317 - Add better resource allocation failure messages
Changes for Deployment Planner to use host and storagePool allocators to find deployment destination.
Also has the changes for host tag feature.
Improved the logging for allocators.
2011-02-28 13:47:51 -08:00
Edison Su
a7c6b9f28e
fix security group rules
2011-02-28 12:16:40 -05:00
Edison Su
0e90ede56a
don't break basic zone mode
2011-02-28 12:16:40 -05:00
Edison Su
8240ae7e8c
fix migration
2011-02-28 12:16:40 -05:00
Edison Su
b20808d223
minor fix
2011-02-28 12:16:40 -05:00
Edison Su
9b51886850
fix migration issue
2011-02-28 12:16:40 -05:00
Edison Su
2705adb3b1
security group is per bridge
2011-02-28 12:16:40 -05:00
alena
08a535ec87
bug 8772: implementNetwork - reapply all the network rules for corresponding network elements every time network is re-implemented
...
status 8772: resolved fixed
2011-02-28 11:27:02 -08:00
anthony
8658fbd1d4
fixed build
2011-02-28 10:32:52 -08:00
alena
62b3d548d6
bug 8753: never release public Ip address without ensuring that all corresponding resources (PF/StaticNat/Lb rules) are cleaned up.
...
Fixed couple of other problems along:
* when expunge PF/Static nat rules as a part of vmExpunge/IpRelease process, first mark all rules as Revoke, and then send commands to the backend. Group commands by Ip address.
Before we used to do Revoke/Send per rule basis.
* When release source nat rule, make sure that corresponding vpn (if exists) is being expunged.
2011-02-28 09:21:05 -08:00
alena
ec76406942
bug 8737: set entityOwnerId for all api commands including non-Async ones
...
status 8737: resolved fixed
2011-02-28 09:21:05 -08:00
anthony
1970161844
bug 8714: support paraleel recursive snapshot
...
snapshot doesn't depend on volume any more, volume can be removed even there are snapshots on this volume
status 8714: resolved fixed
2011-02-25 22:17:13 -08:00
Frank
cd676f481d
Bug 8208 - bare metal provisioning
...
Successfully add start entry into LinMin PXE server
2011-02-25 21:08:13 -08:00
Frank
a9728998ff
Bug 8208 - bare metal provisioning
...
Successfully add start entry into LinMin PXE server
2011-02-25 18:58:07 -08:00
Edison Su
ac8524da51
creating zone wide vlan is disabled if zone is security group enabled
2011-02-25 15:30:02 -05:00
Edison Su
1ccec531b7
list systemonly direct network if zone is security group enabled
2011-02-25 14:23:01 -05:00
abhishek
a84d34cc72
bug 8216: we do not need to create an event in createVolFromSnapshot(), as we do it in alloc vol
2011-02-25 12:00:27 -08:00
abhishek
bae62f844d
bug 8742,8216: reverting to use org vol's disk off id whilst creating vol from snapshot. Also changing event generation so that an event is generated @ data vol creation (as opposed to attaching to vm). we will correspondingly generate an event at data vol's deletion
2011-02-25 12:00:27 -08:00
Alex Huang
378a0da0df
more unittest support
2011-02-25 11:58:12 -08:00
alena
9cf48bbfbd
bug 8686: don't allow to create network from the network offering with Availability=Unavailable
...
status 8686: resolved fixed
2011-02-25 11:44:00 -08:00
alena
fdbdba7a78
bug 8704: listNetworks with account/domainId parameter - return account specific and shared networks
...
status 8704: resolved fixed
2011-02-25 11:29:02 -08:00
alena
1dbd012fdc
bug 8720: don't allow to create network with custom vlan when networkOffering's guest IP type is Virtual
...
status 8720: resolved fixed
2011-02-25 11:29:02 -08:00
Kelven Yang
fd27af5d8f
bug 8249 : save combined persistent and run-time id into worker to help worker VM GC
2011-02-25 11:23:32 -08:00
alena
65d22a7a15
Fixed exception logging in several places
2011-02-25 09:31:21 -08:00
kishan
0b9fa1cc8a
bug 5747: Added action events for system Vms commands
...
status 5747: resolved fixed
2011-02-25 16:29:16 +05:30
kishan
44d60576f9
bug 8606: changed network offering event names. Use Assign/remove instead of create/delete
...
status 8606: resolved fixed
2011-02-25 15:26:55 +05:30
kishan
0f47eac637
bug 7842: Add account_id to user_context during create network
2011-02-25 13:15:46 +05:30
Frank
5035778b1a
Bug 8208 - bare metal provisioning
...
StartCommand cloud reach to BareMetalResrouce
2011-02-24 19:22:34 -08:00
Edison Su
f383e5a37d
security group is per vm per nic
2011-02-24 19:58:19 -05:00
Edison Su
8a40371288
refactor security group in advanced network mode: use direct tagged network instead of public network
2011-02-24 19:58:18 -05:00
alena
970e0ab320
Removed unused imports
2011-02-24 19:47:25 -08:00
alena
66455c0767
bug 8702: return events for removed account when "account" parameter is specified in listEvents command
...
status 8702: resolved fixed
2011-02-24 19:15:36 -08:00
alena
f8993d9ec4
Fixed NPE in vm expunge process - when cleanup static nat rules after corresponding vm is expunged, make search for guest Nic including removed.
2011-02-24 18:27:55 -08:00
alena
9e622c6a6c
bug 8726: escape ", ', &, <, > special chars in xml response
...
status 8726: resolved fixed
2011-02-24 17:11:28 -08:00
alena
039b11b9ba
1) Added guestIpType to the network offering; create/listNetworkOffering apis got changed accordingly.
...
2) Set traffic Type to be Guest for Direct/Virtual non-system default network offerings. Use this guestIpType during the network creation/implementation
2011-02-24 15:36:01 -08:00
Frank
f82dec999d
Bug 8208 - bare metal provisioning
...
complete createVirtualMachine method
2011-02-24 14:07:10 -08:00
Edison Su
cf6d430f66
return security group status per zone
2011-02-24 14:16:35 -05:00
Alex Huang
a6ac728761
cleanup script is also running now as well
2011-02-24 11:35:49 -08:00
alena
b0aabc1b20
bug 8682: implemented search by id in listPortForwardingRules
...
status 8682: resolved fixed
2011-02-24 09:55:03 -08:00
kishan
8eb665246e
bug 7935: Included hypervisor type to vm usage records
...
status 7935: resolved fixed
2011-02-24 20:08:12 +05:30
kishan
f138552f36
bug 8603: Included netwrok_id in network usage records
...
status 8603: resolved fixed
2011-02-24 15:31:59 +05:30
alena
57f6b16cdb
bug 8719: fixed NPE happening during HA process - get control nic infrormation in finalizeCommandsOnStart() method instead of setting it in caller methods
...
status 8719: resolved fixed
2011-02-23 19:35:22 -08:00
alena
54b3fff123
When network is removed, remove it from network GC list
2011-02-23 18:56:54 -08:00
alena
1f1e393b03
Release vnet during network shutdown for guest networks only
2011-02-23 18:50:23 -08:00
alena
6424042cac
bug 8659: deleteNetwork is async now
...
status 8659: resolved fixed
2011-02-23 18:01:33 -08:00
alena
63cff8de26
Regular user is allowed to create Guest networks only; throw an error when he tries to use networkOffering with trafficType Public
2011-02-23 18:01:33 -08:00
alena
6cecbdbee9
bug 8663: limit cidr size if network is being created by non Root admin
...
status 8663: resolved fixed
2011-02-23 18:01:33 -08:00
Frank
828f8c9493
Bug 8208 - bare metal provisioning
...
Able to add cluster and host
2011-02-23 17:20:43 -08:00
Kelven Yang
0cd0703c81
Bug 8717: Move VMwareGuru to premium
2011-02-23 16:10:21 -08:00
Edison Su
adbd20ca5a
bug 8655: add security group for direct tagged network
2011-02-23 15:53:14 -05:00
Edison Su
37cb0ae2c9
add security group for direct tagged vlan
2011-02-23 15:52:04 -05:00
kishan
0ce385ecf2
bug 8569: Changed default events purge delay to 15 days
...
status 8569: resolved fixed
2011-02-23 21:34:47 +05:30
Alex Huang
b6056bc0b1
missing files
2011-02-22 19:12:10 -08:00
Frank
b313b7c852
Add bare metal stuff to addHost command
...
add ipmi.py
2011-02-22 19:07:07 -08:00
Alex Huang
c22b37e402
latest work on db migration
2011-02-22 18:23:05 -08:00
Kelven Yang
1d8eab2a11
Let reset job description to be in API standard
2011-02-22 17:40:05 -08:00
anthony
94a9c86f46
try to send create command to the host where cpu&memory is allocated first
2011-02-22 16:44:58 -08:00
Kelven Yang
f443f7d409
Set default values for global variables that use programmatic constants (CPU speed/RAM size)
2011-02-22 16:28:31 -08:00
Kelven Yang
2f3a1ccd60
When secondary storage is not running inside SSVM, let FOSS SecondaryStorageDiscoverer be able to dynamically load premium version of the secondary storage resource
2011-02-22 15:39:22 -08:00
Frank
77fadf5c7f
Revert 61a414fb8f
...
don't dynamically inject premium stuff
2011-02-22 14:39:02 -08:00
abhishek
d73d12b905
bug 8641: removing the status field from the volume response
2011-02-22 14:07:26 -08:00
abhishek
1afc62e98f
bug 8216: creating a vol from a snapshot will take in a priv disk offering id, which is used only for the tags; size is still taken from the original vol which the snapshot is based off of
2011-02-22 12:06:00 -08:00
abhishek
25f27674ce
bug 8641: adding a volume state in addition to volume status
...
status 8641: resolved fixed
2011-02-22 09:55:08 -08:00
alena
e4765fb32b
bug 6969: return jobId/jobStatus for IpAddress and SecurityGroup as ids for these objects were introduced in 2.2.x
2011-02-22 09:09:55 -08:00
nit
2efdc9d62b
bug 8471: Check whether secondary storage URL is null when copying volumes across storage pools.
2011-02-22 17:49:56 +05:30
kishan
003787a69a
bug 8613: Added accountId to listUsageRecords API, use active account incase of multiple account with same name
...
status 8613: resolved fixed
2011-02-21 19:38:08 +05:30
kishan
60ecb564ea
bug 8613: Added accountId to listUsageRecords API, use active account incase of multiple account with same name
...
status 8613: resolved fixed
2011-02-21 19:07:41 +05:30
Frank
61a414fb8f
Inject permium stuff into systemvm.iso when managment server start
2011-02-20 16:13:30 -08:00
Kelven Yang
fa96deec28
Make secondary storage VM support premium version and opensource version
2011-02-18 17:10:20 -08:00
anthony
33b763d703
bug 8582: allow create snapshot policy with unattached volume
...
status 8582: resolved fixed
2011-02-18 14:52:15 -08:00
abhishek
7c32b2da62
bug 8584: enabling search by id for regular users and domain admins for service offerings
...
status 8584: resolved fixed
2011-02-18 14:09:39 -08:00
alena
15f59e6f58
bug 8637: throw ResourceAllocationException when resource limit is exceeded.
...
status 8637: resolved fixed
2011-02-18 12:26:58 -08:00
abhishek
13ceb54bba
bug 8653: filtering system vols from user's view
...
status 8653: resolved fixed
2011-02-18 12:03:51 -08:00
Kelven Yang
8695e7250c
Update template and storage manager to allow hypervisor based command delegation
2011-02-18 11:37:50 -08:00
abhishek
7aa18d4fe2
bug 8600: cleaning up remote access vpns and users as part of delete account
...
status 8600: resolved fixed
2011-02-18 11:11:43 -08:00
alena
cd90bc7166
bug 8412: allow to delete network when it has dhcp/domRs
...
status 8412: resolved fixed
1) Don't count domR/Dhcp nic in active nics.
2) Removed domR cleanup thread; Network shutdown thread would shutdown domR/dhcp when network has no active vms
2011-02-18 10:31:59 -08:00
alena
504ab73ae5
Sync on network instead of ipAddressId when do create PF/StaticNat/LB rules
2011-02-17 16:13:28 -08:00
alena
96ef94eb37
ShutdownNetwork - added reservationContext parameter (contains account/callerUserId)
2011-02-17 16:13:28 -08:00
abhishek
13fc3b0dd8
bug 8452: more delete domain specific changes
2011-02-17 15:29:13 -08:00
abhishek
2275d8d833
bug 8452: introducing a state for domain; blocking creation of accounts/users whilst domain is in an inactive state
2011-02-17 15:17:45 -08:00
anthony
6dcbd3bbfd
use returned VO
2011-02-17 15:11:38 -08:00
alena
8978839d96
bug 8617: Disable firewall/lb/vpn service for Direct network offering, so when user tries to create PF/LB rule for direct IP address, it fails.
...
status 8617: resolved fixed
2011-02-17 14:31:05 -08:00
abhishek
3d7c61bf8b
bug 8452: forcing vm stop whilst disabling account
...
status 8452: resolved fixed
2011-02-17 13:57:04 -08:00
anthony
c62d983c3f
classpath fix for server
2011-02-17 12:14:23 -08:00
Alex Huang
c6efb2b09d
bug 8529: propagated to master. Added junit test support to ant
2011-02-16 17:40:59 -08:00
Alex Huang
6b0d4947ed
bug 8529: propagated to master. Added junit test support to ant
2011-02-16 17:40:58 -08:00
anthony
21303ea1aa
bug 8567: use current time to schedule snapshot
...
status 8567: resolved fixed
2011-02-16 16:03:09 -08:00
alena
6913ed21c5
bug 8572: added more restrictions for network's domain name (see below)
...
status 8572: resolved fixed
1) As full domain name may not exceed a total length of 253 characters, and host name can be 63 chars long, so don't allow network domain length to exceed 190 chars.
2) Each label can have up to 63 chars
3) The characters allowed in a label are a subset of the ASCII character set, and includes the characters a through z, A through Z, digits 0 through 9, and the hyphen.Labels may not start or end with a hyphen.
2011-02-16 15:53:47 -08:00
alena
53adcc64a6
bug 8572: don't allow vm host name to start with digit. Also removed name uniqueness constraint as vm host name doesn't have to be unique even inside the same network
2011-02-16 15:53:47 -08:00
alena
1d031e64b8
bug 8334: throw an error when try to create a network with the settings belonging to existing network
...
status 8334: resolved fixed
2011-02-16 15:53:47 -08:00
anthony
569bbfe585
bug 8513: creating volume from snapshot depends on the original volume
...
status 8513: resolved fixed
2011-02-16 15:47:05 -08:00
anthony
893f8b5f73
bug 8525: we can't create template from snapshots belonging to one volume at the same time
...
status 8525: resolved fixed
2011-02-16 15:37:09 -08:00
Jessica Wang
eb7d531456
bug 8577: Make listAlerts API take in id parameter.
2011-02-16 15:35:34 -08:00
Jessica Wang
35397d7176
bug 8577: Make listEvents API take in id parameter.
2011-02-16 15:20:05 -08:00
Jessica Wang
c475aacc08
bug 8578: make listRouters API take in id parameter.
2011-02-16 15:06:11 -08:00
abhishek
de4b79bd6d
fixing pagination issues with listVolumes
2011-02-16 14:58:52 -08:00
anthony
80a328034c
bug 8609: when failed to start a VM in HA (due to domr is not migrated), a runtimeException is thrown out, caused HA for this VM is not resheduced.
...
status 8609: resolved fixed
2011-02-16 14:20:28 -08:00
alena
b0e4ecb3af
bug 7901: Prevent using the same cidr for POD and zone's virtual network
...
status 7901: resolved fixed
2011-02-16 11:17:20 -08:00
alena
8654aa3833
bug 6366: allow to extend pod private ip range even when there are allocated private ip addresses in the pod
...
status 6366: resolved fixed
2011-02-16 10:51:53 -08:00
alena
4ae5734ab0
createPod/editPod: don't allow gateway to overlap start-end ip range
2011-02-16 10:51:53 -08:00
alena
e573e66074
bug 8502: allow to edit pod name in all the cases; even when pod has resources allocated
...
status 8502: resolved fixed
2011-02-16 10:51:53 -08:00
Kelven Yang
d78cea1cea
fix merge conflicts
2011-02-15 17:08:01 -08:00
Kelven Yang
43c82d03d8
UTF-8 fix - make encoding work across GET/POST
2011-02-15 17:06:29 -08:00
alena
a05400604b
bug 8565: throw unsupported error code when non existing api command is sent
...
status 8565: resolved fixed
2011-02-15 16:01:09 -08:00
Chiradeep Vittal
db2bd762a8
bug 8604: ensure .ssh directory is created before trying to write keys there
2011-02-15 15:40:28 -08:00
alena
42ddf74bc5
bug 8284: don't allow to create static nat rules for 2 different ip addresses and the same vm.
...
status 8284: resolved fixed
2011-02-15 13:52:00 -08:00
alena
c11a9c18e2
bug 8381: disassociateIpAddress is async now
2011-02-15 12:24:18 -08:00
alena
9c2db92b63
Fixed the bug when port forwarding rules were not reset correctly on domR restart/start (multiple public ip addresses case)
2011-02-15 10:49:46 -08:00
alena
d9dfd37bd4
Reapply static nat rules when domR starts/reboots
2011-02-15 10:45:28 -08:00
alena
d80caf24fd
bug 8564: Changed implementation for static nat rules. Now we use separate interfaces instead of PortForwardingRules interfaces.
...
status 8564: resolved fixed
2011-02-15 10:45:28 -08:00
Kelven Yang
a0c48d7fa1
1) Rename console-common to console so that Eclipse project name is the same as folder name
...
2) Fix UTF encoding issue at servlet response
2011-02-15 10:04:06 -08:00
abhishek
1aab49fd8f
bug 8547: some additions to the config vars to better indicate the units they use
...
status 8547: resolved fixed
2011-02-14 14:28:15 -08:00
alena
8cd7426dd0
bug 8455: for static nat port range don't allow start port to be bigger than end port
...
status 8455: resolved fixed
2011-02-11 17:43:56 -08:00
alena
0938509bc0
bug 7341: introduced search by id/vmId to listIpForwardingRules command
...
status 7341: resolved fixed
2011-02-11 17:14:34 -08:00
Alex Huang
7dd54f079b
started vms with these latest
2011-02-11 17:03:04 -08:00
Alex Huang
b0f0efa29b
more changes to make it work better in a cluster
2011-02-11 17:03:04 -08:00
Alex Huang
db7bc893b9
added cluster awareness to vm start/stop
2011-02-11 17:03:04 -08:00
alena
cb73c1e1fa
Fixed NPE in deleteAccount code - when shutdown the network, always set reservation context with account/userCaller information
2011-02-11 12:06:04 -08:00
Kelven Yang
3113ae4993
Add display name to user VM in console title
2011-02-11 11:43:00 -08:00
alena
829c865133
router.ram.size global config is hidden now as it's used by system only
2011-02-11 11:38:02 -08:00
abhishek
5d1d9ec387
bug 8263: allowing a private zone to be made public
2011-02-11 11:35:07 -08:00
nit
e901ccfe07
bug 8498: Make osTypeId optional. Introdue a new OS type None to be shown for non bootable ISOs. Add check that when the ISO is bootable a valid osTypeId gets passed
2011-02-11 18:44:26 +05:30
anthony
0db879d053
reduce lock granularity
2011-02-10 20:11:45 -08:00
alena
3328ec5d2d
Fixed the bug when dhcp server wasn't started for Direct netwok on JuniperSrx setup
2011-02-10 19:12:10 -08:00
anthony
6501bcd3c4
bug 8518: replytimeout is not set
...
replytimeout is set to 10 min for XenServer
status 8518: resolved fixed
2011-02-10 18:59:42 -08:00
Kelven Yang
737954bed8
1) prepare to seperate volume/snapshot logic to secondary storage VM
...
2) Add vmware.service.console configuration variable to allow customized VMware setup
2011-02-10 16:41:19 -08:00
alena
4054d7e2b5
Store ip address as String instead of Long in user_ip_address and port_forwarding_rules tables
2011-02-09 19:35:03 -08:00
alena
7e6570570d
bug 8515: Allow only positive non zero numbers for "max" parameter in createSnapshotPolicy
...
status 8515: resolved fixed
2011-02-09 19:35:03 -08:00
alena
7b13c89956
bug 8493: Don't allow to create a snapshot policy with max value exceeding domain/account snapshot limit
...
status 8493: resolved fixed
Also increase/reduce resource count when recurring snapshot is taken/removed
2011-02-09 19:35:03 -08:00
alena
74e878ea7f
Fixed xml doc writer
2011-02-09 19:35:03 -08:00
Kelven Yang
597ca9597b
Bug 8401: avoid race condition between expunge worker and api execution
2011-02-09 15:58:47 -08:00
Kelven Yang
091b5850b3
Explicitly specify CPU speed for all system VMs, speed of 0 no longer works for VMware
2011-02-09 15:08:06 -08:00
Edison Su
25a9236438
add shuffling back
2011-02-09 14:24:32 -05:00
anthony
b3256c6971
if it is empty snapshot, set setBackupSnapshotId to null, before remove it
2011-02-09 14:23:46 -08:00
anthony
b7b0501150
list recurring snapshot if volumeId and interval are specified
2011-02-09 13:57:46 -08:00
Edison Su
08285af33f
fix capacity caclulation issue after migration
2011-02-09 13:33:42 -05:00
anthony
4fb3beed76
return more meaningful error message for create snapshot/snapshot policy for volume which is not attached to a VM
2011-02-09 11:48:16 -08:00
nit
82506ff8d0
bug 8493: Check for resource limit for manual snapshots.
2011-02-09 19:01:39 +05:30
kishan
77719be46a
bug 8465: track network usage per router in user_statistics table
...
status 8465: resolved fixed
2011-02-09 18:38:41 +05:30
nit
67a92e3f1d
bug 8493: Check for resource limit for copy templates/ISO between zones.
2011-02-09 15:49:33 +05:30
nit
3bd3dacf9e
bug 8493: Check for resource limit for create template from volume/snapshot.
2011-02-09 15:49:32 +05:30
anthony
16366fb4e0
bug 8481: root cause is the old way to get vdi parent sometime doesn't work
...
status 8481: resolved fixed
2011-02-08 21:10:52 -08:00
alena
558e16c50e
Save vnet range in data_center table when do deploy from server-setup.xml in Dev environment
2011-02-08 19:18:52 -08:00
alena
ab6ea4d6ef
bug 8491: remove corresponding record from resource_limits table when limit is updated with -1 value
...
status 8491: resolved fixed
2011-02-08 19:08:35 -08:00
alena
1c7049ef26
Forgot to write login/logout commands to domainAdmin/regularUser api xml doc
2011-02-08 16:28:58 -08:00
abhishek
2d3b6cc310
changing the disk offering response object, to always return the disk size in gb
2011-02-08 15:43:52 -08:00
Alex Huang
c22d4948d0
Added context to ha work
2011-02-08 15:38:26 -08:00
Alex Huang
b92fc074aa
added forced paramter to stop apis
2011-02-08 15:38:26 -08:00
alena
0bdefe03ae
Added login/logout command generation to xml api doc generator
2011-02-08 15:25:55 -08:00
will
c89ad5ae7b
bug 8485: Merge from 2.2.x. Fixed ClassCastException with returning the login response in xml format
2011-02-08 15:22:40 -08:00
alena
f16cb1caf2
Logs statements cleanup
2011-02-08 14:14:52 -08:00
abhishek
f0f643dffe
adding exceptions so that we can use login and logout commands via 8080
2011-02-08 14:06:33 -08:00
alena
95f90fd986
Removed bad word from log4j config files.
2011-02-08 13:55:40 -08:00
Alex Huang
0abd36c96f
Change the wording in log
2011-02-08 13:39:50 -08:00
Edison Su
0bd6950bb8
fix wrong configuration for oss
2011-02-08 13:22:27 -05:00
abhishek
73eb597ba6
bug 8335: adding the security group objects to the list virtual machines response
2011-02-08 11:48:39 -08:00
alena
83209e53bc
bug 8479: remove direct account specific network as a part of account cleanup. Before public direct ip addresses weren't released as a part of nic cleanup - deallocate() method was missing in DirectNetworkGuru
...
status 8479: resolved fixed
2011-02-08 10:47:05 -08:00
Edison Su
169ac1ce57
bug 8464,8404: allocator is not move reserved resource to used resource, in some case
...
status 8464: resolved fixed
status 8404: resolved fixed
2011-02-08 10:32:14 -05:00
Edison Su
4fe6219754
bug 8474: fix attaching ISO to xenserver vm
...
status 8474: resolved fixed
2011-02-08 10:04:56 -05:00
alena
44607a8960
bug 8473: fixed NPE in listUserVms - do "includingRemoved" when search for vm's host.
...
status 9473: resolved fixed
2011-02-08 09:43:03 -08:00
kishan
75e596bb80
bug 7952, 8363: Fixed usage events for Vm destroy and recover
...
status 7952, 8363: resolved fixed
2011-02-08 16:57:46 +05:30
nit
a3b1609199
bug 8463: Decrease the resource_count if vm fails to Start and goes to ERROR state.
...
status 8463: resolved fixed
2011-02-08 16:52:09 +05:30
kishan
2a6bef2750
seperating service API call form internal calls for revoke port forwarding rule
2011-02-08 12:34:04 +05:30
anthony
213ea43f63
for the last host
2011-02-07 20:07:14 -08:00
abhishek
bc4357f7dd
bug 8456: fixing the upgrade issue
...
status 8456: resolved fixed
2011-02-07 18:34:37 -08:00
anthony
c85e13fbf9
bug 7635: stop vms if this host is the last one in cluster , when put this host into maintenance mode
...
status 7635: resolved fixed
2011-02-07 18:31:16 -08:00
anthony
88ff55849d
for detachISO command, iso for this VM is removed in DB even if the detachISO fails. Then after stop/start VM , the iso for this VM is gone
2011-02-07 17:50:02 -08:00
alena
9614a64636
bug 8445: listVms with keyword - don't do LIKE search for State field
...
status 8445: resolved fixed
2011-02-07 17:46:24 -08:00
alena
49392355b8
Don't allow to enable remote access vpn when domR is in Starting state
2011-02-07 17:46:24 -08:00
anthony
ed197ae971
bug 8458: check if attachISO is successful before update DB
...
status 8458: resolved fixed
2011-02-07 17:34:13 -08:00
Alex Huang
5d796c718b
bug 7612: fixed a bug where if start when through all retries, we throw an exception
2011-02-07 17:17:34 -08:00
abhishek
cb5b1e60f3
bug 8439: changes in service/disk offerings
...
status 8439: resolved fixed
2011-02-07 17:11:28 -08:00
alena
0082b8435a
Fixed account security checks for domain admins in following commands:
...
* listPortForwardingRules
* listIpForwardingRules
* listRemoteAccessVpns
* listVpnUsers
2011-02-07 16:24:34 -08:00
Alex Huang
b322fb072f
bug 8186: Changed the investigator to use the new networking
2011-02-07 16:04:23 -08:00
abhishek
3343aa890f
bug 8427: resolving the class cast exception
...
status 8427: resolved fixed
2011-02-07 13:30:12 -08:00
alena
5c2bbf48f0
Fixed NPE in listAsyncJob apis: don't include instanceId/instanceType in the response when these values are null
2011-02-07 13:02:05 -08:00
Alex Huang
c6fe6f2f45
Removed all the stats command/answer from debug logging
2011-02-07 12:50:22 -08:00
alena
a502b497f2
bug 8446: fixed creating volume from diskOffering with custom size
...
status 8446: resolved fixed
2011-02-07 12:42:46 -08:00
alena
807562da50
bug 8424: fixed NPE in vmExpunge thread - set accountId for UserContext to the vm's ownerId (this value is being read by UsageEvents generator)
...
status 8424: resolved fixed
2011-02-07 12:13:59 -08:00
Alex Huang
bee6953e09
ha done? needs testing
2011-02-07 10:58:25 -08:00
Alex Huang
f948926a2f
some minor adjustments before doing the big work
2011-02-07 10:58:25 -08:00
Murali Reddy
8798fce36d
bug 8390: description of weekly and monthly snapshot policy contains hourly in global configuration
...
status 8390:resolved fixed
2011-02-07 10:05:54 -08:00
alena
6e399aa698
Vm expunge: when delete port forwarding rules as a part of vm expunge, do searchIncludingRemoved for the vm because vm can be marked for removal already.
2011-02-07 10:02:10 -08:00
alena
e299402243
Perform security check for deleteNetwork inside the management server method instead of api command itself
2011-02-07 10:02:10 -08:00
nit
0f12529353
bug 8088: Making template sync more robust. If the url is null we cant initiate a download and so mark it as a download error instead.
...
status 8088: resolved fixed
2011-02-07 14:20:28 +05:30
nit
df9003b0b6
bug 8088: Making template sync more robust. If the url is null we cant initiate a download and so mark it as a download error instead.
...
status 8088: resolved fixed
2011-02-07 14:20:28 +05:30
alena
e58e085928
Added missing @DB annotation to createNetwork (was lost during git merge)
2011-02-05 18:11:21 -08:00
kishan
4eebc1c434
bug 8415: Added scheduled event for recurring snapshots
...
status 8415: resolved fixed
2011-02-05 14:40:26 +05:30
anthony
e14b8311cc
bug 7563: create snapshot in async create method
...
status 7563: resolved fixed
2011-02-04 19:20:47 -08:00
alena
4fbcbda4d2
bug 8409: listLoadBalancers - for domain admins list only lbs belonging to their domains and subdomains
...
status 8409: resolved fixed
2011-02-04 18:12:04 -08:00
will
d2440eb44e
bug 8315: Reordered logic when authenticating user so that we make a check on the authentication adapter before executing subsequent logic. This allows AuthenticationAdapters to create accounts if they are not already in the DB.
2011-02-04 18:02:18 -08:00
alena
4699d91f4e
bug 8399: dhcp owner is System in Basic zone setup and for Direct zone wide network
...
status 8399: resolved fixed
2011-02-04 15:54:51 -08:00
alena
e9dd1ee822
bug 8383: HA: perform ssh check before marking system vms as running. For domR, also reapply all ips/PF/LB/VPN/Dhcp/Userdata.
...
status 8383: resolved fixed
2011-02-04 14:33:14 -08:00
Kelven Yang
33d804846f
Native HA support improvements
2011-02-04 14:32:18 -08:00
abhishek
1f8c4864d6
bug 8171: adding checks to ensure we do not start cp for any vm start unless we are out of maintenance
...
status 8171: resolved fixed
2011-02-04 14:00:37 -08:00
Alex Huang
e153ab461c
removed unused method
2011-02-04 11:56:21 -08:00
Alex Huang
86e51eb536
Made changes to the exceptions thrown by NetworkManagerImpl
2011-02-04 11:56:20 -08:00
Alex Huang
0105c03a27
initial HA work
2011-02-04 11:51:14 -08:00
alena
84fef40ce2
Refactored "allocate vlan to account" code
2011-02-04 09:54:16 -08:00
abhishek
030286279c
adding a migration util
2011-02-04 08:52:47 -08:00
kishan
56f3343911
Added action events for VM, volume, Ip and snapshot actions
2011-02-04 19:59:41 +05:30
nit
5469916060
bug 7522 : Extract ISO/Template - By default these entities wouldnt be extractable, GLOBAL ADMINS - always allowed to extract, OTHERS - allowed to extract if - 1) Its own template and extractable=true 2) Its not its own template but public=true and extractable=true.
...
status 7522: resolved fixed
2011-02-04 17:51:42 +05:30
kishan
a9fd67cab6
bug 8362: Included VmId in event description
...
status 8362: resolved fixed
2011-02-04 11:52:35 +05:30
Murali Reddy
ee1c53ecf3
Revert "bug 8327: successive removeFromLoadBalancerRule(s) renders LB rule dysfunctional"
...
This reverts commit 368289aa12 .
2011-02-03 20:40:38 -08:00
Edison Su
3cc5ce8642
add new configuration parameter: cmd.wait, for heavy timing-consuming commands, such as backupsnapshotcommand
2011-02-03 18:57:38 -05:00
alena
6f55c4dd7e
bug 8270: Synchronize on 1) ipAddress object when create/delete ipForwarding/portForwardingRule and vpn service 2) on networkId when assignTo/removeFrom/deleteLoadBalancer
...
status 8270: resolved fixed
2011-02-03 18:45:49 -08:00
Frank
4c7fb08b33
Add OvsElement.java
2011-02-03 18:28:33 -08:00
Frank
54450460d2
implement network element for ovs stuff, so we don't make other code dirty
2011-02-03 17:39:03 -08:00
anthony
4227d1525b
bug 8219: better error message
...
status 8219: resolved fixed
2011-02-03 15:57:36 -08:00
Edison Su
fd0752e995
bug 5811, 8261: When delete host, send a shutdownCommand to kvm agent, then kvm agent will not automatically reconnect to mgt server
...
status 5811: resolved fixed
status 8261: resolved fixed
2011-02-03 13:40:07 -05:00
Murali Reddy
368289aa12
bug 8327: successive removeFromLoadBalancerRule(s) renders LB rule dysfunctional
...
status 8327: resolved fixed
2011-02-03 13:33:14 -08:00
alena
1a03097d1b
Fixed NPE in VirtualNetworkApplianceManager - happened when stopped domR start was initiated by user vm start
2011-02-03 13:25:12 -08:00
keshav
66cb75ded3
Changed external network provider names to be model specific.
2011-02-03 11:55:39 -08:00
alena
f36265c408
bug 8367: listNetworks - for domain admin list only networks belongig to his domain/subdomains
...
status 8367: resolved fixed
2011-02-03 11:38:43 -08:00
abhishek
2a38a58be0
bug 8335: changing the deployVm flow to take in a list of security group ids instead of a list of security group names
2011-02-03 11:37:49 -08:00
alena
e9490bda55
bug 8359: fixed deleteDomainCommand - didn't work when domain had accounts assigned (incorrect method cleanupAccount was called instead of deleteAccount)
...
status 8359: resolved fixed
2011-02-03 10:38:53 -08:00
alena
026e6905c9
bug 8343: in api commands extending BaseAsyncCreate set owner account information only after all request parameters were read as account/domainId information can be specified in the request
...
status 8343: resolved fixed
2011-02-03 09:53:18 -08:00
kishan
6db6e8b4e9
Added action events for load balancer actions
2011-02-03 18:42:36 +05:30
kishan
5bedf10cbf
Added action events for Ip and net rules
2011-02-03 18:13:23 +05:30
kishan
577fdd2c26
Added action events for Vm actions
2011-02-03 17:36:43 +05:30
kishan
fcfd4e9e33
bug 8192: use volume size in bytes for usage
...
status 8192: resolved fixed
2011-02-03 16:38:48 +05:30
kishan
16f1a3a548
bug 7955: Added usage for network offerings
...
status 7955: resolved fixed
2011-02-03 15:49:59 +05:30
nit
0d895e816f
bug 8258 : Allowing all shared storages to be shown in the listCapacity API.
...
status 8258: resolved fixed
2011-02-03 13:43:03 +05:30
kishan
5007f37479
bug 8320: Include router private Ip in stop command
...
status 8320: resolved fixed
2011-02-03 11:37:47 +05:30
anthony
b226861783
bug 8194: add new storage pool type PreSetup,
...
1. user setup SR for xenserver pool
2. in UI, add a new storage pool as PreSetup
server: "ip of storage "
path:"name of the SR"
2011-02-02 19:33:08 -08:00
Edison Su
4ea260cafd
bug 8204: mgt server needs to pass down iso info before migration, if the vm has ISO attached
...
status 8204: resolved fixed
2011-02-02 19:13:12 -05:00
Kelven Yang
b12444bb64
Let HA manager support native HA
2011-02-02 17:59:20 -08:00
Edison Su
a46155e895
bug 8094: send networkrulesforssvm command to agent, no matter security group is enabled or not
...
status 8094: resolved fixed
2011-02-02 16:26:54 -05:00
alena
848cff6318
Use static inner class instead of enum for Param parameter (used in VirtualMachineProfile)
2011-02-02 15:55:04 -08:00
alena
fe67fa851a
bug 8330: make a search including removed when get service offering information during vm start.
...
status 8330: resolved fixed
2011-02-02 14:06:54 -08:00
abhishek
24acc66124
bug 8331: changing the revoke logic to work by taking in the entity id. All other params are obsolete at this point
...
status 8331: resolved fixed
2011-02-02 13:49:56 -08:00
Kelven Yang
b874bbda91
Give primary VMFS datastore meaningful name
2011-02-02 13:37:14 -08:00
Edison Su
1aff4d8a9a
make sure building template is downloaded
2011-02-02 13:35:41 -05:00
alena
9aa9c34029
bug 8340: return networkId for private/public/guest networks in listRouters response. Implemented search by networkId
...
status 8340: resolved fixed
2011-02-02 13:25:28 -08:00
Murali Reddy
8ce576dde5
bug 8239: NPE while executing CreateSnapshotCmd
...
status 8239: resolved fixed
2011-02-02 13:12:34 -08:00
alena
5d2cc07768
bug 8201: accept "any" value for protocol when open port range for staticNat rule
...
status 8201: resolved fixed
2011-02-02 12:57:14 -08:00
Edison Su
cfd8cdbf20
bug 8195: add on-demand download for buildin templates, only download these buildin centos template after when you adding a host for the hypervisor
...
status 8195: resolved fixed
2011-02-02 12:03:40 -05:00
kishan
a4d306259e
added id to ip address usage
2011-02-02 18:20:14 +05:30
kishan
d901d42670
bug 7965: Added delete event for recurring snapshot delete
...
status 7965: resolved fixed
2011-02-02 17:43:28 +05:30
Murali Reddy
fc6574c40c
bug 8290: Instance Limit set at account level however was able to create more vms than limit
...
status 8290: resolved fixed
2011-02-02 00:35:10 -08:00
alena
96c05a24e4
bug 8235: don't generate NET_IPASSIGN event when ip assoc command fails
...
status 8235: resolved fixed
2011-02-01 19:55:27 -08:00
alena
ff281af035
bug 8253: get_password_from_domr is a part of source code now. It should be located under /usr/bin/ directory on the Management server once cloudstack software is installed
...
status 8253: resolved fixed
2011-02-01 17:40:00 -08:00
alena
d5bded3d6d
PublicNetworkGuru: fixed NPE in ipUnassign
2011-02-01 17:40:00 -08:00
Kelven Yang
27f2b6cbb1
Let cluster host-heartbeat be in a sperated context to avoid update delay by other activities
2011-02-01 17:38:12 -08:00
Edison Su
675a610995
cleanup default hypervisortype
2011-02-01 16:03:10 -05:00
alena
51894d22d2
bug 8288: allow to create multiple Guest Virtual networks for account in the same zone
...
status 8288: resolved fixed
2011-02-01 15:50:01 -08:00
abhishek
db04ec7f90
bug 7899: reverting a previously wrong fix; adding the right fix
...
status 7899: resolved fixed
2011-02-01 15:25:40 -08:00
Frank
85e11d2ff9
Add ExternalGuestNetworkGuru.java back to permium
2011-02-01 14:55:46 -08:00
alena
b813800496
Implemented list by id in "listPublicIpAddresses" api
2011-02-01 14:29:06 -08:00
alena
d4b1831bf4
Added "status" field to listPublicIpAddresses response
2011-02-01 14:20:45 -08:00
alena
668fde991c
Don't default resource owner to System account when command is executed via 8096 and account or domainId are missing
2011-02-01 14:20:45 -08:00
abhishek
9e2a9ab528
bug 8268: correcting stats reporting; the response obj was using wrong method to convert double to long
...
status 8268: resolved fixed
2011-02-01 13:39:26 -08:00
Kelven Yang
6ed8b20a76
add catch-all clause in cluster heartbeat
2011-02-01 12:40:32 -08:00
alena
6544820e74
Moved networkRestart to the NetworkManager as it's up to the manager (not network elements) to decide what to do on restart (IpAssoc/ruleApply/etc..)
2011-02-01 12:16:19 -08:00
alena
a21ce17c09
1) More logging during vm cleanup when the vm fails to start
...
2) Cleanup nic info in the DB during nicRelease
2011-02-01 12:16:18 -08:00
alena
f6f8a35c75
bug 8251: introduced "id" field for public IP address. In the DB id is a primary key in user_ip_address table; ip_address and source_network_id is a composite key
...
status 8251: resolved fixed
2011-02-01 12:16:18 -08:00
Edison Su
d6a7bb1fbe
bug 8301: fix typo
...
status 8301: resolved fixed
2011-02-01 12:12:04 -05:00
Alex Huang
ade0097a0a
wrap cluster heartbeat in a try-catch
2011-02-01 12:04:08 -08:00
Edison Su
5b073cd370
bug 8087: default hypervisor type is gone: when creating cpvm/ssvm, randomly choose one hypervisor type, which got from host table. When creating domR, as we already know the hypervisor type at that time, so domR and user vm are always created as the same hypervisor type.
...
status 8087: resolved fixed
2011-02-01 11:32:40 -05:00
abhishek
447153f570
bug 8247: when we have vms in error state, we destoy their volumes. then, when we delete account with such vms, we should NOT try and destroy vols already destroyed.
...
status 8247: resolved fixed
2011-02-01 11:13:40 -08:00
Kelven Yang
a8fb44a148
Use exports for jar dependecy
2011-02-01 11:10:37 -08:00
will
49858cf189
- Exported all thirdpart jars in the deps project to make it available to other projects.
2011-02-01 10:59:11 -08:00
nit
98cb458bf1
bug 8257: ListVM's API - adding the functionality to invoke this api with the hypervisor filter.
...
status 8257: resolved fixed
2011-02-01 18:00:39 +05:30
kishan
e74d8888c7
bug 8151: Avoid volume delete event for volumes which were never attached
...
status 8151: resolved fixed
2011-02-01 13:06:47 +05:30
Alex Huang
c38238c614
some improvements in checkSR
2011-01-31 17:48:24 -08:00
Kelven Yang
ddda5fc431
Cleanup of worker VMs left over from previous session in a reliable way
2011-01-31 17:41:07 -08:00
Frank
4d2d820634
fix injectkeys.sh -- pass systemvm.iso path to scripts
2011-01-31 12:19:32 -08:00
Frank
be94843ccf
fix typo of parameters order when create public key and private key of systemvm
2011-01-31 11:49:16 -08:00
Alex Huang
a49a4184d5
forgot the select field
2011-01-31 11:16:13 -08:00
Alex Huang
f96f5a7db0
fixed stupid git merged problems
2011-01-31 11:09:59 -08:00
Alex Huang
b98961bcb1
fixed all the broken thirdparty stuff
2011-01-31 10:51:01 -08:00
kishan
92bf106ab9
including host type in network stats
2011-01-31 19:36:32 +05:30
nit
f53e18b0ab
bug 8257: Returning hypervisor type in Listvm command so that volume gets attached to the corresponding vm's
2011-01-31 19:10:56 +05:30
anthony
76ad02d2fa
cleanup XenServer code
2011-01-28 18:47:37 -08:00
Frank
24e4c885e2
load cluster managers
2011-01-28 18:06:57 -08:00
Kelven Yang
c51e68a2d5
Manage left-over objects across management server sessions
2011-01-28 17:51:53 -08:00
Frank
17d95a71c4
move out unusage stuff in oss
2011-01-28 17:21:39 -08:00
Frank
e9652e67ad
migrate premium to oss
2011-01-28 16:07:46 -08:00
Alex Huang
60518dc226
storage rewrite
2011-01-28 15:37:00 -08:00
Alex Huang
f9a9698d96
more unused fields removed
2011-01-28 15:37:00 -08:00
abhishek
ddcf232474
bug 8211: applying patch
...
status 8211: resolved fixed
2011-01-28 14:34:03 -08:00
abhishek
d8ea2f04ea
setting cpvm restart to true with every storage pool being added
2011-01-28 14:24:44 -08:00
Chiradeep Vittal
3aeb562959
bug 8199: better logs
2011-01-28 14:08:45 -08:00
abhishek
5d18c4c527
bug 8242: introducing the concept of work queue for storage; introducing storage states as opposed to using host states; using row locks as opposed to db table locks
...
status 8242: resolved fixed
2011-01-28 13:43:36 -08:00
anthony
cb024e3bf2
remove prealloclun
2011-01-28 12:46:50 -08:00
anthony
96d9776c20
remove preallocatedLun
2011-01-28 12:36:31 -08:00
Chiradeep Vittal
cc0ed77fee
bug 8199: always update the keypairs on disk to account for multiple management servers
2011-01-28 12:24:22 -08:00
Chiradeep Vittal
09145efc41
Bug 8199: inject ssh public key into systemvm iso file
2011-01-28 12:24:18 -08:00
Kelven Yang
4696b16d10
Normalize name convention for vmware hypervisor
2011-01-28 11:16:30 -08:00
alena
a267d1c261
Generate usage event when Ip is released as a part of network destroy
2011-01-28 10:58:53 -08:00
keshav
b23df4c7e3
Fixed zoneIsConfiguredForExternalNetworking method
2011-01-28 10:56:25 -08:00
keshav
c7bccd0b0f
Added method to check if a zone is configured for external networking.
2011-01-28 10:42:04 -08:00
alena
620466d393
Network destroy: when release ip addresses assigned to the network, no need to send applyIpAssociations command to the network elements as they are already shutdown.
2011-01-28 10:09:20 -08:00
Frank
65e326c751
ovs -- use VmStateListener to track vm state change
2011-01-27 18:41:06 -08:00
alena
52dd679d95
bug 8185: fixed java part of password reset feature. There are still changes needed in backend scripts (bugs 8253 and 8254 are filed separately)
...
status 8185: resolved fixed
2011-01-27 17:24:09 -08:00
Edison Su
f8778ea4c6
add sharedmountpoint storage pool to support all kinds of clustered file system
2011-01-28 04:37:31 -05:00
Kelven Yang
e7c8872651
Use URL safe BASE64 encoding for console access ticket generation.
2011-01-27 11:54:41 -08:00
Kelven Yang
3b846961ce
Bug 8229: Add finalizeExpunge to VirtualMachineGuru interface to allow overriding cleanup operations at expunging stage
...
Status 8229: Resolved Fixed
2011-01-27 10:29:55 -08:00
kishan
d3b85f8dca
bug 8231: Added network usage records by host
...
status 8231: resolved fixed
2011-01-27 17:35:44 +05:30
alena
77e89b72ca
bug 8187: retreive DNS information from DataCenter instead of resetting it for the network. After the DNS is reset, all networks in the zone have to be restarted. Console proxy and secondary vm should be restarted too.
...
status 8187: resolved fixed
2011-01-26 19:08:56 -08:00
Kelven Yang
244d8c198b
Cleanup UserContext after execution for better security
2011-01-26 17:06:14 -08:00
abhishek
aafdf07efb
minor typo
2011-01-26 15:18:21 -08:00
abhishek
b226005982
bug 8130: destroying all vols associated with a vm in error state, during the vm creation flow
...
status 8130: resolved fixed
2011-01-26 15:14:49 -08:00
alena
402506e8a0
Disable static nat for the IP address when corresponding vm gets expunged
2011-01-26 14:17:08 -08:00
abhishek
6aae1adc1b
bug 8215: better formed exception body
2011-01-26 13:29:21 -08:00
abhishek
b5d2ff71fc
bug 8215: blocking snapshot creation for volumes attached to vms which are in destroyed or expunging state
...
status 8215: resolved fixed
2011-01-26 13:26:25 -08:00
Kelven Yang
34178bec61
1) add destroySystemVm command to allow destroying of system VMs
...
2) add consoleproxy.launch.max to allow specifying a configured max number of console proxy VM that can be launched within a zone(if not specified, default is 10), this is to prevent possible DoS attacks or uncontrolled usage of system resources
3) Remove some unused code.
2011-01-26 12:08:35 -08:00
alena
46e1f6279a
Return vm information in listPublicIpAddress api response for the static nat ips
2011-01-26 12:03:30 -08:00
alena
a4c5bef188
disableOneToOneNat: generate usage events for all rules (port ranges) that are being removed
2011-01-26 10:31:27 -08:00
alena
731e78937f
Added 2 new api commands for 1-1 nat feauture: enable/disableOneToOneNat. Here is the 1-1 nat api summary:
...
* to enable 1-1 nat for ip/vm use enalbeOneToOneNat api
* to open port range (or multiple port ranges) use createIpForwardingRule api.
* to delete one port range use deleteIpForwardingRule api.
* to disable 1-1 nat use disableOneToOneNat api.
2011-01-26 09:35:32 -08:00
Edison Su
fc97034000
refactor vmstatelistener
2011-01-26 11:01:43 -05:00
abhishek
5be450ff47
bug 7376: removing the limit on iso/template names
...
status 7376: resolved fixed
2011-01-25 17:37:05 -08:00
Kelven Yang
83dd811221
Deal with the situation while volume was left over in Creating state
2011-01-25 17:20:08 -08:00
Kelven Yang
a56e5ace88
Bug 8102: CheckSshAnswer could be null
2011-01-25 16:42:05 -08:00
Kelven Yang
2b646f3ee0
1) Refactor ConsoleProxyManager to new networking and VirtualMachineManager interface
...
2) Don't destroy/re-create console proxy because of starting failure to take advantage of storage recreation in 2.2
3) Remove the race-condition in starting new instance of console proxy to avoid multiple ones being started for standby capacity reservation
4) Add a global configuration variable - system.vm.auto.reserve.capacity, set it to false to prevent automatical console proxy launching, the change of the variable value can take effect without the need of restarting management server
2011-01-25 16:04:02 -08:00
abhishek
9b43e27706
bug 7707: resolving the snapshots listing issue
...
status 7707: resolved fixed
2011-01-25 15:54:53 -08:00
alena
4fdbb00060
Allow to add 1-1 Nat with the same public IP address and different port ranges
2011-01-25 15:31:48 -08:00
alena
a96f8f9575
Refactored 1-1 NAT feature:
...
* added new fields to createIpForwardingRule api: startPort/protocol - required, endPort is optional
* updated "firewall_rules" table with a new field "is_one_to_one_nat" (being set when new rule is created)
2011-01-25 14:43:32 -08:00
abhishek
b2a9b3061d
bug 8099: returning systemvms for direct networking
...
status 8099: resolved fixed
2011-01-25 14:34:41 -08:00
Kelven Yang
8f138d9330
Remove unused code in ConsoleProxyManager
2011-01-25 11:36:07 -08:00
abhishek
fc5ec096f5
bug 8188: removing service and disk offerings associated with a domain, when we delete a domain
...
status 8188: resolved fixed
2011-01-25 11:23:51 -08:00
Kelven Yang
28bbba3cea
Reset pending-only jobs upon management server startup
2011-01-25 11:19:35 -08:00
Edison Su
e4d9216222
Revert "fix for the Bug 7836 - Add secondary storage- MS fails to check invalid path specified"
...
This reverts commit 53b2ba278d .
2011-01-26 04:07:56 -05:00
alena
e256285b05
Generate alerts_types.xml document along with other xml docs.
2011-01-25 10:37:00 -08:00
alena
240a4b84be
Fixed logging for vm expunge process
2011-01-25 09:47:54 -08:00
alena
825042fbd7
bug 8156: fixed update for xen.heartbeat.config.interval parameter
...
status 8156: resolved fixed
2011-01-25 09:35:39 -08:00
kishan
16c8111add
bug 8122: cover port forwarding rules for usage
...
status 8122: resolved fixed
2011-01-25 19:14:55 +05:30
kishan
e5b2b396ec
bug 8124: log VM.STOP usage event for user Vms only
...
status 8124: resolved fixed
2011-01-25 16:54:58 +05:30
kishan
00ebbbed6d
bug 8098, 8126: Added vm destroy event during expunge
...
status 8098,8126: resolved fixed
2011-01-25 15:51:20 +05:30
kishan
2e13c9c477
use destroy state instead of boolean falg for volumes
2011-01-25 15:49:11 +05:30
root
5411e6d91f
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2011-01-25 12:06:47 -05:00
root
53b2ba278d
fix for the Bug 7836 - Add secondary storage- MS fails to check invalid path specified
...
mounting the path to validate the NFS URl
2011-01-25 11:58:33 -05:00
alena
3a008ee699
Changed restartNetwork command flow:
...
* API requires network id to be passed in (it was optional before)
* restartNetwork calls restart() method of all network elements in the system, and it's up to the element to decide which actions to take on the restart (for example, for Virtual Router it's IPAssoc/applyPF/applyLBRules).
2011-01-24 18:37:57 -08:00
Alex Huang
463835e7d7
removed unused domain in system vms
2011-01-24 17:50:32 -08:00
Alex Huang
68464d6f66
removed unused dns
2011-01-24 17:50:32 -08:00
Alex Huang
c59e576a51
removed unused dns
2011-01-24 17:50:32 -08:00
Alex Huang
65034995a3
removed unused guest ip fields from system vm
2011-01-24 17:50:32 -08:00
Alex Huang
1a7617bb95
removed unused vlan fields from system vm
2011-01-24 17:50:32 -08:00
alena
851d7c2bd2
Use correct searchBuilder in NicDao
2011-01-24 17:29:54 -08:00
abhishek
b714f1170c
bug 8097: introducing an optional zoneId param whilst listing hypervisors
...
status 8097: resolved fixed
2011-01-24 17:24:31 -08:00
alena
0e4196448a
bug 7811: Start domR/Dhcp if it's not running when do userVmReboot
...
status 7811: resolved fixed
Other fixes:
* vmExpunge: cleanup LB/PF rules after vm was marked as Expunging in the DB to avoid the situation when user recovers a vm in the middle of expunge job.
2011-01-24 17:04:23 -08:00
Alex Huang
2466589e2f
removed unused domain_router_id from uservm
2011-01-24 16:56:00 -08:00
Alex Huang
20891ae6f9
removed unused guest ip fields from uservm
2011-01-24 16:55:59 -08:00
Alex Huang
a55d395b86
removed unused vnet field
2011-01-24 16:55:59 -08:00
Alex Huang
fc33ef2be2
Removed several unused fields after the refactoring
2011-01-24 16:18:40 -08:00
Frank
38ab26bcb0
ovs tunnel network -- add lock entry in ovs_tunnel_account
2011-01-24 13:47:34 -08:00
abhishek
334c41a7e8
using the accessor method instead of the obj directly
2011-01-24 13:43:11 -08:00
abhishek
ab87e10ad1
bug 7970: some more improvements to the storage maintenance with 2 pools
...
status 7970: resolved fixed
2011-01-24 11:27:52 -08:00
Frank
639ddbb45c
ovs managers: handle execption along with Alex's convention
2011-01-24 10:06:07 -08:00
alena
6304a92c23
bug 7881: fixed publicIpAllocation to an account.
...
status 7881: resolved fixed
Also fixed the issue with account delete when nonSourceNat ip addresses were not being released
2011-01-24 10:03:18 -08:00
abhishek
1ff8d98d4c
bug 7892: ensuring backward compatibility for list and create cmds
...
status 7892: resolved fixed
2011-01-24 09:56:08 -08:00
kishan
dcd12c213c
bug 7951: Added source nat field for ip address usage
...
status 7951: resolved fixed
2011-01-24 17:09:11 +05:30
kishan
956b678ed4
bug 7857: Added netwrork usage create command to router start command
...
status 7857: resolved fixed
2011-01-24 12:20:38 +05:30
abhishek
3ecbc93643
fixing a users listing issue
2011-01-21 17:45:05 -08:00
Frank
276e37115b
open vswitch - Implement gre tunnel based network that doesn't use vlan
...
it allows cross zone communication and no 4096 limitation introduced by vlan
2011-01-21 17:32:02 -08:00
abhishek
0dc959c23f
removing guest ip address during ip assoc from java layer
2011-01-21 17:27:13 -08:00
abhishek
067811475f
introducing an embedded user obj anytime we create an account, as a response
2011-01-21 16:00:48 -08:00
abhishek
61ce43bdff
bug 7892: introducing recursive listings for various artifacts based on the domain id and the isRecursive flag
2011-01-21 15:25:18 -08:00
alena
26b6d17ec6
bug 8139: Allow to have Virtual and Direct networks with the same vlanId
...
status 8139: resolved fixed
2011-01-21 15:14:08 -08:00
Alex Huang
73e5a789d1
removed useless code
2011-01-21 12:10:50 -08:00
Alex Huang
48ec23ce95
Removed a bunch of useless code
2011-01-21 12:10:50 -08:00
Kelven Yang
4503222409
Bug:6510 add VM state check
2011-01-21 11:57:18 -08:00
Kelven Yang
cfb51ece25
Bug 8019: send snapshot commands to host that owns the VM
2011-01-21 11:08:23 -08:00
Edison Su
d45f5cd5bf
bug 8119: don't boot from iso, if iso is dettached
...
status 8119: resolved fixed
2011-01-22 04:04:52 -05:00
Edison Su
4b355ca301
bug 8118: add security group back
...
status 8118: resolved fixed
2011-01-22 04:04:52 -05:00
Edison Su
314a491b9c
bug 8094: forword port NetworkRulesSystemVmComman from 2.1.x to 2.2, to fix security group is lost after migration
...
status 8094: resovled fixed
Conflicts:
agent/src/com/cloud/agent/resource/computing/LibvirtComputingResource.java
2011-01-22 04:04:52 -05:00
Edison Su
1bcbd983f1
pass down iso, not matter is bootable or not
2011-01-22 04:04:51 -05:00
alena
4d0d47f6fc
listVlanIpRanges api: for Account specific Virtual ip range return account information taken from account_vlan_map table instead of taking it from corresponding network
2011-01-21 10:57:14 -08:00
anthony
cd0f5e7c20
bug 7976: if the snapshot is empty, still create a snapshot entry which has the same backupSnapshotId even though nothing is backed up to secondary storage
...
status 7976: resolved fixed
2011-01-21 10:45:09 -08:00
Kelven Yang
aedb433ca2
Bug 8010: retire capacity.skipcounting.hours and capacity.skipcounting.destroyed.hours
...
Status 8010: Resolved Fixed
2011-01-21 10:35:25 -08:00
alena
671cce23ad
bug 7704: network_rate is a part of network offering now. It's optional parameter; if not specified - global config param is used.
...
status 7704: resolved fixed
2011-01-21 09:54:27 -08:00
will
80e81647a9
bug 8152: removed security.password.md5hashed as it's no longer being used.
2011-01-21 09:49:06 -08:00
will
953c862713
Removed hypervisor.type from the login response since this capability does make sense anymore in 2.2
2011-01-20 17:49:13 -08:00
will
1634c29e81
- Cleaned up more capabilities related to security groups and to make use of listCapabilities.
2011-01-20 16:35:40 -08:00
abhishek
31c9cce6c3
bug 7949: changing security group code to use ids instead of name
...
status 7949: resolved fixed
2011-01-20 14:21:32 -08:00
alena
af3373c4d6
Deleted global config parameter direct.network.no.default.route that is no longer in use.
2011-01-20 13:15:25 -08:00
abhishek
b30b75cd18
bug 8048: preventing returning of volumes attached to destroyed vms, when list vols is executed by normal user
...
status 8048: resolved fixed
2011-01-20 11:42:01 -08:00
alena
a4cfe20db8
bug 7389: implemented listPortForwardingRules by ip/account/domainId. Also fixed broken pagination for this call
...
status 7389: resolved fixed
2011-01-20 11:35:40 -08:00
abhishek
bec7ea4a96
bug 8069: returning vm display name in list vols for user vms
...
status 8069: resolved fixed
2011-01-20 10:34:37 -08:00
Alex Huang
2ec5bef63f
eclipse workspace changes
2011-01-20 10:31:18 -08:00
Alex Huang
57def20cf6
moved all agent commands to api.
2011-01-20 09:54:05 -08:00
Alex Huang
3a9d6884ce
Removed useless code
2011-01-20 09:54:05 -08:00
kishan
94ec7bf27a
bug 7842: events refactoring. Still wrok in progress
2011-01-20 21:49:50 +05:30
nit
d1aa043aba
bug 7525: Cleaning up primary storage stats from op_host_Capacity(reflected on dashboard) when primary storage is deleted.
...
status 7525 : resolved fixed
2011-01-20 20:38:43 +05:30
nit
75fa849324
bug 7418,7706 : listisos - removing domainid = -1 for system isos. Adding the created attr.
...
status 7418,7706 : resolved fixed
2011-01-20 17:29:06 +05:30
kishan
7fcd0314d8
bug 6414, 6513: do not send host alerts when conole proxy or ssvm goes down
...
status 6414, 6513: resolved fixed
2011-01-20 16:51:53 +05:30
kishan
c685c77d74
Populate diskofferingid in usage events only if the offering is of type disk
2011-01-20 13:38:29 +05:30
kishan
8563322993
recommiting usage changes which were erased due to 650fb5221e
2011-01-20 13:36:43 +05:30
abhishek
09960f76eb
bug 8112: this broke again after the alex refactor. Fixing it again
...
status 8112: resolved fixed
2011-01-19 18:03:19 -08:00
alena
3f9e96b08a
bug 8035: allow PF rules creation with the same parameters except for the protocol
...
status 8035: resolved fixed
2011-01-19 17:31:59 -08:00
abhishek
afcb202923
bug 7900: removing obsolete network domain param
...
status 7900: resolved fixed
2011-01-19 17:18:02 -08:00
Alex Huang
16bb33979d
bug 7896: Added check for template constraint in template_spool_ref table. Removed On delete cascade on the template_host_ref table
2011-01-19 17:05:58 -08:00
alena
43c0190963
Shutdown the network when it fails to implement
2011-01-19 16:36:23 -08:00
will
d497a71619
Cleaned up uselocal storage config param as I don't see what it is beng used anymore as. Also, removed the filter for not allowing the user to set "offerHA" if hypervisor.type == KVM.
2011-01-19 16:06:47 -08:00
abhishek
210e828a46
bug 8045: fixing the corner case around uncaught/unexpected exceptions; minor refactor of the code
...
status 8045: resolved fixed
2011-01-19 15:04:19 -08:00
Alex Huang
ca22308d7d
Removed useless methods
2011-01-19 14:47:34 -08:00
abhishek
f97a5e78cb
bug 7970: fixing sp maintenance for 2 pools
...
status 7970: resolved fixed
2011-01-19 14:32:56 -08:00
Alex Huang
1d091236e9
removed inaccurate reservation strategy for nics
2011-01-19 12:03:41 -08:00
anthony
1e21455496
bug 8104: use correct SearchBuilder
...
status 8104: resolved fixed
2011-01-19 11:50:28 -08:00
Frank
9b8387fe8c
Don't print calltrack of exception
2011-01-19 11:42:16 -08:00
alena
2f608c31a4
bug 8096: secondary storage vm doesn't have to be UP when we do attachIso/startVm from iso
...
status 8096: resolved fixed
2011-01-19 10:42:41 -08:00
kishan
88024bea6a
bug 6928: throw error when router is not in stopped state while upgrading
...
status 6928: resolved fixed
2011-01-19 16:30:12 +05:30
kishan
1117eff8f9
bug 7069: throw exception when Vm is already assigned to load balancer
...
status 7069: resolved fixed
2011-01-19 16:00:56 +05:30
kishan
1872c941f4
bug 7157: throw insufficient capacity exception when public Ips are exhausted
...
status 7157: resolved fixed
2011-01-19 15:33:42 +05:30
alena
5f072009de
bug 8062: cleanup PF/LB rules before calling advanceExpunge for the vm.
...
status 8062: resolved fixed
2011-01-18 23:50:28 -08:00
kishan
fa2ae5793a
bug 7341: introduced search by id and vmId for listIpForwardingRules
...
status 7341: resolved fixed
2011-01-19 13:13:09 +05:30
anthony
017146f753
1 use 443 to connect xapi
...
2. update Java binding to xenserver-5.6.100-1.jar
2011-01-18 20:15:39 -08:00
alena
4c697304ec
Fixed release() method to use correct Nic state
2011-01-18 20:01:01 -08:00
alena
632d3c67f1
bug 6689: release source nat ip address as a part of domR/dhcp destroy
...
status 6689: resolved fixed
Changes to destroyNetwork process. Here are the steps:
* shutdown network - shutdowns all network elements (domRs/Dhcps)
* delete network - destroy all network elements, cleanup network's resources (vlans, ip ranges), mark network with Destroyed state and set Removed field
2011-01-18 19:31:04 -08:00
Kelven Yang
23cf2e048a
HA fix on VM-sync for VM in starting state, Mac Address fix
2011-01-18 19:28:51 -08:00
Alex Huang
650fb5221e
nic is no longer reserved
2011-01-18 19:28:44 -08:00
will
5c5563dfdd
UI will now use the config param "allow.public.user.templates". If this is false, only admins will be able to set the "public" status of a template.
2011-01-18 19:08:31 -08:00
Alex Huang
1d8ece0671
missing state transitions for ha
2011-01-18 16:33:29 -08:00
Alex Huang
28137b805b
more cleanup work
2011-01-18 16:17:04 -08:00
Kelven Yang
c0fb9be02a
Turn on rp_filter default to disable for console proxy VM, avoid explcit route conflict in DomR
2011-01-18 16:15:05 -08:00
Alex Huang
e8f89004d9
added more robust start code
2011-01-18 16:09:24 -08:00
abhishek
2188450fb0
porting 8065 to master
2011-01-18 13:46:46 -08:00
alena
f20c725827
bug 8062: fixed releasing vnet when corresponding network is shutdown. Used to happen because reservation_id for the network didn't match reservation_id for the vnet, and cleanup thread couldn't find vnet to cleanup
...
status 8062: resolved fixed
Also set broadcastUri to null when shutdown the corresponding network.
2011-01-18 13:25:04 -08:00
Edison Su
b55e7a5bf4
bug 8032: for xen pv guest, if an iso is attached, then only when the iso's guest os type is equal to vm's os type, we boot from iso.
...
status 8032: resolved fixed
2011-01-19 05:00:40 -05:00
Frank
48fd9221ee
bug 7722: open vswitch -
...
only create ovs stuff when ovs enabled
2011-01-18 10:49:20 -08:00
kishan
568eb8a59a
bug 7950: removed IPAssoc usage events for system account
...
status 7950: resolved fixed
2011-01-18 13:15:09 +05:30
nit
6e089ca99c
bug 8031 : Allowing user to create his/her own private template that was created from the user's VM.
...
status 8031 : resolved fixed
2011-01-17 14:15:15 +05:30
kishan
e512413f06
bug 7925: Added usage event for private template creation
...
status 7925: resolved fixed
2011-01-15 23:27:04 +05:30
alena
50540b2bba
Stop ConsoleProxy/SecondaryStorage vms: use the same code path as for user vms.
2011-01-14 17:57:15 -08:00
alena
0d2be33b2d
Changed response format in xml api doc generator
2011-01-14 17:55:32 -08:00
abhishek
d59358dd09
merging 8016 into master
2011-01-14 17:42:02 -08:00
Chiradeep Vittal
f932ebf58f
bug 8009: return null instead of exception when the vm is stuck in STARTING
...
status 8009: resolved fixed
2011-01-14 15:13:49 -08:00
Alex Huang
42950f2e8b
migration complete
2011-01-14 15:12:13 -08:00
Alex Huang
d43717eef8
merge changes
2011-01-14 15:12:13 -08:00
Alex Huang
19edfdfcdb
migration code
2011-01-14 15:12:13 -08:00
Frank
39f75887b1
bug 7722: open vswitch -
...
1. add more readable log when tunnel create failed
2. correct drop flow when port number more than 10
other fixs:
return false when vm is null in checkSessionPermision
this avoid null pointer Exception
2011-01-14 13:47:50 -08:00
alena
5af31fc97c
Modified API xml doc writer - sort request and response parameters in alphabetical order.
2011-01-14 11:18:54 -08:00
Kelven Yang
e9b446e3bd
Bug 6905: explicitly deny access when management server is not fully up for service
2011-01-14 10:58:24 -08:00
alena
8fbdc0bebf
bug 7996: Update Removed field for domR during expunge if epxunge is successful
...
status 7996: resolved fixed
2011-01-14 10:00:50 -08:00
nit
3d9d73e627
bug 7519 : Correcting the NPE getting thrown due to a recent rewrite of events. Also improving the logging when ssvm is not up.
...
status 7519 : resolved fixed
2011-01-14 19:35:34 +05:30
kishan
03a66d4b90
bug 7842: events refactoring
2011-01-14 18:55:54 +05:30
nit
e0f03a4f89
bug 7655 : The dashboard would use the reserved capacity + used capacity in the op_host_Capacity to reflect the total used capacity. Reserved capacity corresponds to the stopped vms within a specific interval called vm.resource.release.interval
...
status 7655 : resolved fixed
2011-01-14 18:01:08 +05:30
abhishek
c312147c52
bug 7991: blocking cancelmaintenance if sp is in prepareformaintenance
...
status 7991: resolved fixed
2011-01-13 18:21:52 -08:00
Frank
474962be9d
Bug 7973 - user vm network stats are off
...
use correct format for double to long.
Double.doubleToLongBits() is to convert float to binary representation, not to
long
2011-01-13 18:00:26 -08:00
abhishek
3406f4d5c0
bug 7988: fixing the sp state on delete
...
status 7988: resolved fixed
2011-01-13 17:21:35 -08:00
abhishek
7c2fffe67a
bug 7989: fixing this regression
...
status 7989: resolved fixed
2011-01-13 17:07:03 -08:00
alena
13630923ab
bug 7959: return gateway for domainRouter Api commands
...
status 7959: resolved fixed
2011-01-13 17:04:44 -08:00
Chiradeep Vittal
dd7f8625cc
bug 7380: SNAT rules when there are multiple public interfaces
...
bug 6854: port from 2.1.x
2011-01-13 16:59:35 -08:00
keshav
b7392e99cd
Enabled local storage cleanup
2011-01-13 16:45:51 -08:00
anthony
fa1da347c6
bug 7978: it happens when MS is restarted before DeleteTemplateCommand responds, if the template directory doesn't exist, return success
...
status 7978: resolved fixed
2011-01-13 16:24:43 -08:00
Chiradeep Vittal
2b66b8a924
bug 7929: remove security groups when account is deleted.
...
status 7929: resolved fixed
2011-01-13 15:40:29 -08:00
Kelven Yang
d14f3bffc3
Log for console ticket verification
2011-01-13 14:58:48 -08:00
abhishek
13c0478b9b
bug 7933: this happens if you create a vm off of a so, and then delete that so. the so now ceases to exist, however, the host tries to calc stats using the so, which is null. fixing that issue.
...
status 7933: resolved fixed
2011-01-13 14:55:34 -08:00
Chiradeep Vittal
d7d9a251be
bug 7993: fix npe
...
status 7993: resolved fixed
2011-01-13 14:48:25 -08:00
kishan
389e77fc46
bug 7924: Do not create usage event for create volume
...
status 7924: resolved fixed
2011-01-14 04:14:13 +05:30
kishan
a2752c6207
bug 7842: Move events to service layer from http api
2011-01-14 03:58:57 +05:30
kishan
83503a46a9
bug 7842: Move events to service layer from http api
2011-01-14 03:58:57 +05:30
kishan
388e689755
bug 7842: Move events to service layer from http api
2011-01-14 03:58:56 +05:30
anthony
83b55b7040
bug 7911: in mysql, condition field != value doesn't return entries whose field is null
...
status 7911: resolved fixed
2011-01-13 14:08:08 -08:00
Frank
488dd424aa
bug 7722: open vswitch -
...
fix a race condition, create tunnel sync
correct drop flow, this fix a flooding case which may cause openvswitch hang in kernel
2011-01-13 13:53:35 -08:00
abhishek
0e9ab0ee6a
appended stacktrace instead of logging it.
2011-01-13 13:26:01 -08:00
abhishek
5f06654b38
bug 7960: the npe should be fixed with my previous fix. adding better logging and some exception handling
...
status 7960: resolved fixed
2011-01-13 13:24:04 -08:00
alena
877741030c
bug 7957: set network domain for domain router based on Network networkDomain parameter. Default networkDomain is "cloud.internal"
...
status 7957: resolved fixed
2011-01-13 11:57:29 -08:00
abhishek
e0aef28910
bug 7975: we were missing the podid for a user vm, and this is used during vol attach. Adding the same, this fixes the NPE
...
status 7975: resolved fixed
2011-01-13 11:40:54 -08:00
nit
be70b42722
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2011-01-13 16:03:31 +05:30
nit
f9a6d476b4
bug 7519 : Adding the extractable attribute in ListTemplates/ISOs/Volumes command
2011-01-13 15:52:23 +05:30
Ragnar B. Johannsson
7a60bbbbbc
Refresh UserVmDetails before using.
2011-01-13 01:21:57 +00:00
Ragnar B. Johannsson
81bb2a43d1
Do not save an SSH public key unless one is provided.
2011-01-13 00:48:48 +00:00
alena
381717854c
Fixed NPE in deleteAccount - search for all accounts (instead of searching for active accounts only) when do deleteNetwork
2011-01-12 16:34:56 -08:00
keshav
158ed4c622
Changed some formatting.
2011-01-12 16:26:23 -08:00
Ragnar B. Johannsson
bf747a4a2e
Merge branch 'master' of git.cloud.com:/var/lib/git/cloudstack-oss
2011-01-12 23:31:42 +00:00
Ragnar B. Johannsson
4bb42e43cc
Get UserVm details via UserVmDao.loadDetails().
...
Also, removed references to ssh public key in UserVmVO and the underlying
table and used user_vm_details instead.
2011-01-12 23:24:17 +00:00
alena
8b18b58c51
bug 7947: use correct search builder in UserVmDao
...
status 7947: resolved fixed
2011-01-12 14:15:13 -08:00
Kelven Yang
256e26ff61
Waiting virtual router to be ready in a outer place instead of inside VirtualNetworkApplianceImpl. This is to fix the the blocker issue of unable to deploy VM/start DomR
2011-01-12 12:31:19 -08:00
alena
4418e8f245
Don't zip Api xml doc directory in java code, rpm script will do it
2011-01-12 12:18:53 -08:00
Ragnar B. Johannsson
83b3580c32
Merge branch 'master' of git.cloud.com:/var/lib/git/cloudstack-oss
...
Conflicts:
client/tomcatconf/commands.properties.in
core/src/com/cloud/vm/UserVmVO.java
server/src/com/cloud/configuration/DefaultComponentLibrary.java
server/src/com/cloud/vm/UserVmManagerImpl.java
2011-01-12 17:06:08 +00:00
Ragnar B. Johannsson
3e59707dd2
Added user_vm_details table and corresponding access objects.
...
Moved saved encrypted passwds for getVMPassword API cmd to this new table.
Removed SSH keypair id from UserVm - only public key is needed.
2011-01-12 16:32:36 +00:00
nit
58a80d57cc
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2011-01-12 19:37:42 +05:30
nit
d5297519a5
bug 7519 : Some additional code.
2011-01-12 19:35:28 +05:30
nit
dce1e2031b
bug 7519 : Extract links would have Java genereated UUID instead.
2011-01-12 16:53:42 +05:30
anthony
8b425e6313
need to check state every 2 second
2011-01-11 19:36:55 -08:00
Frank
870d0835a5
bug 7722: open vswitch - add entities to tunnel table/vlan mapping table when
...
host connect, this make these tables lock free(for table lock)
2011-01-11 19:04:37 -08:00
anthony
7add7643e3
bug 7748: need to make sure domr is up before start user VM, if domr is not up within 5 minutes, throw exception
...
status 7748: resolved fixed
2011-01-11 18:58:20 -08:00
anthony
beb97057e1
reconnect hosts after MS restart
2011-01-11 18:09:01 -08:00
anthony
5b68027d3a
bug 7858: for untagged vlan, broadcastRUi is vlan://untagged
...
status 7858: resolved fixed
2011-01-11 18:09:01 -08:00
Alex Huang
6d9442be54
Finished all merges and unit testing
2011-01-11 18:02:09 -08:00
Alex Huang
6e6e8ff876
better expunge and destroy of volumes
2011-01-11 18:02:09 -08:00
Alex Huang
7f597e594c
added work list to vm start
2011-01-11 18:02:09 -08:00
Alex Huang
ad4ed5b2fd
added hypervisor type to vm
2011-01-11 18:02:09 -08:00
abhishek
eec9f5f6f6
A minor fix to take into account stopping of a vm in stopping state. We will get a concurrentmodificationexception, and end in errorinmaintenance. This behavior is consistent with how stop works for cpvm.
2011-01-11 17:11:41 -08:00
alena
620e7e0305
Implemented list by trafficType in listNetworks command
2011-01-11 16:06:58 -08:00
alena
6ebbff60f4
Fixed Api xml doc generator
2011-01-11 15:26:04 -08:00
alena
5dfe399c1a
bug 7803: introduces new parameter "is_default" for the network. DeployVm requires 1 default network to be specified, other networks (if any) have to be secondary
...
status 7803: resolved fixed
Fix overview:
1) Parameter "isDefault" should be defined as a part of createNetwork
* Virtual network is always default
* Parameter can be specified only for DirectNetwork
* Once parameter is set, there is no way to change it as we don't provide updateNetwork command.
2) Added isDefault parameter to listNetworks command so you can sort by that.
3) DeployVmCmd:
* at least one default network should be set
* if more than 1 default network is set - throw an error
4) Return isDefault information as a part of Nic object for the vm response in deploy/stop/start/listVm
2011-01-11 14:22:26 -08:00
abhishek
e28882b8ee
eliminating use of multiple variables; using the same var for all protocols (denoting ports for tcp/udp and type/code for icmp)
2011-01-11 14:20:02 -08:00
abhishek
e4c3f556c2
bug 7942: we were not using the right values for record creation when the proto=icmp. Using the right vals
...
status 7942: resolved fixed
2011-01-11 13:57:53 -08:00
abhishek
8995a0afb6
adding more logging for the corner case
2011-01-11 12:14:13 -08:00
abhishek
95756802e3
bug 7899: this seems to be a corner case, and from the logs, there was a vol with no pool id associated with it. Adding a check against it, as this should never happen
...
status 7899: resolved fixed
2011-01-11 12:11:46 -08:00
Ragnar B. Johannsson
ee923e5797
Added HTTP Header 'X-Description' to API error responses.
...
For easy access to API error descriptions in the CloudBridge.
2011-01-11 18:27:03 +00:00
nit
ffe387ab5b
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2011-01-11 20:08:24 +05:30
nit
6850a0ae9a
bug 7519 : Opening eth2 for public traffic on ssvm. Implementing the ip firewall for zone to zone copy in the Apache layer. Disabling directory listing for extract server root.
2011-01-11 20:05:35 +05:30
Frank
c6683c2eab
bug 7722: open vswitch -
...
refine ovs plugin, create a separate plugin instead of messing with vmops
refine gre tunnel, maintains tunnel in database instead of plugin
fix an arp issue cause by overlap vlan range
2011-01-11 02:55:36 -08:00
alena
0c38485c19
Added missing descriptions to a bunch of api commands
2011-01-10 20:30:29 -08:00
alena
07aa1d68d1
Fixed minor issues in tool generating the difference between 2.1.x and 2.2 apis
2011-01-10 19:12:16 -08:00
alena
5dde719988
Api xmlDocWriter: write each xml command to single file for 1)rootAdmin 2)domainAdmin 3)regularUser
2011-01-10 19:12:16 -08:00
anthony
a1c53ae785
bug 7646:can not use the connection after join pool
...
status 7646: resolved fixed
2011-01-10 15:44:14 -08:00
alena
bc74fefe68
Api xmlDocWriter: create 2 output .xml files; one contains commands in the order defined in commands.properties.in file, another - commands in alphabetical order.
2011-01-10 14:36:07 -08:00
alena
15fc1fa10f
Fixed listNetworks to list all system networks (not just Public) when isSystem=true is specified
2011-01-10 14:04:50 -08:00
alena
7bf7f3d284
Api xml doc: generate xml per command in addition to xml containing all api commands
2011-01-10 12:17:57 -08:00
alena
d31b3cc446
Resend dhcp/userData entries as a part of Dhcp vm start.
2011-01-10 12:17:57 -08:00
Frank
a964494332
bug 7722: open vswitch - align some data type with master branch
2011-01-08 17:31:00 -08:00
Frank
e9959d32a9
bug 7722: open vswitch - handle router when schedule a work
2011-01-08 16:28:47 -08:00
Frank
ec643c7e59
bug 7722: open vswitch - refine code; add normal flow makes vswitch work as
...
normal L2/L3, otherwise the output packet cannot find right output port
2011-01-08 16:28:47 -08:00
Frank
6f9f8b145b
bug 7722: open vswitch - complete
2011-01-08 16:28:47 -08:00
Frank
9d2916ffcc
it works
2011-01-08 16:28:47 -08:00
Frank
c94b6acadf
bug 7722: open vswitch - works at VM start time, need fullsync() and flow clean in next
2011-01-08 16:22:59 -08:00
Frank
5c01c42ba7
fix bug 7722, code complete basic architecture
2011-01-08 16:20:39 -08:00
alena
140d704e2f
Generate separate xml Api docs for regularUser/domainAdmin/rootAdmin
2011-01-07 18:40:47 -08:00
alena
93a49fcd72
Return shared networks for regular user
2011-01-07 18:22:32 -08:00
Edison Su
d2dab22437
enable snapshot for rhel
2011-01-08 11:08:21 -05:00
Kelven Yang
323fc6299d
Use volume state to determine whether or not we need to send volume DestroyCommand to hypervisor hosts.
2011-01-07 05:41:28 -08:00
alena
b8a17f4a97
Don't default isShared to false for listNetworks api command.
2011-01-07 17:39:00 -08:00
alena
d0687f663f
bug 7863: fixed router cleanup thread
...
status 7863: resolved fixed
Router cleanp thread is fixed, here is functionality description:
* Runs every "router.cleanup.interval" period of time (1 day by default)
* Stops only domRs running in Advance zone
* Thread Flow:
- gets all Running domRs/dhcps, get their networks, select network that
has to be checked (see criteria below):
- checks that there is only one nic in the op_networks table for the
network, and this nic belongs to domR/dhcp
- Stops domR/dhcp
* Criteria to choose the network:
- Network has to be non-system.
- Network should be one of the following: Guest Virtual (TrafficType=Guest; GuestType=Virtual); Direct Tagged (TrafficType=Public; GuestType=Direct)
Couple of other fixes:
* Added isShared parameter to listNetworks command
* Moved guestType from NetworkOffering to Network
2011-01-07 16:57:47 -08:00
abhishek
ffb8d54dff
changing a few obsolete names to std convention
2011-01-07 16:49:51 -08:00
abhishek
fec9a6d566
not iterating over cidr list if null
2011-01-07 16:22:28 -08:00
abhishek
d639854426
fixes for the security groups
2011-01-07 16:22:28 -08:00
alena
d3bac931b4
Deploy from server-setup.xml: Fixed createDefaultNetworks to use correct guru names
2011-01-07 15:05:10 -08:00
alena
335e81cc52
Fixed listNetworks for regular user to return system network information
2011-01-07 14:09:34 -08:00
Alex Huang
a1bdec8fa1
add missing libraries
2011-01-07 14:08:41 -08:00
anthony
1044a99756
check answer
2011-01-07 13:54:58 -08:00
anthony
be174f7f36
correct checking answer
2011-01-07 13:54:58 -08:00
Alex Huang
386d4a540d
merge changes
2011-01-07 13:46:20 -08:00
Alex Huang
6dc922408d
unit test working
2011-01-07 13:42:43 -08:00
Alex Huang
4b360258ee
allow multiple ways to intercept
2011-01-07 13:42:43 -08:00
Alex Huang
e496a99c1c
added processing for events
2011-01-07 13:42:43 -08:00
Alex Huang
2e29f21e5a
changes for injectors
2011-01-07 13:42:43 -08:00
alena
789912de6a
Removed guestIpType parameter from listNetwork offerings command
2011-01-07 10:54:45 -08:00
will
8284abedf5
bug 7902: Fixed problem with updating secstorage.ssl.cert.domain as it was incorrect set to be validated as a boolean and also was set to be validated as an ip range.
...
- Fixed error message returned when validating boolean to not return double-quotes as that breaks JSON.
2011-01-07 10:39:49 -08:00
abhishek
274edf1478
fixing sec group rules creation, and also adding some description in commands. checking in so that ui work can begin.
2011-01-07 10:34:00 -08:00
keshav
d2196d169e
Moved global lock inside storage cleanup method.
2011-01-06 17:46:36 -08:00
Ragnar B. Johannsson
a013640180
Bugfix: Do not URL-decode API parameters twice.
...
There's no need to call ApiServer's handleRequest with decode=true
since Tomcat has already url-decoded the parameters. URL-decoding
twice breaks all Base64 encoded data such as userData in deployVM,
since %2b decodes to ' ', not '+' as it should.
2011-01-06 14:25:59 +00:00
Ragnar B. Johannsson
32c68e1583
API cmds for SSH-keys manipulation and VM passwds retrieval.
...
These include five new API cmds as well as changes to deployVirtualMachine to
specify an optional name of an SSH key to pass to the VM when starting. When
an SSH key is specified with a password-enabled template the newly created
password is encrypted with the SSH public key and can be retrieved via the
getVMPassword cmd. It is then the user's responsibility to decrypt retrieved
passwords with the correct SSH private key.
2011-01-06 13:34:07 +00:00
Kelven Yang
56d8fb6a0b
Bug 7015: allow domain admin to be able to access domR console
2011-01-06 05:27:32 -08:00
alena
4ec3bc5865
bug 7244: delete corresponding untagged pod vlan ranges when pod is deleted
...
status 7244: resolved fixed
2011-01-06 16:16:09 -08:00
alena
916b516d13
bug 7878: Fixed Basic zone functionality - uservm/systemvm/domR start
...
status 7878: resolved fixed
2011-01-06 15:44:13 -08:00
alena
02dc187a0c
bug 7727: Don't create Public network with broadcast_domain_type=vlan for Basic zone
...
status 7727: resolved fixed
2011-01-06 15:44:13 -08:00
Kelven Yang
a0d821ca79
VMware local storage support
2011-01-05 06:14:43 -08:00
will
68d5c0919a
bug 5482: Fixed malformed JSON when an error is returned by the API call. Also fixed the UI to make use of the new JSON object.
2011-01-05 18:06:59 -08:00
abhishek
20ec0beae5
bug 7829: fixed the keyword search for storage pools
...
status 7829: resolved fixed
2011-01-05 17:34:03 -08:00
Kelven Yang
8a263f34ba
Fix jUnit reference issue in test project for Eclipse
2011-01-05 03:58:47 -08:00
Kelven Yang
ea88089fd2
Bug 7409: Implement forcely-cancelling mechenism for jobs that have been staying in queue for too long
...
1) introduced a global configuration variable job.cancel.threshold.minutes
2) Default value for the job.cancel.threshold.minutes is 60 minutes, if a job has been staying in processing state for over 60 minutes, system will forcely remove it from the queue to allow others to run
2011-01-05 15:44:10 -08:00
abhishek
1d25a33be1
bug 5915: removing the check to see if there are other hosts in maintenance, whilst enabling host maintenance
...
status 5915: resolved fixed
2011-01-05 13:47:39 -08:00
abhishek
f3e91de0bd
bug 7824: implementing search for pools by id
...
status 7824: resolved fixed
2011-01-05 12:00:20 -08:00
Kelven Yang
cb7b6867c6
Bug 7370: Give domain admin permission to view user VM under its domain scope
2011-01-04 23:42:49 -08:00
Kelven Yang
496bbeba88
Bug 7860: protected from NPE whhile console proxy public address is not set during startup process
2011-01-04 22:31:44 -08:00
Kelven Yang
4be13ee8a4
Add sanity check to allow only adding the right hypervisor hosts to the matched cluster
2011-01-04 22:10:55 -08:00
alena
c74fd529be
bug 7611: get directPodBased default network when deploy vm with no networkId specified
...
status 7611: resolved fixed
2011-01-04 18:43:03 -08:00
anthony
1352e5b8a6
use new VM state
2011-01-04 17:51:57 -08:00
will
a92dd2a81e
bug 7611: VM wizard will no longer pass in any network ids if the zone only support basic network type
2011-01-04 17:46:34 -08:00
anthony
57ee66a22d
XenServer can tell if the VM is shutdowned from inside,
...
if VM is shutdowned from inside, a new state "Shutdowned" is reported to MS and this VM will not be restarted even HA is enabled for this VM
2011-01-04 17:40:13 -08:00
abhishek
3aa1726009
bug 7822: fixing the storage maintenance failures centered around domr stop/start
...
status 7822: resolved fixed
2011-01-04 17:37:50 -08:00
alena
edfbc5a782
bug 7267: create/updateZone - guestNetworkCidr parameter is accepted only for zone of type Adanced.
...
status 7267: resolved fixed
As a part of the fix added cidr format validation to updateZone command.
2011-01-04 16:59:39 -08:00
Kelven Yang
6ebdafd4c3
Add vmware cluster will automatically bring in all hosts under the cluster
2011-01-04 04:12:47 -08:00
abhishek
58f2f37fc9
adding more range checks in the createZone functionality
2011-01-04 15:22:34 -08:00
abhishek
e28ed752fc
bug 7835: fixing the vnet range issues for add zone and edit zone
...
status 7835: resolved fixed
2011-01-04 15:14:55 -08:00
alena
5743db87e1
bug 5482: build Error api response based on responseType(xml, json) specified in the request instead of using default HttpServlet error response format
...
status 5482: resolved fixed
2011-01-04 15:08:12 -08:00
Alex Huang
61dd3b3bf9
bug 7865: Changed ip allocation for guest network to happen during allocation and not reserve time so ip address won't keep changing
2011-01-04 15:01:34 -08:00
Alex Huang
4eba6d10d7
Moved State into VirtualMachine like other States of objects
2011-01-04 15:01:34 -08:00
anthony
83f3884412
adding change VM guest os type api
2011-01-04 15:01:26 -08:00
Kelven Yang
962aea710b
Cluster details java files
2011-01-04 02:44:36 -08:00
anthony
a72646307b
findDirectAgentToLoad ordered by clusterId
2011-01-04 12:32:38 -08:00
kishan
fb6310e993
bug 6947: removed network type from service offering APIs
...
status 6947: resolved fixed
2011-01-04 13:22:41 +05:30
kishan
ce3c794bd3
bug 6916: check for removed account for ListVMs. Moved realated code to userVm Manager
...
status 6916: resolved fixed
2011-01-04 13:07:49 +05:30
alena
0b7a15ab99
bug 7348: reapply PortForwardingRules (including 1-1 Nat), LB rules, Vpn as a part of domr Stop/Start
...
status 7348: resolved fixed
More fixes:
* Update user_statistics on each domR stop/reboot
* Reset dhcpData/userData as a part of domR stop/reboot
* More logging for domR commands
2011-01-03 23:00:05 -08:00
alena
d18eaa840e
bug 7798: removed vpn events generation from RemoteAccessVpnManagerImpl as we already generate it in ApiDispatcher code.
...
status 7798: resolved fixed
2011-01-03 23:00:05 -08:00
Kelven Yang
7c5895d7d5
Bug 7598: add management server restart and peer-cleanup within cluster handling to async job processing
2011-01-03 16:47:46 -08:00
keshav
92d9e35110
Added a method to find external network appliances that need to be reconnected.
2011-01-03 16:12:36 -08:00
Kelven Yang
f350532453
Bug 5419: use transaction lock instead of global lock when performing domain deletion operation
2011-01-03 15:10:24 -08:00
Kelven Yang
473700481e
Bug 7662: if capacity.check.period is given 0 or negative value, fall back to default value
2011-01-03 14:38:29 -08:00
kishan
511c780e97
bug 7754: added userId and accountId for deleteUser event
...
status 7754: resolved fixed
2011-01-03 16:42:54 +05:30
kishan
bf2b28a70f
bug 7544: check for null host before getting its status
...
status 7544: resolved fixed
2011-01-03 14:26:35 +05:30
kishan
02ae55cc96
bug 7389: made ip optinal for list pf rules, all rules for the account will be listed when ip is not available
...
status 7389: resolved fixed
2011-01-03 13:47:18 +05:30
will
fa7504532e
Merging from 2.2Beta3 where network was not showing network dedicated to an user
2010-12-31 00:52:01 -08:00
will
18d4c97b55
Fixed problem with displaying direct network dedicated to non-admin accounts.
2010-12-31 00:52:00 -08:00
Kelven Yang
7a66300fc9
Update test to avoid eclipse compiling error
2010-12-30 21:07:00 -08:00
keshav
283551d34e
End the enum with a semicolon
2010-12-30 20:48:56 -08:00
keshav
ead0ee07dd
Changed category of "DirectNetworkNoDefaultRoute" configuration value to "Network".
2010-12-30 20:36:00 -08:00
Alex Huang
1df2f6b01b
More copy and paste crap that I had to fix. Are there more?
2010-12-30 20:30:45 -08:00
Edison Su
345d2ab81f
remove the unused use.new.networking configuration
2010-12-31 13:26:39 -05:00
Kelven Yang
3a6a7e30ce
Make management server peer in cluster to help cleanup left-over pending jobs
2010-12-30 18:53:26 -08:00
Alex Huang
62702a2f41
no default route sent for direct network
2010-12-30 17:21:17 -08:00
alena
367cd8dfc9
bug 7780: Assign vm to the group during vm deploy if "group" parameter is specified
...
status 7780: resolved fixed
2010-12-30 17:00:13 -08:00
Kelven Yang
9e2cbbe0dd
Make AddCluster Command return standard json object format
2010-12-30 16:38:31 -08:00
abhishek
3e1f782edd
bug 7606: adding delete vlans and ip addresses during zone deletion
...
status 7606: resolved fixed
2010-12-30 15:48:35 -08:00
anthony
951d86f41f
bug 7782: check if hypervisor type is specified before creating cluster
...
status 7782: resolved fixed
2010-12-30 15:46:12 -08:00
Alex Huang
dc7de43aff
release the nic state
2010-12-30 15:19:40 -08:00
Edison Su
7384d1b97a
bug 7717: fix the bug that call the wrong fucntion to set netmask
...
status 7717: resolved fixed
2010-12-31 08:02:57 -05:00
anthony
924acfff40
add lastping back to findDirectAgentToLoad function,
...
after MS restart or one MS crash, in markHostsAsDisconnected, all hosts managed by this MS are marked at Dieconnected, and lastping is set to curent time minus 10 minutes, to make sure reconnect happen w
2010-12-30 14:39:02 -08:00
alena
6576dd1273
Fixed NPE in listNetworks (handle the case when Zone service provider is NULL)
2010-12-30 14:31:40 -08:00
anthony
4208d6ccd1
port 3b1481598e from 2.1.x
2010-12-30 14:15:27 -08:00
will
40f34c4388
Removed guestIp check when upgrading the service offering of a VM. It should not be used anymore since 2.2 network refactoring.
2010-12-30 13:21:01 -08:00
anthony
65a55ff7b1
bug 7215:
...
it may be caused by following result
1. there is no hosts up in this cluster, then there is no host we can send remove from pool command.
2. pool-eject failed
in above cases, the host is still removed from cloudstack, and alert is sent out to require run pool-eject manually
status 7215: resolved fixed
Conflicts:
server/src/com/cloud/agent/manager/AgentManagerImpl.java
2010-12-30 11:50:28 -08:00
alena
225f15899d
bug 7776: Fixed setting netmask for guest domR network
...
status 7776: resolved fixed
2010-12-30 10:49:40 -08:00
alena
dfecc1f448
Changed account state to be in lower case.
2010-12-30 09:57:59 -08:00
alena
0a3895a923
Fixed user login problem - ignore case when verify user/account state
2010-12-30 09:41:30 -08:00
Alex Huang
d4b56e89c3
changed expunge to do stop earlier.
2010-12-30 06:51:08 -08:00
Alex Huang
da4ed648ac
consolidated all of the vm destroy, cleanup and account cleanup.
2010-12-30 05:46:54 -08:00
Kelven Yang
e7749afdfe
Bug 7772: Add hypervisor type to snapshots table, fix issues with createVolumeFromSnapshot if snapshot was taken under data volume
2010-12-29 21:54:17 -08:00
alena
bd788b1827
Fixed RemoteAccessVpn apis
2010-12-29 21:36:44 -08:00
will
de6b9eb0e2
- Fixed NPE caused when calling listRemoteAccessVpn API command with no vpn record in DB.
...
- Fixed UI to pass in ipaddress when you create/delete remote access vpn.
2010-12-29 21:14:48 -08:00
anthony
98146d3b15
bug 5559: support snapshots on local disk
...
status 5559: resolved fixed
2010-12-29 19:55:12 -08:00
keshav
3da09345c9
Changed schema to keep track of which public IP address and host a user statistics entry is for
2010-12-29 19:14:35 -08:00
anthony
466dff8757
bug 7751: if discover is not found for a hypervisor type, print meaningful message here
...
status 7751: resolved fixed
2010-12-29 18:40:47 -08:00
root
c6847f001a
bug 7760: fix a regression when adding host
...
status 7760: resolved fixed
2010-12-29 19:38:20 -05:00
abhishek
2d6875f711
bug 7386: fixing the recurrent snapshots
...
status 7386: resolved fixed
2010-12-29 16:23:37 -08:00
Alex Huang
a10ce22f99
remote access vpn from management server side is done
2010-12-29 12:13:35 -08:00
Kelven Yang
bce5dfb0d4
add deleteCluster API command
2010-12-29 11:05:01 -08:00
alena
133f286b06
Fixed description for ServerApiException
2010-12-29 09:55:21 -08:00
Alex Huang
090bc1edb4
more changes to fix up the merge
2010-12-29 09:32:54 -08:00
Alex Huang
544fa7ff1b
remote access vpn, user ip address changes
2010-12-29 09:32:54 -08:00
kishan
c11b8612cd
bug 7359: search for removed accounts also while composing usage records response
...
status 7359: resolved fixed
2010-12-29 21:21:27 +05:30
kishan
494a46a10f
bug 7735: Set null for templateId instead of -1 for usage records
...
status 7735: resolved fixed
2010-12-29 18:29:14 +05:30
anthony
f865e8b061
moveVolume is broken due to not setup hypervisortype in dskch
...
fixed
2010-12-28 19:46:21 -08:00
alena
d005f9133e
bug 7603: update uservm count when deploy/recover vm. Also fixed updating volumes count when volume is created as a part of vm deployment
...
status 7603: resolved fixed
Couple of other fixes:
* Set correct user_id for createVolume event instead of hardcoding it to System (1)
* Deploy dhcp vm when Zone's gateway provider is External Firewall and network is Virtual
2010-12-28 17:32:17 -08:00
edison
920c7b3dd7
bug 7503: set hypervisor type when we create the cluster, as we already know the hypervisor type in adavnce when adding host.
...
status 7503: resolved fixed
2010-12-28 17:20:50 -08:00
Kelven Yang
271b1ee58a
add consoleproxy.disable.rpfilter configuration variable to get rid of the annoying access issue in development environment.
...
set it to true for development environment, it will allows traffic that comes in from public interface to be able to be routed back from private interface
2010-12-28 17:15:00 -08:00
alena
085824d524
1) Updated schema for data_center - provider fields can have NULL values.
...
2) Fixed deletePortForwarding/deleteIpForwardingRule commands to return false when delete rule fails.
2010-12-28 16:22:36 -08:00
edison
3a143577b9
bug 7659: fix the race condition that agent inside systemvm connecting to mgt server at the head of startcommand returning to mgt server, then got a NPE. and fix bugs in security group of KVM
...
status 7659: resolved fixed
2010-12-28 15:51:28 -08:00
alena
88afdb3313
Made NetworkId parameter required for Vlan, modified DB schema and corresponding Managers' methods. For Virtual and Direct untagged vlan networkId is got from default system Public/Public-DirectPodBased networks accordingly
2010-12-28 15:15:24 -08:00
abhishek
5d3173eabf
bug 7721: generically fixing the url decoder issue for all commands, wherein we block any input which contains % eg. name, displayText. We throw the apt error back to the UI for the user to act upon
...
status 7721: resolved fixed
2010-12-28 14:23:21 -08:00
anthony
68727778ba
bug 7620: this is caused by delayed volume creation,
...
doesn't make sence to create a template on empty volume, just don't allow it
status 7620: resolved fixed
2010-12-28 14:00:51 -08:00
anthony
0aa24c9ebf
bug 7686: when detach iso, always remove is from uservm table to make sure ISO is remove after stop/start
...
status 7686: resolved fixed
2010-12-28 12:06:24 -08:00
alena
2d316eabb7
bug 6056: Changed format for API error response.
...
status 6056: resolved fixed
Example of error response:
Json:
{ "updatedomainresponse" : {"errorcode" : "431, "errortext" : "Unable to find domain 4"} }
Xml:
<updatedomainresponse cloud-stack-version="1.9.1.2010-12-28T18:14:57Z">
<errorcode>431</errorcode>
<errortext>Unable to find domain 4</errortext>
</updatedomainresponse>
2010-12-28 10:36:04 -08:00
abhishek
1e17559d53
bug 7689: whilst editing pod, we were not calculating the netmask if the netmask is not passed down from the UI. Re-calculating the netmask, based on pod attribs in db
...
status 7689: resolved fixed
2010-12-28 10:31:07 -08:00
alena
52478aaf73
bug 7699: set correct account_id/user_id for createUser events
...
status 7699: resolved fixed
2010-12-27 19:54:36 -08:00
alena
7b3b9076b0
bug 6168: throw a runtime exception when unable to schedule Async job instead of returning jobId=0L
...
status 6168: resolved fixed
2010-12-27 17:00:29 -08:00
abhishek
719f3984d2
changing domain.suffix to guest.domain.suffix, along with associated deps
2010-12-27 17:00:07 -08:00
alena
b7317c12fa
bug 7616: Don't try to apply portForwardingRule when vm's nic is not set with Ip address
...
status 7616: resolved fixed
2010-12-27 15:50:57 -08:00
abhishek
344a151ffe
someone had commented out the domr code in the storage maintenance, enabling the same
2010-12-27 15:25:02 -08:00
alena
bb088a2e4c
bug 7489: Added events for network create/delete
...
status 7489: resolved fixed
2010-12-27 15:18:14 -08:00
alena
dceab9f18a
bug 7705: deletePortForwardingRule is Async now
...
status 7705: resolved fixed
Couple of other fixes:
* don't allow to send ipAssoc command when domR is in Starting/Stopping states as the command not async so it might be sent in parallel with domR stop/start and fail on the backend.
* DeleteIpForwardingRule api: set ownerId to rule owner id instead of hardcoding it to 1(System)
2010-12-27 14:17:17 -08:00
Kelven Yang
34cec61ff7
Don't blindly switch to XenServer in premium build if database is pre-populated with a hypervisor tyoe other then FOSS default KVM
2010-12-27 14:01:22 -08:00
abhishek
bb7170884d
bug 7677: fixing the volumes issue when we destroy a vm
...
status 7677: resolved fixed
2010-12-27 13:54:52 -08:00
abhishek
0da33ad39a
bug 7673,7645: fixing the vm expunge issue. also modifying the delete pod flow to only check for hosts that are NOT removed from the pod. also, checking for alerts on the pod whilst deleting pod is not right. we should be able to delete a pod regardless of alerts issued on the pod. the resolution of alerts is a separate issue
...
status 7673, 7645: resolved fixed
2010-12-27 11:29:36 -08:00
alena
8f7c0bc500
bug 7680: Use correct name ("source") for one of supported LB algorithms.
...
status 7680: resolved fixed
2010-12-27 09:19:47 -08:00
kishan
e51dc79000
bug 7504: Events refactoring
...
status 7504: resolved fixed
2010-12-24 19:38:28 +05:30
kishan
53d3455cbe
bug 7504: Events refactoring
2010-12-24 12:58:32 +05:30
kishan
bb0e6a0ae3
bug 7504: Events refactoring
2010-12-24 12:58:32 +05:30
edison
2762f0c75e
release cpu/memory after vm stopped for a while
2010-12-23 22:06:01 -08:00
anthony
a4e791a10c
now, you can remove the last host in a cluster
2010-12-23 20:42:31 -08:00
alena
3e089166bb
Fixed listPublicIpAddresses for Direct guest network to return networkId associated with corresponding vlan (if null is returned, UI IP tab gives an error on listPublicIp)
...
Conflicts:
server/src/com/cloud/api/ApiDBUtils.java
server/src/com/cloud/api/ApiResponseHelper.java
2010-12-23 18:33:41 -08:00
alena
dfaf7c4c5d
Remove vm from Load Balancers when vm is Expunged. Added more logging to vm expunge process
2010-12-23 16:23:51 -08:00
alena
928ab98dc6
Added new network Capability "TrafficStatistics" for LoadBalancer and Firewall services
2010-12-23 15:06:37 -08:00
alena
727f56e2ac
Mark all corresponding vm/lb mappings as Revoke when delete loadBalancer command is executed.
2010-12-23 14:14:05 -08:00
abhishek
35a8318134
bug 7606: fixing the delete zone functionality
...
status 7606: resolved fixed
2010-12-23 14:11:25 -08:00
alena
dfb736273c
PublicIpAddress response - search for default Public system network offering instead of hardcoding the id to 1.
2010-12-23 12:45:49 -08:00
edison
0d612c4d85
catch runtime exception
2010-12-23 11:58:32 -08:00
alena
b437b8b977
listPublicIpAddresses api: return networkId (the id of the network ip belongs to) and associatedNetworkId.
2010-12-23 11:52:44 -08:00
alena
eb1f1da035
Assert when capability is not supported by service
2010-12-23 11:52:44 -08:00
alena
3775ba043e
Added Services (dhcp, gateway, portForwarding, etc.) to NetworkOffering.
2010-12-23 09:40:15 -08:00
nit
a6fca4ee64
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2010-12-23 15:09:56 +05:30
nit
1f4cb9b11e
bug 7519 : extract functionality - changing it to support http protocol. Making the URL's robust against the start and stop of agent on ssvm.
2010-12-23 15:08:46 +05:30
edison
ac4295d91f
bug 7605: fix release link local when domr stopped
...
status 7605: resolved fixed
2010-12-22 19:26:14 -08:00
Kelven Yang
1805c73363
1) Add HostStats support to vmwre
...
2) Normarlize HostStats to make it generic to all hypervisors
2010-12-22 16:27:02 -08:00
alena
ec9260ce62
bug 7619: Added list of Capabilities parameter for Network
...
status 7619: resolved fixed
2010-12-22 11:05:31 -08:00
edison
fe6824a66b
fix upload ova template
2010-12-22 10:16:12 -08:00
kishan
9837cba9f1
bug 7504: Add usage events for VM destroy and stop during account delete
2010-12-22 20:26:34 +05:30
kishan
b12cd70216
bug 7504: Added usage events and made corresponding changes in usage server
2010-12-22 18:03:24 +05:30
kishan
a7626fc991
bug 7504: Added usage events
2010-12-22 12:28:05 +05:30
kishan
dac008fc4b
bug 7504: Added started event when API command execute is called
2010-12-22 12:10:38 +05:30
abhishek
bb5859de83
bug 7615: enabling the system vms and domr to be ha-enabled by default
...
status 7615: resolved fixed
2010-12-21 17:44:32 -08:00
abhishek
d5a8136f14
bug 7585: adding logic to ensure empty strings are a valid input during zone edit
...
status 7585: resolved fixed
2010-12-21 14:03:46 -08:00
anthony
bcc327cad1
correct path in patch file
2010-12-21 13:38:40 -08:00
abhishek
6b1e4d92ef
made some changes to the vm expunge flow, also added a state transition to error for vm if creation fails
2010-12-21 12:48:13 -08:00
Chiradeep Vittal
1216ffd21a
WIP
2010-12-21 11:04:27 -08:00
abhishek
aed200492d
bug 7459: honoring the isBootable flag for isos
...
status 7459: resolved fixed
2010-12-21 10:37:26 -08:00
alena
51d1aa2f95
Fixed publicNetworkGuru to set Broadcast URI for Public tagged network.
2010-12-21 10:24:56 -08:00
Alex Huang
91573b6252
more changes
2010-12-21 03:56:01 -08:00
Alex Huang
0ecb0118ec
renamed the domainrouter services
2010-12-21 03:56:01 -08:00
Alex Huang
356526db83
Changed exception code to give the scope of the problem
2010-12-21 03:54:30 -08:00
alena
724b8d80bd
Don't allow to remove a network with deleteNetwork api when the network has active nics assigned
2010-12-20 20:20:09 -08:00
alena
21bb9df292
Fixed accountCleanup to release all public ip addresses and delete the corresponding networks.
2010-12-20 20:20:09 -08:00
anthony
a186ae1b3e
bug 7485: if volume is not created, creating snapshot on it will fail
...
status 7585: resolved fixed
2010-12-20 18:53:11 -08:00
edison
1cc03c9a4a
don't see why we need this code, so remove it
2010-12-20 18:07:10 -08:00
Chiradeep Vittal
1597671e73
Merge branch 'fixloadbalancer2'
2010-12-20 17:52:21 -08:00
alena
6a35f1bf31
Set broadcast domain type to Native for directPodBased network
2010-12-20 17:46:20 -08:00
Chiradeep Vittal
64a831dd50
Fix merge issues
2010-12-20 17:28:20 -08:00
Chiradeep Vittal
6da6330c3f
WIP to fix domr network integration
2010-12-20 17:28:20 -08:00
alena
b228ae6acb
Set domR access details (name, privateIp) for various commands - PF/LB/IPAssoc
2010-12-20 17:22:52 -08:00
alena
769b89b530
RestartNetwork command is async now
2010-12-20 17:22:52 -08:00
abhishek
d63e61c915
adding some code to ensure system vms come up for the direct untagged case (zynga setup). Also, checking in some changes on behalf of Alena
2010-12-20 16:33:57 -08:00
abhishek
6eacec782e
bug 7528: the vm expunge action wasn't destroying the volumes during vm destroy. Added logic to do that. Also, made sure the volumes are removed during vm expunge
...
status 7528: resolved fixed
2010-12-20 14:56:32 -08:00
Kelven Yang
626a03ad78
Make a Xen specific requirement for guid on cluster really Xen specific, so that it won't affect KVM/VMware
2010-12-20 14:53:14 -08:00
edison
bf1f6a2998
Don't need this logic anymore, as xenserver can't handle this case:
...
can't boot from an iso that different from the vm's template
Revert "more changes to the attach/detach iso and bootloader flow"
This reverts commit d8f771e05b .
2010-12-20 14:17:35 -08:00
anthony
2be0b45297
support xenserver 5.6 fp1 in oss
2010-12-20 14:18:10 -08:00
Kelven Yang
228eba363b
Add clustertype field to response of ListHostCmd. Improve UI display related with cluster/host
2010-12-20 14:08:59 -08:00
abhishek
583d4a2c2e
bug 7582: there was an error in re-starting user vm, due to the master refactor which happened. Fixed that regression
...
status 7582: resolved fixed
2010-12-20 12:40:44 -08:00
alena
ddc69cdd47
Assign sourceNat ip address to domR only, skip DHCP.
2010-12-20 10:47:06 -08:00
alena
116ddb3cae
Port forwarding rules support for domainRouterElement. When new pf rule is created for a public ip address, we resend all existing rules for this address to the domR.
2010-12-20 10:01:19 -08:00
alena
3cd989cbef
1) Changed format for IpAssoc command. Instead of sending the ip addresses to assign one by one, we send a list of ip addresses to the agent.
...
2) Fixed createVM with multiple networks
2010-12-20 09:37:46 -08:00
anthony
baa6666897
create xenserver 5.6 patch file
2010-12-17 20:21:28 -08:00
Kelven Yang
f92482fabf
add clustertype and hypervisortype to ListClusterCmd API, improve addHost UI to deal with multi-hypervisor
2010-12-17 19:41:35 -08:00
alena
ecc4297219
Use Equal instead of Like when listPublicIpAddresses by ip
2010-12-17 17:30:01 -08:00
Kelven Yang
e03693f0aa
Make AddClusterCmd API generic to all hypervisors, change UI accordingly also
2010-12-17 16:30:27 -08:00
abhishek
a54c5e8949
fixing the issue wherein public network guru failed to get ip address for direct network in case of security groups
2010-12-17 16:16:51 -08:00
alena
59cf483043
Added "state" parameter to LoadBalancerRules response
2010-12-17 12:50:09 -08:00
abhishek
75b02e806d
bug 7484: Fixing the issue of management server crashes on setting values for timer intervals to be 0 or less
...
status 7484: resolved fixed
2010-12-17 12:39:39 -08:00
alena
ca92c28e0e
Fixed setupNetwork command to use vlan tag instead of vlan dbId.
...
Changed LoadBalancerConfigCommand to use Array data structrue instead of List as list is not handled well by gson.
2010-12-17 12:07:06 -08:00
edison
a826655740
minor fix: retry if network is unavailable
2010-12-17 11:52:53 -08:00
alena
8807fc8677
Don't send applyLB command to the backend when domR is stopped.
2010-12-17 09:57:48 -08:00
alena
ec1749a3bc
Removed unused code that was commented out previously.
2010-12-17 09:41:10 -08:00
alena
0049c74a5e
1) Different format for LoadBalancerCommand.
...
2) When apply lb rule for domR, resend all lb rules belonging to the lb network
2010-12-17 09:37:13 -08:00
anthony
7faf41e04e
pass pooluuid to xen.configure
2010-12-16 18:55:40 -08:00
abhishek
376d5da45d
bug 7106: fixing the account updating bug
...
status 7106: resolved fixed
2010-12-16 17:32:22 -08:00
Kelven Yang
294332c6e0
fix issues in addExternalCluster command
2010-12-16 17:24:54 -08:00
abhishek
d73e06a938
bug 7509: adding search by id for security groups, also refactoring a few method names to use the new scheme
...
status 7509: resolved fixed
2010-12-16 16:47:57 -08:00
Kelven Yang
4a6933fa9e
1) Enable addExternalCluster API command
...
2) UI changes for new addExternalCluster API command (for vmware)
2010-12-16 16:40:32 -08:00
anthony
6419e49977
add guid in cluster table
2010-12-16 16:28:56 -08:00
abhishek
5154ba1539
bug 6361: this is a good point to commit; 1st round of refactor is done, code is clean compiling and ms is deploying
2010-12-16 15:37:19 -08:00
keshav
a25aeb4007
Added a configuration variable to keep track of the number of bits to reserve for VLAN information in guest network subnets.
2010-12-16 15:15:21 -08:00
Alex Huang
a7a4d92739
Renamed Start2 to Start
2010-12-16 14:18:53 -08:00
Alex Huang
e613ecaba0
unit test passed
2010-12-16 14:04:32 -08:00
Alex Huang
65d0b32182
removed a bunch of old code
2010-12-16 14:04:32 -08:00
Alex Huang
39cc371e78
network gc
2010-12-16 14:03:21 -08:00
edison
5279ac1468
fix expunge
2010-12-16 13:22:42 -08:00
alena
0d1c529175
Fixed revokeRule method to set FirewallRule state to Revoke in the DB.
2010-12-16 12:19:53 -08:00
alena
d427cdae1e
1) Return associatedIpAddress in listPublicIpAddresses command.
...
2) Disabled create/deleteNetworkOffering API commands
2010-12-16 12:07:09 -08:00
alena
7224e1ccd2
Implemented applyLoadBalancer rules in domainRouterManager
2010-12-16 10:40:58 -08:00
Kelven Yang
65c094a2c0
Add a API to allow adding external hypervisor cluster
2010-12-16 10:00:42 -08:00
alena
52e6e4d06e
bug 6930: return async job info in listHost/listStoragePools commands
...
status 6930: resolved fixed
2010-12-15 18:58:56 -08:00
alena
4ca2b8808b
Fixed ipAssoc command to throw an exception when virtual network is null
2010-12-15 17:25:45 -08:00
alena
2da50d881b
bug 7498: fixed search by keyword in listVolumes
...
status 7498: resolved fixed
2010-12-15 16:23:07 -08:00
alena
b383aaceec
bug 7517: Added an ability to specify vm's host name during vm Deploy using "name" parameter. The parameter is optional.
...
status 7517: resolved fixed
Name should follow these rules:
* must be between 1 and 63 characters long and may contain only the ASCII letters 'a' through 'z', the digits '0' through '9', and the hyphen ('-').
* can not start with a hyphen, and must not end with a hyphen
Once name is set (during vm deploy), it can't be modified.
2010-12-15 15:52:16 -08:00
Kelven Yang
2719972cf6
Let discovers be able to identify itself
2010-12-15 14:15:13 -08:00
abhishek
37996132ed
some more changes for the account creation
2010-12-15 13:47:45 -08:00
alena
c1db5b6fc0
1) Fixed associate/disassociateIP address commands. The procedure is changed from 2.1, right now on single ipAssoc command we get a new ip and reapply all exising ip associations.
...
2) Added restartNetwork API command. Currently the command reapplies ip addresses for the network. TODO - reapply PF/LB rules and restart the domR.
2010-12-15 11:39:30 -08:00
will
7385118528
Fixed the build due to including some wrong class.
2010-12-14 15:54:47 -08:00
abhishek
6ae9e73c0b
bug 7466: adding a whole bunch of new apis for accounts and users; merging account locking and disabling into one; preventing account manipulation on user disabling; disabling user lock
2010-12-14 15:38:37 -08:00
edison
e39f664e89
fix storage creation bugs
2010-12-13 20:48:31 -08:00
alena
58f2c90608
listLoadBalancerInstances command: don't show vms as available for LB assign when it's Nic ipv4 field is NULL.
2010-12-13 18:33:47 -08:00
alena
d673686f5f
Added Availability field for NetworkOffering. Added updateNetworkOffering API command
2010-12-13 18:28:33 -08:00
abhishek
5e61be67fd
fix bugs in allocator
2010-12-13 16:42:25 -08:00
alena
d077b127aa
bug 7498: fixed search by keyword in listUserVm/listSystemVms/listRouters commands
...
status 7498: resolved fixed
2010-12-13 15:22:11 -08:00
alena
65f53e3910
1) Create default networks for zones specified in server-setup.xml file
...
2) Direct pod based netwoks is taken care by DirectNetworkGuru now
2010-12-13 14:03:19 -08:00
abhishek
33f71e1250
bug 7408: returning the source id and source type for vol creation
...
status 7408: resolved fixed
2010-12-13 12:38:43 -08:00