2090 Commits

Author SHA1 Message Date
Chiradeep Vittal
1e0eb04442 Add VPN apis, some systemvm changes for vpn 2010-11-01 10:27:49 -07:00
abhishek
362e67d724 adding failover protection case for when the mgmt svr crashes in the middle of executing something; along with custom response for cert 2010-11-01 09:04:51 -07:00
abhishek
7b87aad660 fixed a bug in the listener flow; now handling the application of certs to existing cpvms and new cpvms based on a fork in the logic in the console proxy resource 2010-11-01 09:04:51 -07:00
root
3752a4eb31 making the logic more robust, testing more corner cases, improving efficiency and changing the schema 2010-11-01 09:04:51 -07:00
abhishek
9c80911e52 more changes 2010-11-01 09:00:58 -07:00
abhishek
d9ebb7147c improving efficiency by reducing the number of db lookups, whilst updating the custom certificates across multiple console proxies when the command is issued. Now, we use in memory hashmaps for hosts to get the hostids for cphosts, which eliminates the need to make a db lookup for every cpvm that needs to be rebooted 2010-11-01 09:00:58 -07:00
kishan
f84be50faa bug 6428: Send alert when usage job fails
status 6428: resolved fixed
2010-11-01 17:20:57 +05:30
kishan
3a0f30a049 bug 6408: remove security groups/port forwarding service in virtual network case
status 6408: resolved fixed
2010-11-01 14:28:03 +05:30
edison
d0c68cd4a7 add a timeout (5 minutes) to wait for KVM agent host connecting to mgt svr, during adding host->discover 2010-10-29 19:18:07 -07:00
nit
c9069303ce Code clean up for Extract functionality and making it more robust. 2010-10-28 18:45:12 +05:30
Kris McQueen
b4ef066846 bug 6782: fix NPEs associated with looking up the account after it's been deleted. When cleaning up the account, we delete the accountVO first, then stop/destroy VMs, routers, etc. During this cleanup, there are times when the account needs to be retrieved, and since it's been removed it has to be found by id 'including removed' in order to find it.
status 6782: resolved fixed
2010-10-27 18:23:23 -07:00
edison
75566780c4 remove the no-updatable constraint on domr ram size 2010-10-27 16:34:37 -07:00
edison
a29b897b7f bug 1974: set memory size from service offering before starting router
status 1974: resolved fixed
2010-10-27 12:00:11 -07:00
Alex Huang
4f9f249218 make console proxy work again with the new network configuration 2010-10-26 17:37:29 -07:00
abhishek
822ee2d899 more changes for the console proxy custom certificate part; some code cleanup as well as event generation with console proxy reboot logic 2010-10-26 14:27:26 -07:00
Alex Huang
2bc938c3f8 checkins for problems. 2010-10-26 09:35:24 -07:00
Alex Huang
f58063911e deploy vm completed 2010-10-26 09:35:24 -07:00
nit
497c60d63d Extending extract functionlity for volumes to allow download. The
extraction can have two modes FTP_UPLOAD and HTTP_DOWNLOAD. In the former one
the user would provide the ftp url where the entity needs to be uploaded and in
the later the user would be provided a HTTP URL where from he/she can download
the entity. This url would be exposed for a specific time limit and would not
function after the time limit
2010-10-26 18:49:43 +05:30
root
c98b2a7fa2 incremental checkin around the console proxy config enh 2010-10-25 11:52:08 -07:00
abhishek
9f92b81f45 adding a certificate command for the proxy cert 2010-10-25 11:52:08 -07:00
anthony
9896043205 1. remove plugin check Sr, heartbeat does that
2. if pbd.plug fails, moves on, and report warnning
2010-10-22 12:10:17 -07:00
Kelven Yang
1c702a1d69 1) As the lack of dom0 scripting support in vmware hyperviors, domR, and other system VM will fall back to private network interface instead of link local interface, accordingly,
domR scripting will be running directly inside domR and be driven from management server instead of dom0 host
2) firewall/sshd setting changes for #1
2010-10-21 21:46:41 -07:00
anthony
cc6b43d58d bug 6546: support ubuntu 10.04 PV kernel,
for ext3 requirement, we can file a seperate bug for it, the solution should be install ext4 module in xenserver

    status 6546: resolved fixed
2010-10-21 18:28:31 -07:00
abhishek
a957a679ed bug 5190: modifying a few minor details in the upload cert part, to conform with the new api refactor design 2010-10-21 15:51:46 -07:00
Alex Huang
d5d8f27cad Added more changes to the api 2010-10-21 15:11:49 -07:00
abhishek
2b9ab00cc2 bug 3386: first part of the checkin, wherein we have an optional param domainId for create and modify zones. If this domain exists in the system, then the zone is tagged with this domain id, so that subsequent calls are checked for sanity against this domain. 2010-10-21 11:43:06 -07:00
kishan
c362576837 bug 6251: use bytes sent and recieved fileds in the super class
status 6251: resolved fixed
2010-10-21 17:53:50 +05:30
kishan
fa4a16cb68 bug 5592: Added configurable domain for hosts.
status 5592: resolved fixed
2010-10-21 11:51:09 +05:30
nit
6723549fc7 bug 6399: extending extract functionlity for templates and ISO's to allow download. The extraction can have two modes FTP_UPLOAD and HTTP_DOWNLOAD. In the former one the user would provide the ftp url where the entity needs to be uploaded and in the later the user would be provided a HTTP URL where from he/she can download the entity. This url would be exposed for a specific time limit and would not function after the time limit. 2010-10-20 11:40:03 +05:30
Alex Huang
2da8035bd1 more changes for the rewrite 2010-10-19 11:52:02 -07:00
Alex Huang
794ca16a65 Added code to start domR 2010-10-19 11:52:01 -07:00
anthony
d41f7d78d9 DeleteStoragePool command fix
1. not delete SR in xenserver side, only delete it in database.
    2. remove a storagepool,  adding it back fails
2010-10-15 14:15:55 -07:00
Alex Huang
bebf9dbc3f Adding stuff 2010-10-15 06:26:24 -07:00
Alex Huang
b3da4cea1b Forcing me to commit because of stupid git 2010-10-15 06:22:59 -07:00
Kris McQueen
80090990a6 Fix configuration in light of new API framework. Move code from ConfigurationManager into ConfigurationServer for creating disk/service offerings, pods, and zones. This prevents the ComponentLocator from pulling in a lot of extra DAOs and Managers now that ConfigurationManager has a lot more dependencies due to API changes. Without making this change, there would be a dependency on ClusteredAgentManager in both config-server and mgmt-server, which would try to start two listeners on port 8250, which is bad. Now that the configuration happens in ConfigurationServer, things should be kept simple. 2010-10-14 19:11:22 -07:00
Kelven Yang
f6e0d2dd41 Make system VM work on vmware 2010-10-14 17:23:13 -07:00
edison
2bdc45375e fix a funny bug that integer left shift more than 32 bit, you will get a wrap around 2010-10-13 19:11:49 -07:00
Kris McQueen
8e086d7a21 resolving merge conflicts between 2.1.refactor and master 2010-10-12 16:28:16 -07:00
Kris McQueen
2740ba6c40 final merge of master->2.1.refactor preparing for merge back into master 2010-10-12 14:46:24 -07:00
Alex Huang
ce091de3d2 more changes for refactor 2010-10-12 07:17:47 -07:00
anthony
8daf888f83 don't need to execute pif.plug, merge from 2.1.x 2010-10-07 17:23:04 -07:00
edison
3028dab141 fix systemvm template in direct attached mode, guest vm can't get gateway and dns server 2010-10-07 16:32:46 -07:00
anthony
cbdfc10673 change config.getValue 2010-10-06 19:36:51 -07:00
Kris McQueen
5fa6ff7fe4 Manual snapshots won't have an async job id, the job id gets set when the recurring snapshots get scheduled for execution. If the policy id is MANUAL, don't search for a job id. 2010-10-06 18:24:19 -07:00
anthony
48f1264a80 bug 6446: do not pass private, guest, public network in host_detail to CitrixResourceBase.configure
status 6446: resolved fixed
2010-10-06 18:16:19 -07:00
Alex Huang
9d1270b35f console proxy started completely and running 2010-10-06 17:22:35 -07:00
anthony
dc7a723660 backport from 2.1.x 2010-10-06 17:01:04 -07:00
Alex Huang
94a26d2038 Still needs to add mac address allocation but basically console proxy is started and running 2010-10-06 10:18:09 -07:00
edison
139ff273ff fix systemvm template for kvm, using chiradeep's latest debian template 2010-10-05 20:41:39 -07:00
Kris McQueen
9c593352d0 Fixing events for async jobs so that there's a scheduled event recorded with appropriate type/description whenever the API framework schedules the async command to run. A few miscellaneous fixes as well uncovered during regression testing (router response was not parsed correctly by UI, etc.) 2010-10-05 20:26:18 -07:00