prachi
dbe2305352
Bug 13099 table physical-network-traffic-types needs to be updated when xen network device setting is modified in the global settings
...
Changes:
- We do not need these global setting anymore. These will be hidden since 3.0
- The default traffic label will be picked from the global setting which is null by default. When traffic label is null it means the resource uses tag on the default gateway
- Changes to invoke discoverer to reload the resource object on host connection
- Since a zone can have many physical networks, there can be multiple guest, public networks. Only the zone wide storage and management traffic label will be stored in host_details henceforth.
- If traffic labels are updated, discoverer should update the host_details
2012-02-07 18:41:23 -08:00
Nitin Mehta
ce26703e5c
Bug 13059: Make DB changes to list top consumed resources for enabled resources only. For this introdiuced a new state called capacity state in the op_host_capacity table and would be updated on every operation of zone pod cluster and host
...
Reviewed-By: Kishan
2012-02-07 20:53:25 +05:30
Nitin Mehta
c59f3087f7
Bug 12897: Make updatehostpassword more robust and allow it to be used only for Xenserver hyperVisor
...
Status 12897: resolved fixed
Reviewed-By: Kishan
2012-01-25 14:56:42 +05:30
frank
c6c711affe
Bug 13038 - Host allocation state changes after the Management server restart
...
status 13038: resolved fixed
2012-01-16 16:41:58 -08:00
Edison Su
0b6b8f7e46
bug 13000: send Maintanance command to kvm host when unmanage cluster
...
status 13000: resolved fixed
2012-01-11 17:44:39 -08:00
Edison Su
fe667e949e
fix Maintenance releated issues with kvm:
...
1. put host into Maintenance, will send a Maintenance command to host, tell host that do not reconnect to mgt server
2. cancel Maintenance, will ssh into kvm host, and restart cloud-agent, which will reconnect to host
2012-01-11 17:36:58 -08:00
Edison Su
9bcb2affff
bug 12139: add a way to specifiy which hypervisor used to start system vm:
...
Admin can either configure system.vm.default.hypervisor which is a global configuration for all zones, or call updatezone add defaultSystemVMHypervisorType
status 12139: resolved fixed
2012-01-10 15:11:50 -08:00
Nitin Mehta
cec3ac5e38
bug 12782 When host is put in maintenance remove the capacity entries in DB. When maintenance is cancelled repopulate the capacity entries in the DB. This is done to not account for the capacity of hosts in maintenance in the dashboard. Also for the capacity checker thread do not calaculate capacities for the hosts in maintenance.
...
Reviewed by : Kishan.
2012-01-03 17:21:05 +05:30
Alena Prokharchyk
217aceb9ef
bug 12753: retry 1 more time when start fails for the virtual router
...
status 12753: resolved fixed
2011-12-30 14:45:41 -08:00
anthony
12eae7148c
SWIFT: listSwift refine
2011-12-22 14:28:27 -08:00
anthony
fea9ca582c
SWIFT : add listSwift api
2011-12-21 16:55:08 -08:00
kishan
e2cb4f94d6
bug 12337: Encrypt only password in host_detail table. Removed unused and duplicate references of HostDetailDao
...
status 12337: resolved fixed
reviewed-by: Abhi
2011-12-20 19:28:41 +05:30
anthony
235c5aa6eb
SWIFT: api refine
2011-12-15 12:37:34 -08:00
kishan
8fe917be9d
bug 12406: Throw execption instead of returning false during cluster delete
...
status 12406: resolved fixed
reviewed-by: Nitin
2011-12-13 16:25:21 +05:30
frank
10593528ca
Bug 12294 - fail to bring the host( resource_state) from un-managed to managed from CS
...
remove unmanaged event from resource state machine
status 12294: resolved fixed
2011-12-09 10:54:43 -08:00
frank
6f6be508a1
Remove unmanaged from resource state
2011-12-08 16:47:00 -08:00
Sheng Yang
a08768112f
bug 12404: Fix transcation with private method when deleteHost
2011-12-07 15:06:34 -08:00
frank
494517cd6a
Bug 12404 - Failure in Removing host
...
status 12404: resolved fixed
2011-12-07 14:04:50 -08:00
Sheng Yang
dd7ff1d8db
bug 12404: Fix NPE when delete host
...
But it's not enough. This happened because delete host logic is missing for Xen. Frank would add it.
2011-12-07 13:28:48 -08:00
Alex Huang
f6fcaa49ec
Merge complete except for virtualnetworkappliancemanager
2011-11-10 15:18:16 -08:00
anthony
b4f8c85f20
Swift: add Swift Manager
2011-11-02 18:45:55 -07:00
anthony
46dac852fa
Merge branch 'swift'
...
Conflicts:
server/src/com/cloud/agent/AgentManager.java
server/src/com/cloud/agent/manager/AgentManagerImpl.java
server/src/com/cloud/host/dao/HostDao.java
server/src/com/cloud/host/dao/HostDaoImpl.java
server/src/com/cloud/resource/ResourceManagerImpl.java
server/src/com/cloud/server/ManagementServerImpl.java
server/src/com/cloud/storage/download/DownloadMonitorImpl.java
server/src/com/cloud/storage/snapshot/SnapshotManagerImpl.java
2011-10-31 15:04:48 -07:00
frank
9e88c40ab0
clean out various interface from agent manager to decent managers
2011-10-27 16:06:51 -07:00
anthony
d1141aff7d
Swift : add Swift api
2011-10-27 11:48:48 -07:00
frank
21de281276
Fix broken compilation by new anget manager merge
2011-10-27 11:24:10 -07:00
frank
cef30956e9
Merge branch 'newagentmgr'
...
Conflicts:
agent-simulator/src/com/cloud/api/commands/ConfigureSimulator.java
ovm/src/com/cloud/ovm/hypervisor/OvmDiscoverer.java
server/src/com/cloud/agent/manager/AgentManagerImpl.java
server/src/com/cloud/capacity/CapacityManagerImpl.java
server/src/com/cloud/network/F5BigIpManagerImpl.java
server/src/com/cloud/network/JuniperSrxManagerImpl.java
server/src/com/cloud/resource/ResourceManagerImpl.java
server/src/com/cloud/server/ManagementServerImpl.java
server/src/com/cloud/storage/snapshot/SnapshotManagerImpl.java
server/src/com/cloud/vm/UserVmManagerImpl.java
server/src/com/cloud/vm/VirtualMachineManagerImpl.java
utils/src/com/cloud/utils/db/GenericDao.java
2011-10-27 11:09:56 -07:00
Nitin
70aae9666b
bug 10774: On removing storage, local storage, cluster handle deletion of corresponding op_host_capacity rows.
2011-10-27 11:23:26 +05:30
frank
0e52c5c246
Bug 11522 - New agent manager
...
use exception instead of assert so we can get debug info in customer environment
2011-10-26 17:36:48 -07:00
Edison Su
3f7ce01f28
bug 10803: using updatehost api to change secondary storage url, the url need to be nfs://host/path format
...
status 10803: resolved fixed
2011-10-26 16:27:28 -07:00
alena
525a0a7675
1)Changed implementation for restart network: call shutdown/implement methods as a part of it
...
2)Re-apply all existing firewall rules as a part of implement call. TODO: Cleanup all existing rules from the backend (leave them in the DB) as a part of shutdown call
2011-10-25 18:24:24 -07:00
frank
30f95e638a
Bug 11522 - New agent manager
...
1. get rid of host allocation state
2. remove Updating status from agent status
2011-10-24 16:49:32 -07:00
alena
871f1bb6d4
bug 11690: don't allow to remove the cluster when it's referenced by existing storage pools
...
status 11690: resolved fixed
2011-10-21 18:08:18 -07:00
frank
6d95422f34
Bug 11522 - New agent manager
...
get rid of some agent status
2011-10-21 18:06:06 -07:00
frank
4e595d04ab
Bug 11522 - New agent manager
...
1.load hosts that in maintenance mode because maintenance is no longer an agent status now
2.don't disconnect agent when entering maintenance mode, again it's no longer an agent status now
2011-10-19 17:51:20 -07:00
frank
93278baa3b
Bug 11522 - New agent manager
...
fix a couple of typos
2011-10-06 14:30:41 -07:00
frank
0f5384d086
Bug 11522 - New agent manager
...
move findxxx interface from HostDao to Managers
2011-10-06 11:56:17 -07:00
frank
24b82a7a89
Bug 11522 - New agent manager
...
call SearchCriteriaService interface instead of SearchCriteria2 instance
2011-10-06 10:32:07 -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
frank
a1193149a0
Bug 11522 - New agent manager
...
renamce updateResourceState to resourceStateTransitTo
2011-09-29 11:58:41 -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
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
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
frank
b5e3639263
Bug 11522 - New agent manager
...
replace handleConnect with handleConnectedAgent
2011-09-22 15:07:21 -07:00
frank
0343cb79c3
Bug 11522 - New agent manager
...
replace simulateStart with createHostAndAgent
2011-09-22 14:42:05 -07:00
frank
0677232e06
Bug 11522 - New agent manager
...
complete ResourceAdapter relevant interface
2011-09-22 11:55:23 -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
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
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
frank
f377ac1cf7
Use class.getSimpleName in ResourceListener
2011-08-09 15:56:17 -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
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
frank
6969d95784
Introduce new resource life cycle listener
2011-08-08 17:05:27 -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
anthony
ffd07621cc
fixed a bug about putting cluster into Unmagaged status
2011-07-28 12:35:52 -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
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
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
Kelven Yang
e37959e2c0
bug 10434: limit vCenter cluster size to be within VMFS limit
2011-06-23 17:21:46 -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
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
Frank
b06d477425
Fix hostTags, when there is no tag the hostTags is a empty list
2011-05-27 17:19:06 -07:00
anthony
d380b55d23
multiple secondary storage fix
2011-05-17 16:10:30 -07:00
Alex Huang
ea9703997b
proxy agent
2011-05-17 07:12:58 -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